
10-19
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 10 Configuring Interface Characteristics
Monitoring and Maintaining the Interfaces
To remove an IP address from an interface, use the no ip address interface configuration command.
This example shows how to configure an interface as a routed port and to assign it an IP address:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no switchport
Switch(config-if)# ip address 192.20.135.21 255.255.255.0
Switch(config-if)# no shutdown
Switch(config-if)# end
This is an example of output from the show ip interface privileged EXEC command for the interface:
Switch# show ip interface gigabitethernet0/2
GigabitEthernet0/2 is up, line protocol is up
Internet address is 192.20.135.21/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
<output truncated>
Monitoring and Maintaining the Interfaces
You can perform the tasks in these sections to monitor and maintain interfaces:
•
Monitoring Interface and Controller Status, page 10-19
•
Clearing and Resetting Interfaces and Counters, page 10-21
•
Shutting Down and Restarting the Interface, page 10-22
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.
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 Release 12.1.
Step 7
show interfaces [interface-id]
show ip interface [interface-id]
show running-config interface [interface-id]
Verify the configuration.
Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose