Lldp configuration examples, Basic lldp configuration example, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual
Page 325: Configuration procedure
22-15
LLDP Configuration Examples
Basic LLDP Configuration Example
Network requirements
As shown in
, the NMS and Switch A are located in the same Ethernet. An MED device and
Switch B are connected to GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 of Switch A.
Enable LLDP on the ports of 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 22-4
Network diagram for basic LLDP configuration
NMS
Switch A
MED
Switch B
GE2/0/2
GE2/0/1
GE2/0/1
Configuration procedure
1) Configure Switch A.
# Enable LLDP globally.
[SwitchA] lldp enable
# Enable LLDP on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 (you can skip this step because
LLDP is enabled on ports by default), and set the LLDP operating mode to Rx.
[SwitchA] interface gigabitethernet2/0/1
[SwitchA-GigabitEthernet2/0/1] lldp enable
[SwitchA-GigabitEthernet2/0/1] lldp admin-status rx
[SwitchA-GigabitEthernet2/0/1] quit
[SwitchA] interface gigabitethernet2/0/2
[SwitchA-GigabitEthernet2/0/2] lldp enable
[SwitchA-GigabitEthernet2/0/2] lldp admin-status rx
[SwitchA-GigabitEthernet2/0/2] quit
2) Configure Switch B.
# Enable LLDP globally.
[SwitchB] lldp enable
# Enable LLDP on GigabitEthernet2/0/1 (you can skip this step because LLDP is enabled on ports by
default), and set the LLDP operating mode to Tx.
[SwitchB] interface gigabitethernet2/0/1
[SwitchB-GigabitEthernet2/0/1] lldp enable
[SwitchB-GigabitEthernet2/0/1] lldp admin-status tx