You are logged into a router and wish to view
问题详情
You are logged into a router and wish to view the layer 3 information about your neighboring Cisco routers. What IOS command gives layer 3 information for of the directly connected router interfaces?
A. show ip links
B. show cdp neighbor
C. show cdp neighbor detail
D. show ip clients
E. show ip route
F. None of the above请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:C
C 解析:Explanation:
To display detailed information about neighboring devices discovered using Cisco Discovery Protocol (CDP), use the show cdp neighbors privileged EXEC command.
Detail - (Optional) Displays detailed information about a neighbor (or neighbors) including network address, enabled protocols, hold time, and software version.
Incorrect Answers:
A, D. These are invalid commands.
B. The "show cdp neighbor" command, without the "detail" keyword will not display the additional layer 3 protocol information.
E. This will show all routes from all other routers within the domain. We wish to see information from just the direct interface neighbors.