116
rx
: Specifies the
Rx
mode. A port in this mode only receives LLDP frames.
tx
: Specifies the
Tx
mode. A port in this mode only sends LLDP frames.
txrx
: Specifies the
TxRx
mode. A port in this mode sends and receives LLDP frames.
Examples
# Configure the LLDP operating mode as
Rx
for Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/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, port group view
Default command level
2: System level
Parameters
interval
: Sets the LLDP polling interval, ranging from 1 to 30 seconds.
Examples
# Enable LLDP polling on Ten-GigabitEthernet 1/0/1, setting the polling interval to 30 seconds.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] lldp check-change-interval 30
lldp compliance admin-status cdp
Use
lldp compliance admin-status cdp
to configure the operating mode of CDP-compatible LLDP on a
port or all ports in a port group.
Use
undo lldp compliance admin-status cdp
to restore the default.
Syntax
lldp compliance admin-status cdp
{
disable
|
txrx
}
undo lldp compliance admin-status cdp
Default
CDP-compatible LLDP operates in disable mode.