Basic configurations of the Huawei 5300 vswitch

Source: Internet
Author: User

. Configure the following on the vswitch:

<Switch> system-view

[Switch] vlan 10

[Switch-vlan10] quit

[Switch] interface vlan 10

[Switch-vlanif 10] ip address 192.168.1.2 24 // ensure that the IP address of the router is in the same network segment

[Switch-vlanif 10] quit


[Switch] interface ethernet 0/0/1

[Switch-interface ethernet 0/0/1] port hybrid untagged vlan 10 // Add vlan10 to the untag Mode

[Switch-interface, ethernet 0/0/1] quit

// After completing the preceding configuration, ping 192.168.1.1 and 192.168.1.2 on the vro and vswitch.


3. Configure the telnet logon command on the vswitch:

[Switch] aaa

[Switch-aaa] local-user admin password simple admin // The two admin accounts are account passwords, which can be customized.

[Switch-aaa] local-user admin privilege level 3 // Set account level, 3 is the highest level

[Switch-aaa] local-user service-type telnet // set the service type of the local account to telnet

[Switch-aaa] quit


[Switch] user-interface vty 0 4

[Switch-user-vty0-4] authentication-mode aaa // set the login user authentication method to aaa, set the account password in the account just set

[Switch-user-vty0-4] protocol bind all // bind user protocol to all, including telnet/ftp/ssh. These methods use this user interface to log on to the vswitch.

[Switch-user-vty0-4] quit


This article from the "Liu rate" blog, please be sure to keep this source http://liushuai.blog.51cto.com/3038219/1272934

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.