3com WX2200 3CRWX220095A User Manual

Page of 728
Modifying a Security ACL
397
To view the results, type the following command:
WX1200# display security acl info
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:
To display the contents of all committed security ACLs, type the following 
command:
WX1200# display security acl info
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
To view a summary of the security ACLs for which you just created ACEs 
in the edit buffer, type the following command:
WX1200# display security acl editbuffer
ACL edit-buffer table
ACL
Type Status
------------------------------- ---- --------------
acl-a
IP
Not committed
acl-111
IP
Not committed