Command Line Reference Guide
mac access-group
Apply a MAC ACL to traffic entering or exiting an interface.
S5000
Syntax
mac access-group access-list-name {in [vlan vlan-range]}
Parameters
access-list-name
Enter the name of a configured MAC access list, up to 140 characters.
vlan
vlan-range
(OPTIONAL) Enter the keyword vlan and then enter a range of
VLANs. The range is 1 to 4094.
NOTE: This option is available only with the keywordin option.
in Enter the keyword in to configure the ACL to filter incoming traffic.
Defaults none
Command Modes INTERFACE
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
You can assign one ACL (standard or extended) to an interface.
Related
Commands
mac access-list standard – configures a standard MAC ACL.
mac access-list extended – configures an extended MAC ACL.
show mac access-lists
Display all of the Layer 2 ACLs configured in the system, whether or not they are applied to an interface, and the count of
matches/mismatches against each ACL entry displayed.
S5000
Syntax
show mac access-lists [access-list-name] [interface type slot/
port] [in | out]
Parameters
list-name
Enter the name of a configured MAC ACL, up to 140 characters.
interface
type
slot/port
Enter the interface keyword followed by the interface type and
slot/port or number information. Valid slot numbers are 0-11. The valid
port numbers for each interface type are listed below.
• For a 10-Gigabit Ethernet interface, enter the keyword
tengigabitethernet followed by slot/port numbers.
The port range is 0 to 63.
209