Cdp-Compatible Lldp Configuration Example - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

Number of LLDP neighbors
Number of MED neighbors
Number of CDP neighbors
Number of sent optional TLV
Number of received unknown TLV : 0

CDP-compatible LLDP configuration example

Network requirements
As shown in
connected to a Cisco IP phone, which sends 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. The voice VLAN feature performs the
following actions:
Confines the voice traffic to the voice VLAN.
Isolates the voice traffic from other types of traffic.
Figure 75 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 CDP compatibility globally.
[SwitchA] lldp global enable
[SwitchA] lldp compliance cdp
# Enable LLDP on GigabitEthernet 1/0/1. By default, LLDP is enabled on ports.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] lldp enable
# Configure LLDP to operate in TxRx mode on GigabitEthernet 1/0/1.
[SwitchA-GigabitEthernet1/0/1] lldp admin-status txrx
Figure
75, GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A are each
: 0
: 0
: 0
: 16
244

Advertisement

Table of Contents
loading

Table of Contents