Three-tier switch configuration instance

Source: Internet
Author: User
Tags exit config switches trim

The experiment I've configured today has two big fast, first, the three-tier exchange, the second is a single arm routing, three-tier exchange mainly to replace the single arm routing, why I have to match it, some small companies, the Internet more people, but do not want to buy three-tier equipment, so it is necessary to use a single arm routing.

The topology map mainly implements the following functions:

Configure VTP domain, reduce administrator workload, configure Pvst, avoid loop generation, do DHCP relay, enable PC in different VLAN to obtain IP address dynamically, set Ethernet channel, increase data flow, three layer switch Configure routing function, make communication between different VLAN,

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/jhjs/

General configuration and ideas are as follows:

1,IP Planning:

3550-1 vlan10:192.168.1.1 255.255.255.0

3550-1 vlan20:192.168.2.1 255.255.255.0

3550-1 vlan30:192.168.3.1 255.255.255.0

3550-1 vlan40:192.168.4.1 255.255.255.0

3550-2 vlan10:192.168.1.2 255.255.255.0

3550-2 vlan20:192.168.2.2 255.255.255.0

3550-2 vlan30:192.168.3.2 255.255.255.0

3550-2 vlan40:192.168.4.2 255.255.255.0

3550-2 F0/7 192.168.5.1 255.255.255.0

R1 F0/1:192.168.5.2 255.255.255.0

R1 F0/2:192.168.6.1 255.255.255.0

R2 F0/1:192.168.6.2 255.255.255.0

R2 f0/2.1:192.168.7.1 255.255.255.0

R2 f0/2.2:192.168.8.1 255.255.255.0

dhcp:192.168.1.3 255.255.255.0 192.168.1.1

pc1:192.168.2.3 255.255.255.0 192.168.2.1

pc2:192.168.3.3 255.255.255.0 192.168.3.2

pc3:192.168.4.3 255.255.255.0 192.168.4.2

pc4:192.168.7.2 255.255.255.0 192.168.7.1

pc5:192.168.8.2 255.255.255.0 192.168.8.1

2, Cable planning:

SW1 F0/1 Port Connection 3550-1 F0/1 Port F0/2 Port connection 3550-2 F0/1 Port F0/3 Port connection DHCP server, belong to VLAN 1;

SW2 F0/1 Port Connection 3550-1 F0/2 Port F0/2 Port connection 3550-2 F0/2 ports F0/3 Port connection PC1 machine, belong to VLAN 2;

SW3 F0/1 Port Connection 3550-1 F0/3 Port F0/2 Port connection 3550-2 F0/3 ports F0/3 Port connection PC2 machine, belong to VLAN 3;

SW4 F0/1 Port Connection 3550-1 F0/4 Port F0/2 Port connection 3550-2 F0/4 ports F0/3 Port connection PC3 machine, belong to VLAN 4;

3550-1 F0/5 Port connection 3550-2 F0/5 3550-1 F0/6 Port connection 3550-2

3550-2 F0/7 Port connection R1 F0/1 R1 F0/2 Port connection R2 F0/1 R2 Port connection F0/2 SW5

SW5 F0/1 Port Connection PC4 SW5 F0/2 Port connection PC5

3,VTP configuration:

VTP domain VTP password VTP trim configuration two 3550 for VTP server mode Configure other switches for client mode

4,STP configuration:

Setting 3550-1 is the vlan1-vlan2 of the spanning root Network bridge setting 3550-2 is the Vlan3-vlan4 spanning bridge

Configure speed ports and uplink speed links on the access layer switch

5, three-tier switch configuration:

A VLAN is partitioned on one of the switches; Configure the IP addresses of each VLAN on the three-tier switch.

Configuring an Ethernet channel between two three-tier switches (Ethernetchannel)

Configure the RIP protocol on the three-tier switch by configuring the routing interface of the 3550-2 switch

6, router configuration

To configure the router interface's IP address configuration router's RIP protocol

Configuring a single arm route on the R2

7, configure SW5

Divide the VLAN on the SW5 to add PC4;PC5

All right, we're done here, so let's start with the command-line configuration:

3550-1 is configured as follows:

Configure the switch's three-tier routing capabilities

3550-1#config Terminal

3550-1<config> #ip Routing//enable three-tier routing features

To configure the VTP domain:

3550-1>enable

3550-1#config Terminal

3550-1<config> #vtp Domain Benet//Create VTP domains

3550-1<config> #vtp Password 123//VTP domain password

3550-1<config> #vtp pruning//VTP trim

3550-1<config> #vtp Mode server//configure switch to VTP server mode

3550-1<config> #exit//back to the next level

Configuring VLANs

3550-1#vlan db//Access VLAN database

3550-1<vlan> #vlan name VLAN10//Create VLAN 10

3550-1<vlan> #vlan name Vlan20//Create VLAN 20

3550-1<vlan> #vlan name VLAN30//Create VLAN 30

3550-1<vlan> #vlan name vlan40//Create VLAN 40

3550-1<vlan> #exit

To configure VLAN IP addresses:

3550-1#config Terminal

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.