Skip to content

DCB Configuration

Table 1 ECN View

CommandPurpose
show wred [wred_profile_name]Display ECN profile.
show counters ecnDisplay ECN counters.
clear counters ecnClear ECN counters.
show counters ecn-buffer interface interface_name queue queue-idDisplay ECN buffer usage.

[Command]

show wred [wred_profile_name]

[Purpose]

Display WRED Profile.

[Parameters]

ParameterDescription
wred_profile_nameProfile name.

[View]

Privileged User View

[Notes]

The default_ecn is the system-predefined ECN profile.

[Use Cases]

sonic# show wred
Wred profile default_drop:
ecn: ecn_none
green_drop_probability: 100
green_max_threshold: 1792000
green_min_threshold: 15360
red_drop_probability: 100
red_max_threshold: 8960000
red_min_threshold: 15360
wred_green_enable: true
wred_red_enable: true
wred_yellow_enable: true
yellow_drop_probability: 100
yellow_max_threshold: 7168000
yellow_min_threshold: 15360
Wred profile default_ecn:
ecn: ecn_all
green_drop_probability: 100
green_max_threshold: 1792000
green_min_threshold: 15360
red_drop_probability: 100
red_max_threshold: 8960000
red_min_threshold: 15360
wred_green_enable: true
wred_red_enable: true
wred_yellow_enable: true
yellow_drop_probability: 100
yellow_max_threshold: 7168000
yellow_min_threshold: 15360

[Command]

show counters ecn

[Purpose]

Display ECN counters.

[View]

Privileged User View

[Use Cases]

sonic# show counters ecn
Port Tx ECN0 ECN1 ECN2 ECN3 ECN4 ECN5 ECN6 ECN7
----------- ------ ------ ------ ------ ------ ------ ------ ------
0/0 0 0 0 0 0 0 0 0
0/4 0 0 0 0 0 0 0 0
0/8 0 0 0 0 0 0 0 0
0/12 0 0 0 0 0 0 0 0
0/16 0 0 0 0 0 0 0 0
0/20 0 0 0 0 0 0 0 0
0/24 0 0 0 0 0 0 0 0
0/28 0 0 0 0 0 0 0 0
0/32 0 0 0 0 0 0 0 0
0/36 0 0 0 0 0 0 0 0
0/40 0 0 0 0 0 0 0 0
0/44 0 0 0 0 0 0 0 0
0/48 0 0 0 0 0 0 0 0
0/52 0 0 0 0 0 0 0 0
0/56 0 0 0 0 0 0 0 0
0/60 0 0 0 0 0 0 0 0
0/64 0 0 0 0 0 0 0 0
0/68 0 0 0 0 0 0 0 0
0/72 0 0 0 0 0 0 0 0
0/76 0 0 0 0 0 0 0 0
0/80 0 0 0 0 0 0 0 0
0/84 0 0 0 0 0 0 0 0
0/88 0 0 0 0 0 0 0 0
0/92 0 0 0 0 0 0 0 0
0/96 0 0 0 0 0 0 0 0
0/100 0 0 0 0 0 0 0 0
0/104 0 0 0 0 0 0 0 0
0/108 0 0 0 0 0 0 0 0
0/112 0 0 0 0 0 0 0 0
0/116 0 0 0 0 0 0 0 0
0/120 0 0 0 0 0 0 0 0
0/124 0 0 0 0 0 0 0 0
0/128 0 0 0 0 0 0 0 0
0/129 0 0 0 0 0 0 0 0

[Command]

clear counters ecn

[Purpose]

Clear ECN counters.

[View]

Privileged User View

[Use Cases]

sonic# clear counters ecn

show counters ecn-buffer interface interface_name queue queue-id

Section titled “show counters ecn-buffer interface interface_name queue queue-id”

[Command]

show counters ecn-buffer interface interface_name queue queue-id

[Purpose]

Display ECN buffer usage.

[Parameters]

ParameterDescription
interface_nameInterface name (eg.0/1)
queue-idQueue ID, the range is [0,7]

[View]

Privileged User View

[Notes]

Not supported on CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2.

[Use Cases]

sonic# show counters ecn-buffer interface 0/40 queue 4
interface queue shared_use_watermark (Bytes) total_use_watermark (Bytes) total_use_count (Bytes)
----------- ------- ------------------------------ ----------------------------- -------------------------
0/40 4 3501344 3501344 3493056

Table 2 ECN Config

CommandPurpose
wred wred_profile_nameCreate a WRED profile and enter WRED Configuration View.
mode ecn gmin min_th gmax max_th gprobability probability [ymin min_th ymax max_th yprobability probability|rmin min_th rmax max_th rprobability probability]Set Explicit Congestion Notification (ECN) parameters.
wred {wred_profile_name|default_ecn}Apply the ECN profile to interfaces.

[Command]

wred wred_profile_name

[Purpose]

Create a WRED profile and enter WRED Configuration View.

[Parameters]

ParameterDescription
wred_profile_nameProfile name.

[View]

Global Configuration View

[Notes]

Run command no wred wred_profile_name to delete the WRED profile.

[Use Cases]

sonic(config)# wred test
sonic(config-wred-test)#

mode ecn gmin min_th gmax max_th gprobability probability [ymin min_th ymax max_th yprobability probability|rmin min_th rmax max_th rprobability probability]

Section titled “mode ecn gmin min_th gmax max_th gprobability probability [ymin min_th ymax max_th yprobability probability|rmin min_th rmax max_th rprobability probability]”

[Command]

mode ecn gmin min_th gmax max_th gprobability probability [ymin min_th ymax max_th yprobability probability|rmin min_th rmax max_th rprobability probability]

[Purpose]

Set Explicit Congestion Notification (ECN) parameters.

[Parameters]

ParameterDescription
min_thSet the low limit absolute value of ECN in bytes. When the message length in the queue reaches this value, the interface starts to set the ECN field of the message to CE according to the probability. The configurable minimum value is 15 KB.
max_thSet the high limit absolute value of ECN in bytes. When the message length in the queue reaches this value, the interface starts to set ECN field of all packets to CE. For CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2, the range is min_th ~ 25165824, for CX864E-N, the range is min_th - 16777216, and for other models, the range is min_th ~ 10240000.
probabilitySet the maximum discard probability in integer form. The range is [1,100]. It is recommended to set the drop probability to 90 percent for latency-sensitive services and 10 percent for throughput-sensitive services.

[View]

WRED Configuration View

[Notes]

Recommended Configuration for 100GE interfaces: ! wred ecn mode ecn gmin 15360 gmax 768000 gprobability 90

[Use Cases]

sonic(config-wred-test)# mode ecn gmin 15360 gmax 750000 gprobability 10

[Command]

wred {wred_profile_name|default_ecn}

[Purpose]

Apply the ECN profile to interfaces.

[Parameters]

ParameterDescription
wred_profile_nameProfile name.

[View]

Policy Map-Class Map Configuration View

[Notes]

Before running this command, please bind an existing class map to specify the queue to be matched for the policy. The default_ecn is the system-predefined ECN profile. Run command no wred wred_profile_name unbind the WRED profile.

[Use Cases]

sonic(config)# class-map classtest
sonic(conifg-cmap-classtest)# exit
sonic(config)# polic-map test1
sonic(config-pmap-test1)# class classtest
sonic(config-pmap-c)# wred wred_profile

Support to manage PFC with templates or with customized configurations.

  • Templated PFC Management By default, a default PFC threshold template exists in the system that supports globally enabling PFC for up to two queues. PFC for queues 3 and 4 has been enabled by default. show pfc profiles command displays the default PFC threshold configuration.
  • Customized PFC Management Configure a custom PG buffer profile to specify the PFC threshold. The specific steps for configuration are as follows:
  1. Run priority-flow-control enable ingress-queue-id command to enable PFC for the queue globally.
  2. Run buffer-profile buffer_profile_name command to create a lossless buffer profile.
  3. Run class-map class_map_name command to create a class map to specify the queue.
  4. Run policy-map policy_map_name command to create a policy map, and run class class_map_name to bind it to the class map. Then run priority-group-buffer buffer_profile_name command to bind to the priority-group buffer profile.
  5. Run service-policy policy_map_name command to apply the policy to the interface. Due to the complexity of custom PFC configuration, it is recommended to use default template PFC in preference.

Table 3 PFC View

CommandPurpose
show interface priority-flow-controlDisplay the PFC status of interfaces.
show counters priority-flow-controlDisplay PFC counters.
clear counters priority-flow-controlClear PFC counters.
show pfc profilesDisplay PFC profiles.

[Command]

show interface priority-flow-control

[Purpose]

Display the PFC status of interfaces.

[View]

Privileged User View

[Use Cases]

sonic# show interface priority-flow-control
Interface Lossless priorities
----------- ---------------------
0/0 3,4
0/4 3,4
0/8 3,4
0/12 3,4
0/16 3,4
0/20 3,4
0/24 3,4
0/28 3,4
0/32 3,4
0/36 3,4
0/40 3,4
0/44 3,4
0/48 3,4
0/52 3,4
0/56 3,4
0/60 3,4
0/64 3,4
0/68 3,4
0/72 3,4
0/76 3,4
0/80 3,4
0/84 3,4
0/88 3,4
0/92 3,4
0/96 3,4
0/100 3,4
0/104 3,4
0/108 3,4
0/112 3,4
0/116 3,4
0/120 3,4
0/124 3,4
0/128 3,4
0/129 3,4

[Command]

show counters priority-flow-control

[Purpose]

Display PFC counters.

[View]

Privileged User View

[Use Cases]

sonic# show counters priority-flow-control
Port Rx PFC0 PFC1 PFC2 PFC3 PFC4 PFC5 PFC6 PFC7
----------- ------ ------ ------ ------ ------ ------ ------ ------
0/0 0 0 0 0 0 0 0 0
0/4 0 0 0 0 0 0 0 0
0/8 0 0 0 0 0 0 0 0
0/12 0 0 0 0 0 0 0 0
0/16 0 0 0 0 0 0 0 0
0/20 0 0 0 0 0 0 0 0
0/24 0 0 0 0 0 0 0 0
0/28 0 0 0 0 0 0 0 0
0/32 0 0 0 0 0 0 0 0
0/36 0 0 0 0 0 0 0 0
0/40 0 0 0 0 0 0 0 0
0/44 0 0 0 0 0 0 0 0
0/48 0 0 0 0 0 0 0 0
0/52 0 0 0 0 0 0 0 0
0/56 0 0 0 0 0 0 0 0
0/60 0 0 0 0 0 0 0 0
0/64 0 0 0 0 0 0 0 0
0/68 0 0 0 0 0 0 0 0
0/72 0 0 0 0 0 0 0 0
0/76 0 0 0 0 0 0 0 0
0/80 0 0 0 0 0 0 0 0
0/84 0 0 0 0 0 0 0 0
0/88 0 0 0 0 0 0 0 0
0/92 0 0 0 0 0 0 0 0
0/96 0 0 0 0 0 0 0 0
0/100 0 0 0 0 0 0 0 0
0/104 0 0 0 0 0 0 0 0
0/108 0 0 0 0 0 0 0 0
0/112 0 0 0 0 0 0 0 0
0/116 0 0 0 0 0 0 0 0
0/120 0 0 0 0 0 0 0 0
0/124 0 0 0 0 0 0 0 0
0/128 0 0 0 0 0 0 0 0
0/129 0 0 0 0 0 0 0 0
Port Tx PFC0 PFC1 PFC2 PFC3 PFC4 PFC5 PFC6 PFC7
----------- ------ ------ ------ ------ ------ ------ ------ ------
0/0 0 0 0 0 0 0 0 0
0/4 0 0 0 0 0 0 0 0
0/8 0 0 0 0 0 0 0 0
0/12 0 0 0 0 0 0 0 0
0/16 0 0 0 0 0 0 0 0
0/20 0 0 0 0 0 0 0 0
0/24 0 0 0 0 0 0 0 0
0/28 0 0 0 0 0 0 0 0
0/32 0 0 0 0 0 0 0 0
0/36 0 0 0 0 0 0 0 0
0/40 0 0 0 0 0 0 0 0
0/44 0 0 0 0 0 0 0 0
0/48 0 0 0 0 0 0 0 0
0/52 0 0 0 0 0 0 0 0
0/56 0 0 0 0 0 0 0 0
0/60 0 0 0 0 0 0 0 0
0/64 0 0 0 0 0 0 0 0
0/68 0 0 0 0 0 0 0 0
0/72 0 0 0 0 0 0 0 0
0/76 0 0 0 0 0 0 0 0
0/80 0 0 0 0 0 0 0 0
0/84 0 0 0 0 0 0 0 0
0/88 0 0 0 0 0 0 0 0
0/92 0 0 0 0 0 0 0 0
0/96 0 0 0 0 0 0 0 0
0/100 0 0 0 0 0 0 0 0
0/104 0 0 0 0 0 0 0 0
0/108 0 0 0 0 0 0 0 0
0/112 0 0 0 0 0 0 0 0
0/116 0 0 0 0 0 0 0 0
0/120 0 0 0 0 0 0 0 0
0/124 0 0 0 0 0 0 0 0
0/128 0 0 0 0 0 0 0 0
0/129 0 0 0 0 0 0 0 0

[Command]

clear counters priority-flow-control

[Purpose]

Clear PFC counters.

[View]

Privileged User View

[Use Cases]

sonic# clear counters priority-flow-control

[Command]

show pfc profiles

[Purpose]

Display PFC profiles.

[View]

Privileged User View

[Use Cases]

sonic# show pfc profile
{
"ingress_lossless_profile":{
"dynamic_th":"1",
"pool":"ingress_lossless_pool",
"size":"1518",
"xoff":"38816",
"xon_offset":"13440"
},
"pg_lossless_1":{
"dynamic_th":"-4",
"pool":"ingress_lossless_pool",
"size":"1518",
"xoff":"46496",
"xon_offset":"13440"
},
"pg_lossless_100000_40m_profile":{
"dynamic_th":"1",
"pool":"ingress_lossless_pool",
"size":"1518",
"xoff":"38816",
"xon":"0",
"xon_offset":"13440"
}
}

Table 4 PFC Config

CommandPurpose
priority-flow-control enable ingress-queue-idGlobally enable PFC for the queue.
buffer-profile buffer_profile_nameConfigure a custom PFC buffer profile and enter Buffer Configuration View.

mode lossless {static static_th|dynamic dynamic_th} size size (For CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2)

mode lossless {static static_th|dynamic dynamic_th} size size xoff xoff xon-offset xon-offset [xon xon] (For other models)

Set a PFC lossless buffer.
priority-group-buffer buffer_profile_nameBind the PG buffer profile to the queue at ingress.

priority-flow-control enable ingress-queue-id

Section titled “priority-flow-control enable ingress-queue-id”

[Command]

priority-flow-control enable ingress-queue-id

[Purpose]

Globally enable PFC for the queue.

[Parameters]

ParameterDescription
ingress-queue-idQueue ID, the range is [0,7]

[View]

Global Configuration View

[Notes]

Only support up to two queues to enable PFC globally, by default, PFC of queue 3, 4 have been enabled. If you want to enable PFC for other queues, please disable PFC of queue 3 or 4 first. Configuring the PFC global enable queue requires reload to take effect. Port-based modification of PFC enable queues is not supported at this time. Run command no priority-flow-control enable ingress-queue-id to disable PFC for the queue.

[Use Cases]

sonic# configure
sonic(config)# priority-flow-control enable 4

[Command]

buffer-profile buffer_profile_name

[Purpose]

Configure a custom PFC buffer profile and enter Buffer Configuration View.

[Parameters]

ParameterDescription
buffer_profile_nameProfile name.

[View]

Global Configuration View

[Notes]

Run command no buffer-profile profile_name to delete the buffer profile.

[Use Cases]

sonic(config)# buffer-profile testname
sonic(config-buffer-profile-testname)#

mode lossless {static static_th|dynamic dynamic_th} size size

Section titled “mode lossless {static static_th|dynamic dynamic_th} size size”

[Command]

mode lossless {static static_th|dynamic dynamic_th} size size

[Purpose]

Set a PFC lossless buffer. (For CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2)

[Parameters]

ParameterDescription
static_thSet the static threshold value in bytes. This parameter is meaningless on CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2, and should be configured as 0.
dynamic_thSet the dynamic threshold value in integer. The value shall not be less than -5. Dynamic threshold = (dynamic_th + 6) * remaining available buffer on CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2. For example, if dynamic_th is set to -4, the dynamic threshold is 2 times the remaining available buffer;
sizeSet the guaranteed buffer in bytes. It is recommended to be an integer multiple of the cell size. The recommended configuration value is 25600.

[View]

Buffer Configuration View

[Notes]

The cell size varies by model. On CX308P-48Y-N-V2, CX532P-N-V2 and CX732Q-N-V2, the cell size is 128 Bytes. When congestion occurs at a queue and the ingress buffer occupancy reaches the watermark, it starts sending pause frames. When the sender receives a pause frame and reduces the traffic sent, the ingress buffer occupancy of the switch decreases and stops sending pause frames when the occupancy falls below the watermark. The formula for calculating the PFC watermark is: Limit=Guaranteed Buffers + Dynamic Factor. Dynamic Factor is 0 in static mode. The sum of the lossless buffers allocated to each queue shall be no greater than the lossless pool size. Recommended Configuration: ! buffer-profile lossless_buffer_profile mode lossless static 0 size 25600

[Use Cases]

sonic(config)# buffer-profile buffer_test
sonic(config-buffer-profile-buffer_test)# mode lossless static 0 size 25600

mode lossless {static static_th|dynamic dynamic_th} size size xoff xoff xon-offset xon-offset [xon xon] (For other models)

Section titled “mode lossless {static static_th|dynamic dynamic_th} size size xoff xoff xon-offset xon-offset [xon xon] (For other models)”

[Command]

mode lossless {static static_th|dynamic dynamic_th} size size xoff xoff xon-offset xon-offset [xon xon]

[Purpose]

Set a PFC lossless buffer. (For other models)

[Parameters]

ParameterDescription
static_thSet the static threshold value in bytes. The range is from 0 to 47218432.
dynamic_thSet the dynamic threshold value in integer. The range is from -4 to 3. Dynamic threshold = 2dynamic_th * remaining available buffer. For example, if dynamic_th is set to 1, then dynamic threshold is two times the remaining available buffer, that is, the actual threshold is two-thirds of the total available buffer.
sizeSet the guaranteed buffer in bytes. The recommended value is 1518.
xoffSet PFC pause frame trigger cache threshold value in bytes, which is recommended to be an integer multiple of the cell size. Xoff is related to cable length, port speed and so on, you may refer to the recommended values below to configure. Xoff value must be greater than xon value.
xon-offsetSet PFC pause frame stop buffer threshold value in bytes, it is recommended to be an integer multiple of cell size. The recommended value is 13440.
xon(Optional) It should be an integer multiple of cell size and the unit is byte. It is recommended to configure 0, since the actual xon takes the larger value of xon and xon-offset, so it is generally not necessary to set the value of xon.

The parameters of dynamic lossless buffer are related to the port speed, cable length, etc. The following are the recommended values:

port speedcable lengthsizexonxoffdynamic thresholdxon_offset
250005m1518015680113440
500005m1518021248113440
1000005m1518034624113440
4000005m15180117536113440
2500040m1518016928113440
5000040m1518023392113440
10000040m1518038816113440
40000040m15180135520113440
25000100m1518018848113440
50000100m1518027264113440
100000100m1518046496113440
400000100m15180166688113440
25000300m1518025184113440
50000300m1518040128113440
100000300m1518072384113440
400000300m15180268640113440

[View]

Buffer Configuration View

[Notes]

The cell size varies by model. On other models, cell size=224 Bytes. When congestion occurs at a queue and the ingress buffer occupancy reaches xoff, it starts sending pause frames. When the sender receives pause frames and reduces the traffic sent, the ingress buffer occupancy of the switch decreases and stops sending pause frames when the occupancy reaches xon. The default ingress pause frame trigger threshold and pause frame stop threshold exist in the interface configuration when not configured by the user. The sum of the lossless buffers allocated to each queue shall be no greater than the lossless pool size. Recommended Configuration for 100GE interfaces: ! buffer-profile lossless_buffer_profile mode lossless dynamic 1 size 1518 xoff 46496 xon-offset 13440

[Use Cases]

sonic(config)# buffer-profile pg_lossless_100000_100m_profile
sonic(config-buffer-profile-pg_lossless_100000_100m_profile)# mode lossless dynamic 1 size 1518 xoff 46496 xon-offset 13440

[Command]

priority-group-buffer buffer_profile_name

[Purpose]

Bind the PG buffer profile to the queue at ingress.

[Parameters]

ParameterDescription
buffer_profile_nameProfile name.

[View]

Policy Map-Class Map Configuration View

[Notes]

Please bind an existing class map to specify the queue for policy matching, and the queue should be globally PFC-enabled. Run command no priority-group-buffer buffer_profile_name to unbind the PG buffer profile.

[Use Cases]

sonic(config)# buffer-profile pg_lossless_100000_100m_profile
sonic(config-buffer-profile-pg_lossless_100000_100m_profile)# mode lossless dynamic 1 size 1518 xoff 46496 xon-offset 13440
sonic(config-buffer-profile-pg_lossless_100000_100m_profile)# exit
sonic(config)# polic-map test1
sonic(config-pmap-test1)# class cmap_4
sonic(config-pmap-c)# priority-group-buffer pg_lossless_100000_100m_profile

Table 5 PFCWD View

CommandPurpose
show pfcwd configurationDisplay PFCWD configuration information.
show pfcwd statsDisplay PFCWD statistics information.

[Command]

show pfcwd configuration

[Purpose]

Display PFCWD configuration information.

[View]

Privileged User View

[Use Cases]

sonic# show pfcwd configuration
PORT ACTION DETECTION TIME RESTORATION TIME
------ -------- ---------------- ------------------

[Command]

show pfcwd configuration

[Purpose]

Display PFCWD statistics information.

[View]

Privileged User View

[Use Cases]

sonic# show pfcwd stats
QUEUE STATUS STORM DETECTED/RESTORED TX OK/DROP RX OK/DROP TX LAST OK/DROP RX LAST OK/DROP
------- -------- ------------------------- ------------ ------------ ----------------- -----------------

Table 6 PFCWD Config

CommandPurpose
pfcwd enable {all|interface_name} detection-time d_time [action pfcwd_action | restoration-time r_time]Enable PFCWD.
pfcwd counter_pollEnable PFCWD counter polling.
pfcwd interval poll_intervalSet the PFCWD polling interval.
pfcwd start_defaultStart PFC WD by default configurations.

pfcwd enable {all|interface_name} detection-time d_time [action pfcwd_action | restoration-time r_time]

Section titled “pfcwd enable {all|interface_name} detection-time d_time [action pfcwd_action | restoration-time r_time]”

[Command]

pfcwd enable {all|interface_name} detection-time d_time [action pfcwd_action | restoration-time r_time]

[Purpose]

Enable PFCWD.

[Parameters]

ParameterDescription
allApplies to all interfaces
interface_nameSpecify the interface, for example: 0/0
d_timeDetection time, range is [100,5000]
pfcwd_actionAction after detection of PFC pause storms, optional parameters are drop, forward, alert.
r_timeRecovery time, range is [100,60000]

[View]

Global Configuration View

[Notes]

Run commandpfcwd disable {all|interface_name } to disable PFCWD.

[Use Cases]

sonic# configure
sonic(config)# pfcwd enable all detection-time 100 action drop restoration-time 400

[Command]

pfcwd counter_poll

[Purpose]

Enable PFCWD counter polling.

[View]

Global Configuration View

[Notes]

Run commandno pfcwd counter_poll to disable PFCWD counter polling.

[Use Cases]

sonic# configure
sonic(config)# pfcwd counter_poll

[Command]

pfcwd interval poll_interval

[Purpose]

Set the PFCWD polling interval.

[Parameters]

ParameterDescription
poll_intervalPolling interval in ms, range [100,3000]

[View]

Global Configuration View

[Use Cases]

sonic# configure
sonic(config)# pfcwd interval 100

[Command]

pfcwd counter_poll

[Purpose]

Start PFC WD by default configurations.

[View]

Global Configuration View

[Use Cases]

sonic# configure
sonic(config)# pfcwd start_default

Table 7 DCBX View

CommandPurpose
show lldp dcbxDisplay DCBX configuration

[Command]

show lldp dcbx

[Purpose]

Display DCBX configuration.

[View]

Global Configuration View

[Use Cases]

sonic# show qos roce
Interface ETS Willing PFC Willing ETS Accepted PFC Accepted
----------- ------------- ------------- -------------- --------------
0/12 True False True False

Table 8 DCBX Config

CommandPurpose
lldp dcbx enableEnable DCBX.
lldp dcbx pfc-willingEnable PFC configuration synchronization
lldp dcbx ets-willingEnable ETS configuration synchronization

[Command]

lldp dcbx enable

[Purpose]

Enable DCBX.

[View]

Interface Configuration View

[Notes]

Run command no lldp dcbx enable to disable DCBX.

[Use Cases]

sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx enable

[Command]

lldp dcbx pfc-willing

[Purpose]

Enable PFC configuration synchronization.

[View]

Interface Configuration View

[Notes]

Run command no lldp dcbx pfc-willing to disable PFC configuration synchronization.

[Use Cases]

sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx pfc-willing

[Command]

lldp dcbx ets-willing

[Purpose]

Enable ETS configuration synchronization.

[View]

Interface Configuration View

[Notes]

Run command no lldp dcbx ets-willing to disable ETS configuration synchronization. The interface with ETS configuration synchronization enabled cannot have a custom ETS configuration, that is, it cannot be bound to a policy-map containing scheduling and priority mapping.

[Use Cases]

sonic# configure
sonic(config)# interface ethernet 0/12
sonic(config-if-0/12)# lldp dcbx ets-willing