OS10 Enterprise Edition User Guide Release 10.4.0E(R3)


permit (MAC)

Configures a filter to allow packets with a specific MAC address.

permit { nn:nn:nn:nn:nn:nn [ 00:00:00:00:00:00] | any} { nn:nn:nn:nn:nn:nn [ 00:00:00:00:00:00] | any} [ protocol-number | capture | count [byte] | cos | vlan]
  • nn:nn:nn:nn:nn:nn — Enter the MAC address.
  • 00:00:00:00:00:00 — (Optional) Enter which bits in the MAC address must match. If you do not enter a mask, a mask of 00:00:00:00:00:00 applies.
  • any — (Optional) Set which routes are subject to the filter:
    • protocol-number — Enter the MAC protocol number identified in the MAC header, from 600 to ffff.
    • capture — (Optional) Enter the capture packets the filter processes.
    • count — (Optional) Enter the count packets the filter processes.
    • byte — (Optional) Enter the count bytes the filter processes.
    • cos — (Optional) Enter the CoS value, from 0 to 7.
    • vlan — (Optional) Enter the VLAN number, from 1 to 4093.
Not configured
Command Mode
Usage Information
OS10 cannot count both packets and bytes; when you enter the count byte options, only bytes increment. The no version of this command removes the filter.
OS10(config)# mac access-list macacl
                                       OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any cos 7
                                       OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any vlan 2
Supported Releases
10.2.0E or later

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\