Step
Enable LLDP-MED
4.
trapping (in Layer 2/Layer
3 Ethernet interface view
or management Ethernet
interface view).
Return to system view.
5.
(Optional.) Set the LLDP
6.
trap transmission interval.
Displaying and maintaining LLDP
Execute display commands in any view.
Task
Display local LLDP
information.
Display the information
contained in the LLDP
TLVs sent from
neighboring devices.
Display LLDP statistics.
Display LLDP status of a
port.
Display types of
advertisable optional LLDP
TLVs.
LLDP configuration examples
Basic LLDP configuration example
Network requirements
As shown in
tasks:
•
Monitor the link between Switch A and Switch B on the NMS.
•
Monitor the link between Switch A and the MED device on the NMS.
Command
lldp notification med-topology-change
enable
quit
lldp timer notification-interval interval
Command
display lldp local-information [ global | interface interface-type
interface-number ]
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 [ global | [ interface interface-type interface-number ]
[ agent { nearest-bridge | nearest-customer | nearest-nontpmr } ] ]
display lldp status [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
display lldp tlv-config [ interface interface-type interface-number ] [ agent
{ nearest-bridge | nearest-customer | nearest-nontpmr } ]
Figure
74, enable LLDP globally on Switch A and Switch B to perform the following
239
Remarks
By default, LLDP-MED
trapping is disabled.
N/A
The default setting is 30
seconds.