Huawei Switch Telnet configuration

Source: Internet
Author: User

1. Configure an IP address on the router that is connected to the switch: for example, 192.168.1.1 24

2. Configure the following on the switch:
<switch>system-view
[Switch]vlan 10
[Switch-vlan10]quit
[Switch]interface VLAN 10
[switch-vlanif 10]IP Address 192.168.1.2 24//Guarantee and router IP on the same network segment
[Switch-vlanif 10]quit

[Switch]interface Ethernet 0/0/1
[Switch-interface Ethernet 0/0/1]port hybrid untagged VLAN//untag way to join VLAN10
[Switch-interface Ethernet 0/0/1]quit
After the above configuration is done, 192.168.1.1 and 192.168.1.2 should be able to ping each other on the router and switch.

3. Then configure the telnet login command on the switch:
[SWITCH]AAA
[Switch-aaa]local-user admin Password Simple admin//2 admin is the account password, you can set your own
[Switch-aaa]local-user Admin Privilege Level 3//Set account levels, 3 for superlative
[Switch-aaa]local-user service-type telnet//Set local account service type is Telnet
[Switch-aaa]quit

[Switch]user-interface vty 0 4
[Switch-user-vty0-4]authentication-mode AAA//Set Login user authentication mode is AAA, set account password in just set up account
[Switch-user-vty0-4]protocol bind all//BIND user Agreement for all, including Telnet/ftp/ssh. This is the user interface that is used when logging on to the switch in these ways.
[Switch-user-vty0-4]quit

OK, working Gaocheng. It should be possible to telnet to the switch at this time. Follow my steps, the first step to the back is no problem, I have done N. All of them are hand-punched, hoping to help you.

Huawei Switch Telnet configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.