Clearing And Resetting The Interface - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 7
Configuring Interfaces
To display information about the interface, enter one of the following commands:
Command
Switch# show interfaces [type
slot/interface]
Switch# show running-config
Switch# show protocols [type
slot/interface]
Switch# show version
This example shows how to display the status of Fast Ethernet interface 5/5:
Switch# show protocols fastethernet 5/5
FastEthernet5/5 is up, line protocol is up
Switch#

Clearing and Resetting the Interface

To clear the interface counters shown with the show interfaces command, enter this command:
Command
Switch# clear counters {type slot/interface}
This example shows how to clear and reset the counters on Fast Ethernet interface 5/5:
Switch# clear counters fastethernet 5/5
Clear "show interface" counters on this interface [confirm] y
Switch#
*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet5/5
by vty1 (171.69.115.10)
Switch#
The clear counters command (without any arguments) clears all the current interface counters from all
interfaces.
The clear counters command does not clear counters retrieved with SNMP; it clears only those counters
Note
displayed with the EXEC show interfaces command.
Shutting Down and Restarting an Interface
You can disable an interface, which disables all functions on the specified interface and marks the
interface as unavailable on all monitoring command displays. This information is communicated to other
network servers through all dynamic routing protocols. The interface is not mentioned in any routing
updates.
OL-25340-01
Purpose
Displays the status and configuration of all interfaces or of
a specific interface.
Displays the configuration currently running in RAM.
Displays the global (system-wide) and interface-specific
status of any configured protocol.
Displays the hardware configuration, software version, the
names and sources of configuration files, and the boot
images.
Purpose
Clears interface counters.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Monitoring and Maintaining the Interface
7-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents