background image
Connecting and Logging In to a Switch
75
Configuring Interface Descriptions
You can set a description on an interface, which will allow you to adminis-
tratively set a name for each interface. As with the hostname, the descrip-
tions are only locally significant.
5000 Series Set-Based Switch
To set a description with the 5000 switch, use the set port name slot/port
command. Spaces are allowed. You can set a name up to 21 characters long:
Todd5000> (enable) set port name 2/1 Sales Printer
Port 2/1 name set.
Todd5000> (enable) sh port 2/1
Port Name Status Vlan Level Duplex Speed Type
----- -------------- ---------- ---- ----- ------ ------ -----
2/1 Sales Printer notconnect 2 normal auto auto 10/100BaseTX
1900 IOS-Based Switch
For the 1900 series switch, use the description command. You cannot use
spaces with the description command, but you can use underlining if you
need to:
Todd1900EN#config t
Enter configuration commands, one per line. End with
CNTL/Z
Todd1900EN(config)#int e0/1
Todd1900EN(config-if)#description Finance_VLAN
Todd1900EN(config-if)#int f0/26
Todd1900EN(config-if)#description trunk_to_Building_4
Todd1900EN(config-if)#
You can view the descriptions with either the show interface command
or the show running-config command:
Todd1900EN#sh int e0/1
Ethernet 0/1 is Suspended-no-linkbeat
Hardware is Built-in 10Base-T
Address is 0030.80CC.7D01
MTU 1500 bytes, BW 10000 Kbits
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com