145LLDP configuration examplesBasic LLDP configuration exampleNetwork requirementsAs shown in Figure 55, the NMS and Router A are located in the same Ethernet.Enable LLDP on the ports of Router A and Router B to monitor the link between Router A and Router B andthe link between Router A and the MED device on the NMS.Figure 55 Network diagramConfiguration procedure1. Configure Router A:# Enable LLDP globally. system-view[RouterA] lldp enable# Enable LLDP on GigabitEthernet 4/1/1 and GigabitEthernet 4/1/2 (you can skip this stepbecause LLDP is enabled on ports by default), and set the LLDP operating mode to Rx.[RouterA] interface gigabitethernet 4/1/1[RouterA-GigabitEthernet4/1/1] lldp enable[RouterA-GigabitEthernet4/1/1] lldp admin-status rx[RouterA-GigabitEthernet4/1/1] quit[RouterA] interface gigabitethernet 4/1/2[RouterA-GigabitEthernet4/1/2] lldp enable[RouterA-GigabitEthernet4/1/2] lldp admin-status rx[RouterA-GigabitEthernet4/1/2] quit2. Configure Router B:# Enable LLDP globally. system-view[RouterB] lldp enable# Enable LLDP on GigabitEthernet 4/1/1 (you can skip this step because LLDP is enabled on portsby default), and set the LLDP operating mode to Tx.[RouterB] interface gigabitethernet 4/1/1[RouterB-GigabitEthernet4/1/1] lldp enable[RouterB-GigabitEthernet4/1/1] lldp admin-status tx[RouterB-GigabitEthernet4/1/1] quit