hit counter script

Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure VLAN Access Control Lists
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
vlan access-map name [number]
Example:
Switch(config)# vlan access-map map_1
20
Step 3
match {ip | mac} address {name | number}
[name | number]
Example:
Switch(config-access-map)# match ip
address ip2
Step 4
action {drop | forward}
Example:
Switch(config-access-map)# action
forward
Step 5
end
Example:
Switch(config-access-map)# end
Step 6
show running-config
Example:
Switch# show running-config

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

1254
Purpose
Enters global configuration mode.
Creates a VLAN map, and give it a name and (optionally) a number. The
number is the sequence number of the entry within the map.
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.
VLAN maps do not use the specific permit or deny keywords. To deny
a packet by using VLAN maps, create an ACL that would match the
packet, and set the action to drop. A permit in the ACL counts as a match.
A deny in the ACL means no match.
Entering this command changes to access-map configuration mode.
Match the packet (using either the IP or MAC address) against one or
more standard or extended access lists. Note that packets are only matched
against access lists of the correct protocol type. IP packets are matched
against standard or extended IP access lists. Non-IP packets are only
matched against named MAC extended access lists.
(Optional) Sets the action for the map entry. The default is to forward.
Returns to global configuration mode.
Displays the access list configuration.

Advertisement

Table of Contents
loading

Table of Contents