106
Command: loopback
no loopback
Function: Enable the loopback test function in Ethernet port; the “no loopback
command disables the loopback test on Ethernet port.
Command mode: Interface Mode
Default: Loopback test is disabled in Ethernet port by default.
Usage Guide: Loopback test can be used to verify the Ethernet ports are working
normally. After loopback enabled, the port will assume a connection established to itself,
and all traffic send from the port will receive in this very port.
Default: Enable loopback test in Ethernet ports 1/1 – 8.
Switch(Config)#interface ethernet 1/1-8
Switch(Config-Port-Range)#loopback
3.2.1.2.6 mdi
Command: mdi { auto | across | normal }
no mdi
Function: Sets the cable types supported by the Ethernet port; the “no mdi” command
sets cable type auto-identification. This command is not supported on the
ES4626/ES4650 ports of 1000MB and above, these ports have auto-identification set for
cable types.
Parameter: auto indicates auto identification of cable types; across indicates crossover
cable support only; normal indicates straight-through cable support only.
Command mode: Interface 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: Set the cable type support of Ethernet ports 3/5 – 8 to straight-through cable
only.
Switch(Config)#interface ethernet 3/5-8
Switch(Config-Port-Range)#mdi normal
3.2.1.2.7 description
Command: description <string>
no description
Function: Sets a name for the specified port “no name” command cancels the setting.