Lab 3: CDP

 
    ----- e0/1          e0/0   -----  
   | R1  | ────────────────── | R2  | 
    -----   .1             .2  -----  
e0/0  │.254    12.1.1.0/24            
      │                               
      │                               
      │   192.168.10.0/24             
      │                               
      │                               
   .1 │                               
    __  _                             
   [__]|=|                            
   /++/|_|                        
  

CDP : Layer 2

! Show neighbor
R1#show cdp neighbor
R1#show cdp neighbor details

! Check cdp enable or disable on interface e0/1
R1#show cdp inter e0/1

! show cdp traffic send and receive on inter f0/1
show cdp traffic inter e0/1


! Disable CDP on inter e0/0
R1(config)#interface e0/0
R1(config-if)#no cdp enable

! Enable CDP on inter e0/0
R1(config)#interface e0/0
R1(config-if)#cdp enable

! Disable CDP all interface
R1(config)#no cdp run 
R1#show cdp neighbors 
% CDP is not enabled

! Enable CDP all interface ( default)
R1(config)# cdp run