Here is a big difference on the way eBGP protocol behave on Cisco vs. On Cisco devices, the eBGP will send the prefixes, no matter of the peer ASN and it’s the task of the peer to apply the default policy when its own ASN is present in the AS-Path and deny the prefixes to be installed in the BGP table.
This document provides a cheat sheet of commonly used troubleshooting commands used in Cisco and Juniper environments. The list is incomplete. Please send us a note if you want to contribute.
Cisco IOS | Juniper JunOS | Description |
---|---|---|
show tech-support | request support info request support information save /var/tmp/RSI.txt file archive compress source RSI.txt destination RSI.txt.tgz | Gather support info for vendor’s TAC |
show hardware | show chassis hardware | Show hardware-related info |
show version | show system uptime | Show system’s uptime |
show processes cpu show processes cpu sorted show processes cpu history | show chassis routing-engine show system processes extensive show system threads | Verify CPU Utilization |
show processes memory show memory summary | show system processes extensive show task memory detail | Verify Memory Utilization |
dir bootflash: | show system core-dumps | Check for crash files / core dumps |
dir | file list | Show directory structure |
show system storage | Verify available storage space | |
show users | show system users | List connected users |
clear line X | request system logout user ABC | Disconnect user |
start shell | Enter Unix Shell | |
monitor traffic interface ge-0/0/1 | Monitor traffic on the interface (will not show transit packets) | |
monitor traffic interface ge-0/0/1 write-file test.pcap | Write control pacets into pcap file | |
show snmp mib walk .1.3.6.1.4.1.2636.3 | Walk SNMP OID directly on a router | |
request system software rollback | Request to the previous software version |
Cisco IOS | Juniper JunOS | Description |
---|---|---|
show ip route | show route | Show routing table |
show ip cef | show route forwarding-table | Show forwarding table |
show ip route connected | show route protocol direct | Show directly connected (attached) routes |
show ip route static | show route protocol static | Show static routes |
show route hidden | Show hidden routes. Invalid route, e.g. route with unreachable next-hop will be marked as hidden |
Cisco IOS | Juniper JunOS | Description |
---|---|---|
show ip bgp summary | show bgp summary | Show summary view of BGP neighbors |
show ip bgp neighbor A.A.A.A advertised | show route advertising-protocol bgp A.A.A.A | Check routes advertised towards a peer |
show ip bgp neighbor A.A.A.A received | show route receive-protocol bgp A.A.A.A | Check routes received from a peer |
show ip bgp | show route protocol bgp | Check BGP routes |
IOS | IOS-XR | JunOS | Description |
show clns interface | show isis interface | show isis interface | Show IS-IS enabled interfaces |
show clns neighbors | show isis adjacency | show isis adjacency | Show protocol adjacencies |
show clns traffic | show isis statistics | show isis statistics | IS-IS statistics |
show isis database | show isis database | show isis database | Brief Database Information |
show isis database verbose | show isis database verbose | show isis database extensive | Detailed Database Information |
show ip route isis | show route isis | show route protocol isis | IS-IS learned routes |
show isis adjacency-log show isis error-log Frutiger font substitute. It’s still one of the most downloaded font on the web. | IS-IS historical information |