Truth Shall Set You Free

Juniper M/J/T series Routers

Link to Juniper Products Overview

|Routing Engine|   (where junos lives, Cli)

|Packet Forwarding Engine| (forwarding user packets, filters..)

 RE Components

 Internal Compact Flash - Junos software, configuration
 External compact flash - copy of Junos for Disas recov (boots to factory defaults)
 Internal Hard Drive - Log files, debugs, user files, backup copy of junos
 CPU processorand Ram  - Routing tables, databases


 PFE --|Switching components| Flexible PIC concentrators (one or more AsICs in them)
 PIC|FPC|FPC|FPC|PIC| Physical Interface Card
 PIC|        |PIC| (queing, cos, filtering, policing,sampling, accounting)

 Switching component names

 1. C-FEB, Compressed Forwarding Engine Board
 - M7i and M10i each with one c-feb
 - integrates the circuit board with FPC
 2. FEB, Forwarding Engine Board
 - M5 and M10 with 1 each
 - int CB with FPC
 3. SSB, System Switching Board
  - M20 with 2 SSB slots
 - active / standby
 4. SCB, System Control Board
 - M40 with 1 SCB
 5. SFM, Switching and Forwarding Module
 - M40e with 2 SFMs, active/standby mode
 - M160 with 4 SFMs working in parallel

 Interfaces - Permanent and Transient

 1. Permanent interfaces always present in Router
 - lo0, single loopback int (can contain multiple /32 address)
 - fxp0, Out-of-band mgmt int connected to RE
 - fxp1, internal int for RE to PFE communications
 2. Transient int, can move and go or configured before putting the pic
 - carry user traffic
 - media-fpc/pic/port.unit (so-0/2/3.0, fe-5/1/2.300)
 3. Logical units (logical interface properties)
 - where IP address goes, support multiple IP address

 jbundle - contains all individual packages
  - for upgrading within a revision, ex from 6.3 to 6.4
 jinstall - for upgrading across a major version, ex from 6.4 to 7.2)
 ---------
 jkernel - basic components of OS
 jbase   - additions since last rev of jkernel
 jroute  - software runs on RE
 jpfe    - pfe software
 jdocs   - docs
 jcrpto  - security fns - ipsec, ssh, only in domestic ver (US and Ca)
 
 Type - Domestic or Export

 Boot Sequence
 Removable Media ---> Internal Flash ---> HD ---> Halt
                      (Primary boot loc)  (Sec bl)

 File Locations
 -/config, in internal Flash
          - active and few archived configuration
 -/var/db/config, in HD
   - archived config files
 -/var/tmp, in HD
   - core dumps for software crashes
 -/var/crash
   - Core dumps for hardware crashes
 -/var/log, in HD
   - log files, debugs, syslogs
 -/var/home, in HD
   - home dir for users

request support information | no-more
show log messages
show log chassisd
show chassis
show chassis hardware
show chassis environment
show chassis alarms
show version
Show interface extensive
show chassis cfeb
show firewall log
show heap 0
show chassis ssb 1 SSB status
Show log messages | match “Nov  6”
Show log chassisd | match “Nov  6”
show system processes extensive
show chassis fpc detail
show system boot-messages
show route forwarding-table destination 10.200.0.1
show route 200.75.12.249 detail

show system virtual-memory
show system buffer
show system queues
show system statistics
show interfaces extensive
show system storage
show system boot-messages
show pfe statistics error
show chassis fpc detail
show chassis routing-engine


request system halt
request sytem reboot  (restart)
show system core-dumps


start shell
su (if not logged in as root)
vty ssb
show nvram
show syslog messages

start shell pfe network cfeb0 (login to the CFEB using the command)
show syslog messages
 
core-dump file, look for the date and  upload  to Juniper FTP server. 
show system core-dumps' (hidden command) to check the files.
hardware crash===>/var/crash 
rpd ===> /var/tmp

The CB and RE work in unison so before you try and reseat CB0,
you will want to make RE1 the Master (request chassis routing-engine master switch). 
This will also cause CB1 to be the Master and there will be no effect when CB0 is
pulled and re-seated

request system software add <file name> reboot
<jbundle-5.3R2.4-domestic-signed.tgz>

save common (save candidate config to file common)