Performing basic lldp configuration, Enabling lldp, Setting lldp operating mode – H3C Technologies H3C S3600 Series Switches User Manual
Page 1154
1-7
Task
Remarks
Configuring the Management Address
Optional
Optional
Setting an Encapsulation Format for LLDPDUs
Optional
Optional
Optional
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 disabled
globally.
Enter Ethernet interface view
interface interface-type
interface-number
Required
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:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type
interface-number
Required
Set the LLDP operating mode
lldp admin-status { disable |
rx | tx | txrx }
Optional
TxRx by default.