cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
705
Views
6
Helpful
11
Replies

How to check CDP Neighbor UPTIME

ALI12
Level 1
Level 1

Hello Team,

Does there's anyway to check CDP Neighbor Uptime on :cisco WS-C6506-E

Thanks in Advance 

 

11 Replies 11

Max Jobs
Level 1
Level 1

Hi buddy,

Don't hesitate to use this command:

show cdp neighbor detail

 

Thanks @Max Jobs for your reply,

I used it but not showing the neighbor UpTime 

Cdp uptime ? Can you more elaborate.

Uptime of neighbor through cdp?

MHM

yes @MHM Cisco World 

that's what I mean , 

Uptime of neighbor through cdp

Let me check cdp tlv' if there is way to send uptime as cdp tlv.

Update you today 

Thanks 

MHM

I have not seen this as a configurable TLV anywhere before. Please do correct me if I am wrong.

See the following documentation: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cdp/configuration/15-mt/cdp-15-mt-book/nm-cdp-secure-cdp.html

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

version <<- since we can know uptime by show version then I was thinking using TLV version to get some info from CDP 
unfortunately in me lab I can not use this TLV 
@ALI12 try if you can use tlv version

if not work then there is no other way

show cdp neighbor detail

in end there is IP device use as mgmt IP use it to access and do show version 

thanks 

MHM 

Max Jobs
Level 1
Level 1

ALI, If you mean timmer or holdtime, here is some commands:

DescriptionCommand

Configure CDP Timer

HQ_Router(config)# cdp timer 100

Configure CDP Holdtime

HQ_Router(config)# cdp holdtime 200

 

DescriptionCommand

Enter privileged EXEC mode (Enter your password if prompted)

HQ_Router>enable

Display information about neighboring devices

HQ_Router#show cdp neighbors

Display detailed information about neighboring devices

HQ_Router#show cdp neighbors detail

Display detailed information about neighboring devices 

HQ_Router# show cdp entry *

Display IP addresses of each directly connected neighbor

HQ_Router#show cdp entry * protocols 

Display IOS version of each directly connected neighbor 

HQ_Router# show cdp entry * version

I mean Uptime of neighbor through cdp , 

I think as @Torbjørn reply,  there's no way to see the uptime of a neighboring device

 

However , thank you @Max Jobs for your reply 

Torbjørn
Spotlight
Spotlight

There is unfortunately no way to see the uptime of a neighboring device from CDP directly. That data is simply not included in the CDP frames. You can find the neighbor management IP address with "show cdp neighbor" and log into the device to check uptime with "show version",

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Thanks @Torbjørn for this info

Review Cisco Networking for a $25 gift card