Certexams practice tests and network simulator Register             Login

CertExams.com Simulator Lab Exercises Answers

Show CDP Neighbors

Description: We try some important cdp show commands. (Choose R1 from n/w diagram).

The command cdp neighbors provides the output in the following format:

Router#show cdp neighbors Capability Codes:
  R - Router, T - Trans Bridge, B - Source Route Bridge 
            S - Switch, H - Host, I - IGMP, r - Repeater 
            Device ID Local Intrfce Holdtme Capability Platform Port ID 
            7206          Eth 0 157     R           7206VXR Fas 0/0/0 


1. Enter into privileged mode 

2. Enter into global Configuration Mode 

3. Set IP Address of Serial 0 as and Subnet Mask as on R1

4. Set IP Address of Serial 0 as and Subnet Mask as on R2

5. Type the command to view information about directly connected neighbors

R1#configure terminal
R1(config)#interface s 0
R1(config-if)#ip address
R1(config-if)#no shutdown

R2#configure terminal
R2(config)#interface s 0
R2(config-if)#ip address
R2(config-if)#no shutdown
R2#show cdp neighbors

Real Time Web Analytics