Polling interval
Number of neighbors
Number of MED neighbors
Number of CDP neighbors
Number of sent optional TLV
Number of received unknown TLV
Port 2 [GigabitEthernet4/0/2]:
Port status of LLDP
Admin status
Trap flag
Polling interval
Number of neighbors
Number of MED neighbors
Number of CDP neighbors
Number of sent optional TLV
Number of received unknown TLV
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
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 77 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
Figure
77, configure voice VLAN 2 on Router. Enable CDP compatibility of LLDP on Router
: 0s
: 1
: 1
: 0
: 0
: 5
: Enable
: Rx_Only
: No
: 0s
: 0
: 0
: 0
: 0
: 0
221