Chapter 2
Cisco IOS Commands
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 a Gigabit Ethernet 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.
78-11381-05
clear interface {interface-id | vlan vlan-id}
ID of the interface.
VLAN ID. Valid VLAN IDs are from 1 to 4094 when the enhanced software
image (EI) is installed and 1 to 1001 when the standard software image (SI)
is installed. Do not enter leading zeros.
Modification
This command was first introduced.
Catalyst 2950 Desktop Switch Command Reference
clear interface
2-15