CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 279

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 279 of 350

DUT(config)# qos map cos-pri-color cos 1 to 63 green

IP-Precedence-Priority-Color Map

The following shows modifying an IP-Precedence-Priority-Color map. This map is used to
generate an internal priority color value from IP-Precedence during classification; this value
determines the QoS action in the DUT, such as selecting one of the eight egress queues, etc.

1. configure terminal.

2. qos map ip-prec-pri-color ip-prec <0-7> to PRIORITY COLOR to modify the

CoS-Priority-Color Map.

PRIORITY = priority value, range is 0-63.

COLOR = color values, red, yellow or green

The following example shows mapping ip-prec 1 to priority 63 color green, and trust CoS in the
interface eth-0-1 ingress for classification.

DUT# configure terminal

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.

1. configure terminal.

2. 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.

1. configure terminal.

2. qos map dscp-pri-color DSCP to PRIORITY COLOR to modify the DSCP-Priority-Color

Map.

DSCP = DSCP value, range is 0-63.

Advertising