Chapter 50 commands for vlan-acl, 1 clear vacl statistic vlan, 2 show vacl vlan – PLANET XGS3-24040 User Manual

Page 797: Clear vacl statistic vlan, Show vacl vlan

Advertising
background image

50-1

Chapter 50 Commands for VLAN-ACL

50.1 clear vacl statistic vlan

Command: clear vacl [in | out] statistic vlan [<1-4094>]

Function: This command can clear the statistic information of VACL.

Parameter: in | out: Clear the traffic statistic of the ingress/egress.

vlan <1-4094>: The VLAN which needs to clear the VACL statistic information. If do not input

VLAN ID, then clear all VLAN statistic information.

Command mode: Admin Mode.

Default: None.

Usage Guide: None.

Example:

Clear VACL statistic information of Vlan1.

Switch# clear vacl statistic vlan 1

50.2 show vacl vlan

Command: show vacl [in | out] vlan [<1-4094>] | [begin | include | exclude <regular-expression>]

Function: This command shows the configuration and the statistic information of VACL.

Parameter: in | out: Show ingress/egress configuration and statistic

vlan <1-4094>: The VLAN which needs to show the configuration and the statistic

information of VACL. If do not input VLAN ID, then show VACL configuration and statistic information of

all VLANs.

begin | include | exclude <regular-expression>: the regular expression

. match any characters except the line feed character

^ match the beginning of the row

$ match the end of the row

| match the character string at the left or right of upright line

[0-9] match the number 0 to the number 9

[a-z] match the lowercase a to z

[aeiou] match any letter in “aeiou”

\ Escape Character is used to match the intervocalic character, for example, \$ will match

the $ character, but it is not match the end of the character string

\w match the letter, the number or the underline

\b match the beginning or the end of the words

\W match any characters which are not alphabet letter, number and underline

\B match the locations which are not the begin or end of the word

[^x] match any characters except x

[^aeiou] match any characters except including aeiou letters

* repeat zero time or many times

+ repeat one time or many times

(n) repeat n times

(n,) repeat n or more times

(n, m) repeat n to m times

Advertising