beautypg.com

Clearing security acls from the edit buffer – 3Com WX4400 3CRWX440095A User Manual

Page 397

background image

Modifying a Security ACL

397

3 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:

1 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

2 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