clear (user and privi exec modes)
Clears parameters, cache entries, table entries, and other similar
entries. The clear command is available for specific commands only. The information
cleared, using this command, depends on the mode in which the clear command is
executed.

Note
This command and its syntax is common to both
the
User Executable and
Privilege Executable configuration
modes.
Supported in the following platforms:
- Access Points — AP7502, AP7522,
AP7532, AP7562, AP7602, AP7612, AP7622, AP7632, AP7662, AP8163, AP8432, AP8533
- Wireless Controller — RFS4010
- Service Platforms — NX5500, NX7500,
NX9500, NX9600, VX9000
Syntax
clear [arp-cache|bonjour|cdp|counters|crypto|event-history|firewall|gre|ip|ipv6|l2tpv3-stats|lacp|license|lldp|mac-address-table|mint|role|rtls|spanning-tree|traffic-shape|vrrp]
clear arp-cache {on <DEVICE-NAME>}
clear bonjour cache {on <DEVICE-NAME>}
clear [cdp|lldp] neighbors {on <DEVICE-NAME>}
clear counters [all|ap|bridge|interface|radio|router|thread|wireless-client]
clear counters all {(on <DEVICE-OR-DOMAIN-NAME>)}
clear counters [bridge|router|thread]
clear counters interface <INF-TYPE> {(on <DEVICE-OR-DOMAIN-NAME>)}
clear counters [ap {<MAC>}|radio {<MAC/DEVICE-NAME>} {<1-3>}|wireless-client {<MAC>}] {(on <DEVICE-OR-DOMAIN-NAME>)}
clear crypto [ike|ipsec] sa
clear crypto ike sa [<IP>|all] {on <DEVICE-NAME>}
clear crypto ipsec sa {on <DEVICE-NAME>}
clear event-history
clear firewall [dhcp|dos|flows|neighbors]
clear firewall [dhcp|neighbors] snoop-table {on <DEVICE-NAME>}
clear firewall [dos stats|flows [ipv4|ipv6]] {on <DEVICE-NAME>}
clear gre stats {on <DEVICE-NAME>}
clear ip [bgp|dhcp|ospf]
clear ip bgp [<IP>|all|external|process]
clear ip bgp [<IP>|all|external] {in|on|out|soft}
clear ip bgp [<IP>|all|external] {in prefix-filter} {on <DEVICE-NAME>}
clear ip bgp [<IP>|all|external] {out} {(on <DEVICE-NAME>)}
clear ip bgp [<IP>|all|external] {soft {in|out}} {on <DEVICE-NAME>}
clear ip bgp process {on <DEVICE-NAME>}
clear ip dhcp bindings [<IP>|all] {on <DEVICE-NAME>}
clear ip ospf process {on <DEVICE-NAME>}
clear mac-address-table {address|interface|vlan} {on <DEVICE-NAME>}
clear ipv6 neighbor-cache {on <DEVICE-NAME>}
clear lacp [<1-4> counters|counters]
clear license [borrowed|lent to <BORROWER-CONTROLLER-NAME>] {on <DEVICE-NAME>}
clear l2tpv3-stats tunnel <TUNNEL-NAME> {session <SESSION-NAME>} {on <DEVICE-NAME>}
clear mac-address-table {address <MAC>|vlan <1-4094>} {on <DEVICE-NAME>}
clear mac-address-table {address|interface|mac-auth-state|vlan} {on <DEVICE-NAME>}
clear mac-address-table {address <MAC>|vlan <1-4094>} {on <DEVICE-NAME>}
clear mac-address-table {interface [<IN-NAME>|ge <1-2>|port-channel <1-2>| vmif <1-8>]} {on <DEVICE-NAME>}
clear mac-address-table mac-auth-state address <MAC> vlan <1-4094> {on <DEVICE-NAME>}
clear mint mlcp history {on <DEVICE-NAME>}
clear role ldap-stats {on <DEVICE-NAME>}
clear rtls [aeroscout|ekahau]
clear rtls [aeroscout|ekahau] {<MAC/DEVICE-NAME> {on <DEVICE-OR-DOMAIN-NAME>}|on <DEVICE-OR-DOMAIN-NAME>}
clear spanning-tree detected-protocols{interface|on}
clear spanning-tree detected-protocols {on <DEVICE-NAME>}
clear spanning-tree detected-protocols {interface [<INTERFACE-NAME>|ge <1-X>|me1|port-channel <1-X>|pppoe1|up1|vlan <1-4094>|wwan1]} {on <DEVICE-NAME>}
clear traffic-shape statistics class
<1-4> {(on
<DEVICE-NAME>)}clear vrrp [error-stats|stats] {on <DEVICE-NAME>}
Parameters
clear arp-cache {on <DEVICE-NAME>}
arp-cache
|
Clears Address Resolution Protocol (ARP) cache entries on a
AP, wireless controller, or service platform. This protocol matches the
layer 3 IP addresses to the layer 2 MAC addresses.
|
on <DEVICE-NAME>
|
Optional. Clears ARP cache entries on a specified device
|
clear bonjour cache {on <DEVICE-NAME>}
bonjour cache |
Clears all Bonjour cached statistics. Once cleared the system has to
re-discover available Bonjour services. |
on <DEVICE-NAME> |
Optional. Clears all Bonjour cached statistics on a specified device
|
|
clear [cdp|lldp] neighbors {on <DEVICE-NAME>}
cdp |
Clears Cisco Discovery Protocol (CDP) table entries |
lldp |
Clears Link Layer Discovery Protocol (LLDP) table
entries |
neighbors |
Clears CDP or LLDP neighbor table entries based on the option selected
in the preceding step |
on <DEVICE-NAME> |
Optional. Clears CDP or LLDP neighbor table entries on a specified
device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear counters all {(on <DEVICE-OR-DOMAIN-NAME>)}
counters |
Clears all counters on the logged device or on all devices within a
specified RF Domain. These counters are: AP, bridge, interface, radio,
router, thread and wireless clients. |
on <DEVICE-OR-DOMAIN-NAME> |
Optional. Specify the device name or the RF Domain name.
- on
<DEVICE-OR-DOMAIN-NAME> – Optional. Clears all counters on a
specified device or RF Domain.
- <DEVICE-OR-DOMAIN-NAME> – Specify the name of the AP,
wireless controller, service platform, or RF Domain.
Note: If you do not
specify a device name or an RF Domain name, the system clears all
counters on the logged device.
|
|
clear counters [bridge|router|thread]
counters |
Clears counters based on the parameters passed. The options are: AP,
bridge, interface, radio, router, thread and wireless clients. |
[bridge|router|thread] |
Select one of the following options:
- bridge – Clears bridge counters. When executed, this command resets
the bridge forwarding cache.
- router – Clears router counters. When executed, this command resets
the router counters.
- thread – Clears thread counters. When executed, this command resets
the pre-thread counters.
|
|
clear counters [ap {<MAC>}|radio {<MAC/DEVICE-NAME>} {<1-X>}|wireless-client {<MAC>}] {(on <DEVICE-OR-DOMAIN-NAME>)}
counters |
Clears counters based on the parameters passed. The options are: AP,
bridge, interface, radio, router, thread and wireless clients. |
ap <MAC> |
Clears counters for all APs or a specified AP
- <MAC> –
Optional. Specify the AP‘s MAC address.
Note: If no MAC address
is specified, all AP counters are cleared.
|
radio <MAC/DEVICE-NAME> <1-X> |
Clears radio interface counters on a specified device or on all
devices
- <MAC/DEVICE-NAME> – Optional. Specify the device‘s hostname or
MAC address. Optionally, append the radio interface number (to the
radio ID) using one of the following formats: AA-BB-CC-DD-EE-FF:RX or
HOSTNAME:RX (where RX is the interface number).
- <1-X> –
Optional. Identifies the radio interface by its index. Specify
the radio interface index, if not specified as part of the radio
ID. Note, the number of radio interfaces available varies with
the access point type.
Note: If no device name
or MAC address is specified, all radio interface counters are
cleared.
|
wireless-client <MAC> |
Clears counters for all wireless clients or a specified wireless
client
- <MAC> –
Optional. Specify the wireless client's MAC address.
Note: If no MAC address
is specified, all wireless client counters are cleared.
|
on <DEVICE-OR-DOMAIN-NAME> |
The following option is common to all of the above keywords:
- on
<DEVICE-OR-DOMAIN-NAME> – Optional. Clears AP, radio, or
wireless client counters on a specified device or RF Domain.
- <DEVICE-OR-DOMAIN-NAME> – Specify the name of the AP,
wireless controller, service platform, or RF Domain.
|
clear counters interface <INF-TYPE> <INF-NUMBER>{(on <DEVICE-OR-DOMAIN-NAME>)}
counters |
Clears counters based on the parameters passed. The options are: AP,
bridge, interface, radio, router, thread and wireless clients. |
interface <INF-TYPE> <INF-NUMBER> |
Clears interface counters
- <INF-TYPE> - Specify the interface type as Ethernet, VLAN,
port-channel, usb, all, etc.
- <INF-NUMBER> - After specifying the interface type, specify
the interface number.
|
on <DEVICE-OR-DOMAIN-NAME> |
Optional. Clears the specified interface counters on a specified device
or RF Domain.
- <DEVICE-OR-DOMAIN-NAME> – Specify the name of the AP, wireless
controller, service platform, or RF Domain.
|
|
clear crypto ike sa [<IP>|all] {on <DEVICE-NAME>}
crypto |
Clears encryption module‘s cached
statistics |
ike sa [<IP>|all] |
Clears Internet Key Exchange (IKE) security
associations (SAs)
- <IP> – Clears
IKE SA entries for the peer identified by the <IP> keyword
- all – Clears IKE SA
entries for all peers
|
on <DEVICE-NAME> |
Optional. Clears IKE SA entries, for a specified peer or all peers, on a
specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear crypto ipsec sa {on <DEVICE-NAME>}
crypto |
Clears encryption module‘s cached
statistics |
ipsec sa {on <DEVICE-NAME>} |
Clears Internet Protocol Security (IPsec) database SAs
- on <DEVICE-NAME>
– Optional. Clears IPSec SA entries on a specified device
- <DEVICE-NAME> – Specify the name of the AP, wireless
controller, or service platform.
|
clear gre stats {on <DEVICE-NAME>}
gre stats |
Clears GRE tunnel statistics |
on <DEVICE-NAME> |
Optional. Clears GRE tunnel statistics on a specified device
- <DEVICE-NAME> – Specify the name of the AP, wireless controller,
or service platform.
|
|
clear event-history
event-history |
Clears event history cache entries |
clear firewall [dhcp|neighbors] snoop-table {on <DEVICE-NAME>}
firewall |
Clears configured wireless firewall filter statistics based on the
parameters passed |
[dhcp|neighbors] snoop-table |
Clears the following snoop-table database
- dhcp - Clears the DHCP snooping binding database.
- neighbors - Clears IPv6 neighbor cache.
|
on <DEVICE-NAME> |
The following option is common to both the 'dhcp' and 'neighbor'
parameters:
- on <DEVICE-NAME> - Optional. Executes the command on as specified
device.
- <DEVICE-NAME> - Specify the AP, wireless controller, or
service platform name.
|
|
clear firewall [dos stats|flows [ipv4|ipv6]] {on <DEVICE-NAME>}
firewall |
Clears configured wireless firewall filter statistics based on the
parameters passed |
dos stats |
Clears Denial of Service (DoS)statistics |
flows [ipv4|ipv6] |
Clears all established IPv4 or IPv6 firewall session statistics
|
on <DEVICE-NAME> |
The following option is common to both the 'dos' and 'flows'
parameters:
- on <DEVICE-NAME> - Optional. Executes the command on as specified
device.
- <DEVICE-NAME> - Specify the AP, wireless controller, or
service platform name.
|
|
clear ip bgp [<IP>|all|external] {in prefix-filter} {on <DEVICE-NAME>}
ip bgp [<IP>|all|external] |
Clears on-going BGP sessions based on the option selected
- <IP> – Clears
BGP session with the peer identified by the <IP> keyword.
Specify the BGP peer‘s IP address.
- all – Clears all BGP
peer sessions
- external – Clears
external BGP (eBGP) peer sessions
This command is applicable only to the RFS4010, NX9500, NX9600, and
VX9000 platforms.
Modifications made to BGP settings (BGP access
lists, weight, distance, route-maps, versions, routing policy, etc.) take
effect only after on-going BGP sessions are cleared. The clear > ip > bgp
command clears BGP sessions. To reduce lose of route updates
during the process, use the ‘soft‘ option. Soft reconfiguration stores
inbound/outbound route updates to be processed later and updated to the
routing table. This requires high memory usage.
|
in prefix-filter |
Optional. Clears inbound route updates
- prefix-filter –
Optional. Clears the existing Outbound Route Filtering
(ORF) prefix-list
|
on <DEVICE-NAME> |
Optional. Clears route updates on a specified device
- <DEVICE-NAME> –
Specify the name of the AP or service platform.
|
|
clear ip bgp [<IP>|all|external] {out} {(on <DEVICE-NAME>)}
ip bgp [<IP>|all|external] |
Clears on-going BGP sessions based on the option selected
- <IP> – Clears
BGP session with the peer identified by the <IP> keyword.
Specify the BGP peer‘s IP address.
- all – Clears all BGP
peer sessions
- external – Clears eBGP
peer sessions
This command is applicable only to the RFS4010, NX9500, NX9600, and
VX9000 platforms.
|
out |
Optional. Clears outbound route updates. Optionally specify the device
on which to execute this command. |
on <DEVICE-NAME> |
The following keyword is recursive and optional.
- on <DEVICE-NAME> – Optional. Clears BGP sessions on a specified
device
- <DEVICE-NAME> – Specify the name of the AP or service
platform.
|
|
clear ip bgp [<IP>|all|external] {soft {in|out}} {on <DEVICE-NAME>}
ip bgp [<IP>|all|external] |
Clears on-going BGP sessions based on the option selected
- <IP> – Clears
BGP session with the peer identified by the <IP> keyword.
Specify the BGP peer‘s IP address.
- all – Clears all BGP
peer sessions
- external – Clears eBGP
peer sessions
This command is applicable only to the RFS4010, NX9500, NX9600, and
VX9000 platforms.
|
soft {in|out} |
Optional. Initiates soft-reconfiguration of route updates for the
specified IP address
- in – Optional. Enables
soft reconfiguration of inbound route updates
- out – Optional.
Enables soft reconfiguration of outbound route updates
Modifications made to BGP settings (BGP access lists, weight,
distance, route-maps, versions, routing policy, etc.) take effect only
after on-going BGP sessions are cleared. The clear > ip >
bgp command clears BGP sessions. To reduce loss of route
updates during the process, use the ‘soft‘ option. Soft reconfiguration
stores inbound/outbound route updates to be processed later and updated
to the routing table. This requires high memory usage.
|
on <DEVICE-NAME> |
Optional. Initiates soft reconfiguration inbound/outbound route updates
on a specified device
- <DEVICE-NAME> – Specify the name of the AP or service
platform.
|
|
clear ip bgp process {on <DEVICE-NAME>}
ip bgp process |
Clears all BGP processes running This command is applicable only to
the RFS4010, NX9500, NX9600, and VX9000 platforms.
|
on <DEVICE-NAME> |
Optional. Clears all BGP processes on a specified device
- <DEVICE-NAME> – Specify the name of the AP or service
platform.
|
|
clear ip dhcp bindings [<IP>|all] {on <DEVICE-NAME>}
ip |
Clears a Dynamic Host Configuration Protocol (DHCP)
server's IP address binding entries |
dhcp bindings |
Clears DHCP connections and server bindings |
<IP> |
Clears specific address binding entries. Specify the IP address to clear
binding entries. |
all |
Clears all address binding entries |
on <DEVICE-NAME> |
Optional. Clears a specified address binding or all address bindings on
a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear ip ospf process {on <DEVICE-NAME>}
ip ospf process |
Clears already enabled Open Shortest Path First (OSPF)
process and restarts the process |
on <DEVICE-NAME> |
Optional. Clears OSPF process on a specified device OSPF is a
link-state interior gateway protocol (IGP). OSPF routes IP
packets within a single routing domain (autonomous system), like an
enterprise LAN. OSPF gathers link state information from neighboring
routers and constructs a network topology. The topology determines the
routing table presented to the Internet Layer, which makes routing
decisions based solely on the destination IP address found in IP
packets.
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear ipv6 neighbor-cache {on <DEVICE-NAME>}
clear ipv6 neighbor-cache |
Clears IPv6 neighbor cache entries |
on <DEVICE-NAME> |
Optional. Clears IPv6 neighbor cache entries on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
|
clear lacp [<1-4> counters|counters]
clear lacp [<1-4> counters| counters] |
Clears Link Aggregation Control Protocol (LACP)
counters/statistics for a specified channel group or all channel groups
configured
- <1-4> counters –
Clears LACP stats for a specified channel group. Specify the
port-channel index number from 1 - 4. Note, LACP is supported only on
the NX5500, NX7500, NX9500 and NX9600 model service platforms.
- counters – Clears LACP
stats for all configured channel groups on the device
|
|
clear license [borrowed|lent to <BORROWER-CONTROLLER-NAME>] {on <DEVICE-NAME>}
license
|
Releases borrowed licenses or revokes lent licenses |
borrowed
|
Releases all licenses borrowed by the logged controller or by a
specified controllerNote:
If you do not specify a controller name, the command is executed on
the controller you have logged on to.
|
lent to <BORROWING-CONTROLLER-NAME>
|
Revokes licenses lent to a specified controller
- to <BORROWING-CONTROLLER-NAME> - Specifies the borrowing
controller's name. When specified, the system revokes all licenses
(AP, AAP) lent to the specified controller.
|
on <DEVICE-NAME>
|
Optional. This option is common to both of the above parameters.
|
|
clear l2tpv3-stats tunnel <TUNNEL-NAME> {session <SESSION-NAME>} {on <DEVICE-NAME>}
l2tpv3-stats |
Clears L2TPv3 tunnel statistics for a specified L2TPv3 tunnel |
tunnel <TUNNEL-NAME> |
Specifies the tunnel name |
session <SESSION-NAME> |
Optional. Clears a specific session statistics in the specified L2TPv3
tunnel.
|
on <DEVICE-NAME> |
This option is common to all of the above parameters.
|
|
clear mac-address-table{address <MAC>|vlan <1-4094>} {on <DEVICE-NAME>}
mac-address-table |
Clears MAC address forwarding table data based on the parameters passed
Use this command to clear the following: all or specified MAC
addresses from the system, all MAC addresses on a specified interface,
all MAC addresses on a specified VLAN, or the authentication state of a
MAC address.
|
address <MAC> |
Optional. Clears a specified MAC address from the MAC address table.
- <MAC> – Specify
the MAC address in one of the following formats: AA-BB-CC-DD-EE-FF or
AA:BB:CC;DD:EE:FF or AABB.CCDD.EEFF
Note: If executed
without specifying any MAC address(es), all MAC addresses from the MAC
address table will be removed.
|
vlan <1-4094> |
Optional. Clears all MAC addresses for a specified VLAN
- <1-4094> –
Specify the VLAN ID from 1 - 4094
|
on <DEVICE-NAME> |
Optional. Clears a single MAC entry or all MAC entries, for the
specified VLAN on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear mac-address-table {interface [<IF-NAME>|ge <1-X>|port-channel <1-X>]} {on <DEVICE-NAME>}
mac-address-table |
Clears MAC address forwarding table data based on the parameters passed
Use this command to clear the following: all or specified MAC
addresses from the system, all MAC addresses on a specified interface,
all MAC addresses on a specified VLAN, or the authentication state of a
MAC address.
|
interface |
Clears all MAC addresses for the selected interface. Use the options
available to specify the interface. |
<IF-NAME> |
Clears MAC address forwarding table for the specified layer 2 interface
(Ethernet port)
- <IF-NAME> –
Specify the layer 2 interface name.
|
ge <1-X> |
Clears MAC address forwarding table for the specified GigabitEthernet
interface
- <1-X> – Specify
the GigabitEthernet interface index from 1 - X.
Note: The number of GE
interfaces supported varies for different device types.
|
port-channel <1-X> |
Clears MAC address forwarding table for the specified port-channel
interface
- <1-X> – Specify
the port-channel interface index from 1 - X.
Note: The number of
port-channel interfaces supported varies for different device
types.
|
on <DEVICE-NAME> |
Optional. Clears the MAC address forwarding table, for the selected
interface, on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear mac-address-table mac-auth-state address <MAC> vlan <1-4904> {on <DEVICE-NAME>}
mac-address-table mac-auth-state address <MAC> vlan
<1-4904> |
Clears MAC addresses learned from a particular VLAN when WLAN MAC
authentication and captive-portal fall back is enabled Access
points/controllers provide WLAN access to clients whose MAC address has
been learned and stored in their MAC address tables. Use this command to
clear a specified MAC address on the MAC address table. Once cleared the
client has to re-authenticate, and is provided access only on successful
authentication.
- <MAC> – Specify the MAC address to clear.
- vlan <1-4904> – Specify the VLAN interface from 1 - 4094. In
the AP/controller‘s MAC address table, the specified MAC address
is cleared on the specified VLAN interface.
|
on <DEVICE-NAME> |
Optional. Clears the specified MAC address on a specified device
- <DEVICE-NAME> – Specify the name of the AP, wireless controller,
or service platform.
Note: If a device is not specified, the system clears the MAC address
on all devices.
|
|
clear mint mlcp history {on <DEVICE-NAME>}
mint |
Clears MiNT related information |
mlcp history |
Clears MiNT Link Creation Protocol (MLCP) client
history |
on <DEVICE-NAME> |
Optional. Clears MLCP client history on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear role ldap-stats {on <DEVICE-NAME>}
role ldap-stats |
Clears Lightweight Directory Access Protocol (LDAP) server
statistics |
on <DEVICE-NAME> |
Optional. Clears LDAP server statistics on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear rtls [aeroscout|ekahau] {<MAC/DEVICE-NAME> {on <DEVICE-OR-DOMAIN-NAME>}| on <DEVICE-OR-DOMAIN-NAME>}
rtls |
Clears Real Time Location Service (RTLS) statistics |
aeroscout |
Clears RTLS Aeroscout statistics |
ekahau |
Clears RTLS Ekahau statistics |
<MAC/DEVICE-NAME> |
This keyword is common to the ‘aeroscout' and ‘ekahau' parameters.
- <MAC/DEVICE-NAME> – Optional. Clears Aeroscout or Ekahau RTLS
statistics on a specified AP, wireless controller, or service
platform. Specify the AP‘s MAC address or hostname.
|
on <DEVICE-OR-DOMAIN-NAME> |
This keyword is common to the ‘aeroscout' and ‘ekahau' parameters.
- on
<DEVICE-OR-DOMAIN-NAME> – Optional. Clears Aeroscout or Ekahau
RTLS statistics on a specified AP, wireless controller, service
platform, or RF Domain
- <DEVICE-OR-DOMAIN-NAME> – Specify the name of the AP,
wireless controller, service platform, or RF Domain.
|
clear spanning-tree detected-protocols {on <DEVICE-NAME>}
spanning-tree |
Clears spanning tree entries on an interface and restarts protocol
migration |
detected-protocols |
Restarts protocol migration |
on <DEVICE-NAME> |
Optional. Clears spanning tree entries on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear spanning-tree detected-protocols {interface [<INTERFACE-NAME>|ge <1-X>|me1|port-channel <1-X>|pppoe1|up1|vlan <1-4094>|wwan1]} {on <DEVICE-NAME>}
spanning-tree |
Clears spanning tree entries on an interface and restarts protocol
migration |
detected-protocols |
Restarts protocol migration |
interface [<INTERFACE-NAME>| ge <1-X>|me1| port-channel
<1-X>| pppoe1|up1| vlan <1-4094>| wwan1] |
Optional. Clears spanning tree entries on different interfaces
- <INTERFACE-NAME>
– Clears detected spanning tree entries on a specified interface.
Specify the interface name.
- ge <1-X> –
Clears detected spanning tree entries for the selected GigabitEthernet
interface. Select the GigabitEthernet interface index from 1 - X.
- me1 – Clears
FastEthernet interface spanning tree entries
- port-channel
<1-X> – Clears detected spanning tree entries for the selected
port channel interface. Select the port channel index from 1 - X. The
number of port-channel interfaces supported varies for different
device types.
- pppoe1 – Clears
detected spanning tree entries for Point-to-Point Protocol over
Ethernet (PPPoE) interface
- up1 – Clears detected
spanning tree entries for the WAN Ethernet interface
- vlan <1-4094> –
Clears detected spanning tree entries for the selected VLAN interface.
Select a Switch Virtual Interface (SVI) VLAN ID from 1-
4094.
- wwan1 – Clears
detected spanning tree entries for wireless WAN interface.
|
on <DEVICE-NAME> |
Optional. Clears spanning tree entries on a specified device
- <DEVICE-NAME> –
Specify the name of the AP, wireless controller, or service
platform.
|
clear traffic-shape statistics class <1-4> {(on <DEVICE-NAME>)
traffic-shape statistics |
Clears traffic shaping statistics |
class <1-4> |
Clears traffic shaping statistics for a specific traffic class
|
on <DEVICE-NAME> |
Optional. Clears traffic shaping statistics for the specified traffic
class on a specified device
- <DEVICE-NAME> – Specify the name of the
access point, wireless controller, or service platform.
Note: For more information on configuring
traffic-shape, see traffic-shape.
|
|
clear vrrp [error-stats|stats] {on <DEVICE-NAME>}
vrrp |
Clears Virtual
Router Redundancy Protocol (VRRP) statistics VRRP allows a pool
of routers to be advertized as a single virtual router. This virtual
router is configured by hosts as their default gateway. VRRP elects a
master router, from this pool, and assigns it a virtual IP address. The
master router routes and forwards packets to hosts on the same subnet.
When the master router fails, one of the backup routers is elected as the
master and its IP address is mapped to the virtual IP
address.
|
error-stats |
Clears global error statistics |
stats |
Clears VRRP related statistics |
on <DEVICE-NAME> |
This following keywords are common to the ‘error-stats' and ‘stats'
parameters:
- on <DEVICE-NAME>
– Optional. Clears VRRP statistics on a specified device
- <DEVICE-NAME> – Specify the name of the AP, wireless
controller, or service platform.
|
Examples
rfs4000-229D58>clear event-history
rfs4000-229D58>clear spanning-tree detected-protocols interface port-channel 1
rfs4000-229D58>clear spanning-tree detected-protocols interface ge 1
NOC-NX9500>show lldp neighbors
-------------------------
Chassis ID: 00-18-71-D0-0B-00
System Name: ProCurve Switch 5406zl
Platform: ProCurve J8697A Switch 5406zl, revision K.12.1X, ROM K.11.03 (/sw/code/build/btm(sw_esp1))
Capabilities: Bridge Router
Enabled Capabilities: Bridge Router
Local Interface: ge1, Port ID(Port Description) (outgoing port): 26(B2)
TTL: 95 sec
Management Addresses: 10.234.160.1
-------------------------
Chassis ID: 5C-0E-8B-1C-53-2C
System Name: HM-ROUTER
Platform: RFS-4011-11110-WR, Version 5.9.6.0-004D
Capabilities: Bridge WLAN Access Point Router
Enabled Capabilities: Bridge WLAN Access Point Router
Local Interface: ge2, Port ID(Port Description) (outgoing port): ge1(ge1)
TTL: 165 sec
Management Addresses: 192.168.0.1,172.168.16.1,192.168.13.1,20.168.10.1
NOC-NX9500>
NOC-NX9500>clear lldp neighbors
NOC-NX9500>show lldp neighbors
NOC-NX9500>
NOC-NX9500>show cdp neighbors
--------------------------------------------------------------------------------
Device ID Platform Local Interface Port ID Duplex
--------------------------------------------------------------------------------
HM-ROUTER RFS-4011-11110-WR ge2 ge1 full
--------------------------------------------------------------------------------
NOC-NX9500>
NOC-NX9500>clear cdp neighbors
NOC-NX9500>show cdp neighbors
--------------------------------------------------------------------------------
Device ID Platform Local Interface Port ID Duplex
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
NOC-NX9500>
rfs4000-229D58>clear role ldap-stats
rfs4000-229D58>show role ldap-stats
No ROLE LDAP statistics found.
rfs4000-229D58>
rfs4000-229D58>show mac-address-table
--------------------------------------------------------
BRIDGE VLAN PORT MAC STATE
--------------------------------------------------------
1 1 ge5 00-02-B3-28-D1-55 forward
1 1 ge5 00-0F-8F-19-BA-4C forward
1 1 ge5 B4-C7-99-5C-FA-8E forward
1 1 ge5 00-23-68-0F-43-D8 forward
1 1 ge5 00-15-70-38-06-49 forward
1 1 ge5 00-23-68-13-9B-34 forward
1 1 ge5 B4-C7-99-58-72-58 forward
1 1 ge5 00-15-70-81-74-2D forward
--------------------------------------------------------
Total number of MACs displayed: 8
rfs4000-229D58>
rfs4000-229D58>clear mac-address-table address 00-02-B3-28-D1-55
rfs4000-229D58>show mac-address-table
--------------------------------------------------------
BRIDGE VLAN PORT MAC STATE
--------------------------------------------------------
1 1 ge5 00-0F-8F-19-BA-4C forward
1 1 ge5 B4-C7-99-5C-FA-8E forward
1 1 ge5 00-23-68-0F-43-D8 forward
1 1 ge5 00-15-70-38-06-49 forward
1 1 ge5 00-23-68-13-9B-34 forward
1 1 ge5 B4-C7-99-58-72-58 forward
1 1 ge5 00-15-70-81-74-2D forward
--------------------------------------------------------
Total number of MACs displayed: 7
rfs4000-229D58>