clear

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

Note

This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.

Supported on the following devices:

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 ARP cache entries on an AP, wireless controller, service platform, or virtual 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
  • <DEVICE-NAME> – Specify the name of the AP, wireless controller, service platform, or virtual platform.
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
  • <DEVICE-NAME> – Specify the name of the AP, wireless controller, service platform, or virtual platform.
clear [cdp|lldp] neighbors {on <DEVICE-NAME>}
cdp Clears CDP table entries
lldp Clears 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, service platform, or virtual 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, virtual 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, virtual 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, virtual 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, service platform, or virtual platform.
clear crypto ipsec sa {on <DEVICE-NAME>}
crypto Clears encryption module‘s cached statistics
ipsec sa {on <DEVICE-NAME>} Clears IPsec/IPsec-ESP/IPsec-AH database SAs
  • on <DEVICE-NAME> – Optional. Clears IPSec SA entries on a specified device
    • <DEVICE-NAME> – Specify the name of the AP, wireless controller, service platform, or virtual 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, service platform, or virtual 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 name of the AP, wireless controller, service platform, or virtual platform.
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 statistics
flows [ipv4|ipv6] Clears all established IPv4 or IPv6 firewall session statistics
  • ipv4 - Optional. Clears only IPv4 firewall session statistics
  • ipv6 - Optional. Clears only ipv6 firewall session statistics
    Note: If you do not specify IPv4 or IPv6, the system clears all ACL related 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 name of the AP, wireless controller, service platform, or virtual platform.
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 NX9500 and NX9600 service platforms, and CX9000 and VX9000 virtual 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 service platform or virtual 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 NX9500 and NX9600 service platforms, and CX9000 and VX9000 virtual 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 service platform or virtual 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 NX9500 and NX9600 service platforms, and CX9000 and VX9000 virtual 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 service platform or virtual platform.
clear ip bgp process {on <DEVICE-NAME>}
ip bgp process Clears all BGP processes running

This command is applicable only to NX9500 and NX9600 service platforms, and CX9000 and VX9000 virtual platforms.

on <DEVICE-NAME> Optional. Clears all BGP processes on a specified device
  • <DEVICE-NAME> – Specify the name of the service platform or virtual 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, service platform, or virtual 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, service platform, or virtual 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, service platform, or virtual platform.
clear lacp [<1-4> counters|counters]
clear lacp [<1-4> counters| counters] Clears 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. However, the NX9500 series service platforms support only two (2) channel groups, and the other model service platforms support four (4) channel groups.
  • 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 controller
Note: 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.
  • on <DEVICE-NAME> - Specify the name of the controller on which the command is to be executed.
    • <DEVICE-NAME> – Specify the name of the wireless controller, service platform, or virtual platform.
      Note:

      If you do not specify the controller name, the system executes the command on the logged controller.

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.
  • <SESSION-NAME> - Specify the session name.
    Note: If you do not specify the session name, the system clears statistics for all sessions.
on <DEVICE-NAME> This option is common to all of the above parameters.
  • on <DEVICE-NAME> - Optional. Executes the command on a specified device.
    • <DEVICE-NAME> - Specify the name of the AP, wireless controller, service platform, or virtual platform.
    Note: If you do not specify the device name, the system clears L2TPv3 tunnel and session statistics on the logged device.
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 are 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, service platform, or virtual 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, service platform, or virtual 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, service platform, or virtual 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, service platform, or virtual 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, service platform, or virtual 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, service platform, or virtual 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, virtual platform, or RF Domain
    • <DEVICE-OR-DOMAIN-NAME> – Specify the name of the AP, wireless controller, service platform, virtual 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, service platform, or virtual 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 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, service platform, or virtual 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
  • <1-4> – Specify the traffic class from 1 - 4.
    Note: If the traffic class is not specified, the system clears all traffic shaping statistics.
on <DEVICE-NAME> Optional. Clears traffic shaping statistics for the specified traffic class on a specified device
  • <DEVICE-NAME> – Specify the name of the AP, wireless controller, service platform, or virtual platform.
clear vrrp [error-stats|stats] {on <DEVICE-NAME>}
vrrp Clears VRRP statistics
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, service platform, or virtual platform.

Examples

ap510-133B38#show event-history
EVENT HISTORY REPORT
Generated on '2019-11-15 11:57:16 UTC' by 'admin'

2019-11-15 11:34:08     ap510-133B38  SYSTEM     LOGIN                Successfully logged in user 'admin' with privilege 'superuser' from 'ssh'
2019-11-13 14:54:18     ap510-133B38  SYSTEM     LOGOUT               Logged out user 'admin' with privilege 'superuser' from '134.141.242.75(web)'
2019-11-13 14:52:10     ap510-133B38  SYSTEM     UI_USER_AUTH_SUCCESS UI user 'admin' from: '134.141.242.75' authentication successful
2019-11-13 06:34:17     ap510-133B38  SYSTEM     LOGOUT               Logged out user 'admin' with privilege 'superuser' from '134.141.244.21'
2019-11-13 06:33:59     ap510-133B38  SYSTEM     WARM_START_RECOVER   Warm Start Recover. Reason: 'reload' command issued from CLI (user: admin) Timestamp: Nov 13 06:31:14 2019
2019-11-13 06:33:57     ap510-133B38  SYSTEM     LOGIN                Successfully logged in user 'admin' with privilege 'superuser' from 'ssh'
2019-11-13 06:32:24     ap510-133B38  DIAG       NEW_LED_STATE        LED state message AP_GE1_LED_1000_ON from module NSM
2019-11-13 06:32:24     ap510-133B38  NSM        IFUP                 Interface ge1 is up
2019-11-13 06:32:24     ap510-133B38  DIAG       NEW_LED_STATE        LED state message RADIO_2_52G_NOT_CONFIG from module DOT11
2019-11-13 06:32:24     ap510-133B38  DIAG       NEW_LED_STATE        LED state 
--More--
ap510-133B38#
ap510-133B3B>clear event-history
ap510-133B38#show event-history
EVENT HISTORY REPORT
Generated on '2019-11-15 11:58:33 UTC' by 'admin'

ap510-133B38#