Users Guide

Table Of Contents
â—‹ If the network is non-VLAN tagged, use the trust-map dscp default command or the user-defined
trust-map dscp configuration.
OS10 (config)# system qos
OS10 (config-sys-qos)# trust-map dot1p default
5. Create a network-qos type class-map and policy-map for priority flow control (PFC). This configuration fine tunes the buffer
settings for the particular priority.
OS10 (config)# class-map type network-qos pfcdot1p3
OS10 (config-cmap-nqos)# match qos-group 3
OS10 (config)# policy-map type network-qos policy_pfcdot1p3
OS10(config-pmap-network-qos)# class pfcdot1p3
OS10(config-pmap-c-nqos)# pause
OS10(config-pmap-c-nqos)# pfc-cos 3
NOTE: When you use the pause command without any parameters, the system uses the default buffer settings. To
modify the buffer settings, use the pause command and specify the buffer size, pause threshold, and resume threshold.
See Priority flow control and the pause command for more information.
6. Create queuing-type class-maps and policy-map for enhanced transmission selection (ETS), bandwidth, and ECN
configurations. See Enhanced transmission selection and Bandwidth allocation for more information.
Bandwidth configuration for RoCEv1:
OS10 (config)# class-map type queuing Q0
OS10 (config-cmap-queuing)# match queue 0
OS10 (config)# class-map type queuing Q3
OS10 (config-cmap-queuing)# match queue 3
OS10 (config)# policy-map type queuing policy_2Q
OS10 (config-pmap-queuing)# class Q0
OS10 (config-pmap-c-que)# bandwidth percent 30
OS10 (config-pmap-c-que)# exit
OS10 (config-pmap-queuing)# class Q3
OS10 (config-pmap-c-que)# bandwidth percent 70
Bandwidth and ECN configuration for RoCEv2 with ECN queue association:
OS10 (config)# class-map type queuing Q0
OS10 (config-cmap-queuing)# match queue 0
OS10 (config)# class-map type queuing Q3
OS10 (config-cmap-queuing)# match queue 3
OS10(config)# wred wred_ecn
OS10(config-wred)# random-detect ecn
OS10(config-wred)# random-detect color green minimum-threshold 1000 maximum-threshold
2000 drop-probability 100
OS10(config-wred)# random-detect color yellow minimum-threshold 500 maximum-threshold
1000 drop-probability 100
OS10(config-wred)# random-detect color red minimum-threshold 100 maximum-threshold
500 drop-probability 100
OS10(config-wred)# exit
OS10(config)# policy-map type queuing policy_2Q
OS10(config-pmap-queuing)# class Q0
OS10(config-pmap-c-que)# bandwidth percent 30
OS10(config-pmap-c-que)# exit
OS10(config-pmap-queuing)# class Q3
OS10(config-pmap-c-que)# bandwidth percent 70
OS10(config-pmap-c-que)# random-detect wred_ecn
OS10(config-pmap-c-que)# end
OS10#
1556
Quality of service