To do...
Enable LLDP trap sending
Quit to system view
Set the interval to send LLDP
traps
Displaying and Maintaining LLDP
To do...
Display the global LLDP
information or the information
contained in the LLDP TLVs to
be sent through a port
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
Figure
Switch B are connected to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A.
Enable LLDP on the ports of Switch A and Switch B to monitor the link between Switch A and Switch B
and the link between Switch A and the MED device on the NMS.
Figure 5-4 Network diagram for basic LLDP configuration
NMS
lldp notification remote-change
enable
quit
lldp timer notification-interval
interval
display lldp local-information
[ global | interface interface-type
interface-number ]
display lldp neighbor-information
[ brief | interface interface-type
interface-number [ brief ] | list
[ system-name system-name ] ]
display lldp statistics [ global |
interface interface-type
interface-number ]
display lldp status [ interface
interface-type interface-number ]
display lldp tlv-config [ interface
interface-type interface-number ]
5-4, the NMS and Switch A are located in the same Ethernet. An MED device and
MED
GE1/0/1
GE1/0/2
Switch A
Use the command...
Use the command...
GE1/0/1
Switch B
5-13
Remarks
Required
Disabled by default
—
Optional
5 seconds by default
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view