Specifications
2-21
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
clear interface
clear interface
Use the clear interface privileged EXEC command to clear the hardware logic on an interface or a
VLAN.
clear interface {interface-id | vlan vlan-id}
Syntax Description
Defaults No default is defined.
Command Modes Privileged EXEC
Command History
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.
interface-id ID of the interface.
vlan-id 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.
Release Modification
12.1(6)EA2 This command was first introduced.