141
Parameters
disable
: Specifies the
Disable
mode. A port in this mode does not send or receive LLDPDUs.
rx
: Specifies the
Rx
mode. A port in this mode only receives LLDPDUs.
tx
: Specifies the
Tx
mode. A port in this mode only sends LLDPDUs.
txrx
: Specifies the
TxRx
mode. A port in this mode sends and receives LLDPDUs.
Examples
# Configure the LLDP operating mode as
Rx
for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp admin-status rx
lldp check-change-interval
Use
lldp check-change-interval
to enable LLDP polling and to set the polling interval.
Use
undo lldp check-change-interval
to restore the default.
Syntax
lldp check-change-interval interval
undo lldp check-change-interval
Default
LLDP polling is disabled.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default command level
2: System level
Parameters
interval
: Sets the LLDP polling interval in the range of 1 to 30 seconds.
Examples
# Enable LLDP polling on Ethernet 1/1, setting the polling interval to 30 seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp check-change-interval 30
lldp enable
Use
lldp enable
to enable LLDP.
Use
undo lldp enable
to disable LLDP.
Syntax
lldp enable
undo lldp enable
Default
LLDP is enabled on a port and is globally disabled.