16-42
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 16 Configuring Access Control
Configuring and Storing VACLs and QoS ACLs in Flash Memory
This example shows how to create an ACE for my_cap and specify that denied traffic be logged:
Console> (enable)
set security acl ip my_cap deny ip host 21.0.0.1 log
my_cap editbuffer modified. Use ’commit’ command to apply changes.
Console> (enable)
This example shows how to commit the my_cap ACL to NVRAM:
Console> (enable)
commit security acl my_cap
ACL commit in progress.
ACL my_cap successfully committed.
Console> (enable)
This example shows how to map the VACL to a VLAN:
Console> (enable)
set security acl map my_cap 1
Mapping in progress.
ACL my_cap successfully mapped to VLAN 1.
:
:
2000 Jul 19 01:14:06 %ACL-6-VACLLOG:VLAN 1(Port 2/1) denied ip tcp 21.0.0.1(2000) ->
255.255.255.255(3000), 1 packet
2000 Jul 19 01:19:06 %ACL-6-VACLLOG:VLAN 1(Port 2/1) denied ip tcp 21.0.0.1(2000) ->
255.255.255.255(3000), 7 packets
2000 Jul 19 01:25:06 %ACL-6-VACLLOG:VLAN 1(Port 2/2) denied ip tcp 21.0.0.1(2000) ->
255.255.255.255(3000), 1 packets
This example shows how to display the flow information in the log table:
Console> (enable)
show security acl log flow ip any any
Total matched entry number = 1
Entry No. #1, IP Packet
----------------------------------------
Vlan Number : 1
Mod/Port Number : 2/1
Source IP address : 21.0.0.1
Destination IP address : 255.255.255.255
TCP Source port : 2000
TCP Destination port : 3000
Received Packet Number : 10
This example shows how to clear the log table:
Console> (enable)
clear security acl log flow
Log table is cleared.
Console> (enable)
Configuring and Storing VACLs and QoS ACLs in Flash Memory
This section describes how to configure and store VACLs and QoS ACLs in Flash memory instead of
NVRAM. Prior to this feature, all configuration information was stored in NVRAM. With the addition
of QoS and security ACLs (VACLs), NVRAM could become full. In addition to limiting ACL
configuration, filling up NVRAM can cause problems when you attempt to upgrade from one software
version to another.
Note
In most cases, the 512-KB NVRAM is sufficient for storing VACLs and QoS ACLs; therefore, all
ACL configurations are stored in NVRAM by default.