CISCO switch VLAN Configuration Guide (2)

Source: Internet
Author: User
Tags cisco switch

Note: The vlan number of a vswitch starts from VLAN 2 because the vswitch has a default VLAN, namely VLAN 1, which includes all users connected to the vswitch.

The VLAN configuration process is actually very simple. Only two steps are required: 1) name each VLAN group; 2) map the corresponding VLAN to the corresponding switch port.

The specific configuration process is as follows:

Step 2: Set the Super Terminal, connect to the 1st switch, and configure the VLAN of the switch through the Super Terminal, after the connection is successful, the following main configuration page appears ):

1 user (s) now active on Management Console.
User Interface Menu
[M] Menus
[K] Command Line
[I] IP Configuration
Enter Selection:

Note: The Super Terminal uses the Hypertrm program provided by the Windows system. For more information, see.

Step 2: Click K and select the [K] Command Line option in the main interface menu to go to the following Command Line configuration interface:
CLI session with the switch is open.
To end the CLI session, enter [Exit].
>
In this case, 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. Therefore, we must enter the privileged mode.

Step 2: Enter the enable command in privileged mode in the previous step and enter the privileged mode. The command format is> enable. Then, enter the privileged mode prompt in switch Configuration:

# Config t
Enter configuration commands, one per line. End with CNTL/Z
(Config )#

Step 2: for security and convenience, we name the three Catalyst 4th switches and set the logon password in privileged mode. The following describes how to use Switch1 as an example. The configuration code is as follows:

(Config) # hostname Switch1
Switch1 (config) # enable password level 15 XXXXXX
Switch1 (config )#

Note: The privileged mode password must be 4 ~ It must be noted that the password entered here is displayed in plaintext and kept confidential. 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.

Step 2: Set the VLAN name. Because the four VLANs belong to different switches, the command for VLAN naming is VLAN 'vlan No. 'name' vlan name ', the following code configures VLAN 2, VLAN 3, VLAN 4, and VLAN 5 on the Switch1, Switch2, Switch3, and vswitch:

Switch1 (config) # vlan 2 name Prod
Switch2 (config) # vlan 3 name Fina
Switch3 (config) # vlan 4 name Huma
Switch3 (config) # vlan 5 name Info

Note: The preceding configuration is based on the table 1 rule.

Step 2: In the previous step, we have configured VLAN groups for each switch. Now we need to map these VLANs to the switch port number specified in Table 1. The command for the corresponding port number is vlan-membership static/dynamic 'vlan number '. In this command, either static (static) or dynamic (dynamic) must be selected, but static (static) is usually used. The application configurations of VLAN port numbers are as follows:

Related Articles]

  • CISCO switch VLAN configuration guide (1)
  • VLAN configuration instance of a Huawei router switch
  • PVLAN configuration instructions for Huawei 3COM vswitches

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.