ethernet loopback test-mac

Configures the port as flow-aware by specifying the source and destination MAC addresses of the flow on the interface.
Syntax
ethernet loopback test-macdestination-MACsource-MAC
no ethernet loopback test-macdestination-MACsource-MAC
Command Default

The port is flow-unaware.

Parameters
destination-MAC
Specifies the flow parameter destination MAC address of the traffic.
source-MAC
Specifies the flow parameter source MAC address of the traffic.
Modes

Interface configuration mode

Usage Guidelines

In other supported platforms, configure the ethernet loopback test-mac command only if you require the port to be flow-aware.

The source MAC address and destination MAC address must be unicast MAC addresses and the source MAC address must be unique across the network for proper Ethernet loopback operation.

You cannot configure a port as flow-aware and flow-unaware simultaneously. The flow can be configured on an in-service Ethernet loopback port. However, the flow configuration cannot be modified or removed if there is an ongoing loopback service on the interface.

The ethernet loopback test-mac command is not supported in multi-range VLAN (MVLAN) mode.

The no form of the command removes the flow configuration for the specified port.

Examples

The following example configures the flow on a specific port.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ethernet loopback test-mac 1111.2222.3333/4444.5555.5555

History
Release version Command history
08.0.30 This command was introduced.