Users Guide
the maximum threshold. After a queue depth exceeds the maximum threshold, all other packets that attempt to enter the queue are
discarded.
In S5148F-ON, ow based coloring is not supported.
Consider the following for buer conguration on S5148F-ON.
• Ingress buer conguration:
• Congure the lossy buer prole on the port and not on priority group, with shared static threshold reaching the maximum switch
buer size. Dynamic threshold mode is not supported.
• Congure the lossless LLFC buer prole on the port and not on priority group, without enabling sharing. The total reserved buer
size is the minimum guaranteed size + headroom size.
• Egress buer conguration:
• When ingress is lossy, congure a reserved buer size for the egress queue. The shared threshold can be either static or dynamic.
• When ingress is lossless, congure a static shared threshold with the maximum buer size.
• Congure the reserved buer size or shared static threshold in multiples of 128. The minimum guaranteed buer size on a queue is
128.
1 Congure WRED prole in the CONFIGURATION mode.
wred wred-profile-name
2 Congure WRED threshold parameters for dierent colors in the WRED CONFIGURATION mode.
random-detect color color-name minimum-threshold threshold-value maximum-threshold threshold-
value drop probability percent
3 Congure the exponential weight value for the WRED prole in the WRED CONFIGURATION mode.
random-detect weight weight-value
Congure WRED on a queue and on a port
OS10(config)# wred wred_prof_1
OS10(config-wred)# random-detect color yellow minimum-threshold 100 maximum-threshold 300 drop-
probability 40
OS10(config-wred)# random-detect weight 4
OS10(config)# class-map type queuing c1
OS10(config-cmap-queuing)# match queue 2
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing p1
OS10(config-pmap-queuing)# class c1
OS10(config-pmap-c-que)# random-detect wred_prof_1
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# random-detect wred_prof_1
Verify conguration
You can view the QoS conguration information related to active class-maps, policy-maps, and match criteria.
OS10# show qos interface ethernet 1/1/5
Interface
unknown-unicast-storm-control : Disabled
multicast-storm-control : Disabled
broadcast-storm-control : Disabled
flow-control-rx : Disabled
flow-control-tx : Disabled
ets mode : Disabled
• Display the ingress or egress QoS conguration details in EXEC mode.
show qos {control-plane | system | interface interface}
• control-plane—View all QoS control-plane information.
• system—View all QoS system information.
• interface ethernet node/slot/port:[subport]—View the QoS conguration for the specied Ethernet interface
node, slot, and port identication number.
454
Quality of service










