248
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring and Managing Security ACLs
DWS-1008#
show security acl info all
ACL information for all
set security acl ip acl-111 (hits #4 0)
----------------------------------------------------
1. permit IP source IP 192.168.254.12 0.0.0.0 destination IP any
2. permit IP source IP 192.168.253.11 0.0.0.0 destination IP any
set security acl ip acl-2 (hits #1 0)
----------------------------------------------------
1. permit L4 Protocol 115 source IP 192.168.1.11 0.0.0.0 destination IP
192.168.1.15 0.0.0.0 precedence 0 tos 0 enable-hits
Clearing Security ACLs from the Edit Buffer
Use the
rollback
command to clear changes made to the security ACL edit buffer since it was
last committed. The ACL is rolled back to its state at the last
commit
command. For example,
suppose you want to remove an ACE that you just created in the edit buffer for
acl-111
:
1.
To display the contents of all committed security ACLs, type the following command:
DWS-1008#
show security acl info all
ACL information for all
set security acl ip acl-111 (hits #4 0)
----------------------------------------------------
1. permit IP source IP 192.168.254.12 0.0.0.0 destination IP any
2. permit IP source IP 192.168.253.11 0.0.0.0 destination IP any
set security acl ip acl-2 (hits #1 0)
----------------------------------------------------
1. permit L4 Protocol 115 source IP 192.168.1.11 0.0.0.0 destination IP
192.168.1.15 0.0.0.0 precedence 0 tos 0 enable-hits
2.
To view a summary of the security ACLs for which you just created ACEs in the edit
buffer, type the following command:
DWS-1008#
show security acl editbuffer
ACL edit-buffer table
ACL
Type
Status
--------------------------------------------------------
acl-a
IP
Not committed
acl-111 IP
Not committed
3.
To view details about these uncommitted ACEs, type the following command. The
entire
acl-111
is displayed, including its committed ACEs.