274
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
Security ACL Commands
Syntax: hit-sample-rate seconds
seconds Number of seconds between samples. A sample rate of 0 (zero)
disables the sample process.
Defaults: By default, the hits are not sampled.
Access: Enabled
Usage: To view counter results for a particular ACL, use the show security acl info acl-name
command. To view the hits for all security ACLs, use the show security acl hits
command.
Examples: The first command sets MSS to sample ACL hits every 15 seconds. The second and
third commands display the results. The results show that 916 packets matching
security acl_153 were sent since the ACL was mapped.
DWS-1008# hit-sample-rate 15
DWS-1008# show security acl info acl_153
ACL information for acl_153
set security acl ip acl_153 (hits #3 916)
1. permit IP source IP 20.1.1.1 0.0.0.0 destination IP any enable-hits
DWS-1008# show security acl hits
ACL hit counters
Index Counter ACL-name
-------------------------------------------
1 0 acl_2
2 0 acl_175
3 916 acl_153
rollback security acl
Clears changes made to the security ACL edit buffer since it was last saved. The ACL is rolled
back to its state after the last commit security acl command was entered. All uncommitted
ACLs in the edit buffer are cleared.
Commentaires sur ces manuels