Reference Guide

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 congurations 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 trac 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 congurations 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
QoS commands
bandwidth
Assigns a percentage of weight to the queue.
Syntax
bandwidth percent value
Parameters percent value — Enter the percentage assignment of bandwidth to the queue (1 to 100).
Default Not congured
Command Mode POLICY-MAP QUEUE
Usage Information If you congure this command, you cannot use the priority command for the class.
Example
OS10(conf-pmap-que)# bandwidth percent 70
Supported Releases 10.2.0E or later
682 Quality of service