Page 12 | AlliedWare Plus™ OS How To Note
Making filters by using QoS class-maps

Matching on eth-format and protocol

Ethernet format and protocol are specified together, as a pair. You can either specify the
command as:
match eth-format <keyword> protocol <keyword-or-number>
or
match protocol <keyword-or-number> eth-format <keyword>
The switch allows you to match on any of the Ethernet formats, as the following output
shows:
awplus(config-cmap)#match eth-format ?
802dot2-tagged 802.2 Tagged Packets
802dot2-untagged 802.2 Untagged Packets
ethii-tagged EthII Tagged Packets
ethii-untagged EthII Untagged Packets
netwareraw-tagged Netware Raw Tagged Packets
netwareraw-untagged Netware Raw Untagged Packets
snap-tagged SNAP Tagged Packets
snap-untagged SNAP Untagged Packets
Protocol options are also extremely flexible. You can identify common protocols by their
name, or you can identify any protocol by using its hexadecimal protocol number.
Applying the class-maps to a policy-map
To create a policy-map, enter global configuration mode and use the command:
awplus(config)#policy-map <name>
Then add the class-maps to the policy-map. Make sure you add them in the order in which
you want the switch to check them—see “The logic of the operation of the hardware filters”
on page 13. For each class-map, use the command:
awplus(config-pmap)#class <name>
Applying the policy-map to ports
To apply the policy-map to ports, enter interface mode for the ports you want to apply it to.
Use the commands:
awplus(config)#interface port1.0.11
awplus(config-if)#service-policy input <policy-name>