Show Mac Access-Group - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

show mac access-group

show mac access-group
To use this command, the switch must be running the LAN Base image.
Note
Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs)
configured for an interface or a switch.
Syntax Description
interface interface-id
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)FX
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,
port 2 has the MAC access list macl_e1 applied; no MAC ACLs are applied to other interfaces.
Switch> show mac access-group
Interface GigabitEthernet0/1:
Inbound access-list is not set
Interface GigabitEthernet0/2:
Inbound access-list is macl_e1
Interface GigabitEthernet0/3:
Inbound access-list is not set
Interface GigabitEthernet0/4:
Inbound access-list is not set
<output truncated>
This is an example of output from the show mac access-group interface command:
Switch# show mac access-group interface gigabitethernet0/1
Interface GigabitEthernet0/1:
Inbound access-list is macl_e1
Catalyst 2960 Switch Command Reference
2-388
show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]
(Optional) Display the MAC ACLs configured on a specific interface. Valid
interfaces are physical ports and port channels; the port-channel range is 1
to 6 (available only in privileged EXEC mode).
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
OL-8604-04

Advertisement

Table of Contents
loading

Table of Contents