Configuring Ethernet loopback in VLAN-unaware mode
The following steps configure Ethernet loopback in VLAN-unaware mode.
- Enter the
configure terminalcommand to enter global configuration mode. - Enter the
interface ethernetcommand to enter interface configuration mode. - (Optional) Enter the
ethernet loopback test-maccommand 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. - Enter the
ethernet loopbackcommand to enable 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