EasyManua.ls Logo

Dell Force10 MXL Blade - Resequencing an ACL or Prefix List

Dell Force10 MXL Blade
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Access Control Lists (ACLs) | 91
Resequencing an ACL or Prefix List
Resequencing is available for IPv4 ACLs, prefix lists, and MAC ACLs. To resequence an ACL or prefix
list, use the appropriate command in Table 5-4. When using these commands, you must specify the list
name, starting number, and increment.
Figure 5-21 shows the resequencing of an IPv4 access-list beginning with the number 2 and incrementing
by 2.
Figure 5-21. Resequencing ACLs
Remarks and rules that originally have the same sequence number continue to have the same sequence
number after the
resequence command is applied. Remarks that do not have a corresponding rule are
incremented as a rule. These two mechanisms allow remarks to retain their original position in the list.
For example, in Figure 5-22, remark 10 corresponds to rule 10 and as such they have the same number
before and after the command is entered. Remark 4 is incremented as a rule, and all rules have retained
their original positions.
Table 5-4. Resequencing ACLs and Prefix Lists
List Command Command Mode
IPv4 or MAC ACL
resequence access-list {ipv4 | mac} {access-list-name StartingSeqNum
Step-to-Increment}
Exec
IPv4 prefix-list
resequence prefix-list {ipv4} {prefix-list-name StartingSeqNum
Step-to-Increment}
Exec
FTOS(conf-ext-nacl)# show config
!
ip access-list extended test
remark 4 XYZ
remark 5 this remark corresponds to permit any host 1.1.1.1
seq 5 permit ip any host 1.1.1.1
remark 9 ABC
remark 10 this remark corresponds to permit ip any host 1.1.1.2
seq 10 permit ip any host 1.1.1.2
seq 15 permit ip any host 1.1.1.3
seq 20 permit ip any host 1.1.1.4
FTOS# end
FTOS# resequence access-list ipv4 test 2 2
FTOS# show running-config acl
!
ip access-list extended test
remark 2 XYZ
remark 4 this remark corresponds to permit any host 1.1.1.1
seq 4 permit ip any host 1.1.1.1
remark 6 this remark has no corresponding rule
remark 8 this remark corresponds to permit ip any host 1.1.1.2
seq 8 permit ip any host 1.1.1.2
seq 10 permit ip any host 1.1.1.3
seq 12 permit ip any host 1.1.1.4

Table of Contents

Other manuals for Dell Force10 MXL Blade

Related product manuals