Command Line Interface
4-126
4
MAC ACLs
access-list mac
This command adds a MAC access list and enters MAC ACL configuration mode.
Use the
no
form to remove the specified ACL.
Syntax
[
no
]
access-list mac
acl_name
acl_name
– Name of the ACL. (Maximum length: 16 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• An egress ACL must contain all deny rules.
• When you create a new ACL or enter configuration mode for an existing
ACL, use the
permit
or
deny
command to add new rules to the bottom of the
list. To create an ACL, you must add at least one rule to the list.
Table 4-40. MAC ACL Commands
Command
Function
Mode
Page
access-list mac
Creates a MAC ACL and enters configuration mode
GC
4-126
permit, deny
Filters packets matching a specified source and
destination address, packet format, and Ethernet type
MAC-ACL
4-127
show mac access-list
Displays the rules for configured MAC ACLs
PE
4-128
access-list mac
mask-precedence
Changes to the mode for configuring access control masks GC
4-129
mask
Sets a precedence mask for the ACL rules
MAC-Mask 4-130
show access-list mac
mask-precedence
Shows the ingress or egress rule masks for MAC ACLs
PE
4-132
mac access-group
Adds a port to a MAC ACL
IC
4-132
show mac access-group
Shows port assignments for MAC ACLs
PE
4-133
map access-list mac
Sets the CoS value and corresponding output queue for
packets matching an ACL rule
IC
4-133
show map access-list
mac
Shows CoS value mapped to an access list for an interface PE
4-134
match access-list mac
Changes the 802.1p priority the priority of a frame frame
matching the defined rule (i.e., also called packet marking)
IC
4-134
show marking
Displays the current configuration for packet marking
PE
4-125
Summary of Contents for Matrix-V V2H124-24P
Page 2: ......
Page 8: ...Notice vi...
Page 22: ...Contents xx...
Page 26: ...Tables xxiv...
Page 30: ...Figures xxviii...
Page 38: ...Introduction 1 8 1...
Page 50: ...Initial Configuration 2 12 2...
Page 159: ...Port Configuration 3 109 3 Figure 3 66 Displaying Etherlike and RMON Statistics...
Page 234: ...Configuring the Switch 3 184 3...
Page 480: ...Command Line Interface 4 246 4...
Page 496: ...Index Index 4...
Page 497: ......
Page 498: ...Part 150200039400A FW 2 5 2 0 E012005 R02 ES3526G E072000 R04...