Description

This article provides information on how to deploy the PFE JBF image on a MPC.

Solution

To upgrade the JBF image, perform the following procedure:

  1. FTP or SFTP the .jbf image to the router.
  2. Copy the abc.jbf  file to the /usr/share/pfe location on the primary routing-engine, as well as the backup routing-engine.
  3. Ensure that the file is copied to the following directory and the md5 matches the following value, as shown below:
    root@router-re0% ls
    adpc.jbf asp.jbf ds3xl.fpga iq2-loader.jbf iq2e.jbf lsq-sg.jbf
    monitor.jbf mpsdk.jbf npc.jbf sdpc.jbf
    asp-sg.jbf clp.jbf ds3xla.fpga iq2.jbf lsq-sdpc.jbf lsq.jbf
    mop.jbf abc.jbf dpc-xlr.jb
    root@cheetah-re0% md5 abc.jbf
    MD5 (abc.jbf) = fb73bdaaec2bfef9b94df6a6fbcfa46d
    
  4.  Configure the following configuration under [edit chassis] for each slot to point to the new image and commit the configuration:
    user@router# show
    images {
        fpc {
            slot 0 {
                file abc.jbf ;
            }
        } 
    }
    
    Configure the above configuration by using the following command:
    [edit]
    user@router# set chassis images fpc slot X file abc.jbf, X == FPC slot number
    
  5. Check the Next Boot String to ensure that it points to the new .jbf file in the output of show boot on the MPC:
    NPC3(router-re0 vty)# show boot
    Boot String: boot -X 0 1 npc.jbf
    Boot File : npc.jbf
    Next Boot String: boot -X 0 1 abc.jbf
    NPC0(router-re0 vty)# sh ver
    Juniper Embedded Microkernel Version 10.2S6.3
    Built by builder on 2011-01-22 20:34:18 UTC
    Copyright (C) 1998-2011, Juniper Networks, Inc.
    All rights reserved.
    NPC platform (1067Mhz MPC 8548 processor, 2048MB memory, 512KB flash)
    Current time : Nov 8 22:39:37.947683
    Elapsed time : 0+00:18:39
    
  6. Reboot all the MPCs by using the following command:
    user@router>request chassis fpc slot X restart
    Where X is the FPC slot number.
  7. When the MPC reboots and comes up, check the Boot File name in the output of the MPC’s show version :
     
    1. Check the uptime of the MPC:
      NPC0(router-re0 vty)# show ver
      Juniper Embedded Microkernel Version 10.2I1
      Built by boonmark on 2011-11-08 22:04:16 UTC
      Copyright (C) 1998-2011, Juniper Networks, Inc.
      All rights reserved.
      NPC platform (1067Mhz MPC 8548 processor, 2048MB memory, 512KB flash)
      Current time : Nov 8 22:43:02.431983
      Elapsed time : 0+00:02:13
      
    2. Check the Boot String by using the show boot command on the MPC:
      NPC3(router-re0 vty)# show boot
      Boot String: boot -X 0 1 abc.jbf
      Boot File : abc.jbf
      Next Boot String: boot -X 0 1 abc.jbf
      
After the above procedure is completed and all the MPCs have been rebooted, they should all be upgraded and will be running the abc.jbf image.

Modification History

2022-02-25: Fixed a typo in step 2: abc.jpg to abc.jbf