resequence access-list {ipv4 | ipv6 | mac} {
access-list-name StartingSeqNum Step-to-Increment
}
•
IPv4 or IPv6 prefix-list
EXEC mode
resequence prefix-list {ipv4 | ipv6} {
prefix-list-name StartingSeqNum Step-to-Increment
}
Examples of Resequencing ACLs When Remarks and Rules Have the Same Number or Different Numbers
Remarks and rules that originally have the same sequence number have the same sequence number after you apply the
resequence
command.
The example shows the resequencing of an IPv4 access-list beginning with the number 2 and incrementing by 2.
Dell(config-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
Dell# end
Dell#
resequence access-list ipv4 test 2 2
Dell# 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
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. The following example shows remark 10 corresponding 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.
Dell(config-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
Dell# end
Dell# resequence access-list ipv4 test 2 2
Dell# 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
134
Access Control Lists (ACLs)
Summary of Contents for S4048T-ON
Page 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Page 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Page 251: ...Dell Control Plane Policing CoPP 251 ...
Page 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Page 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Page 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Page 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Page 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Page 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Page 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Page 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...