16-37
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 Configuring Access Control
Configuring VACLs
Clearing the Edit Buffer
You can clear changes made to the ACL edit buffer since its last save with the
rollback
command. The
ACL is rolled back to its state at the last
commit
command.
To clear the ACL edit buffer, perform this task in privileged mode:
This example shows how to clear the edit buffer of a specific security ACL:
Console> (enable)
rollback security acl IPACL1
Editbuffer for ‘IPACL1’ rolled back to last commit state.
Console> (enable)
Removing ACEs from Security ACLs
You can remove a specific ACE or all ACEs from an ACL with the
clear security acl
command. This
command deletes the ACEs from the edit buffer.
To remove an ACE from a security ACL, perform this task in privileged mode:
This example shows how to remove ACEs from all the ACLs:
Console> (enable)
clear security acl all
All editbuffers modified. Use ‘commit’ command to apply changes.
Console> (enable)
This example shows how to remove a specific ACE from a specific ACL:
Console> (enable)
clear security acl IPACL1 2
IPACL1 editbuffer modified. Use ‘commit’ command to apply changes.
Console> (enable)
Clearing the Security ACL Map
You can remove a VACL-to-VLAN mapping with the
clear security acl map
command.
To clear the security ACL map, perform this task in privileged mode:
Task
Command
Clear the ACL edit buffer.
rollback security acl
{
acl_name |
all
|
adjacency
}
Task
Command
Remove an ACE from a security ACL.
clear security acl all
clear security acl
acl_name
clear security acl
acl_name editbuffer_index
Task
Command
Clear the security ACL map.
clear security acl map all
clear security acl map
acl_name
clear security acl map
vlan
clear security acl map
acl_name
vlan