loopback-detection per-vlan enable
Syntax
loopback-detection per-vlan enable
undo loopback-detection per-vlan enable
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Description
Use loopback-detection per-vlan enable to enable loopback detection in each VLAN on trunk or hybrid
ports.
Use undo loopback-detection per-vlan enable to disable loopback detection in all but the PVID on trunk
or hybrid ports.
By default, a trunk port or hybrid port performs loopback detection only in its PVID.
The loopback-detection per-vlan enable command is not applicable to access ports.
Examples
# Enable loopback detection in all VLANs on hybrid port Ethernet 1/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] loopback-detection enable
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] loopback-detection per-vlan enable
mdi
Syntax
mdi { across | auto | normal }
undo mdi
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
across: Sets the MDI mode to across. In this mode, pins 1 and 2 of the port are receive pins, and pins 3
and 6 are transmit pins.
auto: Sets the MDI mode to auto. In this mode, the port negotiates pin roles with its peer.
37