185
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 receives LLDPDUs only.
tx
: Specifies the
Tx
mode. A port in this mode sends LLDPDUs only.
txrx
: Specifies the
TxRx
mode. A port in this mode sends and receives LLDPDUs.
Description
Use the
lldp admin-status
command to specify the LLDP operating mode for a port or all the ports in a
port group.
Use the
undo lldp admin-status
command to restore the default LLDP operating mode.
The default LLDP operating mode is
TxRx
.
Examples
# Configure the LLDP operating mode as
Rx
for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp admin-status rx
lldp check-change-interval
Syntax
lldp check-change-interval
interval
undo lldp check-change-interval
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
interval
: Sets the LLDP polling interval, ranging from 1 to 30 seconds.
Description
Use the
lldp check-change-interval
command to enable LLDP polling and set the polling interval.
Use the
undo lldp check-change-interval
command to restore the default.
By default, LLDP polling is disabled.
Examples
# Enable LLDP polling on GigabitEthernet 1/0/1, setting the polling interval to 30 seconds.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp check-change-interval 30