Applying a License to a Juniper EX Series Switch

From NesevoWiki
Revision as of 17:05, 16 November 2017 by Lager (talk | contribs)
Jump to navigationJump to search
  • Get the license file named <SerialNumber>.txt, e.g. TW1234567890.txt
  • Open the license file in a text editor, the content will look something like this:
  JUNOS123456 abcdef abcdef abcdef abcdef abcdef abcdef
              ghijkl ghijkl ghijkl ghijkl ghijkl ghijkl
              uvwxyz uvwxyz uvwxyz uvwxyz uvwxyz ra
  • Change it so that the whole key is in one single line:
  JUNOS123456 abcdef abcdef abcdef abcdef abcdef abcdef ghijkl ghijkl ghijkl ghijkl ghijkl ghijkl uvwxyz uvwxyz uvwxyz uvwxyz uvwxyz ra
  • Connect to the JunOS device's serial console
  • Get into command mode (root>), i.e. type cli or exit if you're in shell or configure mode
  • Type show system license to check the licenses already installed
  • Type show chassis hardware and check if the chassis' serial nuber matches the license file name
  • Install the new license
    • Type request system license add trerminal
    • Paste the one-line license key (see above) from the license file into the terminal
    • Hit [ENTER] followed by [Ctrl-D]
    • In case of success, you should see the message add license complete (0 errors)
  • Type show system license to check the new license has been applied