beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 326

background image

22-16

[SwitchB-GigabitEthernet2/0/1] quit

3) Verify the configuration.

# Display the global LLDP status and port LLDP status on Switch A.

[SwitchA] display lldp status

Global status of LLDP : Enable

The current number of LLDP neighbors : 2

The current number of CDP neighbors : 0

LLDP 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 1 [GigabitEthernet2/0/1]:

Port status of LLDP : Enable

Admin status : Rx_Only

Trap flag : No

Polling interval : 0s

Number of neighbors : 1

Number of MED neighbors : 1

Number of CDP neighbors : 0

Number of sent optional TLV : 0

Number of received unknown TLV : 0

Port 2 [GigabitEthernet2/0/2]:

Port status of LLDP : Enable

Admin status : Rx_Only

Trap flag : No

Polling interval : 0s

Number of neighbors : 1

Number of MED neighbors : 0

Number of CDP neighbors : 0

Number of sent optional TLV : 0

Number of received unknown TLV : 3

As the sample output shows, GigabitEthernet 2/0/1 of Switch A connects to a MED device, and
GigabitEthernet 2/0/2 of Switch A connects to a non-MED device. Both ports operate in Rx mode, in
other words, they only receive LLDPDUs.

# Tear down the link between Switch A and Switch B and then display the global LLDP status and port
LLDP status on Switch A.

[SwitchA] display lldp status

Global status of LLDP : Enable

The current number of LLDP neighbors : 1

The current number of CDP neighbors : 0

LLDP neighbor information last changed time: 0 days,0 hours,5 minutes,20 seconds

Transmit interval : 30s