1-7
Task
Remarks
Setting Other LLDP Parameters
Optional
Setting an Encapsulation Format for LLDPDUs
Optional
Configuring CDP Compatibility
Optional
Configuring LLDP Trapping
Optional
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…
Use the command…
Remarks
Enter system view
system-view
—
Enable LLDP globally
lldp enable
Required
By default, LLDP is enabled
global.
Enter Ethernet
interface view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Required
Use either command.
Enable LLDP
lldp enable
Optional
By default, LLDP is enabled on
a port.
Setting LLDP Operating Mode
LLDP can operate in one of the following modes.
z
TxRx mode. A port in this mode sends and receives LLDP frames.
z
Tx mode. A port in this mode only sends LLDP frames.
z
Rx mode. A port in this mode only receives LLDP frames.
z
Disable mode. A port in this mode does not send or receive LLDP frames.
Follow these steps to set LLDP operating mode: