beautypg.com

6 loopback, 7 mdi, 6 loopback -142 – PLANET WGSW-52040 User Manual

Page 143: 7 mdi -142

background image

4-142

4.1.6 loopback

Command:

loopback

no loopback

Function:

Enables the loopback test function in an Ethernet port; the no command disables the loopback test on an Ethernet

port.

Command mode:

Port 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 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/1-8.

Switch(config)#interface ethernet 1/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 command sets the cable type to auto-identification. This

command is not supported on combo ports and fiber ports.

Parameters: