Users Guide

Table Of Contents
h. Enable PFC on the interface.
OS10 (conf-if-eth1/1/1)# priority-flow-control mode on
For RoCEv2:
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. 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
e. Apply the qos-map for ETS configurations on the interface.
OS10 (conf-if-eth1/1/1)# qos-map traffic-class 2Q
f. Enable PFC on the interface.
OS10 (conf-if-eth1/1/1)# priority-flow-control mode on
View configuration and statistics
Use the following show commands to view the configuration and statistics:
To view the PFC and ETS configuration details at the interface level, use the show qos interface command:
OS10# show qos interface ethernet 1/1/4
To view the buffer allocation for the ingress interface, use the show qos ingress buffers command:
OS10# show qos ingress buffers interface ethernet 1/1/4
To view the buffer utilization at the ingress interface, use the show qos ingress buffer-stats command:
OS10# show qos ingress buffer-stats interface ethernet 1/1/4
To view the buffer allocation for the egress interface, use the show qos egress buffers command:
OS10# show qos egress buffers interface ethernet 1/1/4
To view the buffer utilization at the egress interface, use the show qos egress buffer-stats command:
OS10# show qos egress buffer-stats interface ethernet 1/1/4
To view the PFC configuration, operational status, and statistics on the interface, use the show interface
interface-name priority-flow-control details command:
OS10(config)# show interface ethernet 1/1/15 priority-flow-control details
To view the ECN markings on an interface, use the show queuing statistics interface interface-name
wred command:
OS10# show queuing statistics interface ethernet 1/1/1 wred
To view any egress packet loss, use the show queuing statistics command:
NOTE: There should not be any packet drops in lossless queues.
OS10# show queuing statistics interface ethernet 1/1/1
1336
Quality of service