-101
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
show mac access-group
show mac access-group
To display the MAC access control lists (ACLs) configured for an interface or a switch, use the show
mac access-group command in user EXEC mode.
show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]
Syntax Description
Command Modes User EXEC
Command History
Usage Guidelines 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 user EXEC command. In this display,
Gigabit Ethernet interface 0/2 has the MAC access list macl_e1 applied to inbound traffic; no MAC
ACLs are applied to other interfaces.
Switch> show mac access-group
Interface GigabitEthernet0/1:
Inbound access-list is macl_e1
Outbound access-list is not set
Interface GigabitEthernet0/2:
Inbound access-list is not set
Outbound access-list is not set
Interface GigabitEthernet0/3:
Inbound access-list is not set
Outbound access-list is not set
Interface GigabitEthernet0/4:
Inbound access-list is not set
Outbound access-list is not set
Interface GigabitEthernet0/5:
Inbound access-list is not set
Outbound access-list is not set
<output truncated>
interface interface-id (Optional) Displays the MAC ACLs configured on a specific interface. Valid
interfaces are physical ports and port channels; the port-channel range is 1
to 48 (available only in privileged EXEC mode).
| begin (Optional) Display begins with the line that matches the expression.
| exclude (Optional) Display excludes lines that match the 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.2(52)EY This command was introduced.