980
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
Q
O
S C
OMMANDS
REMARK
NEW
-
COS
Figure 26-1:
Remarking and the CoS to Q map
Example
For policy-map
pmap3
and class-map
cmap1
, set the CoS value to
2
and also set
the input to the CoS to queue map so that the traffic is assigned to egress queue 1:
awplus#
configure terminal
awplus(config)#
policy-map pmap3
awplus(config-pmap)#
class cmap1
awplus(config-pmap-c)#
remark new-cos 2 both
Related
Commands
mls qos map cos-queue to
show mls qos maps cos-queue
The above mapping is set by the command,
mls qos map cos-queue to
, and displayed by the command,
show mls qos maps cos-queue
. With the
remark new-cos
command unset, or set to
external
, the queue mapping
takes its input from the Existing CoS value. With the
remark new-cos
command set to
internal or both
, the
queue mapping takes its input from the value set by the command,
remark new-cos
. Note that although the
CoS to Queue map applies to the whole switch, the
remark new-cos
command applies per individual class-map.
Existing CoS value
New-CoS internal
Egress queue
value
CoS Value
Egress Queue
0
2
1
3
5
6
7
4
2
1
0
3
5
6
7
4
QoS_2_Q_Map_B
Cos to Queue
Mapping
Remark new-cos <0-7> external
CoS Flag in Packet
Remark new-cos <0-7> both
Remark new-cos <0-7> internal
Table 26-1: CoS to egress queue remarking function
Input
Command
Output
CoS field = 1
Remark new-cos (not
configured)
CoS value = 1
Packet sent to egress queue 0
CoS field = 1
Remark new-cos 2 external
CoS value = 2
Packet sent to egress queue 0
CoS set to 1
Remark new-cos 2 internal
CoS value = 1
Packet sent to egress queue 1
CoS set to 1
Remark new-cos 2 both
CoS value = 2
Packet sent to egress queue 1
Note: This table assumes that the CoS to Queue map is set to its default values.