There are many ways to filter output, but this will, at least, add the top line of the show cdp neighbor detail command to isolate everything for you
show cdp ne det | egrep '^-|Device|Port|Remote'
There are many ways to filter output, but this will, at least, add the top line of the show cdp neighbor detail command to isolate everything for you
show cdp ne det | egrep '^-|Device|Port|Remote'