Command Manual – Port Correlation Configuration
H3C S7500E Series Ethernet Switches
Chapter 1 Ethernet Port Configuration
Commands
1-21
Use the
undo loopback-detection per-vlan enable
command to enable loopback
detection in the default VLAN with Trunk ports or Hybrid ports.
By default, loopback detection is only enabled in the default VLAN(s) with Trunk ports
or Hybrid ports.
Note that the
loopback-detection per-vlan enable
command is not applicable to
Access ports.
Examples
# Enable loopback detection in all the VLANs to which the hybrid port Ethernet 2/0/1
belongs.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] loopback-detection enable
[Sysname-Ethernet2/0/1] port link-type trunk
[Sysname-Ethernet2/0/1] loopback-detection per-vlan enable
1.1.20 mdi
Syntax
mdi
{
across
|
auto
|
normal
}
undo mdi
View
Ethernet port view
Parameters
across
: Specifies cross-over cables for the Ethernet port.
auto
: Configures the Ethernet port to sense the cable type automatically.
normal
: Specifies straight-through cables for the Ethernet port.
Description
Use the
mdi
command to configure the cable type that can be sensed by an Ethernet
port.
Use the
undo mdi
command to restore the system default.
By default, an Ethernet port senses the type of the network cable connected to it
automatically.
Examples
# Configure the port Ethernet 2/0/1 to use cross over cable.