16-36
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 Configuring Access Control
Configuring VACLs
Showing the Contents of a VACL
You can display the contents of a VACL with the
show security acl info
command.
To show the contents of a VACL, perform this task in privileged mode:
This example shows how to show the contents of a VACL that has been saved in NVRAM:
Console> (enable)
show security acl info IPACL1
set security acl ip IPACL1
------------------------------------------------------------------
1. deny A
2. deny ip B any
3. deny c
4. permit any
This example shows how to show the contents of a VACL that is still in the edit buffer:
Console> (enable)
show security acl info IPACL1 editbuffer
set security acl ip IPACL1
-----------------------------------------------------------------
1. deny A
2. deny ip B any
3. deny C
4. deny D
5. permit any
Console> (enable)
Showing VACL-to-VLAN Mapping
You can display VACL-to-VLAN mapping for a specified ACL or VLAN with the
show security acl
map
command.
To show VACL-to-VLAN mapping, perform this task in privileged mode:
This example shows how to show the mappings of a specific VACL:
Console> (enable)
show security acl map IPACL1
ACL IPACL1 is mapped to VLANs:
1
Console> (enable)
This example shows how to show the mappings of a specific VLAN:
Console> (enable)
show security acl map 1
VLAN 1 is mapped to IP ACL IPACL1.
VLAN 1 is mapped to IPX ACL IPXACL1.
VLAN 1 is mapped to MAC ACL MACACL1.
Console> (enable)
Task
Command
Show the contents of a VACL.
show security acl info
{
acl_name
|
all
}
[
editbuffer
[
editbuffer
_
index
]]
Task
Command
Show VACL-to-VLAN mapping.
show security acl map
{
acl_name
|
vlan
|
all
}