Cdp-compatible lldp configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 245

Advertising
background image

232

Admin status : Rx_Only

Trap flag : No

Polling interval : 0s

Number of neighbors : 0

Number of MED neighbors : 0

Number of CDP neighbors : 0

Number of sent optional TLV : 0

Number of received unknown TLV : 0

CDP-compatible LLDP configuration example

Network requirements

As shown in

Figure 84

, enable CDP compatibility of LLDP on Switch A.

Figure 84 Network diagram

Configuration procedure

1.

Configure CDP-compatible LLDP on Switch A:
# Enable LLDP globally, and enable CDP compatibility globally.

[SwitchA] lldp enable

[SwitchA] lldp compliance cdp

# Enable LLDP on GigabitEthernet 4/0/1. By default, LLDP is enabled on ports.

[SwitchA] interface gigabitethernet 4/0/1

[SwitchA-GigabitEthernet4/0/1] lldp enable

# Configure LLDP to operate in TxRx mode on GigabitEthernet 4/0/1.

[SwitchA-GigabitEthernet4/0/1] lldp admin-status txrx

[SwitchA-GigabitEthernet4/0/1] lldp compliance admin-status cdp txrx

[SwitchA-GigabitEthernet4/0/1] quit

# Enable LLDP on GigabitEthernet 4/0/2. By default, LLDP is enabled on ports.

[SwitchA] interface gigabitethernet 4/0/2

[SwitchA-GigabitEthernet4/0/2] lldp enable

# Configure LLDP to operate in TxRx mode on GigabitEthernet 4/0/2.

[SwitchA-GigabitEthernet4/0/2] lldp admin-status txrx

[SwitchA-GigabitEthernet4/0/2] lldp compliance admin-status cdp txrx

[SwitchA-GigabitEthernet4/0/2] quit

2.

Verify the configuration:
# Verify that Switch A has completed the following tasks:

{

Discovering the IP phones connected to GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2.

{

Obtaining IP phone information.

[SwitchA] display lldp neighbor-information

CDP neighbor-information of port 1[GigabitEthernet4/0/1]:

Advertising
This manual is related to the following products: