Users Guide

Table Of Contents
random-detect weight
Configures the exponential weight value used to calculate the average queue depth for the WRED profile.
Syntax
random-detect weight weight-value
Parameters weight-value Enter a value for the weight, from 1 to 15.
Default Not configured
Command Mode WRED CONFIGURATION
Usage
Information
The no version of this command removes the weight factor from the WRED profile.
Example
OS10(config)# wred test_wred
OS10(config-wred)# random-detect weight 10
Supported
Releases
10.4.0E(R1) or later
service-policy
Configures the input and output service policies.
Syntax
service-policy {input | output} [type {qos | queuing | network-qos}]
policy-map-name
Parameters
inputEnter to assign a QoS policy to the interface input.
outputEnter to assign a QoS policy to the interface output.
qosEnter to assign a qos type policy-map.
queuingEnter to assign the queuing type policy-map.
network-qosEnter to assign the network-qos type policy-map.
policy-map-nameEnter the policy-map name up to a maximum of 32 characters.
Default Not configured
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 QoSone each for qos, queueing, and
network-qos type policy-maps. When you configure interface-level policies and system-level policies,
the interface-level policy takes precedence over the system-level policy.
NOTE: Apply the service-policy input type network-qos command only on the
applicable interfaces instead of the SYSTEM-QoS mode. Applying this command in the global
SYSTEM-QoS mode might cause CRC errors on the remote end fiber channel devices. You can
apply this command on all downstream and upstream interfaces using the interface range
ethernet command.
Example
OS10(conf-if-eth1/1/7)# service-policy input type qos p1
Supported
Releases
10.2.0E or later
set cos
Sets a cost of service (CoS) value to mark L2 802.1p (dot1p) packets.
Syntax
set cos cos-value
Parameters cos-value Enter a CoS value, from 0 to 7.
1368 Quality of service