![background image](http://html1.mh-extra.com/html/smc-networks/6724al2/6724al2_management-manual_1300175371.webp)
A
CCESS
C
ONTROL
L
IST
C
OMMANDS
3-183
• To remove a rule, use the
no permit
or
no deny
command followed
by the exact text of a previously configured rule.
• An ACL can contain up to 32 rules.
Example
Related Commands
permit, deny 3-184
mac access-group (3-185)
show mac access-list (3-187)
permit
,
deny
(MAC ACL)
Use this command to add a rule to a MAC ACL. The rule filters by
matching a specified MAC source or destination address (i.e., physical layer
address), or Ethernet protocol type. Use the
no
form to remove a rule.
Syntax
{
permit
|
deny
}
{
any
|
host
source
|
source bitmask
}
{
any
|
host
destination
|
destination bitmask
}
{
any
|
ethertype
protocol
}
no
{
permit
|
deny
}
{
any
|
host
source
|
source bitmask
}
{
any
|
host
destination
|
destination bitmask
}
{
any
|
ethertype
protocol
}
•
any
– Any MAC source address, destination address, or Ethernet
protocol.
•
source
– Source MAC address.
•
source bitmask
– Binary mask for the source MAC address.
•
destination
– Destination MAC address.
•
destination bitmask
– Binary mask for the destination MAC address.
•
protocol
– A specific Ethernet protocol number. (Range: 0-65535)
Console(config)#access-list mac jerry
Console(config-mac-acl)#
Summary of Contents for 6724AL2
Page 2: ......
Page 404: ...COMMAND LINE INTERFACE 3 216 ...
Page 406: ...TROUBLESHOOTING A 2 ...
Page 418: ...GLOSSARY Glossary 8 ...
Page 422: ...INDEX Index 4 ...
Page 423: ......