Displaying and maintaining lldp, Lldp configuration examples, Basic lldp configuration example – H3C Technologies H3C S5560 Series Switches User Manual
Page 284: Network requirements
250
Step Command
Remarks
4.
Enable LLDP-MED trapping
(in Layer 2/Layer 3 Ethernet
interface view or
management Ethernet
interface view).
lldp notification med-topology-change
enable
By default, LLDP-MED
trapping is disabled.
5.
Return to system view.
quit
N/A
6.
(Optional.) Set the LLDP
trap transmission interval.
lldp timer notification-interval interval
The default setting is 30
seconds.
Displaying and maintaining LLDP
Execute display commands in any view.
Task Command
Display local LLDP information.
display lldp local-information [ global | interface interface-type
interface-number ]
Display the information contained
in the LLDP TLVs sent from
neighboring devices.
display lldp neighbor-information [ [ [ interface interface-type
interface-number ] [ agent { nearest-bridge | nearest-customer |
nearest-nontpmr } ] [ verbose ] ] | list [ system-name system-name ] ]
Display LLDP statistics.
display lldp statistics [ global | [ interface interface-type
interface-number ] [ agent { nearest-bridge | nearest-customer |
nearest-nontpmr } ] ]
Display LLDP status of a port.
display lldp status [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
Display types of advertisable
optional LLDP TLVs.
display lldp tlv-config [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
LLDP configuration examples
Basic LLDP configuration example
Network requirements
As shown in
, the NMS and Switch A are located in the same Ethernet network. A 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 perform the following tasks:
•
Monitor the link between Switch A and Switch B.
•
Monitor the link between Switch A and the MED device on the NMS.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module