show security acl hits

Displays the number of packets filtered by security ACLs (“hits”) on the switch. Each time a packet is filtered by a security ACL, the hit counter increments.

Syntax: show security acl hits

Defaults: None.

Access: Enabled.

Usage: For MSS to count hits for a security ACL, you must specify hits in the set security acl commands that define ACE rules for the ACL.

Examples: To display the security ACL hits on a switch, type the following command:

DWS-1008# show security acl hits ACL hit-counters

Index Counter ACL-name

-------------------------------------------

1

0

acl_2

2

0

acl_175

3

916

acl_123

See Also:

hit-sample-rate

set security acl

show security acl info

Displays the contents of a specified security ACL or all security ACLs that are committed—saved in the running configuration and nonvolatile storage—or the contents of security ACLs in the edit buffer before they are committed.

Syntax: show security acl info [acl-name all] [editbuffer]

acl-name

Name of an existing security ACL to display. ACL names must start with a

 

letter and are case-insensitive.

all

Displays the contents of all security ACLs.

editbuffer

Displays the contents of the specified security ACL or all security ACLs that

 

are stored in the edit buffer after being created with set security acl. If you do

 

not use this parameter, only committed ACLs are shown.

D-Link DWS-1008 CLI Manual

484

Page 487
Image 487
D-Link dws-1008 Show security acl hits, Show security acl info, Syntax show security acl hits Defaults None Access Enabled