PS_PFCPRIORITY#

code: 219

# set
<module-index>/<port-index> PS_PFCPRIORITY [<stream_index>] <cos>

# get
<module-index>/<port-index> PS_PFCPRIORITY [<stream_index>] ?

Description#

Set and get the Priority Flow Control (PFC) Cos value of a stream.

Actions#

set, get

Parameters#

  1. cos: byte, the PFC CoS value of the stream.

  • 0: the PFC CoS value = 0.

  • 1: the PFC CoS value = 1.

  • 2: the PFC CoS value = 2.

  • 3: the PFC CoS value = 3.

  • 4: the PFC CoS value = 4.

  • 5: the PFC CoS value = 5.

  • 6: the PFC CoS value = 6.

  • 7: the PFC CoS value = 7.

  • VLAN_PCP = 128: the PFC CoS value is automatically using the outer VLAN PCP value of the stream. If the VLAN field is missing, the stream won’t have a PFC CoS.

  • NO_PRIO = 129: no PFC priority is assigned to the stream.

Example#

# set
input:  0/1 PS_PFCPRIORITY [0] VLAN_PCP
output: <OK>

# get
input:  0/1 PS_PFCPRIORITY [0] ?
output: 0/1 PS_PFCPRIORITY [0] VLAN_PCP