CISCO switch VLAN Configuration Guide (III)

Source: Internet
Author: User
Tags cisco switch


1). Configure the VLAN Port Number of the switch named Switch1 as follows:

Switch1(config)#int e0/2
Switch1(config-if)#vlan-membership static 2
Switch1(config-if)#int e0/3
Switch1(config-if)#vlan-membership static 2

Switch1(config-if)#int e0/4
Switch1(config-if)#vlan-membership static 2
……
Switch1(config-if)#int e0/20
Switch(config-if)#vlan-membership static 3
Switch1(config-if)#int e0/21
Switch1(config-if)#vlan-membership static 3
Switch1(config-if)#
Note: int is the abbreviation of the nterface command, which is the meaning of the interface. E0/3 stands for ethernet 0/2, which represents Port 2 of Module 0 of the switch.
2) the VLAN Port Number of the switch named Switch2 is configured as follows:
Switch2(config)#int e0/2
Switch2(config-if)#vlan-membership static 3
Switch2(config-if)#int e0/3
Switch2(config-if)#vlan-membership static 3
Switch2(config-if)#int e0/4
Switch2(config-if)#vlan-membership static 3
……
Switch2(config-if)#int e0/15
Switch2(config-if)#vlan-membership static 3
Switch2(config-if)#int e0/16
Switch2(config-if)#vlan-membership static 3
Switch2(config-if)#
3). The VLAN Port Number of the switch named Switch3 is configured as follows (it includes the configurations of two VLAN groups). Check VLAN 4 Huma first). The configuration code is as follows:
Switch3 (config) # int e0/2
Switch3 (config-if) # vlan-membership static 4
Switch3 (config-if) # int e0/3
Switch3 (config-if) # vlan-membership static 4
Switch3 (config-if) # int e0/4
Switch3 (config-if) # vlan-membership static 4
......
Switch3 (config-if) # int e0/8
Switch3 (config-if) # vlan-membership static 4
Switch3 (config-if) # int e0/9
Switch3 (config-if) # vlan-membership static 4
Switch3 (config-if )#
The configuration code of VLAN5Info is as follows:
Switch3 (config) # int e0/10
Switch3 (config-if) # vlan-membership static 5
Switch3 (config-if) # int e0/11
Switch3 (config-if) # vlan-membership static 5
Switch3 (config-if) # int e0/12
Switch3 (config-if) # vlan-membership static 5
......
Switch3 (config-if) # int e0/20
Switch3 (config-if) # vlan-membership static 5
Switch3 (config-if) # int e0/21
Switch3 (config-if) # vlan-membership static 5
Switch3 (config-if )#
We have defined all VLANs on the ports of the corresponding vswitch as required in table 1. To verify our configuration, you can use the show vlan command in privileged mode to display the configuration you just made and check whether it is correct.
The above describes the VLAN configuration of the Cisco Catalyst 1900 switch. The VLAN configuration methods of other switches are similar. Refer to the relevant switch specification.

Related Articles]

  • CISCO switch VLAN configuration guide (1)
  • CISCO switch VLAN Configuration Guide (2)
  • PVLAN configuration instructions for 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.