DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Creates a VLAN map. Give it a name and optionally a number. The number
is the sequence number of the entry within the map.
vlan access-map name
[
number
]
Example:
Switch(config)#
vlan access-map
Step 2
The sequence number range is from 0 to 65535.
When you create VLAN maps with the same name, numbers are assigned
sequentially in increments of 10. When modifying or deleting maps, you can
enter the number of the map entry that you want to modify or delete.
gandymede 10
Specifying the map name and optionally a number enters the access-map
configuration mode.
Sets the VLAN access map to drop and log IP packets.
action drop log
Example:
Switch(config-access-map)#
action
Step 3
drop log
Exits the VLAN access map configuration mode and return to the global
configuration mode.
exit
Example:
Switch(config-access-map)#
exit
Step 4
Configures the VACL logging parameters.
vlan access-log
{
maxflow max_number
|
threshold pkt_count
}
Step 5
•
maxflow max_number
—
Sets the log table size. The content of the log
table can be deleted by setting the
maxflow
to 0. When the log table
is full, the software drops logged packets from new flows.
Example:
Switch(config)#
vlan access-log
The range is from 0 to 2048. The default is 500.
threshold 4000
•
threshold pkt_count
—
Sets the logging threshold. A logging message
is generated if the threshold for a flow is reached before the 5-minute
interval.
The threshold range is from 0 to 2147483647. The default threshold is
0, which means that a syslog message is generated every 5 minutes.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
178
OL-29048-01
Configuring IPv4 ACLs
Configuring VACL Logging