Monitoring Interface Status
commands entered at the privileged EXEC prompt display information about the interface., including the versions of the software and the hardware, the configuration , and statistics about
the interfaces.
show interface
display the status and configuration of all interface or a specific interface.
show interface[ interface-id] status [err-disabled]
display interface status or a list of interface in an error-disabled state.
show interfaces [interface-id] switchport
display administrative and operational status of switching (nonroting) ports .you can use this command to find out if a port is in routing or switching mode.
show interface [interface-id] description
display the description configuration on an interface or all interface and the interfce status.
show ip interface [interface-id]
display the usability status of all interfaces configured for ip routing or the specified interface.
show running-config interface [interface-id]
display the running configuration in ram for the inerface.
show version
dsiplay the hardware configuration, software version, the names and sources of configuraiton files,
and the boot images.
show controllers ethernet-controller [interface-id] phy
verify the operational state of the Auto-MDIX feature on the inerface.
show power inline [interface-id]
display POE status for a switch or for an interface.
Clearing and Resetting Interface and Counters
clear counters[interface-id]
clear interface counters.
clear interface interface-id
reset the hardware logic on an interface.
clear line [number | console 0 | vty number ]
reset the hardware logic on an asynchronous serial line.
To clear interface counters shown by the show interfaces privileged EXEC command, use the
clear counters privileged EXEC command .The clear counters command clear all current interface
counters from the interface unless optional arguments are specified to clear only a specific interface
type from a specific interface number
Shutting Down and restarting the interface
Shutting down an interface disable 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 interfaces is not metioned in any routing updates.
Beginning ip privileged EXEC mode, follow these steps to shut down an interface.
interface {vlan vlan-id}|{{fastethernet | gigabitethernet} interface-id}|{port-channel port-channel-number}
shutdown
Use the no shutdown interface configuration command to restart the interface.
To verify that an interface is disable, enter the show interfaces privileged EXEC command. A disabled interface is shown as administratively down in show interface command display.