13
Configuring QoS
13.1
Configuring priority control
This section describes how to configure priority control which assigns egress port queue of
different priority to User priority value (CoS) in VLAN tag.
Beginning in privileged EXEC mode, follow these steps to configure priority control on specific
interface:
Command
Step 1
configure
Step 2
interface interface-id
Step 3
queue trust dot1p
Step 4
queue cos-map priority-id queue-id
Step 5
exit
Step 6
exit
Step 7
show queue cos-map interface-id
To configure priority control and assign priority mapping to an interface, use the CoS
interface configuration command. To display the configuration, use show queue cos-map
privileged EXEC command.
In this example, cos-map is configured on interface 0/1 to assigns egress port queue of
different priority to User priority value (CoS) in VLAN tag:
(BX900-CB1)#configure
(BX900-CB1)(Config)#interface 0/1
(BX900-CB1)(Interface BX900-CB1/0/1)#queue trust dot1p
(BX900-CB1)(Interface BX900-CB1/0/1)#queue cos-map 0 1
(BX900-CB1)(Interface BX900-CB1/0/1)#queue cos-map 1 2
(BX900-CB1)(Interface BX900-CB1/0/1)#queue cos-map 4 2
(BX900-CB1)(Interface BX900-CB1/0/1)#exit
(BX900-CB1)#show queue cos-map 0/1
User Priority
Traffic Class
2011 Fujitsu Technology Solutions
©
Purpose
Enter global configuration mode
Specify the interface, and enter interface
configuration mode. The interface can be a
physical Layer 2 interface or a port channel
(logical interface).
Set the trust mode to dot1p.
Assign a priority ID to specific traffic class
queue to configure dot1p priority mapping.
Return to global configuration mode.
Return to privileged EXEC mode.
Verify the configuration.
46