7–RoCE Configuration
Preparing the Ethernet Switch
134
AH0054602-00 J
Configuring the Cisco Nexus 6000 Ethernet Switch
Steps for configuring the Cisco Nexus 6000 Ethernet Switch for RoCE include
configuring class maps, configuring policy maps, applying the policy, and
assigning a vLAN ID to the switch port.
To configure the Cisco switch:
1.
Open a config terminal session as follows:
Switch#
config terminal
switch(config)#
2.
Configure the quality of service (QoS) class map and set the RoCE priority
(
cos
) to match the adapter (5) as follows:
switch(config)#
class-map type qos class-roce
switch(config)#
match cos 5
3.
Configure queuing class maps as follows:
switch(config)#
class-map type queuing class-roce
switch(config)#
match qos-group 3
4.
Configure network QoS class maps as follows:
switch(config)#
class-map type network-qos class-roce
switch(config)#
match qos-group 3
5.
Configure QoS policy maps as follows:
switch(config)#
policy-map type qos roce
switch(config)#
class type qos class-roce
switch(config)#
set qos-group 3
6.
Configure queuing policy maps to assign network bandwidth. In this
example, use a value of 50 percent:
switch(config)#
policy-map type queuing roce
switch(config)#
class type queuing class-roce
switch(config)#
bandwidth percent 50
7.
Configure network QoS policy maps to set priority flow control for no-drop
traffic class as follows:
switch(config)#
policy-map type network-qos roce
switch(config)#
class type network-qos class-roce
switch(config)#
pause no-drop
8.
Apply the new policy at the system level as follows
switch(config)#
system qos