LLDP
The nv unset
commands remove the configuration you set with the equivalent nv set
commands. This guide only describes an nv unset
command if it differs from the nv set
command.
nv set interface <interface-id> lldp
Provides commands to configure LLDP on an interface.
nv set interface <interface-id> lldp application-tlv app <application-id>
Configures the interface on which LLDP sends application priority TLVs in LLDP PDUs.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<application-id> |
The application name. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set interface swp1 lldp application-tlv app iSCSI
nv set interface <interface-id> lldp application-tlv tcp-port <port-id>
Configures the interface on which LLDP sends application priority TLVs in LLDP PDUs for TCP traffic using the specified port.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<port-id> |
The port number. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set interface swp1 lldp application-tlv tcp-port 4217
nv set interface <interface-id> lldp application-tlv udp-port <port-id>
Configures the interface on which LLDP sends application priority TLVs in LLDP PDUs for UDP traffic.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
<port-id> |
The port number. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set interface swp1 lldp application-tlv udp-port 4317
nv set interface <interface-id> lldp dcbx-ets-config-tlv
Configures ETS TLV transmission on the interface. The default setting is off
.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set interface swp1 lldp dcbx-ets-config-tlv on
nv set interface <interface-id> lldp dcbx-ets-recomm-tlv
Configures ETS Recommendation TLV transmission on the interface.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set interface swp1 lldp dcbx-ets-recomm-tlv on
nv set interface <interface-id> lldp dcbx-pfc-tlv
Configures PFC TLV transmission on the interface. The default setting is off
.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set interface swp1 lldp dcbx-pfc-tlv on
nv set interface <interface-id> lldp state
Enables and disables LLDP on an interface.
When you disable LLDP on an interface, LLDP and CDP packet transmission stops on the interface.
Command Syntax
Syntax | Description |
---|---|
<interface-id> |
The interface you want to configure. |
Version History
Introduced in Cumulus Linux 5.11.0
Example
cumulus@switch:~$ nv set interface swp1 lldp state disabled
nv set service lldp
Provides commands to configure LLDP globally on the switch.
nv set service lldp dot1-tlv
Turns dot1 TLV advertisements on or off. The default setting is off
.
Version History
Introduced in Cumulus Linux 5.1.0
Example
cumulus@switch:~$ nv set service lldp dot1-tlv on
nv set service lldp application-tlv app <application> priority <priority-id>
Configures the specified application TLV priority.
Command Syntax
Syntax | Description |
---|---|
<application-id> |
The application name. |
<priority-id> |
The priority ID. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set service lldp application-tlv app iSCSI priority 3
nv set service lldp application-tlv tcp-port <port-id> priority <priority-id>
Configures the application priority for TCP traffic for the specified port.
Command Syntax
Syntax | Description |
---|---|
<port-id> |
The port number. |
<priority-id> |
The priority ID. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set service lldp application-tlv tcp-port 4217 priority 6
nv set service lldp application-tlv udp-port <port-id> priority <priority-id>
Configures the application priority for UDP traffic for the specified port.
Command Syntax
Syntax | Description |
---|---|
<portid> |
The port number. |
<priority-id> |
The priority ID. |
Version History
Introduced in Cumulus Linux 5.9.0
Example
cumulus@switch:~$ nv set service lldp application-tlv udp-port 4317 priority 4
nv set service lldp lldp-med-inventory-tlv>
Configures the lldpd
service to send LLDP-MED Inventory TLV advertisements. By default, Cumulus Linux transmits LLDP-MED Inventory TLV advertisements on enabled ports.
LLDP-MED is an extension to LLDP that operates between endpoint devices, such as IP phones and switches. Inventory management TLV enables an endpoint to transmit detailed inventory information about itself to the switch, such as the hardware revision, firmware version, software version, serial number, manufacturer name, and model name.
You can disable LLDP-MED inventory TLV transmission if you want LLDP to receive LLDP-MED inventory TLVs (and publish them using SNMP, if enabled) but not send them.
Version History
Introduced in Cumulus Linux 5.7.0
Example
cumulus@switch:~$ nv set service lldp lldp-med-inventory-tlv off
nv set service lldp mode <mode>
Configures the lldpd
service to send only CDP frames or only LLDP frames. By default, the lldpd
service sends LLDP frames unless it detects a CDP peer, then it sends CDP frames. You can set the following options:
force-send-cdpv1
configures thelldpd
service to send only CDPv1 frames.force-send-cdpv2
configures thelldpd
service to send only CDPv2 frames.force-send-lldp
configures thelldpd
service to send only LLDP frames.
Version History
Introduced in Cumulus Linux 5.4.0
Example
cumulus@switch:~$ nv set service lldp mode force-send-cdpv1
nv set service lldp state
Enables and disables LLDP globally. Cumulus Linux enables the LLDP service by default.
When you disable LLDP globally, the lldp
service, and all LLDP and CDP packet transmission stops.
Version History
Introduced in Cumulus Linux 5.11.0
Example
cumulus@switch:~$ nv set service lldp state disabled
nv set service lldp tx-hold-multiplier
Configures the amount of time to hold LLDP information before discarding it. The hold time interval is a multiple of the tx-interval.
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set service lldp tx-hold-multiplier 3
nv set service lldp tx-interval
Configures the frequency of LLDP updates. You can specify a value between 10 and 300.
Version History
Introduced in Cumulus Linux 5.0.0
Example
cumulus@switch:~$ nv set service lldp tx-interval 100