Cisco Cisco three-tier switching typical VLAN configuration

Source: Internet
Author: User
Tags config switches cisco switch

A typical LAN refers to a core switch with a three-layer switching function to connect several branch switches (not necessarily three-layer switching capabilities). We assume that the core switch name is: COM, branch switches are: par1, PAR2, PAR3, respectively, through the port 1 Ray module with the core switch, and assume the VLAN name is counter, market, managing ...

The work to be done:

A, set up VTP domain (core, branch switches are set up)

B, configure the relay (all set on the core, branch switch)

C, create VLAN (set on server)

D, the switch port into the VLAN

E, configure three-tier exchange

A, set VTP domain. VTP domain is called an admin field.

All switches that Exchange VTP update information must be configured with the same admin domain. If all the switches are connected to a trunk, all the switches on the network are joined by a single admin domain on the core switch so that all the switches in the admin domain can understand each other's VLAN list.

Com#vlan database into VLAN configuration mode

COM (VLAN) #vtp domain COM settings vtp admin domain name com

COM (VLAN) #vtp Server Set switch to server mode

Par1#vlan database into VLAN configuration mode

PAR1 (VLAN) #vtp domain COM settings vtp admin domain name com

PAR1 (VLAN) #vtp client to set the switch to clients mode

Par2#vlan database into VLAN configuration mode

PAR2 (VLAN) #vtp domain COM settings vtp admin domain name com

PAR2 (VLAN) #vtp client to set the switch to clients mode

Par3#vlan database into VLAN configuration mode

PAR3 (VLAN) #vtp domain COM settings vtp admin domain name com

PAR3 (VLAN) #vtp client to set the switch to clients mode

Note: Setting the core switch to server mode is to allow the creation, modification, deletion of VLANs and other configuration parameters for the entire VTP domain on the switch, synchronizing the latest VLAN information passed by other switches in this VTP domain; client mode means that the switch cannot be created, deleted, Modifying VLAN configuration and not storing VLAN configuration in NVRAM can synchronize VLAN information from other switches in this VTP domain.

B, configuring relaying you must configure relaying to ensure that the admin domain is able to overwrite all branch switches.

The Cisco switch is capable of supporting any media as a trunk, and it can use its own ISL tags for relaying. ISL (Inter-Switch link) is a protocol between switches, between switches and routers, and between switches and servers to transfer multiple VLAN information and VLAN data streams, configured with ISL encapsulation via ports directly connected to the switch, The VLAN allocation and configuration of the entire network can be done across the switch.

On the core switch side, configure the following:

COM (config) #interface gigabitethernet 2/1

COM (config-if) #switchport

COM (config-if) #switchport trunk Encapsulation ISL Configuration Relay protocol

COM (config-if) #switchport mode trunk

COM (config) #interface gigabitethernet 2/2

COM (config-if) #switchport

COM (config-if) #switchport trunk Encapsulation ISL Configuration Relay protocol

COM (config-if) #switchport mode trunk

COM (config) #interface gigabitethernet 2/3

COM (config-if) #switchport

COM (config-if) #switchport trunk Encapsulation ISL Configuration Relay protocol

COM (config-if) #switchport mode trunk

On the branch switch side, configure the following:

Par1 (config) #interface gigabitethernet 0/1

PAR1 (config-if) #switchport mode trunk

Par2 (config) #interface gigabitethernet 0/1

PAR2 (config-if) #switchport mode trunk

Par3 (config) #interface gigabitethernet 0/1

PAR3 (config-if) #switchport mode trunk

......

At this point, the admin domain is set to complete.

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.