Priority-based Flow Control

Use these M4500 CLI commands to enable Priority-based Flow Control (PFC) on interfaces and priorities, and display or clear PFC statistics.

show interface priority-flow-control

This command displays the PFC information of a given interface or all interfaces.

Default None
Format show interface [<slot/port] priority-flow-control
Mode Privileged EXEC
Fields Definition
<slot/port> Interface number.

Display Message

Fields Definition
Interface Detail The port for which data is displayed.
Operational State The operational status of the interface.
Configured State The administrative mode of PFC on the interface.
Configured Drop Priorities The 802.1p priority values that are configured with a drop priority on the interface. Drop priorities do not participate in pause.
Configured No-Drop Priorities The 802.1p priority values that are configured with a no-drop priority on the interface. If an 802.1p priority that is designated as no-drop is congested, the priority is pause.
Operational Drop Priorities The 802.1p priority values that the switch is using with a drop priority. The operational drop priorities might not be the same as the configured priorities if the interface has accepted different priorities from a peer device.
Operational No-Drop Priorities The 802.1p priority values that the switch is using with a no-drop priority. The operational drop priorities might not be the same as the configured priorities if the interface has accepted different priorities from a peer device.
Delay Allowance The allowed delay on the interface.
Peer Configuration Compatible Indicates whether the local switch has accepted a compatible configuration from a peer switch.
Compatible Configuration Count The number of received configurations accepted and processed as valid. This number does not include duplicated configurations.
Incompatible Configuration Count The number of received configurations that were not accepted from a peer device because they were incompatible.
Priority The 802.1p priority value.
Received PFC Frames The number of PFC frames received by the interface with the associated 802.1p priority.
Transmitted PFC Frames The number of PFC frames transmitted by the interface with the associated 802.1p priority.

Example: The following example shows the CLI display output for the command show interface priority-flow-

control.

CODE
(M4500-32C) #show interface priority-flow-control

Port    Drop             No-Drop          Operational
        Priorities       Priorities       Status
------  ---------------  ---------------  -----------
0/1     0-7                               Inactive
0/2     0-7                               Inactive
0/3     0-7                               Inactive
0/4     0-7                               Inactive
0/5     0-7                               Inactive
0/6     0-7                               Inactive
0/7     0-7                               Inactive

Port:  all physical interfaces
Operational Status:  Active/Inactive

priority-flow-control mode

This command enables or disables Priority-Flow-Control (PFC) on the given interface.

To return the mode to the default, use the no form of this command. VLAN tagging must be enabled on the interface in order to carry the dot1p value through the network. Additionally, the dot1p mapping to class-of-service must be set to one-to-one.

When PFC is enabled on an interface, the normal PAUSE control mechanism is operationally disabled.

Default Off
Format

priority-flow-control mode { on | off}

no priority-flow-control mode

Mode DCB (Data Center Bridging) interface mode

priority-flow-control priority

This command enables or disables the priority group for lossless (no-drop) or lossy (drop) behavior on the selected interface. Up to two lossless priorities can be enabled on an interface. The users must configure the same no-drop priorities across the network in order to ensure end-to-end lossless behavior.

This command has no effect on interfaces not enabled of PFC. VLAN tagging needs to be turned on in order to carry the dot1p value through the network. Additionally, the dot1p mapping to class-of-service must be set to one-to-one.

To enable lossy behavior on all priorities on the interface, use the no form of this command. This has no effect on interfaces not enabled for PFC or with no lossless priorities configured.

Default The default behavior for all priorities is drop
Format

priority-flow-control priority <0-7> { drop | no-drop }

no priority-flow-control priority

Mode DCB (Data Center Bridging) interface mode
Fields Definition
<drop> Disable lossless behavior on the selected priorities.
<no-drop> Enable lossless behavior on the selected priorities.

clear priority-flow-control statistics

This command clears all global and interface PFC statistics

Format clear priority-flow-control statistics
Mode Privileged Exec