S300, S500, S2700, S5700, and S6700 V200R024C00 Configuration Guide - Basic Configuration

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, BootLoad Menu Operation.

First Login Through the Web System (Traditional Management Mode)

First Login Through the Web System (Traditional Management Mode)

Context

If a switch uses the factory settings and you do not have the console communication cables, or no serial interface is available on the PC, you can use the web system to log in to the switch for the first time as follows:

  • For a switch with the ETH management interface, directly connect the PC to the ETH management interface to implement the first login through the web system.
  • For a switch with the MODE button, you can press and hold down the MODE button to implement the first login through the web system.
  • If you have logged in to the switch for the first time by holding down the MODE button for 6 seconds or longer and saved the configuration, default configurations of the ETH management interface are cleared. You are advised to preferentially log in to the device for the first time through the ETH management interface.
  • First login through the web system, SVF, USB-based deployment, and EasyDeploy cannot be used together.

Pre-configuration Tasks

Before logging in to a device through the web system, complete the following tasks:

  • The switch is powered on.
  • The switch uses the factory settings.

Default Settings

Table 5-2 Default settings for the web system login

Parameter

Default Setting

User privilege level

15

Login IP address

192.168.1.253

NOTE:

For a switch that uses factory settings and has the ETH management interface, the default IP address of the ETH management interface is 192.168.1.253. For other switches, the default IP address configured for Vlanif1 is 192.168.1.253 after the MODE button is held down.

Procedure

  1. Connect a PC to the switch.

    When you log in to the device through the web system for the first time, do not connect the device through a serial port. If you perform any operation through the serial port, you cannot log in to the device through the web system for the first time.

    • Directly connect the PC to the ETH management interface on the switch using network cables to achieve the first login.

      The default IP address of the ETH management interface on a switch is 192.168.1.253/24.

    • Connect the PC to any Ethernet electrical interface of the switch using network cables. Press and hold down the MODE button for 6 seconds or longer.

      Connect the PC to any Ethernet electrical interface of the switch using network cables. Press and hold down the MODE button for 6 seconds or longer. When all indicators on the switch are steady green, the switch enters the initial configuration mode, and the default IP address configured for Vlanif1 of the switch is 192.168.1.253/24.

    • If a switch has been configured when users press and hold down the MODE button for 6 seconds, all indicators blink green fast. In this case, the switch is restored to the normal state after 10 seconds, without affecting the existing configuration.
    • If a switch using factory settings has just started or has been configured through the serial interface when users press and hold down the MODE button for 6 seconds, the switch may fail to enter the initial configuration mode. When all indicators blink fast for 10s, the switch is restored to the factory default state.
    • When users hold down the MODE button for 6 seconds or longer, the device enters the initial configuration state. If users do not save the settings within 10 minutes, the device exits the initial configuration state and restores its factory settings.

  2. Configure an IP address for the PC.

    To ensure that the PC and switch are routable to each other, configure an IP address on the same network segment as the switch's IP address for the PC.

  3. Log in to the switch through the web system.

    Open the web browser on the PC, enter https://192.168.1.253 in the address bar, and press Enter. The web system user creation page is displayed, as shown in Figure 5-2. After a new user is created, the web system login page is displayed, as shown in Figure 5-3.

    The web system supports multiple browsers. You are advised to use the Firefox or Chrome browser of the latest version to log in to the web system. If the browser version is too early, the web page may not be displayed properly.

    When you log in to the web system for the first time, change the password to access the home page of the web system.

    Figure 5-2 User creation page of the web system
    Figure 5-3 First login page of the web system
    1. Enter the created user name and password.
    2. The following operation varies depending on different login methods:

      • If you log in to the switch for the first time by connecting the PC to the ETH management interface of the switch, the web system configuration page is directly displayed for device maintenance.

      • If you log in to the switch for the first time by pressing and holding down the MODE button, the initial configuration page is displayed, as shown in Figure 5-4.

        Click apply and save the configurations.

        After you exit from the initial configuration page, either of the following situations occurs depending on the configured management IP address:
        • The configured management IP address and 192.168.1.253/24 are on the same network segment. When you log out of the first login page of the web system, the web system login page is displayed.
        • The configured management IP address and 192.168.1.253/24 are on different network segments. When you log out of the first login page of the web system, you cannot log in to the switch through the web system. In this case, you need to re-configure the PC's IP address to make the PC and the switch routable to each other.
    Figure 5-4 Initial configuration page

    After performing basic settings listed in Table 5-3, you can log in to a switch through the web system. After the configurations are complete, you can log in to the switch through the web system. Table 5-4 describes the optional configurations. After the configurations are complete, you can log in to the switch through Telnet or STelnet.

    STelnet is more secure than Telnet, and is therefore recommended.

    Table 5-3 Basic settings

    Item

    Description

    Management IP Address

    Indicates the management IP address of the switch. The value is in dotted decimal notation.

    NOTE:

    To prevent an IP address conflict on the network, you are advised to modify the default IP addresses of switches before logging in to the switches for the first time.

    Mask

    Indicates the mask of the IP address. Select a subnet mask from the drop-down list box.

    WEB User Level

    Indicates the web user privilege level. Select a user privilege level from the drop-down list box. This parameter is optional.

    Web users are classified into management-level and monitoring-level users. If the user level is set to 3 or higher, the user has the management rights and is a management-level user of the web system. Users whose levels are lower than 3 are monitoring-level users of the web system. Management-level users have the permission to perform operations on all web pages, while monitoring-level users have only the ping and traceroute permissions.

    Table 5-4 Optional settings

    Item

    Description

    Device Name

    Specifies the device name.

    The device name cannot contain question marks (?) and cannot start with spaces.

    Telnet Server

    Sets the Telnet function: Enable or disable the Telnet function.

    Stelnet Server

    Sets the STelnet function: Enable or disable the STelnet function.

    User Name

    Specifies the Telnet or STelnet login user name.

    The user name cannot contain / : * ? " < > | ' or %, and cannot start with @.

    Password

    Specifies the password.

    A secure password should contain at least two types of the following: lowercase letters, uppercase letters, numerals, special characters (such as ! $ # %). In addition, the password cannot contain question marks (?), spaces, or single quotation marks (').

    Confirm Password

    Confirms the password.

    The format is the same as that of Password

    User Level

    Indicates the Telnet or STelnet user privilege level. Select a user privilege level from the drop-down list box.

    Web users are classified into management-level and monitoring-level users. If the user level is set to 3 or higher, the user has the management rights and is a management-level user of the web system. Users whose levels are lower than 3 are monitoring-level users of the web system. Management-level users have the permission to perform operations on all web pages, while monitoring-level users have only the ping and traceroute permissions.