Examples
In the following example, suppose you have an existing access list:
ethernet service access-list L2ACL1
10 permit 1.2.3 4.5.6
20 deny 2.3.4 5.4.3
30 permit 3.1.2 5.3.4 cos 5
You need to add additional entries in the access list ahead of the first permit statement. First, you resequence
the entries, renumbering the statements starting with number 20 and an increment of 10, and then you have
room for additional statements between each of the existing statements:
RP/0/RSP0/CPU0:router# resequence access-list ethernet-service L2ACL1 20 10
RP/0/RSP0/CPU0:router# show access-list ethernet-services L2ACL1
ethernet service access-list L2ACL1
20 permit 1.2.3 4.5.6
30 deny 2.3.4 5.4.3
40 permit 3.1.2 5.3.4 cos 5
Related Commands
DescriptionCommand
Creates a copy of an existing Ethernet services access list.copy access-list ethernet-service, on page 648
Sets conditions for an Ethernet services access listdeny (ES ACL), on page 650
Controls access to an interface.ethernet-service access-group, on page 653
Defines an Ethernet services (Layer 2) access list by name.ethernet-services access-list, on page 655
Sets conditions for an Ethernet services access list.permit (ES ACL), on page 657
Displays the contents of current Ethernet services access
lists.
show access-lists ethernet-services, on page 662
Displays Ethernet services access list trace information.show access-lists ethernet-services trace, on page
666
Identifies the modes and interfaces on which a particular
ACL is applied.
show access-list ethernet-service usage pfilter, on
page 668
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
661
Layer 2 Access List Commands
resequence access-list ethernet-service