Brocade Communications Systems RFS7000 Network Router User Manual


 
496 Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide
53-1001931-01
MAC Extended ACL config commands
16
Parameters
Usage Guidelines
Use the mark option to specify the type of service (tos) and priority value. The tos value is marked
in the IP header and the 802.1p priority value is marked in the dot1q frame.
Whenever the interface receives the packet, its content is checked against all the ACEs in the ACL.
It is marked based on the ACL’s configuration.
Example - marking dot1p priority value for 802.1q tagged traffic
The example below marks the dot1p priority value to 6 for all 802.1q tagged traffic from VLAN
interface 5:
RFController(config-ext-macl)#mark 8021p 6 any any vlan 5 type 8021q
RFController(config-ext-macl)#
8021p<0-7> Modifies the 802.1p VLAN user priority
xx:xx:xx:xx:xx:xx/xx:xx:xx:xx:xx:xx Source MAC address
and mask
any – Any source host
host – Exact source MAC address to match
tos<0-255> Modifies the TOS bits in an IP header
xx:xx:xx:xx:xx:xx/xx:xx:xx:xx:xx:xx Destination MAC
address and mask
any – Any destination host
host Exact destination MAC address to match
mark [<source-IP/Mask>
|any|host<IP>]
Specifies the bits to match. The source wildcard can be
any one of the following:
xx:xx:xx:xx:xx:xx/xx:xx:xx:xx:xx:xx Source MAC address
and mask
any – Any source host
host – Exact source MAC address to match
mark [<dest-IP/mask>|any|host
<IP>]
Specifies bits to match. The destination wildcard can be
any one of the following:
xx:xx:xx:xx:xx:xx/xx:xx:xx:xx:xx:xx Destination MAC
address and mask
any – Any destination host
host – Exact destination MAC address to match
dot1p<0-7> Defines a VLAN 802.1p priority value to match
rule-precedence<1-5000> Establishes an access-list entry precedence
type [8021q|<1-65535>|
arp|appletalk|ip|ipv6ipx|rarp|
vlan|wisp]
Defines an ethertype value represented as an integer or
keyword for well-known ethertypes (such as: IP, IPv6, ARP)
vlan <1-4095> Defines the VLAN tag ID to match
dscp <0-63> Modify DSCP TOS bits in IP header
xx:xx:xx:xx:xx:xx/xx:xx:xx:xx:xx:xx Destination MAC
address and mask
any – Any destination host
host – Exact destination MAC address to match