Reference Guide

Table Of Contents
5. Create queuing-type class-maps for enhanced transmission selection (ETS).
OS10 (config)# class-map type queuing Q0
OS10 (config)# match queue 0
OS10 (config)# class-map type queuing Q3
OS10 (config)# match queue 3
6. Create a QoS map for ETS.
OS10 (config)# qos-map traffic-class 2Q
OS10 (config)# queue 0 qos-group 0-2, 4-7
OS10 (config)# queue 3 qos-group 3
7. Create a policy-map for PFC.
OS10 (config)# policy-map type network-qos pfcdot1p3
OS10 (config)# class pfcdoc1p3
OS10 (config)# pause
8. Create an egress policy-map.
OS10 (config)# policy-map type queuing 2Q
OS10 (config)# class Q0 bandwidth percent 30
OS10 (config)# class Q3 bandwidth percent 70
9. Apply the dot1p trust globally or at the interface level. In this example, the dot1p trust is applied globally.
OS10 (config)# system qos
OS10 (config)# trust-map dot1p default
10. Perform the following configurations on all switch interfaces where you want to support RoCE.
a. Enter in to the 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 pfcdot1p3
e. Apply the queuing policy to egress traffic on the interface.
OS10 (conf-if-eth1/1/1)# service-policy output type queuing 2Q
f. Enable enhanced transmission selection (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
646
Quality of service