Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
disable: Specifies the Disable mode. A port in this mode cannot send or receive LLDPDUs.
rx: Specifies the Rx mode. A port in this mode can only receive LLDPDUs.
tx: Specifies the Tx mode. A port in this mode can only send LLDPDUs.
txrx: Specifies the TxRx mode. A port in this mode can send and receive LLDPDUs.
Examples
# Configure the LLDP operating mode as Rx for FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface fortygige 1/1/1
[Sysname-FortyGigE1/1/1] lldp admin-status rx
lldp agent nearest-nontpmr admin-status
Use lldp agent nearest-nontpmr admin-status to specify the operating mode for the LLDP nearest
non-TPMR bridge.
Use undo lldp agent nearest-nontpmr admin-status to restore the default.
Syntax
lldp agent nearest-nontpmr admin-status txrx
undo lldp agent nearest-nontpmr admin-status
Default
The operating mode for an LLDP nearest non-TPMR bridge is disable.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
txrx: Specifies the TxRx mode. A port in this mode can send and receive LLDPDUs.
Examples
# Configure the operating mode for the LLDP nearest non-TPMR bridge as TxRx on FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface fortygige 1/1/1
[Sysname-FortyGigE1/1/1] lldp agent nearest-nontpmr admin-status txrx
lldp check-change-interval
Use lldp check-change-interval to enable LLDP polling and set the polling interval.
191