Controls access to an interface.
• Use the access-list-name argument to specify a particular Ethernet services access list.
• Use the ingress keyword to filter on inbound packets or the egress keyword to filter on outbound packets.
This example applies filters on packets inbound and outbound from GigabitEthernet interface 0/2/0/2.
Step 4 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Copying Ethernet Services Access Lists
This task copies an Ethernet services access list.
SUMMARY STEPS
1. copy access-list ethernet-service source-acl destination-acl
2. show access-lists ethernet-services [ access-list-name | maximum | standby | summary ]
DETAILED STEPS
Step 1 copy access-list ethernet-service source-acl destination-acl
Example:
RP/0/RSP0/CPU0:router# copy access-list ethernet-service list-1 list-2
Creates a copy of an existing Ethernet services access list.
• Use the source-acl argument to specify the name of the access list to be copied.
• Use the destination-acl argument to specify where to copy the contents of the source access list.
• The destination-acl argument must be a unique name; if the destination-acl argument name exists for an access
list, the access list is not copied.
Step 2 show access-lists ethernet-services [ access-list-name | maximum | standby | summary ]
Example:
RP/0/RSP0/CPU0:router# show access-lists ethernet-services list-2
(Optional) Displays the contents of a named Ethernet services access list. For example, you can verify the output to see
that the destination access list list-2 contains all the information from the source access list list-1.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
469
Implementing of Layer 2 Access Lists
Copying Ethernet Services Access Lists