Lldp configuration examples, Basic lldp configuration example, Network requirements – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 194: Configuration procedure

183
Task Command
Remarks
Display LLDP status of a port.
display lldp status [ interface interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display types of advertisable
optional LLDP TLVs.
display lldp tlv-config [ interface
interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
LLDP configuration examples
Basic LLDP configuration example
Network requirements
As shown in
, the NMS and Switch A are located in the same Ethernet network. An MED device
and Switch B are connected to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A.
Enable LLDP globally on Switch A and Switch B to monitor the link between Switch A and Switch B and
the link between Switch A and the MED device on the NMS.
Figure 56 Network diagram
Configuration procedure
1.
Configure Switch A:
# Enable LLDP globally.
[SwitchA] lldp enable
# Enable LLDP on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. (You can skip this step
because LLDP is enabled on ports by default.) Set the LLDP operating mode to Rx.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] lldp enable
[SwitchA-GigabitEthernet1/0/1] lldp admin-status rx
[SwitchA-GigabitEthernet1/0/1] quit
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] lldp enable
[SwitchA-GigabitEthernet1/0/2] lldp admin-status rx
[SwitchA-GigabitEthernet1/0/2] quit
2.
Configure Switch B: