Difference between revisions of "Applying a License to a Juniper EX Series Switch"

From NesevoWiki
Jump to navigationJump to search
 
Line 1: Line 1:
* Get the license file named <code><SerialNumber>.txt</code>, e.g. <code>TW1234567890.txt</code>
+
* Get the license file named <code><SerialNumber>.txt</code>, e.g. <code>TW1234567890.txt</code>, from http://my.juniper.net
 
* Open the license file in a text editor, the content will look something like this:
 
* Open the license file in a text editor, the content will look something like this:
 
   JUNOS123456 abcdef abcdef abcdef abcdef abcdef abcdef
 
   JUNOS123456 abcdef abcdef abcdef abcdef abcdef abcdef
Line 6: Line 6:
 
* Change it so that the whole key is in one single line:
 
* 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
 
   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
+
* Connect to the JunOS device's serial console (default is username ''root'' with no password)
 
* Get into command mode (<code>root></code>), i.e. type <code>cli</code> or <code>exit</code> if you're in ''shell'' or ''configure'' mode
 
* Get into command mode (<code>root></code>), i.e. type <code>cli</code> or <code>exit</code> if you're in ''shell'' or ''configure'' mode
 
* Type <code>show system license</code> to check the licenses already installed
 
* Type <code>show system license</code> to check the licenses already installed

Latest revision as of 17:12, 4 February 2020

  • Get the license file named <SerialNumber>.txt, e.g. TW1234567890.txt, from http://my.juniper.net
  • 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 (default is username root with no password)
  • 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 number matches the license file name
  • Install the new license
    • Type request system license add terminal
    • 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