filtered result on show cdp neigh detail

Hi there,
I am planning an IP Phone firmware upgrade...It needs to be done on a specific floor first (as a pilot test) ... This floor has about 12 switches .... If I do show cdp neighbour detail on any of the switches, it shows me detailed stats (example below) .. What I'm interested only is in the Phone's MAC field, Phone Type field and its Version..

cdp neighbors detail
-------------------------
Device ID: SEPxxxxxxxx
Entry address(es):
  IP address: 10.x.x.x
Platform: Cisco IP Phone 7962,  Capabilities: Host Phone Two-port Mac Relay
Interface: GigabitEthernet0/3,  Port ID (outgoing port): Port 1
Holdtime : 120 sec
Second Port Status: Up

Version :
SCCP42.9-2-3S

I just need to know SEPxxxxxxx, 7962 and SCCP42.9-2-3S ... Can you suggest a command that I can use to so it pipes the result of show cdp neighbour detail to filter just the 3 fields I'm interest in ? i..e MAC, Device Type and Firmware.
Otherwise lot of manual work in excel ...
Bill1982Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

José MéndezCommented:
I imagine you just want to shut / no shut the switchports so that IP Phones restart and grab the new firmware value from the config file.

I wouldn't know how to get those details from IOS only. Probably achievable through a Linux script.

Now, what if you run these 3 commands:

#sh cdp nei det | i Device ID
#sh cdp nei det | i Platform
#sh cdp nei det | i Version

Paste the outputs in different columns in a spreadsheet. You should not get that many results from non Cisco phones, remember that not every network device runs CDP, so you should not have to trim out that many lines
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.