1-24
Examples
# Enable loopback detection in all the VLANs to which the Hybrid port GigabitEthernet 1/1 belongs.
<Sysname> system-view
[Sysname] loopback-detection enable
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] loopback-detection enable
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] loopback-detection per-vlan enable
mdi
Syntax
mdi
{
across
|
auto
|
normal
}
undo mdi
View
Ethernet port view
Default Level
2: System level
Parameters
across
: Specifies the MDI mode as
across
.
auto
: Specifies the MDI mode as
auto
.
normal
: Specifies the MDI mode as
normal
.
Description
Use the
mdi
command to configure the MDI mode for an Ethernet port.
Use the
undo mdi
command to restore the system default.
By default, the MDI mode of an Ethernet port is
auto
, that is, the Ethernet port determines the physical
pin roles (transmit or receive) through negotiation.
The command is not applicable to optical interfaces of SFP ports or 10-Gigabit Ethernet ports.
Examples
# Set the MDI mode of GigabitEthernet 1/0/1 to
across
.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] mdi across
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...