SonicOS 7 NSv Getting Started Guide for Hyper-V

Connecting to the CLI and Management Console

There are two ways to connect to the management console:

  • Use SSH or PuTTY to access the public IP address of the NSv.

  • Use the Hyper-V manager to access the NSv CLI and NSv command line interface.

To connect to the CLI using SSH

  1. Launch PuTTY and type in the public IP address of the NSv.

  2. For Port, type in 22 if it is not already set.

    Changing the SSH port to anything other than 22 can prevent access to the SonicCore management console and the SonicOS CLI console.

  3. For Connection type, SSH should already be selected by specifying port 22.

  4. Click Open to open a console connection to access the CLI.

  5. When you are prompted to log in at the User prompt, enter the SonicOS administrator credentials (default: admin / password).

    Ensure to use the new password if you have updated the default password.

To use the CLI to change the default X0 IP address

  1. At the CLI prompt:

    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
  2. When IP address configuration and management settings are complete, type restart to reboot the NSv 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 instance from a browser, or ping the virtual machine from a command window or other application.

  3. Your default password must be changed at first time while logging in after reboot. Create a password that meets the security requirements. A password should have at least one uppercase letter, one lowercase letter, one number, and one special character. For example, MyP@ssw0rd.

    1. In Please enter old password, enter your default password.

    2. In Please enter a new password enter your new password.

    3. In Please re-enter new password re-enter your new password.

To connect to the management console through the Hyper-V Manager

  1. Bring up the Hyper-V Manager, select the NSv instance with a left-click and then right-click to select Connect.

  2. Wait for the NSv to boot to the command line in the Hyper-V Virtual Machine Connection window.

  3. Your default password must be changed at first time while logging in after reboot. Create a password that meets the security requirements. A password should have at least one uppercase letter, one lowercase letter, one number, and one special character. For example, MyP@ssw0rd.

    1. In Please enter old password, enter your default password.

    2. In Please enter a new password enter your new password.

    3. In Please re-enter new password re-enter your new password.

The management console then comes up.

See Navigating the NSv Management Console for more information about the options in the NSv management console.

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