CertExams.com Simulator Lab Exercises Answers
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 neighborsCapability 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 
            
            Instructions:
1. Enter into privileged mode
2. Enter into global Configuration Mode of R1
3. Set IP Address of Serial 0/0 as 192.10.1.1 and Subnet Mask as 255.255.255.0
4. Exit the interface mode
5. Enter into global Configuration Mode of R2
6. Set IP Address of Serial 0/0 as 192.10.1.2 and Subnet Mask as 255.255.255.0
7. Type the command to view information about directly connected neighbors
R1>enable
          R1#configure terminal
          R1(config)#interface serial 0/0
          R1(config-if)#ip address 192.10.1.1 255.255.255.0
          R1(config-if)#no shutdown
          R1(config-if)#end
          
R2>enable
          R2#configure terminal
          R2(config)#interface serial 0/0
          R2(config-if)#ip address 192.10.1.2 255.255.255.0
          R2(config-if)#no shutdown
          R2(config-if)#end
          R2#show cdp neighbors