Performing basic lldp configuration, Enabling lldp, Setting the lldp operating mode – H3C Technologies H3C S7500E Series Switches User Manual
Page 318: Setting the lldp operating, Mode, Performing basic, Lldp, Configuration
22-8
Performing Basic LLDP Configuration
Enabling LLDP
To make LLDP take effect on certain ports, you must 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
port view
interface interface-type
interface-number
Enter Ethernet
port 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 the LLDP Operating Mode
LLDP can operate in one of the following modes.
TxRx mode. A port in this mode sends and receives LLDPDUs.
Tx mode. A port in this mode only sends LLDPDUs.
Rx mode. A port in this mode only receives LLDPDUs.
Disable mode. A port in this mode does not send or receive LLDPDUs.
Follow these steps to set the LLDP operating mode:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet
port view
interface interface-type
interface-number
Enter Ethernet
port view or
port group
view
Enter port group
view
port-group manual
port-group-name
Required
Use either command
Set the LLDP operating mode
lldp admin-status
{ disable |
rx
| tx | txrx }
Optional
TxRx by default