COMMAND LINE INTERFACE

MAC ACLs

Command

Function

Mode

Page

access-list mac

Creates a MAC ACL and enters configuration

GC

4-84

 

mode

 

 

 

 

 

 

permit, deny

Filters packets matching a specified source

MAC-

4-85

 

and destination address, packet format, and

ACL

 

 

Ethernet type

 

 

 

 

 

 

mac access-group

Adds a port to a MAC ACL

IC

4-87

 

 

 

 

show mac

Shows port assignments for MAC ACLs

PE

4-87

access-group

 

 

 

 

 

 

 

show mac

Displays the rules for configured MAC ACLs

PE

4-88

access-list

 

 

 

 

 

 

 

access-list mac

Use this command to add a MAC access list and enter MAC ACL configuration mode. Use the no form to remove the specified ACL.

Syntax

access-list mac acl_name 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 ACL can contain either all permit commands or all deny commands.

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

4-84

Page 370
Image 370
SMC Networks SMC6724L3 manual MAC ACLs, Syntax Access-list mac aclname no access-list mac aclname