Latest

Part 1: Juniper Network Commands for troubleshooting

Juniper is one of the leading vendor organization in Routing & Switching product portfolio and also working towards the Datacenter and SDWAN platform. In this article we are going to walk through the Juniper Commands used for various purposes as below 

Fig 1.1- Juniper Routers

Chassis Management

  • show chassis alarm 
  • show chassis craft-interface
  • set chassis display message "M40e unit for swap"
  • show chassis environment 
  • show chassis temperature-thresholds 
  • show chassis routing-engine
  • show chassis hardware 
  • show chassis fpc 
  • show chassis fpc detail
  • show chassis fpc pic-status
  • show chassis pic fpc-slot 0 pic-slot 1
  • show chassis mac-addresses 
  • show chassis [feb | scb | ssb | sfm slot] 

System management

  • show host
  • show version
  • show system software
  • show system uptime
  • show system processes
  • show system statistics
  • show system connections
  • show system users
  • show system storage
  • show system boot-messages
  • show system virtual-memory
  • request system reboot
  • request system halt
  • request system reboot
  • request system snapshot
  • request support information
  • request system software add <pkgname>
  • restart <process> [ gracefully, immediately, soft]
  • request chassis routing-engine diagnostics all
Check the Logs

  • show log messages
  • show log  file-name
  • show log cli
  • show log chassisd
  • show log install
  • show log debug
  • show log messages?
  • show log inventory
  • monitor start  file-name
  • monitor stop
  • help syslog
RIP ( Routing Information Protocol)
  • show rip neighbor
  • show route protocol rip
  • show route advertising-protocol rip 1.1.1.1
  • show route receiving-protocol rip 1.1.1.1
  • show rip statistics

OSPF Commands 
  • show ospf neighbor
  • show ospf neighbor extensive
  • clear ospf neighbor 
  • show ospf statistics
  • show ospf interface
  • show ospf interface extensive
  • show ospf route
  • show route protocol ospf
  • show ospf database
  • show ospf database summary
  • show ospf database brief
  • clear ospf database purge
  • show ospf database
  • show ospf database router advertising-router 1.0.1.1 detail
  • show ospf database router area 0 extensive
  • show ospf database area 0 lsa-id extensive
  • show ospf log
  • show bfd session
IS-IS Commands
  • show isis adjacency
  • show isis adjacency extensive
  • clear isis adjacency
  • show isis interface
  • show isis interface details
  • show isis hostname
  • show isis spf log
  • show isis statistics
  • show isis route
  • show route protocol isis
  • show isis database
  • show isis database detail
  • show isis database GRTMADPE2 detail
  • show isis database extensive [level 1 | 2]