Difference between revisions of "Loading a configuration onto a JunOS device"

From NesevoWiki
Jump to navigationJump to search
(Created page with "* Copy your config file to a FAT32 formatted USB thumb drive (the drive ''must'' contain exactly one partition that stretches over the whole device) * Boot up the Juniper devi...")
 
Line 14: Line 14:
 
** Type [ENTER] and the [Ctrl-D] to exit load mode
 
** Type [ENTER] and the [Ctrl-D] to exit load mode
 
* Type <code>commit</code> to activate the loaded configuration
 
* Type <code>commit</code> to activate the loaded configuration
 +
* Unmount the USB drive (<code>umount /mnt/usb</code>) before unplugging it

Revision as of 11:36, 15 November 2017

  • Copy your config file to a FAT32 formatted USB thumb drive (the drive must contain exactly one partition that stretches over the whole device)
  • Boot up the Juniper device and connect to its serial console
  • You should see a root@> prompt
  • Type start shell to get the root@% prompt
  • Create a mount directory: mkdir /mnt/usb
  • Plug in the USB drive and mount it: mount -t msdosfs /dev/da1s1 /mnt/usb
  • Type exit to exit the shell
  • From the root@> prompt enter configure to get into config mode (you'll see a root@# prompt)
  • Variant A:
    • Use the following command to load the configuration: load override /mnt/usb/<config file name>
    • Type commit to activate the configuration
  • Variant B:
    • Type load override terminal to paste in configuration commands (the Cisco way)
    • Type [ENTER] and the [Ctrl-D] to exit load mode
  • Type commit to activate the loaded configuration
  • Unmount the USB drive (umount /mnt/usb) before unplugging it