1-46
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
ethernet loopback
ethernet loopback
To start or stop an ethernet loopback function on an interface, use the ethernet loopback privileged
EXEC command.
ethernet loopback start local interface type number [service instance instance-number] {external |
internal} source mac-address source-address [destination mac-address destination-address] timeout
{time-in-seconds | none}
or
ethernet loopback stop local interface type number id session id
Syntax Description
Command Default None
Command Modes Privileged EXEC
Command History
Usage Guidelines You cannot start terminal loopback. You can configure ethernet loopback and use the ethernet loopback
start or ethernet loopback stop command only for physical ports and not for VLANs.
start Starts the Ethernet loopback operation configured on the interface.
stop Stops the Ethernet loopback operation configured on the interface.
local interface type
number
Specifies the interface on which to start or stop the loopback operation.
service-instance
instance-number
Specifies the service instance ID. This is an optional field.
external | internal
source mac-address
source-address
Specifies the external or internal source MAC address for the loopback
operation.
destination
mac-address
destination-address
Specifies the destination MAC address for the loopback operation. This is an
optional field.
timeout
{time-in-seconds |
none}
Specifies the timeout interval in seconds. The range is from 0 to 90000
seconds. The default is 300 seconds.
Specify timeout none to set the loopback to no time out.
id session id Specifies the data plane loopback session ID. The range is from 1 to 3.
all Stop all Ethernet loopback operations on the switch. This keyword is
available only after the stop keyword.
Release Modification
15.2(2)SNG This command was introduced on the Cisco ASR 901 router.