7 mdi, 8 name – PLANET XGS3-24040 User Manual

Page 113

Advertising
background image

XGS3 Command Guide

4-113

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 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/1-8 to straight-through cable only.

Switch(config)#interface ethernet 1/1-8

Switch(Config-Port-Range)#mdi normal

4.1.8 name

Command:

name <string>

no name

Function:

Set name for specified port; the “no name” command cancels this configuration.

Parameter:

<string> is a character string, which should not exceeds 32 characters.

Command Mode:

Port Mode.

Default:

No port name by default.

Usage Guide:

This command is for helping the user manage switches, such as the user assign names according to the port

application, e.g. financial as the name of 1/1-2 ports which is used by financial department, engineering as the name

Advertising