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

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

Advertisement

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 1-4 Network diagram for basic LLDP configuration
NMS
Configuration procedure
1)
Configure Switch A
# Enable LLDP globally.
<SwitchA> system-view
[SwitchA] lldp enable
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 ]
1-4, the NMS and Switch A are located in the same Ethernet. An MED device and
GE1/0/1
Switch A
Use the command...
MED
GE1/0/2
GE1/0/1
Switch B
1-13
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