Configuring Ethernet loopback in VLAN-unaware mode

The following steps configure Ethernet loopback in VLAN-unaware mode.
  1. Enter the configure terminal command to enter global configuration mode.
    device# configure terminal
  2. Enter the interface ethernet command to enter interface configuration mode.
     device(config)# interface ethernet 1/1/1
  3. (Optional) Enter the ethernet loopback test-mac command to configure the port as flow-aware.
    Once configured and when Ethernet loopback is enabled, only the frames received with the specific source MAC address and destination MAC address are looped back. Skip this step to configure flow-unaware mode.
    device(config-if-e1000-1/1/1)# ethernet loopback test-mac 1111.2222.3333 4444.5555.5555
    
  4. Enter the ethernet loopback command to enable Ethernet loopback.
    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 configures Ethernet loopback in VLAN-unaware mode as flow-unaware.

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