clear interface
clear interface
Use the clear interface privileged EXEC command to clear the hardware logic on an interface
or a VLAN.
Syntax Description
interface-id
vlan-id
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.1(6)EA2
Examples
This example shows how to clear the hardware logic on an interface:
Switch# clear interface gigabitethernet0/1
This example shows how to clear the hardware logic on a specific VLAN:
Switch# clear interface vlan 5
You can verify that the interface-reset counter for an interface is incremented by entering the show
interfaces privileged EXEC command.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-44
clear interface {interface-id | vlan vlan-id}
ID of the interface.
VLAN ID. The range is 1 to 4094.
Modification
This command was introduced.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01