beautypg.com

Lldp configuration examples, Basic lldp configuration example, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual

Page 1160: Configuration procedure

background image

1-13

LLDP Configuration Examples

Basic LLDP Configuration Example

Network requirements

As shown in

Figure 1-4

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

Switch B are connected to Ethernet 1/0/1 and Ethernet 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

Configuration procedure

1) Configure Switch A.

# Enable LLDP globally.

system-view

[SwitchA] lldp enable

# Enable LLDP on Ethernet 1/0/1 and Ethernet 1/0/2 (you can skip this step because LLDP is enabled

on ports by default), and set the LLDP operating mode to Rx.

[SwitchA] interface ethernet 1/0/1

[SwitchA-Ethernet1/0/1] lldp enable

[SwitchA-Ethernet1/0/1] lldp admin-status rx

[SwitchA-Ethernet1/0/1] quit

[SwitchA] interface ethernet 1/0/2

[SwitchA-Ethernet1/0/2] lldp enable

[SwitchA-Ethernet1/0/2] lldp admin-status rx

[SwitchA-Ethernet1/0/2] quit

2) Configure Switch B.

# Enable LLDP globally.

system-view

[SwitchB] lldp enable

# Enable LLDP on Ethernet1/0/1 (you can skip this step because LLDP is enabled on ports by default),

and set the LLDP operating mode to Tx.

[SwitchB] interface ethernet 1/0/1

[SwitchB-Ethernet1/0/1] lldp enable

[SwitchB-Ethernet1/0/1] lldp admin-status tx

This manual is related to the following products: