AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
266
NXA-ENET24 - Software Management Guide
Priority Commands (Layer 2 - Cont.)
Command Function
queue cos-map
This command assigns
class of service (CoS)
values to the priority
queues (i.e., hardware
output queues 0 - 3).
Use the no form set the
CoS map to the default
values.
Syntax:
queue cos-map queue_id [cos1 ... cosn]
no queue cos-map
queue_id - The ID of the priority queue. Ranges are 0 to 3, where 3 is the
highest priority queue.
cos1 .. cosn - The CoS values that are mapped to the queue ID. It is a space-
separated list of numbers. The CoS value is a number from 0 to 7, where 7 is
the highest priority.
Default Setting: This switch supports Class of Service by using four priority
queues, with Weighted Round Robin queuing for each port. Eight separate traffic
classes are defined in IEEE 802.1p. The default priority levels are assigned
according to recommendations in the IEEE 802.1p standard as shown below:
Command Mode: Interface Configuration (Ethernet, Port Channel)
Command Usage: CoS values assigned at the ingress port are also used at the
egress port.
This command sets the CoS priority for all interfaces.
Example: The following example shows how to map CoS values 0, 1 and 2 to
egress queue 0, value 3 to egress queue 1, values 4 and 5 to egress queue 2,
and values 6 and 7 to egress queue 3:
Console(config)#interface ethernet 1/1
Console(config-if)#queue cos-map 0 0 1 2
Console(config-if)#queue cos-map 1 3
Console(config-if)#queue cos-map 2 4 5
Console(config-if)#queue cos-map 3 6 7
Console(config-if)#end
Console#show queue cos-map ethernet 1/1
Information of Eth 1/1
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue: 0 0 0 1 2 2 3 3
Console#
show queue bandwidth
This command displays
the weighted round-robin
(WRR) bandwidth
allocation for the four
priority queues.
Default Setting: None
Command Mode: Privileged Exec
Example:
Console#show queue bandwidth
Queue ID Weight
-------- ------
0 1
1 2
2 4
3 6
Console#
show queue cos-map
This command shows the
class of service priority
map.
Syntax:
show queue cos-map [interface]
interface
ethernet unit/port
unit - Stack unit. (Range: 1-8)
port - Port number. (Range: 1-26)
port-channel channel-id (Range: 1-4)
Default Setting: None
Command Mode: Privileged Exec
Example:
Console#show queue cos-map ethernet 1/1
Information of Eth 1/1
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue: 0 0 0 1 2 2 3 3
Console#