Raisecom
ISCOM2600G-HI (A) Series Configuration Guide
7 QoS
Raisecom Proprietary and Confidential
Copyright © Raisecom Technology Co., Ltd.
305
Step
Command
Description
7
Raisecom(traffic-policer)#drop-
color { red | yellow }
(Optional) configure the token
bucket to discard packets with any
color.
8
Raisecom(traffic-policer)#recolor
{ green-recolor
{ yellow | red }
|
red-recolor
{ green | yellow }
|
yellow-recolor
{ green | red } }
(Optional) configure packet
recoloring.
9
Raisecom(traffic-policer)#set-cos
{ green
cos
| red
cos
| yellow
cos
}
(Optional) configure the mapping
from packets color to CoS.
10
Raisecom(traffic-policer)#set-dscp
{ green
green-value
| red
red-
value
| yellow
yellow-value
}
(Optional) configure the mapping
from packets color to DSCP.
11
Raisecom(traffic-policer)#set-pri
{ green
green-value
| red
red-
value
| yellow
yellow-value
}
(Optional) configure the mapping
from packets color to local priority.
7.5.6 Creating traffic policy
Create a traffic policy for the ISCOM2600G-HI series switch as below.
Step
Command
Description
1
Raisecom#config
Enter global configuration mode.
2
Raisecom(config)#policy-map
policy-map-name
Create a traffic policy, and enter traffic
policy pmap configuration mode.
3
Raisecom(config-
pmap)#description
string
(Optional) configure the description of
the traffic policy.
7.5.7 Defining traffic policy mapping
Define one or more defined traffic classes to one traffic policy.
Define traffic policy mapping for the ISCOM2600G-HI series switch as below.
Step
Command
Description
1
Raisecom#config
Enter global configuration mode.
2
Raisecom(config)#policy-
map
policy-map-name
Create a traffic policy, and enter traffic policy
pmap configuration mode.