Creating a class-map, Creating and configuring default class-maps, Figure 38-5 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 981
Quality of Service (QoS) Introduction
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
38.9
Figure 38-5: Relationship between a class-map and its associated functions
Creating a class-map
To create a class-map, use the
class-map command on page 39.3
This example creates a class-map called video-traffic and another called data-traffic:
Creating and configuring default class-maps
These (automatically created) default class-maps serve as the means to specify the action
that will apply to all unclassified data, i.e. all data within a policy-map that is not captured
by any of the applied match commands that are applied to the policy-map by its class-
maps.
Each time a new policy-map is created a new class-map called “default” is also
automatically created and assigned to the new policy-map. You can configure any of the
default class-maps by using the
default-action command on page 39.4
To set the default class-map for the policy-map p-map1 to have the action of deny:
awplus#
configure terminal
awplus(config)#
class-map video-traffic
awplus(config-cmap)#
exit
awplus(config)#
class-map data-traffic
awplus(config-cmap)#
awplus#
config
awplus(config)#
policy-map p-map1
awplus(config-pmap)#
default-action deny
QoS -Class-Maps
Policy
Map
Policy
Map
Packet
Matching
Class
Map
Class
Map
Default
Class
Map
Default
Class
Map