show clear-flow rule

show clear-flow [port port | vlan vlanname | any] {rule rulename} {detail}

Description

Displays the CLEAR-Flow rules, values, and configuration.

Syntax Description

port

Specifies the port.

vlanname

Specifies the VLAN.

any

Specifies the wildcard interface.

rulename

Specifies the entry name of a CLEAR-Flow rule.

detail

Display detailed information.

Default

N/A.

Usage Guidelines

If you issue the command without the rule keyword, all of the CLEAR-Flow rules for the policy on the port, VLAN, and the wildcard are displayed. If you specify a rule name, only that rule will be displayed. The detail keyword displays detailed information about the rule.

Example

The following display shows output for the command show clear-flow port 2:6:

Rule Name      Type Period   Last           Rel  Threshold      TCNT  NumAction
Value          Oper                      If   Else
===============================================================================
rule-count       CN 30       16892762       >    100            7     3    3
rule-delta       DT 30       7762385        >    1000           1     4    3
rule-delta-2     DT 5        0              >    1000           0     4    3
rule-delta-ratio DR 30       0              >    20             0     2    0
rule-ratio       RT 30       0              >    10             0     3    3
rule-ratio-2     RT 5        0              >    10             0     3    3
===============================================================================
Total Entries: 6
Notation:
Threshold Type: CN - Count, DT - Delta, RT - Ratio, DR - DeltaRatio
TCNT - Number of times expression is continously evaluated to be true

The following display shows output for the command show clear-flow port 2:6 rule rule-delta detail:

Rule Name: rule-delta       Sample Period: 30       Hysteresis: 20
================================================================================
DELTA(counter1) = 0 sampled at 24 seconds ago
Expression evaluation is currently FALSE
if (DELTA(counter1) > 1000) then {
PERMIT:   Allow ACL rule acl-rule-3
SYSLOG:   [INFO] [Delta $ruleValue counter $counter1 offset $counterOffset1 delTime $deltaTime delay $delayTime]
CLI:      [disable port $port]
QOS:      Set rule acl-rule-4 qos value to QP6
} else {
DENY:     Block ACL rule acl-rule-3
QOS:      Set rule acl-rule-4 qos value to QP1
CLI:      [enable port $port]
}

History

This command was first available in ExtremeXOS 11.1.

Platform Availability

This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, and X870 series switches.