Purpose
Command or Action
Displays the MAC access list applied to the interface or
all Layer 2 interfaces.
show mac access-group
[
interface interface-id
]
Example:
Switch#
show mac access-group interface
Step 6
gigabitethernet1/0/2
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 7
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 8
After receiving a packet, the switch checks it against the inbound ACL. If the ACL permits it, the switch
continues to process the packet. If the ACL rejects the packet, the switch discards it. When you apply an
undefined ACL to an interface, the switch acts as if the ACL has not been applied and permits all packets.
Remember this behavior if you use undefined ACLs for network security.
Related Topics
Restrictions for Configuring IPv4 Access Control Lists, on page 140
Configuring VLAN Maps
To create a VLAN map and apply it to one or more VLANs, perform these steps:
Before You Begin
Create the standard or extended IPv4 ACLs or named MAC extended ACLs that you want to apply to the
VLAN.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
172
OL-29048-01
Configuring IPv4 ACLs
Configuring VLAN Maps