Users Guide

Table Of Contents
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
c. Specify the allowed VLANs on the trunk port.
OS10 (conf-if-eth1/1/1)# switchport trunk allowed vlan 55
d. Apply the network-qos type policy-map to the interface.
OS10 (conf-if-eth1/1/1)# service-policy input type network-qos policy_pfcdot1p3
e. Apply the queuing policy to egress traffic on the interface.
OS10 (conf-if-eth1/1/1)# service-policy output type queuing policy_2Q
f. Enable ETS on the interface.
OS10 (conf-if-eth1/1/1)# ets mode on
g. Apply the qos-map for ETS configurations on the interface.
OS10 (conf-if-eth1/1/1)# qos-map traffic-class 2Q
Quality of service
1335