Reference Guide
random-detect
Congures WRED parameters for the queue.
Syntax
random-detect minimum-threshold threshold-value maximum-threshold threshold-
value drop-probability value percentage [weight value] [color {green | yellow}]
[ecn]
Parameters
• minimum threshold threshold value — Enter the minimum buer threshold (1 to 12480 KB).
• maximum threshold threshold value — Enter the maximum buer threshold (1 to 12480 KB).
• drop probability percentage — Enter a drop probability rate in percentage (1 to 100).
• weight value — Enter the weight value (1 to 15, default 0).
• color — Enter a color drop precedence.
• green — Enable WRED for green prole trac.
• yellow — Enable WRED for yellow prole trac.
• ecn — Enable WRED for ECN capable trac.
Default ECN disabled
Command Mode CONFIG-POLICY-MAP-CLASS-MAP
Usage Information None
Example
OS10(conf-pmap-c-que)# random-detect minimum-threshold 10 maximum-threshold
100 drop-probability 50 color yellow ecn weight 10
Supported Releases 10.2.0E or later
service-policy
Congures the input and output service policies.
Syntax
service-policy {input | output} [type {qos | queuing}] policy-map-name
Parameters
• input — Enter to assign a QoS policy to the interface input.
• output — Enter to assign a QoS policy to the interface output.
• qos — Enter to assign a qos type policy-map.
• queuing — Enter to assign the queuing type policy-map.
• policy-map-name — Enter the policy-map name (up to 32 characters).
Default Not congured
Command Mode INTERFACE
Usage Information Attach only one policy-map to the interface input and output for each qos and queuing policy-map type. You can
attach four service-policies to the system QoS — one each for qos and queueing type policy-maps. When you
congure service policies at the interface-level and system-level, the interface-level policy takes precedence over
the system-level policy.
Example
OS10(conf-if-eth1/1/7)# service-policy input type qos p1
480 Quality of service