Configuring vSRX Using the CLI

 

To configure the instance using the CLI:

  1. Verify that the instance is powered on.
  2. Log in using the username and password credentials for your vSRX VM deployment in Microsoft Azure.
  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).
  6. Configure the traffic interfaces.
    Note

    Configuration of the management interface fxp0 for the vSRX is not necessary because it is configured during vSRX VM deployment from Azure (Azure portal or Azure CLI deployment methods). Microsoft Azure performs its own IP address mapping for the VM management interface. Do not change the configuration for interface fxp0 and the default routing table or you will lose connectivity.

  7. Configure routing interfaces to isolate management network and traffic network.
  8. Verify the configuration changes
  9. Commit the current configuration to make it permanent and to avoid the possibility of losing connectivity to the vSRX.
  10. Commit the configuration to activate it on the instance.
  11. Optionally, use the show command to display the configuration to verify that it is correct.
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.