Users Guide

Table Of Contents
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#
7. Create a QoS map for ETS to map the lossy and lossless traffic to the respective queues.
OS10 (config)# qos-map traffic-class 2Q
OS10(config-qos-map)# queue 0 qos-group 0-2, 4-7
OS10(config-qos-map)# queue 3 qos-group 3
8. Perform the following configurations on all switch interfaces where you want to support RoCE:
For RoCEv1:
a. Enter INTERFACE mode and enter the no shutdown command.
OS10# configure terminal
OS10 (config)# interface ethernet 1/1/1
OS10 (conf-if-eth1/1/1)# no shutdown
b. Change the switch port mode to Trunk mode.
OS10 (conf-if-eth1/1/1)# switchport mode trunk
Quality of service
1341