Displaying And Maintaining Lldp; Lldp Configuration Examples; Lldp Basic Configuration Example - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Follow these steps to configure LLDP trap:
To do...
Enter system view
Enter
Ethernet
interface
view/port
group view
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
received through a port
Display LLDP statistics
Display LLDP status of a port
Display the types of the LLDP
TLVs that are currently sent

LLDP Configuration Examples

LLDP Basic Configuration Example

Network requirements
The NMS and Switch A are located in the same Ethernet. An MED device and Switch B are
connected to GigabitEthernet1/0/1 and GigabitEthernet1/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.
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter port
port-group manual
group view
port-group-name
lldp notification
remote-change enable
quit
lldp timer
notification-interval value
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 ]
Use the command...
Use the command...
1-11
Remarks
Either of the two is required.
Configuration performed in
Ethernet interface view applies
to the current port only;
configuration performed in port
group view applies to all the
ports in the corresponding port
group.
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

Advertisement

Chapters

Table of Contents
loading

Table of Contents