Chapter 10 Configuring Ethernet OAM

Understanding Ethernet Loopback

 

Command or Action

Purpose

Step 9

 

 

ethernet loopback permit external

Configures ethernet permit external loopback on an

 

 

interface. External loopback allows loopback of traffic from

 

Example:

the wire side. This command is supported under a service

 

instance and interface.

 

Router(config-if-srv)# ethernet loopback permit

 

 

 

external

 

Step 10

 

 

ethernet loopback permit internal

Configures ethernet permit internal loopback on an

 

 

interface. Internal loopback allows loopback of traffic from

 

Example:

the relay side. This command is supported under a service

 

instance and interface.

 

Router(config-if-srv)# ethernet loopback permit

 

 

 

internal

 

Step 11

 

 

end

Returns to privileged EXEC mode.

 

Example:

 

 

Router(config-if-srv)# end

 

Step 12

 

 

ethernet loopback start local interface type

Starts ethernet external or internal loopback process on the

 

number service instance instance-number {

service instance. Destination MAC address is an optional

 

external internal } source mac-address source

field. If destination mac address is not provided, the

 

mac-address[destination mac-address

 

loopback interface MAC address is assigned to the source

 

destination-mac-address] [timeout

 

MAC address after swapping.

 

{time-in-seconds none}]

 

 

(Optional) Use the timeout time-in-secondscommand

 

Example:

to set a loopback timeout period. The range is from 1 to

 

Router# ethernet loopback start local interface

90000 seconds (25 hours). The default value is 300

 

gigabitEthernet 0/1 service instance 10

seconds.

 

external source mac-address 0123.4567.89ab

(Optional) Use the timeout none command to set the

 

destination mac-address 255.255.255 timeout

 

9000

loopback to no time out.

Step 13

 

 

ethernet loopback stop local interface type

Stops ethernet loopback.

 

number id session id

 

 

Example:

 

 

Router# ethernet loopback stop local interface

 

 

gigabitEthernet 0/1 id 3

 

 

 

 

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

!

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

10-54

OL-23826-09

Page 224
Image 224
Cisco Systems A9014CFD manual 10-54