Easy Implementation of vlan configuration functions of Huawei Switches

Source: Internet
Author: User

It is easy to implement the vlan configuration functions of Huawei switches. In the current vlan configuration of Huawei switches, some people may not understand the specific vlan configuration methods of Huawei switches. It doesn't matter. I have read the following parameters, you will also become an expert.

This is the first interface displayed when you connect to the vswitch. If you have configured the IP Configuration, this option will not be available for the next login. Because the Command configuration is concise, clear, and easy to understand, we use [K] Command Line to implement vlan configuration for Huawei switches. Select [K] Command Line to go to the Command Line for Huawei switch vlan configuration:
Enter Selection: K press Enter
CLI session with the switch is open.
To end the CLI session, enter [Exit].
>

Now we enter the common user mode of the vswitch, just like a vro. In this mode, we can only view the current configuration, but cannot change the configuration, and the commands that can be used are very limited. We enter enable to enter the privileged mode:
> Enable
# Config t
Enter configuration commands, one per line. End with CNTL/Z
(Config )#

For security and convenience, we should name the vswitch and set the login password.
(Config) # host name 1900 Switch
1900 Switch (config) # enable password level 15 goodwork
1900 Switch (config )#

Note: The password must be 4-8 characters long. The vswitch password is slightly different from the vro. The vswitch uses the level to determine the password permission. Level 1 is the password for entering the command line interface. That is to say, after you set the password for level 1, you will be asked to enter the password next time you connect to the switch and enter K, this password is the password set for level 1.

Level 15 is the privileged mode password that you enter after you enter the enable command. Enable password and enable screet are used in the vro to distinguish between them. Well, we have already set the name and password to ensure security. Let's configure the vlan of the Huawei switch. The vlan configuration of a Huawei switch consists of the following two steps:
◆ Set the vlan configuration name of a Huawei Switch
◆ Application to Port

The name of the vlan configuration of the Huawei switch. Use the vlan ID name. Configure in privileged configuration mode:
1900 Switch (config) # vlan 2 name accounting
1900 Switch (config) # vlan 3 name marketing

We have configured two new vlan configurations for Huawei switches. Why does the vlan configuration number for Huawei switches start from 2? This is because, by default, all ports are not placed on VLAN 1, so the configuration should start from 2. 1900 series switches can be configured with a maximum of 1024 Huawei switch vlan configurations, but only 64 switches can work at the same time. Of course, this is theoretical, we should plan the vlan configuration numbers for Huawei Switches Based on our actual network needs.

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.