5-16Port 2 [GigabitEthernet1/0/2]:Port status of LLDP : EnableAdmin status : Rx_OnlyTrap flag : NoRoll time : 0sNumber of neighbors : 0Number of MED neighbors : 0Number of CDP neighbors : 0Number of sent optional TLV : 0Number of received unknown TLV : 0As the sample output shows, GigabitEthernet 1/0/2 of Switch A does not connect any neighboringdevices.CDP-Compatible LLDP Configuration ExampleNetwork requirementsAs shown in Figure 5-5:z GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A are each connected to a Cisco IPphone.z Configure voice VLAN 2 on Switch A. Enable CDP compatibility of LLDP on Switch A to allow theCisco IP phones to automatically configure the voice VLAN, thus confining their voice traffic withinthe voice VLAN to be isolated from other types of traffic.Figure 5-5 Network diagram for CDP-compatible LLDP configurationConfiguration procedure1) Configure a voice VLAN on Switch A# Create VLAN 2. 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 VLANon 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