7 mdi, 8 name, 7 mdi -129 – PLANET XGS3-24042 User Manual
Page 129: 8 name -129

XGS3 Command Guide
4-129
Usage Guide:
Loopback test can be used to verify the Ethernet ports are working normally. After loopback has been enabled, the
port will assume a connection established to itself, and all traffic sent from the port will be received at the very same
port.
Example:
Enabling loopback test in Ethernet ports 1/0/1-8.
Switch(config)#interface ethernet 1/0/1-8
Switch(Config-If-Port-Range)#loopback
4.1.7 mdi
Command:
mdi { auto | across | normal }
no mdi
Function:
Sets the cable types supported by the Ethernet port; the “no mdi” command sets the cable type to auto-identification.
This command is not supported on combo ports and fiber ports.
Parameters:
auto indicates auto identification of cable types;
across indicates crossover cable support only;
normal indicates straight-through cable support only.
Command mode:
Port Mode.
Default:
Port cable type is set to auto-identification by default.
Usage Guide:
Auto-identification is recommended. Generally, straight-through cable is used for switch-PC connection and
crossover cable is used for switch-switch connection.
Example:
Setting the cable type support of Ethernet ports 1/0/1-8 to straight-through cable only.
Switch(config)#interface ethernet 1/0/1-8
Switch(Config-Port-Range)#mdi normal
4.1.8 name
Command:
name