R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

219
Polling interval : 0s
Number of neighbors : 1
Number of MED neighbors : 1
Number of CDP neighbors : 0
Number of sent optional TLV : 0
Number of received unknown TLV : 5
Port 2 [GigabitEthernet4/0/2]:
Port status of LLDP : Enable
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
As shown in the sample output, GigabitEthernet 4/0/2 of Router A does not connect to any
neighboring devices.
CDP-compatible LLDP configuration example
Network requirements
As shown in Figure 78, configure voice VLAN 2 on Router. Enable CDP compatibility of LLDP on Router
to allow the Cisco IP phones to automatically configure the voice VLAN, confining their voice traffic to the
voice VLAN to isolate the voice traffic from other types of traffic.
Figure 78 Network diagram
Configuration procedure
1. Configure a voice VLAN on Router:
# Create VLAN 2.
<Router> system-view
[Router] vlan 2
[Router-vlan2] quit
# Set the link type of GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 to trunk and enable
voice VLAN on them.
[Router] interface GigabitEthernet 4/0/1
[Router-GigabitEthernet4/0/1] port link-type trunk
[Router-GigabitEthernet4/0/1] voice vlan 2 enable
[Router-GigabitEthernet4/0/1] quit