H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 357

31-10
# Enable LLDP globally.
[AC] lldp enable
# Enable LLDP on GigabitEthernet 0/0/1 and GigabitEthernet 0/0/2, setting the LLDP operating mode to
Rx.
[AC] interface GigabitEthernet0/0/1
[AC-GigabitEthernet0/0/1] lldp enable
[AC-GigabitEthernet0/0/1] lldp admin-status rx
[AC-GigabitEthernet0/0/1] quit
[AC] interface GigabitEthernet0/0/2
[AC-GigabitEthernet0/0/2] lldp enable
[AC-GigabitEthernet0/0/2] lldp admin-status rx
[AC-GigabitEthernet0/0/2] quit
2) Configure
Switch.
# Enter system view.
# Enable LLDP globally.
[Switch] lldp enable
# Enable LLDP on GigabitEthernet1/0/1, setting the LLDP operating mode to Tx.
[Switch] interface GigabitEthernet1/0/1
[Switch-GigabitEthernet1/0/1] lldp enable
[Switch-GigabitEthernet1/0/1] lldp admin-status tx
3) Verify the configuration.
# Display the global LLDP status and port LLDP status on AC.
Global status of LLDP : Enable
The current number of neighbors : 2
Neighbor information last changed time : 0 days, 0 hours, 4 minutes, 40 seconds
Transmit interval : 30s
Hold multiplier : 4
Reinit delay : 2s
Transmit delay : 2s
Trap interval : 5s
Fast start times : 3
Port 0 [GigabitEthernet0/0/1] :
Port status of LLDP : Enable
Admin status : Rx_Only
Trap flag : No
Roll time : 0s
Number of neighbors : 1
Number of MED neighbors : 1
Number of sent optional TLV : 0
Number of received unknown TLV : 0
Port 1 [GigabitEthernet0/0/2] :
Port status of LLDP : Enable
Admin status : Rx_Only