Displaying and maintaining lldp, Lldp configuration examples, Basic lldp configuration example – H3C Technologies H3C S10500 Series Switches User Manual

Page 241: Network requirements, Configuration procedure

Advertising
background image

230

Displaying and maintaining LLDP

To do…

Use the command…

Remarks

Display the global LLDP

information or the information
contained in the LLDP TLVs to be

sent through a port

display lldp local-information [ global | interface
interface-type interface-number
] [ | { begin | exclude
| include } regular-expression ]

Available in any

view

Display the information contained

in the LLDP TLVs sent from
neighboring devices

display lldp neighbor-information [ brief | interface

interface-type interface-number [ brief ] | list
[ system-name system-name ] ] [ | { begin | exclude |

include } regular-expression ]

Available in any

view

Display LLDP statistics

display lldp statistics [ global | interface
interface-type interface-number ] [ | { begin | exclude

| include } regular-expression ]

Available in any
view

Display LLDP status of a port

display lldp status [ interface interface-type
interface-number
] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display types of advertisable
optional LLDP TLVs

display lldp tlv-config [ interface interface-type
interface-number
] [ | { begin | exclude | include }

regular-expression ]

Available in any
view

LLDP configuration examples

Basic LLDP configuration example

Network requirements

As shown in

Figure 75

, the NMS and Switch A are located in the same Ethernet. An MED device and

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 75 Network diagram for basic LLDP configuration

Configuration procedure

1.

Configure Switch A.

# Enable LLDP globally.

<SwitchA> system-view

Advertising