Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What the deal with my CDPs

Status
Not open for further replies.

ase2dais

Technical User
Joined
Dec 21, 2001
Messages
58
Location
US
Hello Forum !

Initially my first config, CDP neighbors was working.
during the course of time, for security reason, I did a
"no cdp run" on it.

I enable it back with "cdp run" and my cdp neighbors is showing incomplete.

< >
ARMY#sh cdp neigh
Capability Codes: R-Router,T-Trans Bridge,B-Source Route Brd
S - Switch, H - Host, I - IGMP, r-repeater

Device ID Local Intrfce HoldtmeCapability Platform Port ID

ARMY#
<>

Where did it go? every routers are connnected and running, even telneted to them !


Al
 
Make sure that you have CDP enabled on teh interfaces..

Sometimes when you do the &quot;no cdp run&quot; it also applies a command to your interfaces..


BuckWeet
 
hey Buck !

I applied cdp run to all routers and all routers interface
and still the same. may theres something in the config file
that preventts it.
Heres my config :

Current configuration:
!
version 11.1
no service finger
no service udp-small-servers
no service tcp-small-servers
!
hostname AR
!
enable secret 5 $1$uHiv$7Ct1135L3xD/O80eDjqug0
enable password password
!
username admin privilege 15 password 7 12090404011C08
username root privilege 15 password 7 12090404011C08
username guest password 7 15020A1F173D2F
no ip bootp server
no ip source-route
!
interface Ethernet0
description &quot;e0 external to co 5.x network&quot;
ip address 131.107.5.1 255.255.255.0
ip helper-address 131.107.4.2
no mop enabled
!
interface Serial0
description &quot;no service network&quot;
no ip address
shutdown
!
interface Serial1
description &quot;s1 to fe s0 2.2&quot;
ip address 131.107.2.4 255.255.255.0
ip helper-address 131.107.4.2
!
interface BRI0
description &quot;no service network&quot;
ip address 131.107.6.1 255.255.255.0
shutdown
!
router eigrp 17222
network 131.107.0.0
!
router rip
network 131.107.0.0
!
ip host FE 131.107.4.1 131.107.2.2 131.107.2.3 131.107.5.1
ip host FI 131.107.3.1 131.107.2.1
ip host AR 131.107.5.1 131.107.2.4 131.107.6.1

ip domain-name AS.COM
no ip classless
logging buffered 16384
no logging console
logging trap debugging
logging 131.107.5.2
access-list 101 deny tcp any 131.107.4.0 0.0.0.255 eq telnet
banner motd
This is for authorized use and subject to auditing: ^C
privilege exec level 15 rlogin
privilege exec level 15 connect
privilege exec level 15 telnet
privilege exec level 0 enable
privilege exec level 15 configure terminal
privilege exec level 15 configure
privilege exec level 7 show cdp neighbors
privilege exec level 7 show cdp
privilege exec level 15 show ip access-lists
privilege exec level 1 show ip
privilege exec level 15 show access-lists
privilege exec level 15 show logging
privilege exec level 7 show running-config
privilege exec level 1 show
!
line con 0
exec-timeout 0 0
password passwd
login local
transport input none
line aux 0
no exec
exec-timeout 0 1
login local
line vty 0 4
password passwd
login local
!
end

AR#






























 
hey ! BuckWeet!

It works now! I had a brain fart and had my commands wrong, did was you said, enable cdp on interfaces and it showed up.

thks

AL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top