ethernet loopback (VLAN-aware)
ethernet loopback
ethernet
unit/slot/port
[
[
to
unit/slot/port
]
[
ethernet
unit/slot/port
]...
]
no ethernet loopback
ethernet
unit/slot/port
[
[
to
unit/slot/port
]
[
ethernet
unit/slot/port
]...
]
ethernet loopback
lag
lag-id
[
to
lag-id
|
ethernet
unit/slot/port
[
[
to
unit/slot/port
]
[
ethernet
unit/slot/port
]...
]
]
no ethernet loopback
lag
lag-id
[
to
lag-id
|
ethernet
unit/slot/port
[
[
to
unit/slot/port
]
[
ethernet
unit/slot/port
]...
]
]
Ethernet loopback is not enabled on any port in a VLAN.
VLAN configuration mode
The Ethernet loopback functionality on a port in the VLAN-aware mode can be configured either as flow-aware or flow-unaware. The ports on which Ethernet loopback is being enabled must be explicitly assigned as a member of the VLAN.
To enable Ethernet loopback on a port in the VLAN-aware mode as flow-aware, the
ethernet loopback test-mac command must be executed for the specific port from the interface mode before enabling
Ethernet loopback. The
ethernet loopback test-mac
command is mandatory on
ICX 7750,
ICX 7450 and
ICX 7250 devices. To enable Ethernet loopback on these devices, you must first configure the
ethernet loopback test-mac command. In other supported platforms, the
ethernet loopback test-mac command is optional to enable Ethernet loopback.
A port cannot be configured as VLAN-aware and VLAN-unaware simultaneously, and the flow configuration must be either flow-aware or flow-unaware.
The
ethernet loopback
command in VLAN-aware mode is not supported on VLAN Group, VLAN Range, or mult-range
VLAN (MVLAN) mode.
The
ethernet loopback
command VLAN-aware mode cannot be configured on a set of VLANs that share a Layer
2 topology (Topology Group).
The
no
form of the command disables Ethernet loopback from the ports of the specified VLAN.
The following example configures Ethernet loopback in VLAN-aware mode as flow-aware.
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)# exit device(config)# vlan 100 device(config-vlan-100)# ethernet loopback ethernet 1/1/1 to 1/1/10
The following example configures Ethernet loopback on a port in VLAN-aware mode as flow-unaware.
device(config)# vlan 100 device(config-vlan-100)# ethernet loopback ethernet 1/1/1
The following example configures Ethernet loopback on a range of ports in VLAN-aware mode as flow-unaware.
device(config)# vlan 100 device(config-vlan-100)# ethernet loopback ethernet 1/1/1 to 1/1/10
| Release version | Command history |
|---|---|
| 08.0.30 | This command was introduced. |
| 08.0.61 | This command was modified to add lag lag-id options. |