No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuration Example

Configuration Example

This section provides configuration examples for first login, including the examples for configuring the system time, system name, management IP address, and login using Telnet.

Example for Performing Basic Configuration on the Device at First Login

Networking Requirements

After logging in to the device through the console port, perform basic device configuration, and set the user level to 15 and authentication mode to AAA for users 0-4 who perform remote login through Telnet.

Figure 1-7 Networking diagram for configuring the device through the console port

Configuration Roadmap
  1. Log in to the device through the console port.

  2. Configure the device.

Procedure

  1. Log in to the device from PC1 through the console port. For details, see Logging In Through the Console Port.
  2. Configure the device.

    # Set the device name and IP address of the management interface.

    <HUAWEI> system-view
    [~HUAWEI] sysname Server
    [*HUAWEI] commit
    [~Server] interface meth 0/0/0
    [*Server-MEth0/0/0] ip address 10.137.217.177 24
    [*Server-MEth0/0/0] quit

    # Set the user level and authentication mode for Telnet users.

    [*Server] undo telnet server disable
    [*Server] user-interface vty 0 4
    [*Server-ui-vty0-4] user privilege level 15
    [*Server-ui-vty0-4] authentication-mode aaa
    [*Server-ui-vty0-4] quit
    [*Server] aaa
    [*Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [*Server-aaa] local-user admin1234 level 15
    [*Server-aaa] local-user admin1234 service-type telnet
    [*Server-aaa] commit
    [~Server-aaa] quit

  3. Verify the configuration.

    When completing the configuration, you can log in to the device through Telnet on PC2.

    Access the command line interface of Windows 7 and log in to the device through Telnet.

    C:\Users\Administrator> telnet 10.137.217.177

    Press Enter. On the displayed login page, enter the user name and password. If the authentication succeeds, the command line interface for the user view is displayed. (The following information is only for reference.)

    Username:admin1234
    Password:
    Info: The max number of VTY users is 21, and the number of current VTY users on line is 1,
     and total number of terminal users online is 1.
          The current login time is 2012-07-26 20:10:08+08:00.
          First login successfully.
    <Server>

Configuration Files

Configuration file of the device

#
clock timezone BJ add 08:00:00
#
sysname Server
#
aaa
 local-user admin1234 password irreversible-cipher $1a$v!=.5/:(q-$xL=\K+if"'S}>k7vGP5$_ox0B@ys7.'DBHL~3*aN$
 local-user admin1234 service-type telnet
 local-user admin1234 level 15
#
interface MEth0/0/0
 ip address 10.137.217.177 255.255.255.0
#
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
#
return
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 57187

Downloads: 3617

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next