9-16
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 9 Configuring the Switch Interfaces
Monito ring and Maint aining the Interfaces

Adding a Description for an Interface

You can add a de scriptio n about an in terf ace to help you remember its f unctio n. The desc ription ap pears
in th e out pu t of the se com ma nds: show configuration, show running-config, and show interfaces.
Beginning in privileged EXEC mode, follow these steps to add a description for an interface:
Use the no description interface configura tion comm and to delete the de script ion.
This example shows ho w to add a description on Fast Ethernet interface 0/4 and to verify the description:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/4
Switch(config-if)# description Connects to Marketing
Switch(config-if)# end
Switch# show interfaces fastethernet0/4 description
Interface Status Protocol Description
Fa0/4 up down Connects to Marketing

Monitoring and Main taining the In terfaces

You can perform the tasks in these sections to monitor and maintain interfaces:
Monitori ng I nte rfac e a nd Con tr oller Sta tus, page 9 -16
Clearin g and Re set tin g Int erfac es and Cou nter s, page 9-19
Shutting Down and Resta rting the Int erface, page 9-1 9

Monitoring Interface and Controller Status

Command s entere d at the privileged EXEC pro mpt displ ay infor mation ab out the i nterface, includ ing
the version of the software and the hardware, the controller status, and statistics about the interfaces.
Table 9-2 lists some of these interface monitoring commands. (You can display the full list of show
comm ands by usi ng the show ? command at the privileged EXEC prompt.) These commands are fully
describe d in t he C isco IOS In terface Comm and Ref erence for Rel ease 12.1.
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode
Step 2 int er fa ce interface-id Enter interface configuration mode, and enter the interface for which
you are addin g a desc rip tion.
Step 3 description string Add a description (up to 240 characters) for an interface.
Step 4 end Return to privileged EXEC mode.
Step 5 show interfaces interface-id description
or
show running-config
Verify yo ur e ntry.
Step 6 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.