LLDP-related configurations made in Ethernet interface view takes effect only on the current port, and
those made in port group view takes effect on all ports in the current port group.
Performing Basic LLDP Configuration
Enabling LLDP
To make LLDP take effect on certain ports, you need to enable LLDP both globally and on these ports.
Follow these steps to enable LLDP:
To do...
Enter system view
Enable LLDP globally
Enter
Ethernet
interface
view or port
group view
Enable LLDP
Setting LLDP Operating Mode
LLDP can operate in one of the following modes.
TxRx mode. A port in this mode sends and receives LLDP frames.
Tx mode. A port in this mode only sends LLDP frames.
Rx mode. A port in this mode only receives LLDP frames.
Disable mode. A port in this mode does not send or receive LLDP frames.
Follow these steps to set LLDP operating mode:
To do...
Enter system view
Enter
Ethernet
interface
view or port
group view
Set the LLDP operating mode
system-view
lldp enable
Enter Ethernet
interface interface-type
interface view
interface-number
Enter port
port-group manual
group view
port-group-name
lldp enable
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter port
port-group manual
group view
port-group-name
lldp admin-status { disable |
rx | tx | txrx }
Use the command...
Use the command...
5-7
Remarks
—
Required
By default, LLDP is disabled
global.
Required
Use either command.
Optional
By default, LLDP is enabled on
a port.
Remarks
—
Required
Use either command.
Optional
TxRx by default.