Top 4 Steps to Configure First Login on Huawei Switches

Jul 9
11:11

2015

Bejiening

Bejiening

  • Share this article on Facebook
  • Share this article on Twitter
  • Share this article on Linkedin

Easy 4 steps to configure Huawei S5700, S3700, S2700 switches the time and date, device name, management IP address, and the user level and authentication mode for Telnet users at first login through the console port or mini USB port.

mediaimage

How to configure the first login with the time and date,Top 4 Steps to Configure First Login on Huawei Switches Articles management IP adress, devices name, and the user level and authentication mode ? If you have no idea, then following the article with easy detailed steps. This configuration also apply to all the Huawei switches, such as Huawei S5700 , S3700 , S2700 and so on.

Step 1: Set the time and date on the device.Run:system-viewThe system view is displayed. Run:clock timezone time-zone-name { add | minus } offsetThe time zone is set. By default, the system uses the Coordinated Universal Time (UTC) time zone.add: adds the specified time zone offset to the UTC. That is, the sum of the default UTC time zone and offset equals the time zone specified by time-zone-name.minus: subtracts the specified time zone offset from the UTC. That is, the remainder obtained by subtracting offset from the default UTC time zone equals the time zone specified by time-zone-name. Run:quitReturn to the system view. Run:clock datetime HH:MM:SS YYYY-MM-DDThe current time and date are set.If the time zone is not set, the time set using this command is considered as the UTC time. Before setting the current time, you are advised to confirm the current zone and set the correct time zone offset. Run:system-viewThe system view is displayed. Run:clock daylight-saving-time time-zone-name one-year start-time start-date end-time end-date offsetOr clock daylight-saving-time time-zone-name repeating start-time { { first | second | third | fourth | last } weekday month | start-date1 } end-time { { first | second | third | fourth | last } weekday month | end-date1 } offset [ start-year [ end-year ] ]Daylight saving time (DST) is set.By default, DST is not configured.

Step 2: Set the device name and management IP address.Run:sysname host-nameThe device name is set.By default, the device name is HUAWEI.When the network management tool needs to obtain the network element (NE) name of a device, you can run the sys-netid command to set an NE name for the device. Run:interface interface-type interface-numberThe interface view is displayed.In addition to the management interface on the device, you can also assign the management IP address to Layer 3 interfaces such as VLANIF interfaces on the device. Run:ip address ip-address { mask | mask-length }The management IP address is assigned.

Step 3: Set the user level and authentication mode for Telnet users.Run:telnet [ ipv6 ] server enableThe Telnet server is enabled.By default, the Telnet server is disabled. Run:user-interface vty first-ui-number [ last-ui-number ]The VTY user interface view is displayed. Run:protocol inbound { all | telnet }he VTY user interface is configured to support the Telnet protocol.By default, a VTY user interface supports the SSH protocol. Run:user privilege level levelThe Telnet user level is set.By default, users who log in through the VTY user interface can access commands at level 0. Run:authentication-mode aaaThe authentication mode for Telnet users is set to AAA authentication.By default, no authentication mode is configured for the VTY user interface.

Run:aaaThe AAA view is displayed. Run:local-user user-name password irreversible-cipher passwordThe user name and password for login through Telnet are configured.The value of password can be a plain-text string of 8 to 128 characters or a cipher-text string of 68 characters.A too simple password may cause a potential security risk. To enhance the security strength, the password entered in plain text must contain at least two of the following: uppercase letters, lowercase letters, digits, and special characters. In addition, the password cannot be the same as the user name or the mirror user name. Run:local-user user-name service-type telnetThe login mode is set to Telnet.

Step 4: Save the configuration.After you complete the basic configuration, you are advised to save the configuration. If the configuration is lost, the connection and configuration for the first login must be performed again.

Run:returnReturn to the user view. Run:saveThe configuration is saved.