SonicOS 7 NSv Getting Started Guide for ESXi

Using the ESXi Remote Console to Configure the WAN or LAN Interfaces

You can use the ESXi remote console to set the IP address and network settings of the NSv Series interfaces, to change between static and DHCP addressing, and to enable SonicOS management on your NSv Series instance.

For example, depending on your network environment, you might need to configure a static IP address on your NSv Series X1 WAN interface. If you do so, you need to configure HTTPS management to allow remote management over the WAN.

The NSv Series X0 IP address is 192.168.168.168 by default. If your LAN network uses a different IP address range, then you might want to configure your NSv Series X0 IP address with an address in your existing LAN network. This allows you to manage SonicOS from a computer on your LAN.

The ESXi Remote Console allows you to log into the NSv Management console and use the command line interface (CLI) to configure these network settings.

To type within the console window, click your mouse inside the window. To regain control of your mouse, press Ctrl+Alt.

To use the console to enable SonicOS management

  1. Log into vSphere or vCenter and select your NSv Series instance in the left pane.

  2. Do one of the following to open the ESXi remote console:

    • Click on the image of the console to access the console in browser window.

    • The Launch Console dialog opens. You can select either Web Console or VMware Remote Console (VMRC). Optionally select Remember my choice. Then click OK.

    • Click Launch Remote Console.

    • Click Actions > Open Remote Console.

  3. Click inside the console window.

    Press Ctrl+Alt to regain control of your mouse, or with the Web Console method simply move your mouse away from the console area.

  4. Log in using the administrator credentials (default: admin/password).

  5. Use the show status command at the admin prompt to view interface settings and other information.

    You must press the spacebar when ---MORE--- displays to see additional interfaces at the end of the display. This way you can determine the WAN X1 IP address, even if you did not map any NSv interfaces to the ESXi vSwitch interfaces during installation.

  6. To use a static IP address for the WAN, type the following sequence of commands to enable a static IP and management access on the X1 WAN interface. The command prompt changes as you enter or exit different command levels. This command sequence that follows uses example IP address settings in the 10.203.26.0 network. These settings should be replaced with the correct settings for your environment.

    configure t
    interface x1
    ip-assignment WAN static
    ip 10.203.26.228 netmask 255.255.255.0
    gateway 10.203.26.1
    exit
    management https
    management ping
    management ssh
    exit
    commit

    After entering commit, the console displays Applying changes and other status information, then displays the config prompt. Type exit to return to the admin command level and prompt.

  7. To return to DHCP for the WAN address, type the following sequence of commands to enable DHCP and management access on the X1 WAN interface. The command prompt changes as you enter or exit different command levels.

    configure t
    interface x1
    ip-assignment WAN dhcp
    exit
    management https
    management ping
    management ssh
    exit
    commit

    After entering commit, the console displays Applying changes and other status information, then displays the configuration prompt. After a few seconds, the assigned DHCP address is displayed. You can access the SonicOS web management interface at that address.

  8. You can use the show status command at the admin prompt to view the assigned IP address for the X1 (WAN) interface and other information.

  9. To change the X0 LAN static IP address, use the following commands:

    SonicOS HTTPS management is enabled by default on the X0 interface.

    For a static IP address in an example 10.10.10.0/24 LAN network, enter:

    configure t
    interface x0
    ip 10.10.10.100 netmask 255.255.255.0
    exit
    exit
    commit

    An alternative approach to changing the X0 IP address to 192.168.1.1 at the CLI follows:

    config(2CB8ED694DF8)# interface X0
    (edit-interface[X0])# ip-assignment LAN static
    (edit-LAN-static[X0])# ip 192.168.1.1 netmask 255.255.255.0
    (edit-LAN-static[X0])# commit
    % Applying changes...
    % Status returned processing command:
    commit
    % Changes made
  10. When IP address configuration and management settings are complete, type restart to reboot NSv Series with the new settings.

    Press Ctrl+Alt to regain control of your mouse.

    After configuring an IP address and enabling management, you can log into SonicOS on your NSv Series instance from a browser, or ping the virtual machine from a command window or other application.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden