SMC Networks SMC6824M manual 110, Configuring a MAC ACL Mask

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 166
Image 166

CONFIGURING THE SWITCH

CLI – This shows that the entries in the mask override the precedence in which the rules are entered into the ACL. In the following example, packets with the source address 10.1.1.1 are dropped because the “deny

10.1.1.1255.255.255.255” rule has the higher precedence according the “mask host any” entry.

Console(config)#access-list ip

standard A2

4-123

Console(config-std-acl)#permit

10.1.1.0 255.255.255.0

4-124

Console(config-std-acl)#deny 10.1.1.1 255.255.255.255

 

Console(config-std-acl)#exit

mask-precedence in

 

Console(config)#access-list ip

4-129

Console(config-ip-mask-acl)#mask host any

4-130

Console(config-ip-mask-acl)#mask 255.255.255.0 any

 

Console(config-ip-mask-acl)#

 

 

Configuring a MAC ACL Mask

This mask defines the fields to check in the packet header.

Command Usage

You must configure a mask for an ACL rule before you can bind it to a port.

Command Attributes

Source/Destination Address Type – Use “Any” to match any address, “Host” to specify the host address for a single node, or “MAC” to specify a range of addresses. (Options: Any, Host, MAC; Default: Any)

Source/Destination Bitmask – Address of rule must match this bitmask.

VID Bitmask – VLAN ID of rule must match this bitmask.

Ethernet Type Bitmask – Ethernet type of rule must match this bitmask.

Packet Format Mask – A packet format must be specified in the rule.

3-110

Page 166
Image 166
SMC Networks SMC6824M manual 110, Configuring a MAC ACL Mask, This mask defines the fields to check in the packet header