Displays the CLEAR-Flow rules, values, and configuration.
port |
Specifies the port. |
vlanname |
Specifies the VLAN (Virtual LAN). |
any |
Specifies the wildcard interface. |
rulename |
Specifies the entry name of a CLEAR-Flow rule. |
detail |
Display detailed information. |
N/A.
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.
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] }
This command was first available in ExtremeXOS 11.1.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.