Cisco vs Juniper: Troubleshooting Commands Cheat Sheet - 夜莺博客

Cisco vs Juniper: Troubleshooting Commands Cheat Sheet

Engineers who work in multi-vendor environments constantly translate between Cisco IOS and Juniper Junos commands. This cheat sheet maps the most common troubleshooting commands side by side - management, routing table, BGP, IS-IS, and support collection - so you can diagnose the same problem on either platform without fumbling for syntax.

Management Commands

Cisco IOS Juniper Junos Description
show tech-support request support information | save /var/tmp/RSI.txt Collect support info for TAC
show version show system uptime Uptime and version
show processes cpu sorted show chassis routing-engine CPU utilization
show processes memory show system processes extensive Memory utilization
show users show system users Connected users
clear line X request system logout user ABC Disconnect a user

Routing Table

Cisco IOS Juniper Junos Description
show ip route show route Routing table
show ip cef show route forwarding-table Forwarding table
show ip route connected show route protocol direct Directly connected routes
show ip route static show route protocol static Static routes
- show route hidden Hidden routes (invalid next-hop etc.)

BGP Troubleshooting

Cisco IOS Juniper Junos Description
show ip bgp summary show bgp summary BGP neighbor summary
show ip bgp neighbor A.A.A.A advertised show route advertising-protocol bgp A.A.A.A Routes advertised to a peer
show ip bgp neighbor A.A.A.A received show route receive-protocol bgp A.A.A.A Routes received from a peer
show ip bgp show route protocol bgp BGP routes

IS-IS Commands

Cisco IOS Juniper Junos Description
show clns interface show isis interface IS-IS enabled interfaces
show clns neighbors show isis adjacency Protocol adjacencies
show isis database show isis database LSDB summary
show isis database verbose show isis database extensive Detailed LSDB
show ip route isis show route protocol isis IS-IS learned routes

Logs and Files

Cisco IOS Juniper Junos Description
show logging show log messages System logs
dir bootflash: file list Directory listing
- show system core-dumps Crash files / core dumps
show running-config show configuration Active configuration

The command families are conceptually identical - show vs show, show ip route vs show route - so translating between them is mostly about knowing the Junos protocol/table keywords.

Related articles: Juniper Ethernet interface troubleshooting checklist, Junos password recovery guide, and Cisco IOS password recovery procedure.

原文链接:https://www.bgphelp.com/2017/02/17/cisco-juniper-troubleshooting-commands