Cisco Systems A9014CFD Router User Manual


 
10-55
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Understanding Ethernet Loopback
ethernet loopback start local interface GigabitEthernet0/0 service instance 201
external source mac-address 5000.10a1.6ab8 destination mac-address 0000.0000.0202
timeout 9000
!
!
ethernet loopback stop local interface gigabitEthernet 0/0 id 1
!
This example shows how to configure Ethernet Internal Loopback for cross connect:
!
interface GigabitEthernet0/0
service instance 201 ethernet evc201
encapsulation dot1q 201
rewrite ingress tag pop 1 symmetric
xconnect 2.2.2.2 10 encapsulation mpls
ethernet loopback permit external
ethernet loopback permit internal
!
ethernet loopback start local interface GigabitEthernet0/0 service instance 201
internal source mac-address 5000.10a1.6ab8 destination mac-address 0000.0000.0202
timeout 9000
!
!
ethernet loopback stop local interface gigabitEthernet 0/0 id 1
!
This following is the example of the output from the show ethernet loopback command:
Router# show ethernet loopback active interface
GigabitEthernet0/0
service instance
201
Loopback Session ID : 1
Interface : GigabitEthernet0/0
Service Instance : 201
Direction : Internal
Time out(sec) : 300
Status : on
Start time : 12:06:35.300 IST Mon Sep 23 2013
Time left : 00:03:28
Dot1q/Dot1ad(s) : 201
Second-dot1q(s) :
Source Mac Address : 5000.10a1.6ab8
Destination Mac Address : 0000.0000.0202
Ether Type : Any
Class of service : Any
Llc-oui : Any
Total Active Session(s): 1
Total Internal Session(s): 1
Total External Session(s): 0