JUNOS vs IOS Troubleshooting
Commands
Cisco Command Juniper Command Description
show ip interface brief show interface terse displays the status of interfaces configured for IP
show interface <name> show interfaces <name> detail
displays the interface configuration, status and
statistics.
show controller <name> show interfaces <name> extensive displays information about a physical port device
show interface | incl (proto|Desc) show interfaces description
displays the interface configuration, status and
statistics
show ip route show route
displays summary information about entries in the
routing table
show ip bgp summary show bgp summary
displays the status of all Border Gateway Protocol
(BGP) connections
show ip bgp net mask show route protocol bgp prefix
will show you how that route is being advertised,
look for the first line
show ip bgp net mask longer-prefixes show route range prefix
will show you how that route is being advertised,
look for the first line
Cisco Command Juniper Command Description
show ip bgp regexp AS-regexp
show route aspath-regexp "AS-
regexp"
displays routes matching the autonomous system
(AS) path regular expression
show ip bgp neighbors <ip> received-
routes
show route receive-protocol bgp
<ip>
Shows whether a neighbor supports the route
refresh capability
show route source-gateway <ip>
protocol bgp
show ip bgp neighbor <ip> advertised-
routes
show route advertising-protocol bgp
<ip>
Shows whether a neighbor supports the route
refresh capabilty
show clns neighbors show isis adjacency displays both ES and IS neighbors
show clns interface show isis interface shows specific information about each interface
show ip route isis show isis routes displays the current state of the the routing table
show isis topology show isis spf displays a list of all connected routers in all areas
show ip ospf interface show ospf neighbor
shows neighbor ID, Priority, IP, & State if the
neighbor router, dead time.
Cisco Command Juniper Command Description
show ip ospf interface show ospf interface
shows neighbor id, pri, state, dead time, address
and interface
show ip route ospf show ospf route display the current state of the routing table
show ip ospf database show ospf database
display list of information related to the OSPF
database for a specific communication server
show version show version, show system uptime
display the system hardware config., software
version, and name and source of configuration files
and boot images
show diags show chasis hardware displays power-on diagnostics status
show processes cpu show system process displays utilization statistics
show tech-support request support info
displays the current software image, configuration,
controllers, counters, stacks, interfaces, memory
and buffers
show logging show log messages display the state of logging to the syslog
Cisco Command Juniper Command Description
show route-map <name> show policy <name>
displayall route-maps configured or only the one
specified
show ip prefix-list <name> show policy <name>
display information about a prefix list or prefix list
entries
show ip community-list list
configure,
display routes that are permitted by BGP
community list
show policy-options community name
show environment all show chassis environment
displays temperature and voltage information on
the console
ping dest
ping dest rapid (for cisco like
output)
to check to see if a destination is alive
ping dest (for unix like output)
ping (setting source int) ping dest bypass-routing to check to see if a destination is alive
terminal monitor monitor start messages Change console terminal settings
terminal no monitor monitor stop Change console terminal settings
terminal length 0 set cli screen-length 0 sets the length for displaying command output
Cisco Command Juniper Command Description
MP-BGP
show bgp vpnv4 unicast all summary show bgp summary
shows all bgp session (JUNOS)/vpnv4 unicast bgp
peers (IOS)
show bgp vpnv4 unicast vrf <name> summary show bgp summary instance <name>
shows bgp information in a vrf instance
show bgp vpnv4 unicast vrf <name> neighbors
<ip> routes
show route receive-protocol bgp
<IP> to check specific route from a MP-BGP neighbor
show ip route vrf <name>
show route table <vrf-name>.inet.0
<route> to check specific vrf/vpn route table
Cisco Command Juniper Command Description
MPLS
show ip bgp vpnv4 all tags show route table mpls.0 to check vpn labels for a particular VRF
show mpls forwarding-table show route table mpls.0 Shows label forwarding information base
show mpls forwarding-table labels <label
value> show route label <label value> shows specific lablel opreation
show mpls ldp bindings show ldp database shows label information base
show mpls ldp discovery show ldp neighbor show ldp neighbor discovery
show mpls ldp neighbor show ldp session shows ldp session (tcp)
show mpls interfaces [detail] show mpls interface [detail] shows mpls enabled interface
Administrative Distace Route Prefrence Protocols
0 0 Connected
1 5 Static
110
10 internal
OSPF
150 External
115
15 Level 1 internal
ISIS
160 Level 1 External
18 Level 2 internal
165 Level 2 External
120 100 RIP
200 iBGP
170 BGP
20 eBGP

Junos vs ios Troubleshooting comands

  • 1.
    JUNOS vs IOSTroubleshooting Commands
  • 2.
    Cisco Command JuniperCommand Description show ip interface brief show interface terse displays the status of interfaces configured for IP show interface <name> show interfaces <name> detail displays the interface configuration, status and statistics. show controller <name> show interfaces <name> extensive displays information about a physical port device show interface | incl (proto|Desc) show interfaces description displays the interface configuration, status and statistics show ip route show route displays summary information about entries in the routing table show ip bgp summary show bgp summary displays the status of all Border Gateway Protocol (BGP) connections show ip bgp net mask show route protocol bgp prefix will show you how that route is being advertised, look for the first line show ip bgp net mask longer-prefixes show route range prefix will show you how that route is being advertised, look for the first line
  • 3.
    Cisco Command JuniperCommand Description show ip bgp regexp AS-regexp show route aspath-regexp "AS- regexp" displays routes matching the autonomous system (AS) path regular expression show ip bgp neighbors <ip> received- routes show route receive-protocol bgp <ip> Shows whether a neighbor supports the route refresh capability show route source-gateway <ip> protocol bgp show ip bgp neighbor <ip> advertised- routes show route advertising-protocol bgp <ip> Shows whether a neighbor supports the route refresh capabilty show clns neighbors show isis adjacency displays both ES and IS neighbors show clns interface show isis interface shows specific information about each interface show ip route isis show isis routes displays the current state of the the routing table show isis topology show isis spf displays a list of all connected routers in all areas show ip ospf interface show ospf neighbor shows neighbor ID, Priority, IP, & State if the neighbor router, dead time.
  • 4.
    Cisco Command JuniperCommand Description show ip ospf interface show ospf interface shows neighbor id, pri, state, dead time, address and interface show ip route ospf show ospf route display the current state of the routing table show ip ospf database show ospf database display list of information related to the OSPF database for a specific communication server show version show version, show system uptime display the system hardware config., software version, and name and source of configuration files and boot images show diags show chasis hardware displays power-on diagnostics status show processes cpu show system process displays utilization statistics show tech-support request support info displays the current software image, configuration, controllers, counters, stacks, interfaces, memory and buffers show logging show log messages display the state of logging to the syslog
  • 5.
    Cisco Command JuniperCommand Description show route-map <name> show policy <name> displayall route-maps configured or only the one specified show ip prefix-list <name> show policy <name> display information about a prefix list or prefix list entries show ip community-list list configure, display routes that are permitted by BGP community list show policy-options community name show environment all show chassis environment displays temperature and voltage information on the console ping dest ping dest rapid (for cisco like output) to check to see if a destination is alive ping dest (for unix like output) ping (setting source int) ping dest bypass-routing to check to see if a destination is alive terminal monitor monitor start messages Change console terminal settings terminal no monitor monitor stop Change console terminal settings terminal length 0 set cli screen-length 0 sets the length for displaying command output
  • 6.
    Cisco Command JuniperCommand Description MP-BGP show bgp vpnv4 unicast all summary show bgp summary shows all bgp session (JUNOS)/vpnv4 unicast bgp peers (IOS) show bgp vpnv4 unicast vrf <name> summary show bgp summary instance <name> shows bgp information in a vrf instance show bgp vpnv4 unicast vrf <name> neighbors <ip> routes show route receive-protocol bgp <IP> to check specific route from a MP-BGP neighbor show ip route vrf <name> show route table <vrf-name>.inet.0 <route> to check specific vrf/vpn route table
  • 7.
    Cisco Command JuniperCommand Description MPLS show ip bgp vpnv4 all tags show route table mpls.0 to check vpn labels for a particular VRF show mpls forwarding-table show route table mpls.0 Shows label forwarding information base show mpls forwarding-table labels <label value> show route label <label value> shows specific lablel opreation show mpls ldp bindings show ldp database shows label information base show mpls ldp discovery show ldp neighbor show ldp neighbor discovery show mpls ldp neighbor show ldp session shows ldp session (tcp) show mpls interfaces [detail] show mpls interface [detail] shows mpls enabled interface
  • 8.
    Administrative Distace RoutePrefrence Protocols 0 0 Connected 1 5 Static 110 10 internal OSPF 150 External 115 15 Level 1 internal ISIS 160 Level 1 External 18 Level 2 internal 165 Level 2 External 120 100 RIP 200 iBGP 170 BGP 20 eBGP