23
[Sysname-GigabitEthernet1/0/1] loopback-detection per-vlan enable
mdi
Syntax
mdi
{
across
|
auto
|
normal
}
undo mdi
View
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.
normal
: Sets the MDI mode to normal. In normal mode, pins 1 and 2 of the port are transmit pins, and
pins 3 and 6 are receive pins.
Description
Use the
mdi
command to configure the MDI mode of a copper Ethernet interface.
Use the
undo mdi
command to restore the default.
By default, Ethernet interfaces operate in auto MDI mode.
NOTE:
This command is not applicable to optical ports.
Examples
# Set interface GigabitEthernet 1/0/1 to operate in across MDI mode.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mdi across
multicast-suppression
Syntax
multicast-suppression
{
ratio |
pps
max-pps
|
kbps
max-kbps
}
undo
multicast-suppression
View
Ethernet interface view, , port group view
Default level
2: System level