beautypg.com

Permit (standard acls), Mit (standard acls) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 573

background image

Network OS Command Reference

535

53-1003115-01

permit (standard ACLs)

2

permit (standard ACLs)

Configures a MAC address rule to permit traffic based on the source MAC address.

Synopsis

permit {MAC_ADDRESS | any} [count]

no permit {MAC_ADDRESS | any}

Operands

MAC_ADDRESS

Specifies the source host MAC address for which to set permit conditions.
Use the format HHHH.HHHH.HHHH.

any

Specifies any source MAC address.

count

Enables the counting of the packets matching the rule.

Defaults

No MAC ACLs are configured.

Command Modes

Feature Access Control List configuration mode

Description

Use this command to configure rules to match and to permit traffic based on the source MAC
address. You can also enable counters for a specific rule. There are 255 ACL counters supported
per port group.

Usage Guidelines

Enter no permit MAC_ADDRESS to remove the rule affecting that address from the MAC ACL.

Enter no permit any to remove all rules from the MAC ACL.

Examples

To create a rule in a MAC standard ACL to permit traffic from the source MAC address
0022.3333.4444

and to enable the counting of packets:

switch(conf-macl-std)# permit 0022.3333.4444 count

To delete a rule from a MAC standard ACL:

switch(conf-macl-std)# no permit 0022.3333.4444

See Also

mac access-list extended, mac access-list standard, seq (extended MAC ACLs),
seq (standard MAC ACLs)