Resequencing an ACL or Prefix List
Resequencing is available for IPv4 and IPv6 ACLs, prefix lists, and MAC ACLs.
To resequence an ACL or prefix list, use the following commands. You must specify the list name, starting
number, and increment when using these commands.
• IPv4, IPv6, or MAC ACL
EXEC mode
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
!
Access Control Lists (ACLs)
165
Содержание S4048T
Страница 1: ...Dell Configuration Guide for the S4048T ON System 9 10 0 1 ...
Страница 98: ... saveenv 7 Reload the system uBoot mode reset Management 98 ...
Страница 113: ...Total CFM Pkts 10303 CCM Pkts 0 LBM Pkts 0 LTM Pkts 3 LBR Pkts 0 LTR Pkts 0 802 1ag 113 ...
Страница 411: ...mode transit no disable Force10 Resilient Ring Protocol FRRP 411 ...
Страница 590: ...Figure 67 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 590 ...
Страница 591: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 591 ...
Страница 594: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 594 ...
Страница 595: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 595 ...
Страница 646: ...Figure 87 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 646 ...
Страница 647: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 647 ...
Страница 648: ...Figure 89 Configuring PIM in Multiple Routing Domains Multicast Source Discovery Protocol MSDP 648 ...
Страница 653: ...Figure 91 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 653 ...
Страница 654: ...Figure 92 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 654 ...
Страница 955: ...Figure 119 Single and Double Tag First byte TPID Match Service Provider Bridging 955 ...
Страница 1179: ...Figure 147 Create Hypervisor Figure 148 Edit Hypervisor Figure 149 Create Transport Connector Virtual Extensible LAN VXLAN 1179 ...