180
To enable LLDP and DCBX TLV advertising:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable LLDP globally.
lldp global enable
By default, LLDP is disabled
globally.
3.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
4.
Enable LLDP.
lldp enable
By default, LLDP is enabled on an
interface.
5.
Enable the interface to
advertise DCBX TLVs.
lldp tlv-enable
dot1-tlv
dcbx
By default, DCBX TLV advertising
is disabled on an interface.
Setting the DCBX version
When you set the DCBX version, follow these restrictions and guidelines:
•
For DCBX to work correctly, configure the same DCBX version on the local port and peer port.
As a best practice, configure the highest version supported on both ends. IEEE Std
802.1Qaz-2011, DCBX Rev 1.01, and DCBX Rev 1.00 are in descending order.
•
After the configuration, LLDP frames sent by the local port carry information about the
configured DCBX version. The local port and peer port do not negotiate the DCBX version.
•
When the DCBX version is autonegotiated, the version IEEE Std 802.1Qaz-2011 is preferably
negotiated.
To set the DCBX version:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Set the DCBX version.
dcbx version
{
rev100
|
rev101
|
standard
}
By default, the DCBX version
is not configured. It is
autonegotiated by the local
port and peer port.
Configuring ETS parameters
ETS provides committed bandwidth. To avoid packet loss caused by congestion, the device
performs the following operations:
•
Uses ETS parameters to negotiate with the server adapter.
•
Controls the server adapter's transmission speed of the specified type of traffic.
•
Guarantees that the transmission speed is within the committed bandwidth of the interface.
To configure ETS parameters, you must configure the 802.1p-to-local priority mapping and
group-based WRR queuing.
Configuring the 802.1p-to-local priority mapping
You can configure the 802.1p-to-local priority mapping either in the MQC method or in the priority
mapping table method. If you configure the 802.1p-to-local priority mapping in both methods, the
configuration made in the MQC method applies.