Users Guide

Table Of Contents
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
NOTE: On the Z9332F-ON platform, you must also specify the type of queue, whether it is a unicast or multicast queue.
For example:
OS10(config)# qos-map traffic-class 2Q
OS10(config-qos-map)# queue 0 qos-group 0-2,4-7 type ucast
OS10(config-qos-map)# queue 3 qos-group 3 type ucast
OS10(config-qos-map)# queue 0 qos-group 0-2,4-7 type mcast
OS10(config-qos-map)# queue 1 qos-group 3 type mcast
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
h. Enable PFC on the interface.
OS10 (conf-if-eth1/1/1)# priority-flow-control mode on
For RoCEv2 (untagged L3 traffic):
a. Enter INTERFACE mode and enter the no shutdown command.
OS10 (config)# interface ethernet 1/1/1
OS10 (conf-if-eth1/1/1)# no shutdown
b. Apply the network-qos type policy-map to the interface.
OS10 (conf-if-eth1/1/1)# service-policy input type network-qos policy_pfcdot1p3
c. Apply the queuing policy to egress traffic on the interface.
OS10 (conf-if-eth1/1/1)# service-policy output type queuing policy_2Q
d. Enable ETS on the interface.
OS10 (conf-if-eth1/1/1)# ets mode on
Quality of service
1557