ethernet loopback

Enables the Ethernet loopback functionality on a port in the VLAN-unaware mode.
Syntax
ethernet loopback
no ethernet loopback
Command Default

Ethernet loopback is not enabled on a port.

Modes

Interface configuration mode

Usage Guidelines

The Ethernet loopback functionality on a port in the VLAN-unaware mode can be configured either as flow-aware or flow-unaware. The specified port does not need to be explicitly assigned as a member of any VLAN.

To enable Ethernet loopback on a port in the VLAN-unaware mode as flow-aware, the ethernet loopback test-mac command must be executed before enabling the Ethernet loopback.

To add or delete a port from VLAN, the VLAN unaware ethernet loopback configuration on the port must be removed.

Before adding or deleting a port form VLAN, the VLAN unaware ethernet configuration must be removed, if configured.

The ethernet loopback command is not supported on multiple ports (MIF) mode.

The no form of the command disables the Ethernet loopback functionality on the specified port.

Examples

The following example configures Ethernet loopback on a specific port in the VLAN-unaware mode as flow-unaware.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# ethernet loopback

The following example configures Ethernet loopback in VLAN-unaware mode as flow-aware.

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

The following example shows the error which occurs when you try to add a port to VLAN, without removing the VLAN unaware ethernet loopback configuration.

bkes_oct14-16_DND(config-if-e1000-3/1/4)#vlan 10
bkes_oct14-16_DND(config-vlan-10)#tag eth 3/1/4
Error: Port 3/1/4 has Ethernet loopback configuration 
Note: Remove Ethernet loopback from port 3/1/4 and then add port as member of VLAN 10
bkes_oct14-16_DND(config-vlan-10)#int eth 3/1/4
History
Release version Command history
08.0.30 This command was introduced.