Configuring vSRX Using the CLI

 

To configure the instance using the CLI:

  1. Verify that the vSRX instance is powered on.
  2. Log in as the root user (whose username is root). There is no password.
  3. Start the CLI.
  4. Enter configuration mode.
  5. Set the root authentication password by entering a cleartext password, an encrypted password, or an SSH public key string (DSA or RSA). The following is an example of a plain-text password. The CLI prompts you for the password and then encrypts it.
  6. Configure the hostname.
  7. Configure the management interface.
  8. Configure the traffic interfaces.
  9. Configure basic security zones and bind them to traffic interfaces.
  10. Verify the configuration changes.
  11. Commit the configuration to activate it on the instance.
Note

Certain Junos OS software features require a license to activate the feature. To enable a licensed feature, you need to purchase, install, manage, and verify a license key that corresponds to each licensed feature. To conform to software feature licensing requirements, you must purchase one license per feature per instance. The presence of the appropriate software unlocking key on your virtual instance allows you to configure and use the licensed feature.

See Managing Licenses for vSRX for details.