Technical Documentation

Changing Network and System Settings for a Junos Space Appliance

You can change some of the basic settings that you configured when you first installed and set up your Junos Space appliance. You can also change system time defaults and retrieve system log files for your appliance.

Each time you log in from the Junos Space system console, the Junos Space Appliance Settings menu is displayed. Follow the system prompts from the menu to set or modify any menu options. Password changes take effect immediately. Any configuration changes you make do not take effect until you apply the changes.

You can perform the following tasks from the Junos Space Appliance Settings menu:

Junos Space Appliance Settings Menu

1> Change Password
2> Set Routing
3> Set DNS Servers
4> Change Time Options
5> Retrieve Logs
6> Security
7> (Debug) run shell

Q> Quit
R> Redraw Menu

Choice [1-7,QR]:  

Changing the Password

To change your password:

  1. From the Junos Space Appliance Settings menu, enter 1 at the prompt.
  2. Enter y when prompted to change the password for an admin user.
  3. Type the new password and press Enter.
  4. Retype the new password and press Enter.

    Your password is updated and the setup program returns you to the main menu.

Setting Routing Option

The Set Routing option changes only the default gateway. You can not add a new static route using Set Routing. When you have only a management ETH0 interface configured, the Set Routing option allows you to change the default gateway for the Management interface. However, if you have both ETH0 and ETH3 interfaces configured, the Set Routing option provides two options: one to change the default gateway for the management interface ETH0; the other to change the gateway for the device management interface ETH3.

To modify options for the default gateway or static routing:

  1. From the Junos Space Appliance Settings menu, enter 2 at the prompt.
  2. Enter one of the following options:

    Note: Enter only option 1 if you have configured only ETH0. Enter both option 1 and/or 2 if you have configured both ETH0 and ETH3 interfaces.

    • Enter 1 to change default gateway options.

      Follow the prompts to change the IP address of the default gateway and return to the main menu.

    • Enter 2 to change the static routing options.

      Follow the prompts to add a new static route and return to the main menu.

Adding DNS Servers

You can add up to three DNS servers. Enter each one using dotted decimal notation (for example, 10.157.191.252. Each addition returns you to the main menu.

To add a DNS server:

  1. From the Junos Space Appliance Settings menu, enter 3 at the prompt.
  2. Enter 1 to add a nameserver.
  3. Enter the new nameserver in dotted decimal notation.

Repeat Step 1 through Step 3 to add another DNS server.

Setting the System Time

When you configure each Junos Space appliance or virtual appliance with an NTP server, you ensure that, if the first node (which is used to synchronize time for all nodes in the fabric) goes down, all other nodes in the fabric remain synchronized. To ensure this behavior, all nodes in a fabric must use the same external NTP source that you configure for the first appliance.

Note: When an NTP server is enabled on the first node in the cluster, all other nodes are synchronized with the NTP server time. However to ensure time synchronization across all nodes in a fabric in the event of failover, all nodes in a fabric should be configured using the same NTP server.

To change time options for an appliance:

  1. From the Junos Space Appliance Settings menu, enter 4 at the prompt.
  2. Enter 2 to set NTP servers.

    NTP servers automatically set the system clock based on external time sources.

  3. Enter one of the following values at the prompt:

    • 1 to enable or disable NTP.
    • 2 to add an NTP server.
    The remaining numbered options let you remove an NTP server from the list.
  4. Follow the prompts to enable, set, or delete the NTP servers and return to the main menu.

Retrieving Logs

To retrieve system log files, you can use SecureCopy (SCP) if the network is functional, or a USB device if the network is down.

Note: To save the system log file to a USB device, the device must be connected to the Junos Space appliance.

To retrieve system logs:

  1. From the Junos Space Appliance Settings menu, enter 5 at the prompt.
  2. Choose a method for retrieving log files from the Retrieve Logs submenu:
    1. To save the log files to USB , enter 1 and follow the prompts.

      Junos Space retrieves the log files on all cluster members and combines them into a tar file. After the file is created, you can copy the file onto a USB device.

    2. To save the log files using SCP enter 2 and follow the prompts.

      Junos Space retrieves the log files on all cluster members and combine them into a tar file. After the file is created, you can transfer the file to a remote SCP server.

Configuring Security

The Security CLI menu command allows you to enable and disable the firewall and SSH connection to an appliance. Enabling or disabling the firewall and SSH take place immediately.

You can enable the firewall to examine all traffic routed between the network and the appliance to prevent intrusion. The Enable Firewall option is enabled on the appliance by default. The Enable Firewall option toggles to Disable Firewall when the option is enabled.

Note: The only recommended time to disable the firewall is when using Service Now e-mail or SNMP notifications, or when using Service Now through a proxy.

Additionally, you can enable an SSH connection to the appliance. SSH is disabled by default. If SSH is disabled, you can still connect to an appliance through the serial console.

To enable a firewall:

Note: The firewall is enabled on the appliance by default.

  1. From the Junos Space Appliance Settings menu, enter 6. The submenu is displayed.
  2. If the firewall option is disabled, enter option 1 Enable Firewall.
  3. Type the password. You see the following at the prompt:
    Starting jmp-firewall: [  OK  ]
    

To disable a firewall:

  1. From the Junos Space Appliance Settings menu, enter 6. The submenu is displayed.
  2. If the firewall is enabled, enter option 1 Disable Firewall.
  3. Type the password. You see the following at the prompt:
    Flushing firewall rules: [  OK  ]
    Setting chains to policy ACCEPT: filter [  OK  ]
    Unloading iptables modules: [  OK  ]
    Stopping jmp-firewall: 
    

To enable SSH:

Note: SSH is enabled on the appliance by default.

  1. From the Junos Space Appliance Settings menu, enter 6. The submenu is displayed.
  2. If SSH is disabled, enter option 2 Disable SSH.
  3. Type the password. You see the following at the prompt:
    Starting sshd: [  OK  ]
     

    This action starts the SSH daemon process.

To disable SSH:

  1. From the Junos Space Appliance Settings menu, enter 6.The submenu is displayed.
  2. If SSH is enabled, enter option 2 Enable SSH.
  3. Type the password. You see the following at the prompt:
    Stopping  sshd: [  OK  ]
     

    This action stops the SSH daemon process.

Running the Shell

To run shell commands to debug Junos Space:

  1. From the Junos Space Appliance Settings menu, enter 7 and follow the prompts.

Published: 2010-03-22