show policy autoclear

show policy autoclear interval

Description

Shows the interval at which the switch automatically clears rule usage statistics.

Syntax Description

autoclear Designates viewing information about auto-clearing policy rule usage statistics.
interval Shows the interval in minutes when the switch automatically clears rule usage. Default is 0 (statistics are not automatically cleared).

Default

By default, the autoclear interval is 0, which means that statistics are not automatically cleared.

Usage Guidelines

If you have configured Syslog and/or trap actions to notify you when a policy rule is used by using the following command: configure policy rule profile_index [{app-signature group group name name} | ether ether | icmp6type icmp6type | icmptype icmptype | ip6dest ip6dest |ipdestsocket ipdestsocket | ipfrag | ipproto ipproto | ipsourcesocket ipsourcesocket | iptos iptos | ipttl ipttl | macdest macdest | macsource macsource | port port | tcpdestportIP tcpdestportIP | tcpsourceportIP tcpsourceportIP | udpdestportIP udpdestportIP | udpsourceportIP udpsourceportIP ] {mask mask } {port-string [ port_string | all]} {storage-type [non-volatile | volatile]} {drop | forward} {syslog syslog} {trap trap} {cos cos } {mirror-destination control_index} {clear-mirror} , this command shows you the interval when these statistics will be cleared.

To set this auto-clear interval, use the following command:

configure policy autoclear {interval interval}

Example

The following example shows the interval for automatically clearing rule usage statistics:

# show policy autoclear interval
AutoClear interval is 0 minute(s)

History

This command was first available in ExtremeXOS 30.2.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.