雑記

Cisco Router/Switch 設定は割愛するがACLのシーケンス番号番号を振り返る例

IOS 12.4(Cisco routerでの動作例)

設定はCommit等が存在しないので runningには即時反映。

R1# R1#show ip access-lists Extended IP access list TEST_ACL

   10 deny ip host 1.1.1.1 any
   20 deny ip host 2.2.2.2 any
   30 deny ip host 3.3.3.3 any
   9999 permit ip any any (1662 matches)

R1# R1# R1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]

R1# R1# R1#show ip access-lists Extended IP access list TEST_ACL

   10 deny ip host 1.1.1.1 any
   20 deny ip host 2.2.2.2 any
   30 deny ip host 3.3.3.3 any
   9999 permit ip any any (1662 matches)

R1# R1#conf terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)# ip access-list resequence TEST_ACL 100 100 R1(config)#end R1# R1#

Mar 1 00:23:03.952: %SYS-5-CONFIG_I: Configured from console by console

R1#show ip access-lists Extended IP access list TEST_ACL

   100 deny ip host 1.1.1.1 any
   200 deny ip host 2.2.2.2 any
   300 deny ip host 3.3.3.3 any
   400 permit ip any any (1662 matches)

R1#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]

R1# R1#show ip access-lists Extended IP access list TEST_ACL

   100 deny ip host 1.1.1.1 any
   200 deny ip host 2.2.2.2 any
   300 deny ip host 3.3.3.3 any
   400 permit ip any any (1662 matches)

R1#


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS