Configuration procedure, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 184

Advertising
background image

173

Figure 53 Network diagram

Configuration procedure

1.

Configure Switch A:
# Enable LLDP globally.

<SwitchA> system-view

[SwitchA] lldp global enable

# Enable LLDP on Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2. (You can skip this

step because LLDP is enabled on ports by default.) Set the LLDP operating mode to Rx.

[SwitchA] interface ten-gigabitethernet 1/0/1

[SwitchA-Ten-GigabitEthernet1/0/1] lldp enable

[SwitchA-Ten-GigabitEthernet1/0/1] lldp admin-status rx

[SwitchA-Ten-GigabitEthernet1/0/1] quit

[SwitchA] interface ten-gigabitethernet 1/0/2

[SwitchA-Ten-GigabitEthernet1/0/2] lldp enable

[SwitchA-Ten-GigabitEthernet1/0/2] lldp admin-status rx

[SwitchA-Ten-GigabitEthernet1/0/2] quit

2.

Configure Switch B:
# Enable LLDP globally.

<SwitchB> system-view

[SwitchB] lldp global enable

# Enable LLDP on Ten-GigabitEthernet 1/0/1. (You can skip this step because LLDP is enabled on

ports by default.) Set the LLDP operating mode to Tx.

[SwitchB] interface ten-gigabitethernet 1/0/1

[SwitchB-Ten-GigabitEthernet1/0/1] lldp enable

[SwitchB-Ten-GigabitEthernet1/0/1] lldp admin-status tx

[SwitchB-Ten-GigabitEthernet1/0/1] quit

Verifying the configuration

# Display the global LLDP status and port LLDP status on Switch A.

[SwitchA] display lldp status

Global status of LLDP: Enable

Bridge mode of LLDP: customer-bridge

The current number of LLDP neighbors: 2

The current number of CDP neighbors: 0

LLDP neighbor information last changed time: 0 days, 0 hours, 4 minutes, 40 seconds

Transmit interval : 30s

Fast transmit interval : 1s

Advertising
This manual is related to the following products: