Cisco Integrated Configuration Experiment One

Source: Internet
Author: User
Tags switches

650) this.width=650; "style=" width:600px;height:536px; "src=" https://s3.51cto.com/wyfs02/M02/A7/7E/ Wkiol1nnr57annlkaac4zaoh7_c559.png "title=" 2017-10-18 20-34-29 screen. png "border=" 0 "height=" 536 "hspace=" 0 "vspace=" 0 " Width= "alt=" Wkiol1nnr57annlkaac4zaoh7_c559.png "/>

Experimental Purpose:

1, add PC1 join VLAN10,PC2J join VLAN20,PC3 join the VLAN30;

2, SW2 and SW3 play the role of the route, V10 and VLAN20 mainly in SW2 run, VLAN30 on SW3, and to ensure SW2 and SW3 one of the bad, PC1, PC2, PC3 can still connect the outside network;

3, SW2 and SW3 before configuring the aggregation link;


Experimental ideas:

1, IP address planning;

2, PC-side configuration;

3, switch configuration VLAN and member port;

4, configure the core switch;

5, configure the Cascade link between the switches;

6. Configure STP:

7. Configure the communication between different network segments (routing);

8, configure the virtual gateway for each VLAN;

9. Configure HSRP link Tracking on SW2 and SW3 (must be done)


Experiment Configuration command:

1. IP Address Planning
VLAN 10:192.168.10.0/24, GW-192.168.10.254
VLAN 20:192.168.20.0/24, GW-192.168.20.254
VLAN 30:192.168.30.0/24, GW-192.168.30.254
The interconnection link between VLAN 12:192.168.12.0/24-sw2 and GW;
The interconnection link between VLAN 13:192.168.13.0/24-sw3 and GW;

2, PC-side configuration


3. Switch configuration VLAN and member port
SW1:
Create VLAN 10 \ 20 \ 30
SW1 (config) # VLAN 10
SW1 (config) # VLAN 20
SW1 (config) # VLAN 30

Plan member Ports:
SW1:
SW1 (config) # interface FAS0/1
SW1 (config-if) # switchport mode access
SW1 (config-if) # switchport Access VLAN 10
SW1 (config) # interface FAS0/2
SW1 (config-if) # switchport mode access
SW1 (config-if) # switchport Access VLAN 20
SW1 (config) # interface FAS0/3
SW1 (config-if) # switchport mode access
SW1 (config-if) # switchport Access VLAN 30
4. Configuring the core switch
VLAN is created on SW2 and SW3 respectively;
SW2:
SW2 (config) # VLAN 10
SW2 (config) # VLAN 20
SW2 (config) # VLAN 30

SW3:
SW3 (config) # VLAN 10
SW3 (config) # VLAN 20
SW3 (config) # VLAN 30

5. Configure Cascade links between switches
SW1:
SW1 (config) # interface FAS0/12
SW1 (config-if) # switchport mode trunk
SW1 (config) # interface FAS0/13
SW1 (config-if) # switchport mode trunk

SW2:
SW2 (config) # interface FAS0/12
SW2 (config-if) # switchport mode trunk
SW2 (config-if) # interface FAS0/23
SW2 (config) #switchport mode trunk

SW3:
SW3 (config) # interface FAS0/13
SW3 (config-if) # switchport mode trunk
SW3 (config) # interface FAS0/23
SW3 (config-if) # switchport mode trunk
6. Configure STP:
SW2 is the STP root switch of vlan10\20;
SW3 is the STP root switch for VLAN 30;

SW2;
Spanning-tree VLAN Ten priority 4096
Spanning-tree VLAN 4096
SW3:
Spanning-tree VLAN 4096

7. Configure communication between different network segments (routing)
Determine the Gateway
Gateway Devices-Core Switches
Realize:
Turn on the routing feature,
Configure the Gateway interface,
SW2:
IP Routing
Interface VLAN 10-SVI;
No shutdown
IP address 192.168.10.254 255.255.255.0
Interface VLAN 20-SVI;
No shutdown
IP address 192.168.20.254 255.255.255.0
Interface VLAN 30-SVI;
No shutdown
IP address 192.168.30.254 255.255.255.0

Ensure that routing is first connected to the peer-to-peer router to ensure direct link connectivity
SW2:
Interface VLAN 12
No shutdown
IP address 192.168.12.1 255.255.255.0
Gw:
Interface gi0/0
No shutdown
IP address 192.168.12.2 255.255.255.0
Second, ensure that both GW and SW2 are routed to each other.
SW2:
IP Routing
IP Route 1.1.1.0 255.255.255.0 192.168.12.2

Gw:
IP Route 192.168.0.0 255.255.0.0 192.168.12.1

At this time, PC-1/2/3 can successfully access the test host;
8. Consider redundancy design
To configure the core switch SW3:
Turn on routing, configure each VLAN gateway;

Configuring the Interconnect link between SW3 and GW
Ensure that SW2 and GW have a route to each other
Enable HSRP for each VLAN, configure the virtual gateway;

SW3:
IP Routing
Interface VLAN 10-SVI;
No shutdown
IP address 192.168.1.253 255.255.255.0
Interface VLAN 20-SVI;
No shutdown
IP address 192.168.2.253 255.255.255.0
Interface VLAN 30-SVI;
No shutdown
IP address 192.168.3.253 255.255.255.0

SW3:
Interface VLAN 13
No shutdown
IP address 192.168.13.1 255.255.255.0
Gw:
Interface GI0/1
No shutdown
IP address 192.168.13.2 255.255.255.0

SW3:
IP Route 1.1.1.0 255.255.255.0 192.168.13.2

Gw:
IP Route 192.168.0.0 255.255.0.0 192.168.13.1
SW2:
Interface VLAN 10
Standby IP 192.168.1.250
Standby 105
Standby preempt
Interface VLAN 20
Standby IP 192.168.2.250
Standby Priority 105
Standby preempt
Interface VLAN 30
Standby IP 192.168.3.250
Standby preempt
SW3:
Interface VLAN 10
Standby IP 192.168.1.250
Standby preempt
Interface VLAN 20
Standby IP 192.168.2.250
Standby preempt
Interface VLAN 30
Standby IP 192.168.3.250
Standby 105
Standby preempt

9. Configure HSRP link Tracking on SW2 and SW3 (must be done)
SW2:
Interface VLAN 10
Standby track FAS0/1
SW2:
Interface VLAN 20
Standby track FAS0/1
SW3:
Interface VLAN 30
Standby track FAS0/1

Cisco Integrated Configuration Experiment One

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.