10-54
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Understanding Ethernet Loopback
Configuration Example
This example shows how to configure Ethernet External Loopback for a bridge-domain:
!
interface GigabitEthernet0/0
service instance 201 ethernet evc201
encapsulation dot1q 201
rewrite ingress tag pop 1 symmetric
bridge-domain 201
ethernet loopback permit external
ethernet loopback permit internal
!
Step 9
ethernet loopback permit external
Example:
Router(config-if-srv)# ethernet loopback permit
external
Configures ethernet permit external loopback on an
interface. External loopback allows loopback of traffic from
the wire side. This command is supported under a service
instance and interface.
Step 10
ethernet loopback permit internal
Example:
Router(config-if-srv)# ethernet loopback permit
internal
Configures ethernet permit internal loopback on an
interface. Internal loopback allows loopback of traffic from
the relay side. This command is supported under a service
instance and interface.
Step 11
end
Example:
Router(config-if-srv)# end
Returns to privileged EXEC mode.
Step 12
ethernet loopback start local interface
type
number
service instance
instance-number
{
external | internal } source mac-address
source
mac-address
[destination mac-address
destination-mac-address
] [timeout
{
time-in-seconds
| none}]
Example:
Router# ethernet loopback start local interface
gigabitEthernet 0/1 service instance 10
external source mac-address 0123.4567.89ab
destination mac-address 255.255.255 timeout
9000
Starts ethernet external or internal loopback process on the
service instance. Destination MAC address is an optional
field. If destination mac address is not provided, the
loopback interface MAC address is assigned to the source
MAC address after swapping.
• (Optional) Use the timeout time-in-seconds command
to set a loopback timeout period. The range is from 1 to
90000 seconds (25 hours). The default value is 300
seconds.
• (Optional) Use the timeout none command to set the
loopback to no time out.
Step 13
ethernet loopback stop local interface
type
number
id
session id
Example:
Router# ethernet loopback stop local interface
gigabitEthernet 0/1 id 3
Stops ethernet loopback.
Command or Action Purpose