configure policy autoclear

configure policy autoclear {interval interval}

Description

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

Syntax Description

autoclear Designates setting the parameters for auto-clearing the policy rule usage statistics.
interval Designates setting the interval when the switch automatically clears rule usage. Default is 0 (statistics are not automatically cleared).
interval Sets the value for the interval in minutes when the switch automatically clears rule usage. Range is 0 to 65,535.

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 allows you to set the interval when these statistics will be cleared.

To view the auto-clear interval, use the following command:

show policy autoclear interval

Example

The following example sets the interval for automatically clearing rule usage statistics to 1 minute:

# configure policy autoclear interval 1

History

This command was 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.