Adding a mac-type to a class map 6, Adding a protocol to a class map 6 – Allied Telesis AT-8100 Series User Manual
Page 1656
Chapter 100: Quality of Service (QoS)
1656
Adding MAC-Type to a Class Map
To add the destination MAC address type, or MAC-type, to a class map,
use the MATCH MAC-TYPE command. With this command, you can
specify broadcast, multicast, or unicast MAC-types. For more information
about this command, see “MATCH MAC-TYPE” on page 1615.
In this example, a class map, named “cmap7” evaluates destination MAC
addresses with the broadcast MAC-type:
Adding an Ethernet Format and Protocol to a Class Map
To add an Ethernet format and a protocol as a matching criteria to a class
map, use the MATCH PROTOCOL command. The packets from the
specified Ethernet format and frames from the specified protocol that you
add to the class map are filtered. For more information about this
command, see “MATCH PROTOCOL” on page 1617.
In this example, a class map, named “cmap7,” is set to match incoming
802.2 untagged packets and IP frames:
Table 201. Adding a MAC-type to a Class Map
Command
Description
awplus> enable
Enters the Privileged Executive mode from the
User Executive mode.
awplus# configure terminal
Enters the Global Configuration mode.
awplus(config)# class-map cmap7
Creates a class map called cmap7 and enters the
Class Map mode.
awplus(config-cmap)# match mac-type
l2bcast
Adds Layer 2 broadcast packets as a matching
criteria to the class map.
Table 202. Adding a Protocol to a Class Map
Command
Description
awplus> enable
Enters the Privileged Executive mode from the
User Executive mode.
awplus# configure terminal
Enters the Global Configuration mode.
awplus(config)# class-map cmap7
Creates a class map called cmap7 and enters the
Class Map mode.
awplus(config-cmap)# match eth-
format 802dot2-untagged protocol ip
Adds the 802.2 untagged packets in Ethernet
format and the IP protocol as matching criteria to
the class map.