Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring cSRX Using the Junos OS CLI

This section provides basic CLI configurations that can be used for configuring cSRX containers. For more details see, Introducing the Junos OS Command-Line Interface.

To configure the cSRX container using the Junos OS CLI:

  1. Log in to the cSRX container using SSH which is accessed by cSRX exposed service port.
  2. Start the CLI as root user.
    Note:

    When a cSRX container is launched, if you specified to log into the cSRX container with an initial root password, access to the cSRX container using SSH will be enforced with user name and password.

  3. Verify the interfaces.

    root@> show interfaces

  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 hostname.
  7. Configure the two traffic interfaces.
  8. Configure basic security zones for the public and private interfaces and bind them to traffic interfaces.
  9. Verify the configuration.
  10. Commit the configuration to activate it on the cSRX instance.
  11. (Optional) Use the show command to display the configuration for verification.