2-367
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
show mac access-group
show mac access-group
Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs)
configured for an interface or a switch.
show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
Command Modes User EXEC
Command History
Usage Guidelines Use the show mac access-group command without keywords to display MAC ACLs for all interfaces.
Use this command with the interface keyword to display ACLs for a specific interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples This is an example of output from the show mac access-group command:
Switch> show mac access-group
Interface FastEthernet0/1:
Inbound access-list is not set
Interface FastEthernet0/2:
Inbound access-list is not set
Interface FastEthernet0/3:
Inbound access-list is not set
Interface FastEthernet0/4:
Inbound access-list is not set
...
Interface FastEthernet0/47:
Inbound access-list is not set
Interface FastEthernet0/48:
Inbound access-list is not set
Interface GigabitEthernet0/1:
Inbound access-list is not set
Interface GigabitEthernet0/2:
interface interface-id (Optional) Display the ACLs configured on a specific interface (only
available in privileged EXEC mode).
| begin (Optional) Display begins with the line that matches the specified
expression.
| exclude (Optional) Display excludes lines that match the specified expression.
| include (Optional) Display includes lines that match the specified expression.
expression Expression in the output to use as a reference point.
Release Modification
12.1(6)EA2 This command was introduced.