CANOGA PERKINS 9175 Configuration Guide User Manual
Page 218
CanogaOS Configuration Guide
31-12
DUT(config)# qos map ip-prec-pri-color ip-prec 1 to 63 green
DUT(config)# interface eth-0-1
DUT(config-if)# trust cos
EXP-Priority-Color Map
The following shows modifying an EXP-Priority-Color map. This map is used to generate
an internal priority color value from MPLS EXP during classification; this value
determines the QoS action in the DUT, such as selecting one of the eight egress queues,
etc.
• configure
terminal.
• qos map exp-pri-color exp <0-7> to PRIORITY COLOR to modify the
EXP-Priority-Color Map. PRIORITY = priority value, range is 0-63. COLOR = color
values, red, yellow or green
The following example shows mapping EXP 1 to priority 63 color green, and MPLS
packets with EXP 1 have the highest priority.
DUT# configure terminal
DUT(config)# qos map exp-pri-color exp 1 to 63 green
DSCP-Priority-Color Map
The following shows modifying a DSCP-Priority-Color map. This map is used to generate
an internal priority color value from DSCP during classification; this value determines the
QoS action in the DUT, such as selecting one of the eight egress queues, etc.
• configure
terminal.
• qos map dscp-pri-color DSCP to PRIORITY COLOR to modify the
DSCP-Priority-Color Map. DSCP = DSCP value, range is 0-63. PRIORITY =
priority value, range is 0-63. COLOR = color values, red, yellow or green
The following example shows mapping DSCP 34 to priority 63 color green, and trust
DSCP in the interface eth-0-1 ingress for classification.
DUT# configure terminal
DUT(config)# qos map dscp-pri-color 34 to 63 green
DUT(config)# interface eth-0-1
DUT(config-if)# trust dscp
Priority-Color-CoS Map
The following shows modifying a Priority-Color-CoS map. This map is used to generate a
new CoS from the internal priority color value in egress; This map is used if two domains
have different CoS definitions; this map translates a set of one domain’s CoS values to
match the other domain’s definition.
• configure
terminal.
• qos map pri-color-cos PRIORITY COLOR to COS to modify the
Priority-Color-CoS Map.
The following example shows mapping priority 63 color green to CoS 6, and replace CoS
in the interface eth-0-1 egress.
DUT# configure terminal
DUT(config)# qos map pri-color-cos 63 green to 6
DUT(config)# interface eth-0-1
DUT(config-if)# replace cos
Priority-Color-DSCP Map
The following shows modifying a Priority-Color-DSCP map. This map is used to generate