Cisco Systems 2950 Network Router User Manual


 
11-15
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-10
Chapter 11 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
Use the no description interface configuration command to delete the description.
This example shows how to add a description on a port and to verify the description:
Switch# configure 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 Maintaining the Interfaces
You can perform the tasks in these sections to monitor and maintain interfaces:
Monitoring Interface and Controller Status, page 11-15
Clearing and Resetting Interfaces and Counters, page 11-16
Shutting Down and Restarting the Interface, page 11-17
Monitoring Interface and Controller Status
Commands entered at the privileged EXEC prompt display information about the interface, including
the version of the software and the hardware, the controller status, and statistics about the interfaces.
Table 11-2 lists some of these interface monitoring commands. (You can display the full list of show
commands by using the show ? command at the privileged EXEC prompt.) These commands are fully
described in the Cisco IOS Interface Command Reference for Cisco IOS Release 12.1.
Step 5
show interfaces interface-id description
or
show running-config
Verify your entry.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Table 11-2 show Commands for Interfaces
Command Purpose
show interfaces [interface-id] Display the status and configuration of all interfaces or a specific
interface.
show interfaces [interface-id] capabilities [module
{module-number}]
Display the capabilities of an interface. The module number is always
0. If you enter an interface ID, the module keyword is not visible.
show interfaces interface-id status [err-disabled] Display interface status or a list of interfaces in error-disabled state.
show interfaces [interface-id] switchport Display administrative and operational status of switching
(nonrouting) ports.
show interfaces [interface-id] description Display the description configured on an interface or all interfaces and
the interface status.