R3303-HP HSR6800 Routers Interface Command Reference

Table Of Contents
42
loopback-detection per-vlan enable
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 VLANs but the PVID
on trunk or hybrid ports.
Syntax
loopback-detection per-vlan enable
undo loopback-detection per-vlan enable
Default
A trunk port or hybrid port performs loopback detection only in its PVID.
Views
Layer 2 Ethernet interface view, port group view
Default command level
2: System level
Usage guidelines
The loopback-detection per-vlan enable command is not applicable to access ports.
Examples
# Enable loopback detection in all VLANs on hybrid port GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] loopback-detection enable
[Sysname-GigabitEthernet4/0/1] port link-type trunk
[Sysname-GigabitEthernet4/0/1] loopback-detection per-vlan enable
mdi
NOTE:
This command is not applicable to fiber ports.
Use mdi to configure the MDI mode of an Ethernet copper interface.
Use undo mdi to restore the default.
Syntax
mdi { across | auto | normal }
undo mdi
Default
Ethernet interfaces operate in auto MDI mode.