Got it

Example for Configuring the STelnet Service to Enable Switch Management on the CLI

Latest reply: Jun 24, 2021 16:03:55 175 2 3 0 1

Example for Configuring the STelnet Service to Enable Switch Management on the CLI

Networking Diagram

Figure 1 Networking diagram for operating a switch on the CLI through the STelnet service
fig_dc_s_web_example_stelnet_01.png

  • Networking Requirements

  • Configuration Roadmap

  • Procedure

  • Verification

Networking Requirements

A user wants to configure the STelnet service through the web system, so that the user can operate a switch on the command line interface (CLI). Figure 1 shows the networking diagram for operating a switch on the CLI.

Configuration Roadmap

The configuration roadmap is as follows:

  1. Load the license file.

    icon-note.gif NOTE:

    The S1720GF, S1720GFR-P, S1720GW-E, S1720GWR-E, and S1720X-E have licenses installed before delivery. For details about how to obtain licenses for the S1720GW, S1720GWR, and S1720X, see S Series Switch License Use Guide.

  2. Enable the STelnet service.

  3. Create an SSH user.

Procedure

  • Load the license file.

    • Load a license file from your local computer

      Click liulan.png next to Select file and select the license file to be uploaded. Click Activate to restart the switch and activate the license file.

    • Load a license file from the server

      Enter the server IP address in the Server IP address text box, and click Activate to restart the switch and activate the license file.

  1. Choose Maintenance > System Maintenance > License. The license management page is displayed, as shown in Figure 2.


    Figure 2 License management
    fig_dc_s_web_example_stelnet_02.png


  2. You can manually load a license file from your local computer or the server.


    icon-note.gif NOTE:

    The switch will restart after you confirm license activiation, so it is recommended that you select Save the configuration and Reboot.


Enable the STelnet service.

  1. Choose Maintenance > System Maintenance > System and click the Service Management tab. The service management page is displayed.

  2. Set the STelnet function to ON, as shown in Figure 3.


    Figure 3 Service management
    fig_dc_s_web_example_stelnet_03.png


  3. Click Apply and click OK in the displayed dialog box to enable the STelnet service.

Create an SSH user.

  • User name: admin

  • Password: admin123

  • Confirm password: admin123

  • Access level: Management user

  • Access type: SSH

  1. Choose Maintenance > System Maintenance > Administrator. The administrator information page is displayed.

  2. Click Create. The page for creating an administrator account is displayed. Set the administrator information. Figure 4 shows the configuration result.


    Figure 4 Creating an account
    fig_dc_s_web_example_stelnet_04.png


  3. Click OK.

Verification

Open PuTTY, enter the switch's IP address to which you want to connect, and select the SSH protocol.
Figure 5 Configuration for logging into a switch using SSH through PuTTY
fig_dc_s_web_example_stelnet_05.png

Click Open. In the displayed page, enter the user name and password and press Enter. (The following information is for reference only.)

login as: adminSSH server: User Authentication
Using keyboard-interactive authentication
Password:

Info: The max number of VTY users is 8, and the number
      of current VTY users on line is 5.      The current login time is 2012-08-06 09:35:28+00:00.<huawei>


Thanks for sharing!
View more
  • x
  • convention:

So informative post, you have done a good job
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.