170[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] quit2. Configure CDP-compatible LLDP on Switch A# 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 tooperate in TxRx mode, and configure CDP-compatible LLDP to operate in TxRx mode on GigabitEthernet1/0/1 and GigabitEthernet 1/0/2.[SwitchA] interface gigabitethernet 1/0/1[SwitchA-GigabitEthernet1/0/1] lldp enable[SwitchA-GigabitEthernet1/0/1] lldp admin-status txrx[SwitchA-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx[SwitchA-GigabitEthernet1/0/1] quit[SwitchA] interface gigabitethernet 1/0/2[SwitchA-GigabitEthernet1/0/2] lldp enable[SwitchA-GigabitEthernet1/0/2] lldp admin-status txrx[SwitchA-GigabitEthernet1/0/2] lldp compliance admin-status cdp txrx[SwitchA-GigabitEthernet1/0/2] quit3. Verify the configuration# Display the neighbor information on Switch A.[SwitchA] display lldp neighbor-informationCDP neighbor-information of port 1[GigabitEthernet1/0/1]:CDP neighbor index : 1Chassis ID : SEP00141CBCDBFEPort ID : Port 1Sofrware version : P0030301MFG2Platform : Cisco IP Phone 7960Duplex : FullCDP neighbor-information of port 2[GigabitEthernet1/0/2]:CDP neighbor index : 2Chassis ID : SEP00141CBCDBFFPort ID : Port 1Sofrware version : P0030301MFG2Platform : Cisco IP Phone 7960Duplex : FullAs the sample output shows, Switch A has discovered the IP phones connected to GigabitEthernet 1/0/1and GigabitEthernet 1/0/2, and has obtained their LLDP device information.