API Guide

corresponds to traffic class 1. Enter a single value, a hyphen-separated range, or multiple qos-group values separated by
commas in CLASS-MAP mode.
classmap type network-qos classmap-name
match qos-group {1-7}
exit
2. (Optional) Repeat Step 1 to configure additional PFC traffic-class class-maps.
Configure pause and ingress buffers for PFC traffic
For the default ingress queue settings and the default dot1p priority-queue mapping, see PFC configuration notes.
1. Create a network-qos policy map in CONFIGURATION mode.
policy-map type network-qos policymap-name
2. Associate the policy-map with a network-qos class map in POLICY-MAP mode.
class class-map-name
3. Configure default values for ingress buffers used for the network-qos class maps in POLICY-CLASS-MAP mode.
pause
(Optional) Change the default values for the ingress-buffer size that is reserved for the network-qos class-map traffic
and the thresholds that are used to send XOFF and XON pause frames in kilobytes.
pause [buffer-size kilobytes {pause-threshold kilobytes | resume-threshold kilobytes}]
4. Enable the PFC pause function for dot1p traffic in POLICY-CLASS-MAP mode. The dot1p values must be the same as the
qos-group traffic class numbers in the class-map in Step 2. Enter a single dot1p value, from 1 to 7, a hyphen-separated
range, or multiple dot1p values separated by commas.
pfc-cos dot1p-priority
5. (Optional) Set the static and dynamic thresholds that are used to limit the shared buffers that are allocated to PFC traffic-
class queues. Configure a static, fixed queue-limit (in kilobytes) or a dynamic threshold (weight 1-10; default 9) based on the
available PFC shared buffers.
queue-limit thresh-mode {static kilobytes | dynamic weight}
6. (Optional) Repeat Steps 24 to configure PFC on additional traffic classes.
Apply service policy and enable PFC
1. Apply the PFC service policy on an ingress interface or interface range in INTERFACE mode.
interface ethernet node/slot/port:[subport]
service-policy input type network-qos policymap-name
interface range ethernet node/slot/port:[subport]-node/slot/port[:subport]
service-policy input type network-qos policymap-name
2. Enable PFC without DCBX for FCoE and iSCSI traffic in INTERFACE mode.
priority-flow-control mode on
Configure PFC
PFC is enabled on traffic classes with dot1p 3 and 4 traffic. The two traffic classes require different ingress queue processing. In
the network-qos pp1 policy map, class cc1 uses customized PFC buffer size and pause frame settings; class cc2 uses the
default settings.
OS10(config)# system qos
OS10(config-sys-qos)# trust-map dot1p default
OS10(config)# system qos
OS10(config-sys-qos)# exit
Converged data center services
1325