Cisco three-layer switching configures different VLANs, communication between different network segments

Source: Internet
Author: User

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/91/B4/wKiom1j3itySinnOAACLjYM-u7M257.png "title=" QQ picture 20170420000354.png "alt=" Wkiom1j3itysinnoaacljym-u7m257.png "/>


Ping result graph

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/91/B3/wKioL1j3jirDRrxaAAB0VUVtzYk155.png "style=" float : none; "title=" Clipboar.png "alt=" Wkiol1j3jirdrrxaaab0vuvtzyk155.png "/>

650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/91/B4/wKiom1j3jivwQYhcAABw0mcn5i4195.png "style=" float : none; "title=" Clipboard.png "alt=" Wkiom1j3jivwqyhcaabw0mcn5i4195.png "/>



Configuration on Switch 0:

VLAN 10

Exit

Interface Range F0/1-2

Switchport Access VLAN 10

Exit

Interface Gigabitethernet 1/1

Switchport trunk allowed VLAN all allows all VLANs to pass through

Exit

Interface Gigabitethernet 1/1

Switchport mode trunk configures the interface as trunk

Exit

Configuration on Switch 1:

VLAN 20

Exit

Interface Range F0/1-2

Switchport Access VLAN 20

Exit

Interface Gigabitethernet 1/1

Switchport trunk allowed VLAN all allows all VLANs to pass through

Exit

Interface Gigabitethernet 1/1

Switchport mode Trunk

Exit

Core Exchange configuration:

VLAN 10

Exit

VLAN 20

Exit

Interface FastEthernet F0/1

Switchport trunk allowed VLAN all allows all VLANs to pass through

Switchport mode Trunk

Exit


Interface FastEthernet F0/2

Switchport trunk allowed VLAN all allows all VLANs to pass through

Switchport mode Trunk

Exit


IP routing turn on routing capability


Interface VLAN 10

IP address 192.168.1.1 255.255.255.0 configuration mode virtual port

Exit

Interface VLAN 20

IP address 192.168.2.1 255.255.255.0 configuration mode virtual port

Exit


This article is from the "Whim" blog, please be sure to keep this source http://yrqsxsy.blog.51cto.com/10248815/1917567

Cisco three-layer switching configures different VLANs, communication between different network segments

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.