How to configure multiple three-tier exchange VLANs to communicate with each other

Source: Internet
Author: User
Tags exit config

This experiment needs:

VLAN 200 is created on the SW100 to create VLANs, SW2 because VLAN100 and VLAN200 need to communicate with each other in order to ensure that different VLANs can access each other because of the business relationship. This experiment will give you detailed elaboration realization method, will use many exchanges knowledge point.

Experiment topology:

The first step of the experimental process SW100 the basic configuration

Sw100>
Sw100>enable
Sw100#conf T
Enter configuration commands, one per line. End With cntl/z.
SW100 (config) #no IP do lo
SW100 (config) #line con 0
SW100 (config-line) #no exec-t
SW100 (config-line) #logg syn
SW100 (Config-line) #exit
SW100 (config) #username admin Privilege Password Admin
SW100 (config) #line vty 0 15
SW100 (config-line) #login Local
SW100 (config-line) #int f0/24
Configuration to change layer two interface to three layer interface
SW100 (config-if) #no Switchport
SW100 (config-if) #ip add 12.0.0.1 255.255.255.0
00:02:57:%link-3-updown:interface fastethernet0/24, changed state to up
00:02:58:%lineproto-5-updown:line protocol on Interface FASTETHERNET0/24, changed
SW100 (config-if) #no sh

Second Step SW200 base configuration

Switch>enable
Switch#conf T
Enter configuration commands, one per line. End With cntl/z.
Switch (config) #host SW200
SW200 (config) #no IP do lo
SW200 (config) #line con 0
SW200 (config-line) #no exec-t
SW200 (config-line) #logg syn
SW200 (Config-line) #exit
SW200 (config) #username admin Privilege Password Admin
SW200 (config) #line vty 0 15
SW200 (config-line) #login Local
SW200 (config-line) #int f0/24
Change the two-layer port into a three-layer interface
SW200 (config-if) #no Switchport
SW200 (config-if) #ip add 12.0.0.2 255.2
00:03:40:%link-3-updown:interface fastethernet0/24, changed state to up
00:03:41:%lineproto-5-updown:line protocol on Interface FASTETHERNET0/24, changed
SW200 (config-if) #ip add 12.0.0.2 255.255.255.0
SW200 (config-if) #no sh
SW200 (config-if) #exit

The third step full SW1 VLAN configuration

Create VLAN 100
SW100 (config) #vlan 100
Name the VLAN 100
SW100 (Config-vlan) #name 100
Into the F0/13 interface mode, the F0/13 interface is divided into VLAN100
SW100 (Config-vlan) #int F0/13
SW100 (config-if) #switchport mode access
SW100 (config-if) #switchport Access VLAN 100
SW100 (config-if) #exit
SW100 (config) #int F0/13
Because this interface is connected to terminal equipment, it is possible to turn off spanning tree elections and turn on fast port features
SW100 (config-if) #spanning-tree portfast
%warning:portfast should only is enabled on ports connected to a single
Host. Connecting hubs, concentrators, switches, bridges, etc ... To this
interface when Portfast is enabled, can cause temporary bridging loops.
Use with CAUTION

%portfast has been configured on FASTETHERNET0/15 but'll only
Have effect when the interface was in a non-trunking mode.
SW100 (config-if) #exit
00:05:40:%sys-5-config_i:configured from console by console
View VLAN Information
Sw100#show VLAN Brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 Default Active FA0/1, FA0/2, FA0/3, FA0/4
FA0/5, FA0/6, FA0/7, FA0/8
FA0/9, FA0/10, FA0/11, FA0/12
FA0/14, FA0/15, FA0/16, FA0/17
FA0/18, FA0/23, GI0/1, GI0/2
Active FA0/13
1002 Fddi-default Act/unsup
1003 Token-ring-default Act/unsup
1004 Fddinet-default Act/unsup
1005 Trnet-default Act/unsup

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.