Table Of Contents
clear kerberos srvtab entry
clear key config-key
clear log
clear log command
clear logging buffer
clear logging level
clear logging server
clear mls entry ip
clear mls entry ipx
clear mls include ip
clear mls include ipx
clear mls multicast include
clear mls multicast statistics
clear mls nde flow
clear mls statistics
clear multicast router
clear ntp key
clear ntp server
clear ntp timezone
clear port broadcast
clear port filter
clear port host
clear port qos cos
clear port security
clear qos config
clear qos ip-filter
clear qos mac-cos
clear qos map
clear qos router-mac
clear radius key
clear radius server
clear rcp
clear rgmp statistics
clear snmp access
clear snmp community
clear snmp group
clear snmp notify
clear snmp targetaddr
clear snmp targetparams
clear snmp trap
clear snmp user
clear snmp view
clear spantree portvlancost
clear spantree portvlanpri
clear spantree root
clear spantree statistics
clear spantree uplinkfast
clear station
clear station counters
clear tacacs key
clear tacacs server
clear timezone
clear top
clear trunk
clear vlan
clear vlan mapping
clear vmps server
clear vmps statistics
clear vtp pruning
2
clear kerberos srvtab entry
Use the clear kerberos srvtab entry command to clear the SRVTAB file that is entered directly into the switch from the command line.
clear kerberos srvtab entry kerberos_principal principal_type
Syntax Description
kerberos_principal
|
Service on the switch.
|
principal_type
|
Version of the Kerberos SRVTAB.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear a SRVTAB file entered directly into the switch:
Console> (enable) clear kerberos srvtab entry host/niners.cisco.com@CISCO.COM 0
Related Commands
set kerberos srvtab entry
set kerberos srvtab remote
clear key config-key
Use the clear key config-key command to clear the configuration key.
clear key config-key
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to delete a DES key:
Console> (enable) clear key config-key abcd
Kerberos config key deleted
Related Commands
set key config-key
clear log
Use the clear log command set to delete module or system error log entries or dump log entries.
clear log [mod]
clear log dump
Syntax Description
mod
|
(Optional) Module number.
|
dump
|
Keyword to clear dump log entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you do not specify a module number, the system error log for the entire system is erased.
Examples
This example shows how to clear the system error log:
Console> (enable) clear log
System error log cleared.
This example shows how to clear the dump log:
Console> (enable) clear log dump
Related Commands
show log
clear log command
Use the clear log command command to clear the command log entry table.
clear log command [mod]
Syntax Description
mod
|
(Optional) Number of the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The command log entry table is a history log of the commands sent to the switch from the console or Telnet.
Examples
This example shows how to clear the command log table for a specific module:
Console> (enable) clear log command 3
Related Commands
show log command
clear logging buffer
Use the clear logging buffer command to clear the system logging buffer.
clear logging buffer
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the system logging buffer:
Console> (enable) clear logging buffer
System logging buffer cleared.
Related Commands
show logging buffer
clear logging level
Use the clear logging level command to reset the logging level for a facility or for all facilities to their factory default settings.
clear logging level {facililty | all}
Syntax Description
facility
|
Name of the facility to reset; facility types are listed in Table 2-1.
|
all
|
Keyword to reset all facilities.
|
Table 2-1 Facility Types
Facility Name
|
Definition
|
all
|
all facilities
|
cdp
|
Cisco Discovery Protocol
|
cops
|
Common Open Policy Service
|
drip
|
Dual Ring Protocol
|
dtp
|
Dynamic Trunk Protocol
|
earl
|
Encoded Address Recognition Logic
|
fddi
|
Fiber Distributed Data Interface
|
filesys
|
file system
|
gvrp
|
GARP VLAN Registration Protocol
|
ip
|
Internet Protocol
|
kernel
|
Kernel
|
mcast
|
Multicast
|
mgmt
|
Management
|
mls
|
Multilayer Switching
|
pagp
|
Port Aggregation Protocol
|
protfilt
|
Protocol Filter
|
pruning
|
VTP pruning
|
qos
|
Quality of Service
|
radius
|
Remote Access Dial-In User Service
|
security
|
Security
|
snmp
|
Simple Network Management Protocol
|
spantree
|
Spanning Tree Protocol
|
sys
|
System
|
tac
|
Terminal Access Controller
|
tcp
|
Transmission Control Protocol
|
telnet
|
Terminal Emulation Protocol
|
tftp
|
Trivial File Transfer Protocol
|
udld
|
User Datagram Protocol
|
vtp
|
Virtual Terminal Protocol
|
Defaults
This command has no default settings.
Command Types
Switch.
Command Modes
Privileged.
Examples
This example shows how to reset a specific facility back to its factory default values:
Console> (enable) clear logging level dtp
Current session and default severities of facility <dtp> set to factory default values.
This example shows how to reset all facilities back to their factory default values:
Console> (enable) clear logging level all
Current session and default severities of all facilities set to factory default values.
Related Commands
set logging level
show logging
clear logging server
Use the clear logging server command to delete a syslog server from the system log server table.
clear logging server ip_addr
Syntax Description
ip_addr
|
IP address of the syslog server to be deleted.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to delete a syslog server from the configuration:
Console> (enable) clear logging server 192.168.255.255
System log server 192.168.255.255 removed from system log server table.
Related Commands
set logging server
show logging
clear mls entry ip
Use the clear mls entry ip command to clear IP MLS cache entries.
clear mls entry ip [destination ip_addr_spec] [source ip_addr_spec] [flow protocol src_port
dst_port] [all]
Syntax Description
destination ip_addr_spec
|
(Optional) Keyword and variable to specify the destination address; see the "Usage Guidelines" section for formatting information.
|
source ip_addr_spec
|
(Optional) Keyword and variable to specify the source IP address; see the "Usage Guidelines" section for formatting information.
|
flow protocol
|
(Optional) Keyword and variable to specify additional flow information (protocol family and protocol port pair) to be matched; valid values include tcp, udp, icmp, or a decimal number for other protocol families.
|
src_port
|
Source protocol port.
|
dst_port
|
Destination protocol port.
|
all
|
(Optional) Keyword to remove all IP MLS cache entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Enter the full IP address or a subnet address in these formats: ip_addr or ip_addr/netmask or ip_addr/maskbit.
Use the following syntax to specify an IP subnet address:
•
ip_subnet_addr—This is the short subnet address format. The trailing decimal number 00 in an IP address YY.YY.YY.00 specifies the boundary for an IP subnet address. For example, 172.22.36.00 indicates a 24-bit subnet address (subnet mask 172.22.36.00/255.255.255.0), and 173.24.00.00 indicates a 16-bit subnet address (subnet mask 173.24.00.00/255.255.0.0). However, this format can identify only a subnet address of 8, 16, or 24 bits.
•
ip_addr/subnet_mask—This is the long subnet address format, for example, 172.22.252.00/255.255.252.00 indicates a 22-bit subnet address. This format can specify a subnet address of any bit number. To provide more flexibility, the ip_addr is a full host address, such as 172.22.253.1/255.255.252.00.
•
ip_addr/maskbits—This is the simplified long subnet address format. The mask bits specify the number of bits of the network masks. For example, 172.22.252.00/22 indicates a 22-bit subnet address. The ip_addr is a full host address, such as 193.22.253.1/22, which has the same subnet address as the ip_subnet_addr.
When you remove an RSM or a supervisor engine with the RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list and all the MLS entries for the RSM or RSFC are removed.
If you do not use the all argument in the clear mls entry ip command, you must specify at least one of the other three keywords (source, destination, or flow) and its arguments.
A 0 value for src_port and dest_port clears all entries. Unspecified options are treated as wildcards, and all entries are cleared.
Examples
This example shows how to clear the MLS entries with destination IP address 192.168.255.255:
Console>(enable) clear mls entry destination 192.168.255.255
Multilayer switching entry cleared.
This example shows how to clear specific IP MLS entries for destination IP address 192.168.255.255:
Console>(enable) clear mls entry destination 192.168.255.255 source 192.168.253.254 flow tcp 520 320
Multilayer switching entry cleared
Related Commands
show mls rp
clear mls entry ipx
Use the clear mls entry ipx command to clear IPX MLS cache entries.
clear mls entry ipx [destination ipx_addr_spec] [source ipx_addr_spec] [all]
Syntax Description
destination
|
(Optional) Keyword to specify the destination address.
|
ipx_addr_spec
|
(Optional) Full IPX address.
|
source
|
(Optional) Keyword to specify the source IP address.
|
all
|
(Optional) Keyword to remove all IPX MLS cache entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When entering the IPX address syntax, use the following format:
•
IPX net address—1..FFFFFFFE
•
IPX node address—x.x.x where x is 0..FFFF
•
IPX address—ipx_net.ipx_node (for example, 3.0034.1245.AB45, A43.0000.0000.0001)
If you do not use the all keyword in the clear mls entry ipx command, you must specify at least one of the other two keywords (source or destination) and its argument.
Examples
This example shows how to clear specific IPX MLS entries for a destination IPX address:
Console>(enable) clear mls entry ipx destination 1.00e0.fefc.6000 source 3.0034.1245.AB45
IPX Multilayer switching entry cleared
Related Commands
show mls rp
clear mls include ip
Use the clear mls include ip command to remove routers from the IP MLS-RP include list.
clear mls include ip {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IP MLS-RP include list.
|
all
|
Keyword to remove all routers from the IP MLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove a router from the IP MLS-RP include list:
Console> (enable) clear mls include ip Stargate
Multilayer switching is disabled for router 192.168.255.255 (Stargate)
Related Commands
show mls rp
clear mls include ipx
Use the clear mls include ipx command to remove routers from the IPX MLS-RP include list.
clear mls include ipx {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IPX MLS-RP include list.
|
all
|
Keyword to remove all routers from the IPX MLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove a router from the IPX MLS-RP include list:
Console> (enable) clear mls include ipx Stargate
Multilayer switching is disabled for router 192.168.255.255 (Stargate)
Related Commands
show mls rp
clear mls multicast include
Use the clear mls multicast include command to remove a router from the IP multicast MLS-RP include list.
clear mls multicast include {ip_addr | all}
Syntax Description
ip_addr
|
IP address or host name of the router to remove from the IP MMLS-RP include list.
|
all
|
Keyword to remove all routers from the IP MMLS-RP include list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
When you physically remove an RSM or RSFC from the Catalyst 5000 family switch, it is removed immediately from the inclusion list, and all the MLS cache entries for the RSM or RSFC are removed.
Examples
This example shows how to remove all routers from the MMLS-RP include list:
Console> (enable) clear mls multicast include all
All MLS routers are deleted from the include list.
This example shows how to remove a specific router from the MMLS-RP include list using its IP address:
Console> (enable) clear mls multicast include 172.20.53.4
MLS Router 172.20.53.4 is deleted from the include list.
Related Commands
set mls multicast
show mls multicast entry
clear mls multicast statistics
Use the clear mls multicast statistics command to clear IP multicast MLS statistics for all MMLS-RPs.
clear mls multicast statistics rp
Syntax Description
rp
|
Keyword to clear IP multicast MLS statistics for all MMLS-RPs.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear IP multicast MLS statistics for all MMLS-RPs:
Console> (enable) clear mls multicast statistics rp
All statistics for the MLS routers in include list are cleared.
Related Commands
set mls multicast
show mls multicast entry
clear mls nde flow
Use the clear mls nde command to clear the MLS NDE flow filter.
clear mls nde [flow]
Syntax Description
flow
|
(Optional) Keyword to return the MLS NDE flow filter to the default configuration.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the NDE filter and export all flows:
Console> (enable) clear mls nde flow
Netflow data export filter cleared.
Related Commands
set mls nde
show mls rp
clear mls statistics
Use the clear mls statistics command to clear IP or IPX MLS statistics on the switch.
clear mls statistics
clear mls statistics protocol {protocol port | all}
Syntax Description
statistics
|
Keyword to clear MLS statistics, including total packets switched and total packets exported (for NDE).
|
protocol protocol
|
(Optional) Keyword and variable to specify additional flow information (protocol family and protocol port pair) to be matched; valid values are from 1 to 255, ip, ipinip, icmp, igmp, tcp, and udp.
|
port
|
Number of the protocol port for which to clear statistics.
|
all
|
Keyword to clear statistics for all protocols.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear IP MLS statistics, including total packets switched and total packets exported (for NDE):
Console> (enable) clear mls statistics
Netflow data export statistics cleared.
This example shows how to clear protocol 17, port 19344, from statistics collection:
Console> (enable) clear mls statistics protocol 17 19344
Protocol 17 port 1934 cleared from protocol statistics list.
Related Commands
show mls rp
show mls statistics
clear multicast router
Use the clear multicast router command to clear manually configured multicast router ports from the multicast router port list.
clear multicast router {mod/port | all}
Syntax Description
mod
|
Number of the module.
|
port
|
Number of the port on the module.
|
all
|
Keyword to clear all multicast router ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove port 1 on module 3 from the list of multicast router ports:
Console> (enable) clear multicast router 3/1
Port 3/1 cleared from multicast router port list.
Related Commands
set multicast router
show multicast router
clear ntp key
Use the clear ntp key command to remove all authentication keys or a specific authentication key.
clear ntp key {public_keynum | all}
Syntax Description
public_keynum
|
Number of the key pair; valid values are from 1 to 4292945295.
|
all
|
Keyword to remove all authentication keys.
|
Defaults
This command has not default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear an NTP authentication key:
Console> (enable) clear ntp key 435
Related Commands
set ntp key
clear ntp server
Use the clear ntp server command to remove one or more servers from the NTP server table.
clear ntp server {ip_addr | all}
Syntax Description
ip_addr
|
IP address of the server to remove from the server table.
|
all
|
Keyword to remove all server addresses in the server table.
|
Defaults
The default configuration has no NTP servers configured.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear a specific NTP server from the server table:
Console> (enable) clear ntp server 172.20.22.191
NTP server 172.20.22.191 removed.
This example shows how to clear all NTP servers from the server table:
Console> (enable) clear ntp server all
Related Commands
set ntp server
show ntp
clear ntp timezone
Use the clear ntp timezone command to return the time zone to its default, UTC.
clear ntp timezone
Syntax Description
This command has no arguments or keywords.
Defaults
The default time zone is UTC.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The clear ntp timezone command functions only when NTP is running. If you set the time manually and NTP is disengaged, the clear ntp timezone command has no effect.
Examples
This example shows how to clear the time zone:
Console> (enable) clear ntp timezone
This command will clear NTP timezone and summertime zonename
Do you want to continue (y/n) [n]? y
Timezone name and offset cleared
Related Commands
set ntp summertime
set ntp timezone
show ntp
clear port broadcast
Use the clear port broadcast command to disable broadcast/multicast suppression on one or more ports.
clear port broadcast mod/ports...
Syntax Description
mod/ports...
|
Number of the module and the ports.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to disable broadcast/multicast suppression:
Console> (enable) clear port broadcast 2/1
Broadcast traffic unlimited on ports 2/1.
Related Commands
set port broadcast
show port
clear port filter
Use the clear port filter command to clear configured MAC addresses or protocol filters.
clear port filter [mod/port] [mac_addr | protocol_type | all]
Syntax Description
mod/port
|
(Optional) Number of the module and the ports on the module.
|
mac_addr
|
(Optional) MAC address on which the filter that you want to clear is based.
|
protocol_type
|
(Optional) Protocol type on which the filter that you want to clear is based.
|
all
|
(Optional) Keyword to clear all filters.
|
Defaults
The command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can enter the MAC address in canonical format (00-11-33-44-55) or in noncanonical format (00:11:22:33:44:55).
Examples
This example shows how to clear a MAC address filter (00:40:0b:01:bc:65) configured on port 2 of module 3:
Console> (enable) clear port filter 3/2 00:40:0b:01:bc:65
Port 3/2 filter Mac Address 00:40:0b:01:bc:65 cleared.
Related Commands
set port filter
show port filter
clear port host
Use the clear port host command to clear the port configuration for optimizing a host connection.
clear port host mod/port
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear port host 1 on module 2:
Console> (enable) clear port host 2/1
Port(s) 2/1 trunk mode set to auto.
Spantree port 2/1 fast start disabled.
Port(s) 2/1 channel mode set to auto.
This example shows how to clear port hosts 1 through 4 on module 2:
Console> (enable) clear port host 2/1-4
Port(s) 2/1 trunk mode set to auto.
Port(s) 2/2 trunk mode set to auto.
Port(s) 2/3 trunk mode set to auto.
Port(s) 2/4 trunk mode set to auto.
Spantree ports 2/1-4 fast start disabled.
Port(s) 2/1 channel mode set to auto.
Port(s) 2/2 channel mode set to auto.
Port(s) 2/3 channel mode set to auto.
Port(s) 2/4 channel mode set to auto.
Related Commands
set port host
clear port qos cos
Use the clear port qos cos command to return the values set by the set port qos command to the default values for all specified ports.
clear port qos mod/ports... cos
Syntax Description
mod/ports...
|
Number of the module and ports.
|
Defaults
The default CoS for a port is 0.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to return the values set by the set port qos command to the default values for module 2, port 1:
Console> (enable) clear port qos 2/1 cos
Port 2/1 qos cos setting cleared.
Related Commands
set port qos
show port qos
clear port security
Use the clear port security command to clear all MAC addresses or a specific MAC address from the list of secure MAC addresses on a port.
clear port security mod/port {mac_addr | all}
Syntax Description
mod/port
|
(Optional) Number of the module and the ports on the module.
|
mac_addr
|
MAC address to be deleted.
|
all
|
Keyword to remove all MAC addresses.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove a specific MAC address from a port's list of secure addresses:
Console> (enable) clear port security 4/1 00-11-22-33-44-55
00-11-22-33-44-55 cleared from secure address list list for port 4/1.
Related Commands
set port security
show port security
clear qos config
Use the clear qos config command to return the values set by the set qos command to the default values and delete the CoS-to-MAC address mappings.
clear qos config
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to return the values set by the set qos command to the default values and delete the CoS assigned to MAC addresses:
Console> (enable) clear qos config
This command will disable QoS and take values back to factory default.
Do you want to continue (y/n) [n]? y
Related Commands
set qos
show qos info
clear qos ip-filter
Use the clear qos ip-filter command to delete entries from the ACE list.
clear qos ip-filter {ACE# | all}
Syntax Description
ACE#
|
Number of the current position in the ACE list.
|
all
|
Keyword to delete all the entries in the ACE list.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches configured with Supervisor Engine II G or III G, or Supervisor Engine III.
Examples
This example shows how to remove a specific entry from the ACE list:
Console> (enable) clear qos ip-filter 3
qos ip-filter 3 is cleared.
This example shows how to remove all entries from the ACE list:
Console>(enable) clear qos ip-filter all
qos ip-filter are all cleared.
Related Commands
set qos ip-filter
show qos ip
clear qos mac-cos
Use the clear qos mac-cos command to clear the values set by the set qos mac-cos command.
clear qos mac-cos dest_mac [vlan]
clear qos mac-cos all
Syntax Description
dest_mac
|
Destination host MAC address.
|
vlan
|
(Optional) Number of the VLAN.
|
all
|
Keyword to clear CoS values for all MAC/VLAN pairs.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III.
If the vlan number is not entered, all entries for the MAC address are cleared.
Examples
This example shows how to clear the values set by the set qos mac-cos command and return to the default values for all MAC address and VLAN pairs:
Console> (enable) clear qos mac-cos all
All CoS to Mac/Vlan entries are cleared.
This example shows how to clear the values set by the set qos mac-cos command and return to the default values for a specific MAC address:
Console> (enable) clear qos mac-cos 1-2-3-4-5-6 1
CoS to Mac/Vlan entry for mac 01-02-03-04-05-06 vlan 1 is cleared.
Related Commands
set qos mac-cos
show qos mac-cos
clear qos map
Use the clear qos map command to return the CoS-to-transmit queue and drop threshold values to their default values.
clear qos map port_type
Syntax Description
port_type
|
Port type; valid values are 1q4t and 2q1t.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported on systems configured with Supervisor Engine II G or III G, or Supervisor Engine III.
Examples
This example shows how to return the CoS-to-transmit queue and drop threshold mappings to the default values on 1q4t ports:
Console> (enable) clear qos map 1q4t
Related Commands
set qos map
show qos info
clear qos router-mac
Use the clear qos router-mac command to remove entries from the list of router MAC address-to-VLAN mappings on which to perform ACE-based classification.
clear qos router-mac mac_addr vlan
clear qos router-mac all
Syntax Description
mac_addr
|
MAC address to remove from the list of router MAC address-to-VLAN mappings.
|
vlan
|
VLAN number mapped to the specified router MAC address; valid values are from 1 to 1005.
|
all
|
Keyword to remove all entries from the list of router MAC address-to-VLAN mappings.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command is supported on Catalyst 5000 family switches configured with Supervisor Engine II G or III G, or Supervisor Engine III.
You can enter the MAC address in canonical format (00-11-33-44-55) or in noncanonical format (00:11:22:33:44:55).
Examples
This example shows how to remove a specific entry from the list of router MAC address-to-VLAN mappings:
Console> (enable) clear qos router-mac 00-40-0b-30-03-48 2
QoS Router MAC/Vlan(s) cleared.
Related Commands
set qos router-mac
show qos info
clear radius key
Use the clear radius key command to clear all the RADIUS shared keys from the RADIUS shared key table.
clear radius key
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the RADIUS key:
Console> (enable) clear radius key
Radius server key cleared.
Related Commands
set radius key
show radius
clear radius server
Use the clear radius server command to clear all or one of the RADIUS servers from the RADIUS server table.
clear radius server all
clear radius server ipaddr
Syntax Description
all
|
Keyword to clear all RADIUS servers.
|
ipaddr
|
Number of the IP address or IP alias.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The IP address is entered in dotted decimal notation, for example, 101.102.103.104.
Examples
This example shows how to clear a specific RADIUS server from the RADIUS server table:
Console> (enable) clear radius server 192.168.255.255
192.168.255.255 cleared from radius server table.
Related Commands
set radius server
show radius
clear rcp
Use the clear rcp command to clear rcp information for file transfers.
clear rcp
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear rcp information:
Console> (enable) clear rcp
Related Commands
set rcp username
show rcp
clear rgmp statistics
Use the clear rgmp statistics command to clear RGMP statistics information for all VLANs.
clear rgmp statistics
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the RGMP statistics on the switch:
Console> (enable) clear rgmp statistics
Related Commands
set rgmp
show rgmp statistics
clear snmp access
Use the clear snmp access command to remove the access rights of an SNMP group with a specific security model and security level.
clear snmp access [-hex] {groupname} {security-model {v1 | v2c}}
clear snmp access {security-model v3 {noauthentication | authentication | privacy}}
Syntax Description
-hex
|
(Optional) Keyword to display the groupname as a hexadecimal format.
|
groupname
|
SNMP group name.
|
security-model v1| v2c
|
Keywords to specify the security model v1 or v2c.
|
security-model v3
|
Keywords to specify security model v3.
|
noauthentication
|
Keyword to specify that the security model is not set to use authentication protocol.
|
authentication
|
Keyword to specify the type of authentication protocol.
|
privacy
|
Keyword to specify that messages sent on behalf of the user are protected from disclosure.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for groupname (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to clear SNMP access for a group:
Console> (enable) clear snmp access cisco-group security-model v3 authentication
Cleared snmp access cisco-group version v3 level authentication.
Related Commands
clear config
set snmp access
show snmp
clear snmp community
Use the clear snmp community command to remove the mappings between different community strings and security modes.
clear snmp community index [-hex] {index_name}
Syntax Description
index
|
Keyword to specify clearing an index.
|
-hex
|
(Optional) Keyword to display the index_name in a hexadecimal format.
|
index_name
|
Name of the SNMP index.
|
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for the index_name value (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
If you do not enter an index_name value, a NULL context string is used.
Examples
This example shows how to clear SNMP access for a group:
Console> (enable) clear snmp community index ind1
Cleared snmp community ind1.
Related Commands
set snmp community
show snmp community
clear snmp group
Use the clear snmp group command to clear the SNMP user from an SNMP group.
clear snmp group [-hex] {groupname} user [-hex] {username} {security-model {v1 | v2 | v3}}
Syntax Description
-hex
|
(Optional) Keyword to display the groupname or username in a hexadecimal format.
|
groupname
|
Name of the SNMP group that defines an access control.
|
user username
|
Keyword and variable to specify the SNMP user name.
|
security model v1 | v2 | v3
|
Keywords to specify security model v1, v2c, or v3.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for groupname or username (nonprintable delimiters for these parameters), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to clear the SNMP group from the vacmAccessTable:
Console> (enable) clear snmp group cisco-group user joe security-model v3
Cleared snmp group cisco-group user joe version v3.
Related Commands
set snmp group
show snmp
clear snmp notify
Use the clear snmp notify command to clear the SNMP notifyname in the SNMP Notify Table.
clear snmp notify [-hex] {notifyname}
Syntax Description
-hex
|
(Optional) Keyword to display the notifyname in a hexadecimal format.
|
notifyname
|
A unique identifier to index the snmpNotifyTable.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for notifyname (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to clear an SNMP notifyname from the snmpNotifyTable:
Console> (enable) clear snmp notify joe
Cleared SNMP notify table joe.
Related Commands
set snmp notify
show snmp
clear snmp targetaddr
Use the clear snmp targetaddr command to clear the SNMP target address entry in the TargetAddressTable.
clear snmp targetaddr [-hex] {addrname}
Syntax Description
-hex
|
(Optional) Keyword to display the addrname in a hexadecimal format.
|
addrname
|
An arbitrary but unique name of the target agent; the maximum length is 32 bytes.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for addrname (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to clear an SNMP target address entry in the snmpTargetAddressTable:
Console> (enable) clear snmp targetaddr joe
Cleared SNMP targetaddr joe.
Related Commands
set snmp targetaddr
show snmp
clear snmp targetparams
Use the clear snmp targetparams command to clear the SNMP target parameters used in the snmpTargetParamsTable.
clear snmp targetparams [-hex] {paramsname}
Syntax Description
-hex
|
(Optional) Keyword to display the paramsname as a hexadecimal format.
|
paramsname
|
Name of the target parameter in the snmpTargetParamsTable; the maximum length is 32 bytes.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for paramsname (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to clear the SNMP target parameters in the snmpTargetParamsTable:
Console> (enable) clear snmp targetparams joe
Cleared SNMP targetparams table joe.
Related Commands
set snmp targetparams
show snmp
clear snmp trap
Use the clear snmp trap command to clear an entry from the SNMP trap receiver table.
clear snmp trap {rcvr_addr | all}
Syntax Description
rcvr_addr
|
IP address or IP alias of the trap receiver (the SNMP management station) to clear.
|
all
|
Keyword to clear every entry in the SNMP trap receiver table.
|
Defaults
The default configuration has no entries in the SNMP trap receiver table.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Enter the rcvr_addr value in dotted decimal notation, for example, 101.102.103.104.
Examples
This example shows how to clear an entry from the SNMP trap receiver table:
Console> (enable) clear snmp trap 192.168.255.255
SNMP trap receiver deleted.
Related Commands
set snmp trap
show port counters
test snmp trap
clear snmp user
Use the clear snmp user command to remove an SNMP user.
clear snmp user [-hex] {username} [remote {engineid}]
Syntax Description
-hex
|
(Optional) Keyword to display the username as a hexadecimal format.
|
username
|
Name of the user on the host that connects to the agent.
|
remote engineid
|
(Optional) Keyword and variable to specify the username on a remote SNMP engine.
|
Defaults
If a remote engine ID is not provided, the default local SNMP engine ID is used.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for username (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
Examples
This example shows how to remove a user from an SNMP group:
Console> (enable) clear snmp user joe
This example shows how to remove a user on a remote SNMP engine:
Console> (enable) clear snmp user joe remote 00:00:00:09:00:d0:00:4c:18:00
Related Commands
set snmp user
show snmp
clear snmp view
Use the clear snmp view command to remove the MIB viewname from the vacmViewTreeFamilyTable.
clear snmp view [-hex] {viewname} {subtree}
Syntax Description
-hex
|
(Optional) Keyword to display the viewname as a hexadecimal format.
|
viewname
|
Name of a MIB view.
|
subtree
|
Name of the subtree.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you use special characters for viewname (nonprintable delimiters for this parameter), you must use a hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example, 00:ab:34.
A MIB subtree used in conjunction with a mask defines a view subtree that can be in OID format or a text name mapped to a valid OID.
Examples
This example shows how to clear the SNMP MIB viewname:
Console> (enable) clear snmp view myview 1.1.3
Cleared snmp view myview with subtree 1.1.3
Related Commands
set snmp view
show snmp
clear spantree portvlancost
Use the clear spantree portvlancost command to restore the default spanning tree port VLAN cost on a port.
clear spantree portvlancost mod/port preferred_vlans
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
preferred_vlans
|
List of VLANs for which to restore the default spanning tree port VLAN cost; valid values are from 1 to 1005.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to restore the default spanning tree port VLAN cost for VLANs 1 through 10 on port 2/10:
Console> (enable) clear spantree portvlancost 2/10 1-10
Port 2/10 VLANs 11-21 have path cost 6
Port 2/10 VLANs 1-10,22-1000 have path cost 10.
Related Commands
set spantree portfast
show spantree statistics
clear spantree portvlanpri
Use the clear spantree portvlanpri command to restore the default spanning tree port VLAN priority on a port.
clear spantree portvlanpri mod/port vlans
clear spantree portvlanpri trcrf | trbrf
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
vlans
|
List of VLANs for which to restore the default spanning tree port VLAN priority; valid values are from 1 to 1005.
|
trcrf
|
Keyword to specify the TrCRF for which to clear the spanning tree port VLAN priority.
|
trbrf
|
Keyword to specify the TrBRF for which to clear the spanning tree port VLAN priority.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to restore the default spanning tree port VLAN priority for VLANs 23 to 40 on port 1/2:
Console> (enable) clear spantree portvlanpri 1/2 23-40
Port 1/2 vlans 3,6-20,23-1000 using portpri 32
Port 1/2 vlans 1-2,4-5,21-22 using portpri 30
Related Commands
set spantree portvlanpri
show spantree
clear spantree root
Use the clear spantree root command to restore the spanning tree bridge priority, hello time, maxage, and forward delay on the switch to their default values.
clear spantree root vlans
Syntax Description
vlans
|
List of the VLANs for which to restore the spanning tree default settings; valid values are from 1 to 1005.
|
Defaults
The defaults are:
•
Switch priority is 32768
•
Forward delay is 15 seconds
•
Hello time is 2 seconds
•
Maxage is 20 seconds
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to restore the spanning tree bridge priority, hello time, maxage, and forward delay for VLANs 1 through 20 to their default values:
Console>(enable) clear spantree root 1-20
VLANs 1-20 bridge priority set to 32678.
VLANs 1-20 bridge hello time set to 2 seconds.
VLANs 1-20 bridge max aging time set to 20 seconds.
VLANs 1-20 bridge forward delay set to 15 seconds.
Related Commands
set spantree root
show spantree
clear spantree statistics
Use the clear spantree statistics command to clear the spanning tree statistics on a specified port or VLAN.
clear spantree statistics mod/port
clear spantree statistics vlan
Syntax Description
mod/port
|
Number of the module and port on the module.
|
vlan
|
List of the VLAN numbers to clear.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the spanning tree statistics for VLAN 1:
Console>(enable) clear spantree statistics 1
Cleared all VLAN counters for VLAN 1
Statistics cleared for vlans 1
Related Commands
show spantree statistics
clear spantree uplinkfast
Use the clear spantree uplinkfast command to disable UplinkFast and return the spanning tree bridge priority, port priorities, and port costs to their default values.
clear spantree uplinkfast
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command changes spanning tree port priorities and port costs, which might affect VLAN load-balancing configurations.
Examples
This example shows how to turn off the UplinkFast feature and return the spanning tree bridge priority, port priorities, and port costs to their default values:
Console>(enable) clear spantree uplinkfast
This command will cause all portcosts, portvlancosts, and the
bridge priority on all vlans to be set to default.
Do you want to continue (y/n) [n]? y
VLANs 1-1005 bridge priority set to 32768.
The port cost of all bridge ports set to default value.
The portvlancost of all bridge ports set to default value.
uplinkfast disabled for bridge.
Related Commands
set spantree uplinkfast
show spantree uplinkfast
clear station
Use the clear station command to remove a station from the Token Ring network.
clear station mod/port mac_addr
Syntax Description
mod/port
|
Number of the module and the port on the module.
|
mac_addr
|
MAC address of the station that you want to remove.
|
Defaults
The command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Enter the MAC address in noncanonical (00:11:22:33:44:55) format.
Caution 
Use this command with extreme caution, it sends a Remove Station MAC frame to a specific station and removes that station from the Token Ring network.
Examples
This example shows how to remove the station with the MAC address 00:40:0b:01:bc:65 from
port 2 of module 3:
Console> (enable) clear station 3/2 00:40:0b:01:bc:65
Mac Address 00:40:0b:01:bc:65 cleared.
Related Commands
clear station counters
set station softerror
show station softerror config
show station softerror counters
clear station counters
Use the clear station counters command to reset the soft error statistics.
clear station counters mod[/port]
Syntax Description
mod
|
Number of the module.
|
/port
|
(Optional) Number of the port on the module.
|
Defaults
The command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to reset the soft error statistics collected for stations on port 10 of module 3:
Console> (enable) clear station counters 3/10
Port 3/10 station counters cleared.
Related Commands
clear station
set station softerror
show station softerror counters
clear tacacs key
Use the clear tacacs key command to remove the TACACS+ authentication and encryption server key.
clear tacacs key
Syntax Description
This command has no arguments or keywords.
Defaults
The default key value is null.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear the TACACS+ server key used for authentication and encryption:
Console> (enable) clear tacacs key
TACACS server key cleared.
Related Commands
set tacacs key
show tacacs
clear tacacs server
Use the clear tacacs server command to remove a host from the list of TACACS+ servers.
clear tacacs server {ip_addr | all}
Syntax Description
ip_addr
|
IP address of the server to be removed from the list of TACACS+ servers.
|
all
|
Keyword to remove all hosts from the list of TACACS+ servers.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to remove a server from the list of TACACS+ servers:
Console> (enable) clear tacacs server 192.168.255.255
192.168.255.255 cleared from TACACS table
Related Commands
show tacacs
clear timezone
Use the clear timezone command to return the time zone to its default, UTC.
clear timezone
Syntax Description
This command has no arguments or keywords.
Defaults
The default time zone is UTC.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The clear timezone command functions only when NTP is enabled. If you set the time manually and NTP is disabled, the clear timezone command has no effect.
Examples
This example shows how to clear the time zone:
Console> (enable) clear timezone
Timezone name and offset cleared.
Related Commands
set timezone
clear top
Use the clear top command to terminate running TopN report processes.
clear top {all | report}
Syntax Description
all
|
Keyword to terminate all nonpending TopN results.
|
report
|
TopN report number to terminate; valid values are 1 to 5.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The clear top all command will not kill any pending TopN reports. Only reports with a done status are killed.
You can terminate TopN processes without the background option by pressing Ctrl-C in the same Telnet/console session, or by entering the clear top [report] command from a separate Telnet/console session. Use the show top background command to find out if the background option is used.
The prompt is not displayed before the TopN report is completely displayed. Other commands will be blocked until the report has been displayed.
Examples
This example shows how to stop the TopN process 1 from a console session:
Console> (enable) clear top 1
Console> (enable) %MGMT-5-TOPN_TERMINATE:Report 1 terminated by Console//
This example shows how to stop all nonpending TopN report processes:
Console> (enable) clear top all
Console> (enable) %MGMT-5-TOPN_TERMINATE:Report 1 terminated by Console//
%MGMT-5-TOPN_TERMINATE:Report 2 terminated by Console//
%MGMT-5-TOPN_TERMINATE:Report 3terminated by Console//
This example shows how to stop the TopN 4 process from a Telnet session:
Console> (enable) clear top 1
Console> (enable) %MGMT-5-TOPN_TERMINATE:Report 1 terminated by telnet/172.20.52.124//
Related Commands
show top
show top report
clear trunk
Use the clear trunk command to restore a trunk port to its default trunk type and mode or to clear specific VLANs from the allowed VLAN list for a trunk port.
clear trunk mod/ports... [vlans]
Syntax Description
mod/ports...
|
Number of the module and the ports on the module.
|
vlans
|
(Optional) One or more VLANs to remove from the allowed VLAN list for the trunk port; valid values are 2 to 1005.
|
Defaults
If you do not specify any VLANs, this command sets the mode to auto for ISL and IEEE 802.1Q trunk ports. For more information about auto and off modes, see the set trunk command.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you specify VLANs, those VLANs are removed from the list of VLANs allowed on the trunk. Traffic for the removed VLANs is not forwarded over the trunk port.
Default VLANs cannot be cleared from the allowed VLAN list on the trunk.
To add VLANs that you have removed, use the set trunk mod/port vlan_range command.
Examples
This example shows how to clear VLANs 200 to 500 from the trunk port on port 2 of module 1:
Console> (enable) clear trunk 1/2 200-500
Removing Vlan(s) 200-500 from allowed list.
Port 1/2 allowed vlans modified to 1-199,501-1000.
This example shows how to clear the trunk on port 2 of module 1:
Console> (enable) clear trunk 1/2
Port(s) 1/2 trunk mode set to auto.
Port(s) 1/2 trunk type set to isl.
Related Commands
set trunk
show trunk
clear vlan
Use the clear vlan command to delete an existing VLAN from a management domain.
clear vlan vlan
Syntax Description
vlan
|
Number of the VLAN; valid value is 2 to 1000.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
Follow these guidelines for deleting VLANs:
•
When you delete an Ethernet VLAN in VTP server mode, the VLAN is removed from all switches in the same VTP domain.
•
When you delete a VLAN in VTP transparent mode, the VLAN is deleted only on the current switch.
•
To delete a Token Ring TrBRF VLAN, you must first reassign its child TrCRFs to another parent TrBRF, or delete the child TrCRFs.
Caution 
When you clear a VLAN, all ports assigned to that VLAN become inactive. However, the VLAN port assignments are retained until you move the ports to another VLAN. If the cleared VLAN is reactivated, all ports still configured on that VLAN are also reactivated. A warning is displayed if you clear a VLAN that exists in the mapping table.
Examples
This example shows how to clear an existing VLAN (VLAN 4) from a management domain:
Console> (enable) clear vlan 4
This command will deactivate all ports on vlan 4
in the entire management domain
Do you want to continue(y/n) [n]? y
VLAN 4 deleted
Related Commands
set vlan
show vlan
clear vlan mapping
Use the clear vlan mapping command to delete existing 802.1Q VLAN to ISL VLAN-mapped pairs.
clear vlan mapping dot1q {1q_vlan | all}
Syntax Description
dot1q
|
Keyword to specify the 802.1Q VLAN.
|
1q_vlan
|
Number of the 802.1Q VLAN for which to remove the mapping.
|
all
|
Keyword to clear the mapping table of all entries.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear an existing mapped 802.1Q VLAN (VLAN 1044) from the
mapping table:
Console> (enable) clear vlan mapping dot1q 1044
Vlan Mapping 1044 Deleted.
This example shows how to clear all mapped 802.1Q VLANs from the mapping table:
Console> (enable) clear vlan mapping dot1q all
All Vlan Mapping Deleted.
Related Commands
set vlan mapping
show vlan mapping
clear vmps server
Use the clear vmps server command to delete a VMPS server from the VMPS server table.
clear vmps server ip_addr
Syntax Description
ip_addr
|
IP address of the VMPS server to be deleted.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to clear a VMPS server from the VMPS table:
Console> (enable) clear vmps server 192.168.255.255
VMPS domain server 192.168.255.255 cleared from VMPS table.
This example shows the results of trying to clear a nonexistent VMPS server from the VMPS table:
Console> (enable) clear vmps server 192.168.255.255
VMPS domain server 192.168.255.255 not in VMPS table.
Related Commands
reconfirm vmps
clear vmps statistics
Use the clear vmps statistics command to delete existing VMPS statistics.
clear vmps statistics
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to delete existing VMPS statistics:
Console> (enable) clear vmps statistics
VMPS and dynamic vlan statistics cleared.
Related Commands
show vmps statistics
clear vtp pruning
Use the clear vtp pruning command to specify which VLANs in the VTP domain are ineligible for pruning.
clear vtp pruning vlan
Syntax Description
vlan
|
Number of VLANs to make ineligible for pruning; valid values are from 1 to 1005.
|
Defaults
By default, VLANs 2 to 1000 are eligible for pruning.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
VTP pruning prevents traffic in each pruning-eligible VLAN from being transmitted on a VLAN trunk if no stations belonging to that VLAN are located across that trunk. Use the set vtp command to enable VTP pruning.
Use the set vtp pruneeligible command to make the VLANs eligible for pruning again.
Examples
This example shows how to make VLANs 200 to 500 ineligible for pruning:
Console> (enable) clear vtp pruning 200-500
Vlans 1,200-500,1001-1005 will not be pruned on this device.
VTP domain Company modified.
Related Commands
set vtp
set vtp pruneeligible
show vtp statistics