5-14Configuration procedure1) Configure Switch A.# Enable LLDP globally. system-view[SwitchA] lldp enable# Enable LLDP on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 (you can skip this step becauseLLDP is enabled on ports by default), and 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] quit2) Configure Switch B.# Enable LLDP globally. system-view[SwitchB] lldp enable# Enable LLDP on GigabitEthernet1/0/1 (you can skip this step because LLDP is enabled on ports bydefault), and set the LLDP operating mode to Tx.[SwitchB] interface gigabitethernet 1/0/1[SwitchB-GigabitEthernet1/0/1] lldp enable[SwitchB-GigabitEthernet1/0/1] lldp admin-status tx[SwitchB-GigabitEthernet1/0/1] quit3) Verify the configuration.# Display the global LLDP status and port LLDP status on Switch A.[SwitchA] display lldp statusGlobal status of LLDP : EnableThe current number of LLDP neighbors : 2The current number of CDP neighbors : 0LLDP neighbor information last changed time: 0 days,0 hours,4 minutes,40 secondsTransmit interval : 30sHold multiplier : 4Reinit delay : 2sTransmit delay : 2sTrap interval : 5sFast start times : 3Port 1 [GigabitEthernet1/0/1]:Port status of LLDP : EnableAdmin status : Rx_OnlyTrap flag : No