ATL Telecom R1-SW Ethernet Switch User Manual
Page 187
![background image](https://www.manualsdir.com/files/812238/content/doc187.png)
Configuring QoS
9-19
classification disable
command. By default, IEEE 802.1p is disabled.
After creating class-maps, system checks the inbound or outbound packets by the criteria in
class-maps. QoS actions defined in the policy-map for the class will be applied to the classified
packets into classes.
You can create a class-map by using the class-map command in QoS configuration mode.
When you enter the class-map command, the Corecess R1-SW24L2B enters the class-map
configuration mode. In this mode, the match criterion is defined for the traffic by using the
match
command.
To create a class-map and add the criteria to the class-map, use the following command in the
Privileged mode:
To create a class map and specify the way in which the Corecess R1-SW24L2B should classify
traffic, enter the following commands in Global configuration mode:
Table 9-2 Creating a class map
Command
Task
qos
1.
Enter QoS configuration mode.
8021p classification enable
2. (Optional) Enables IEEE 802.1p. If IEEE 802.1p
is enabled, CoS field is available for the criterion
of the class-map. If IEEE 802.1p is disabled
(default setting), IP precedence and DSCP fields
become available instead of CoS field.
class-map
3. Create a class map and enters class-map
configuration mode.
y
: Class map name.
match cos
match dsap
match dscp
match ether-type
match input-port
match ip-da
match ip-prec
match ip-sa
match mac-da
match mac-sa
match output-port
match protocol
match tcp-dpn
4. Define the classification criteria for the class
map.