Cdp-Compatible Lldp Configuration Example - HP 5120 EI Series Lan Switching Configuration Manual

Hide thumbs Also See for 5120 EI Series:
Table of Contents

Advertisement

Number of MED neighbors
Number of CDP neighbors
Number of sent optional TLV
Number of received unknown TLV
As the sample output shows, GigabitEthernet 1/0/2 of Switch A does not connect to any
neighboring devices.

CDP-compatible LLDP configuration example

Network requirements
As shown in
connected to a Cisco IP phone. The two IP phones send out tagged voice traffic.
Configure voice VLAN 2 on Switch A. Enable CDP compatibility of LLDP on Switch A to allow the Cisco
IP phones to automatically configure the voice VLAN, confining their voice traffic within the voice VLAN
and isolating the voice traffic from other types of traffic.
Figure 68 Network diagram
Configuration procedure
Configure a voice VLAN on Switch A:
1.
# Create VLAN 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] quit
# Set the link type of GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to trunk and enable
voice VLAN on them.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port link-type trunk
[SwitchA-GigabitEthernet1/0/1] voice vlan 2 enable
[SwitchA-GigabitEthernet1/0/1] quit
[SwitchA] interface gigabitethernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] port link-type trunk
[SwitchA-GigabitEthernet1/0/2] voice vlan 2 enable
[SwitchA-GigabitEthernet1/0/2] quit
Configure CDP-compatible LLDP on Switch A:
2.
# Enable LLDP globally and enable LLDP to be compatible with CDP globally.
[SwitchA] lldp enable
[SwitchA] lldp compliance cdp
# Enable LLDP (you can skip this step because LLDP is enabled on ports by default.), configure LLDP
to operate in TxRx mode, and configure CDP-compatible LLDP to operate in TxRx mode on
GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] lldp enable
Figure
68, GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A are each
: 0
: 0
: 0
: 0
202

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 ei series5500 si series

Table of Contents