Cisco Systems A9014CFD Router User Manual


 
10-53
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Understanding Ethernet Loopback
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
type number
Example:
Router(config)# interface gigabitEthernet0/1
Specifies an interface type and number to enter the interface
configuration mode.
Step 4
service instance
instance-number
ethernet
Example:
Router(config-if)# service instance 10 ethernet
Creates a service instance on an interface and enters service
instance configuration mode.
Step 5
encapsulation
dotlq-number
Example:
Router(config-if-srv)# encapsulation dot1q 10
Defines the matching criteria to be used in order to map the
ingress dot1q frames on an interface to the appropriate
service instance.
Step 6
rewrite ingress tag pop 1 symmetric
Example:
Router(config-if-srv)# rewrite ingress tag pop
1 symmetric
Specifies the tag manipulation that is to be performed on the
frame ingress to the service instance. Perform Step 7 if you
want to configure ethernet loopback for a bridge-domain.
Go to Step 8 if you want to configure ethernet loopback for
cross connect.
Step 7
bridge
domain-number
Example:
Router(config-if-srv)# bridge domain 10
Binds the service instance to a bridge domain. Perform this
step if you want to configure ethernet loopback for a
bridge-domain.
Step 8
xconnect
peer-ip-address vc-id
encapsulation
mpls
Example:
Router(config-if-srv)# xconnect 1.1.1.1 100
encapsulation mpls
Binds an attachment circuit to a pseudowire, and to
configure an Any Transport over MPLS (AToM) static
pseudowire. Perform this step if you want to configure
ethernet loopback for cross connect.
peer-ip-address—IP address of the remote provider
edge (PE) peer. The remote router ID can be any IP
address, as long as it is reachable.
vc-id—The 32-bit identifier of the virtual circuit (VC)
between the PE routers.
encapsulation—Specifies the tunneling method to
encapsulate the data in the pseudowire.
mpls—Specifies MPLS as the tunneling method.