0% found this document useful (0 votes)
71 views13 pages

DOCUMENTATION

The document details the configuration of VLANs and trunk ports across multiple switches (S0, S1, S2, S3) and the creation of Ethernet port-channels between the switches to interconnect the VLANs. VLANs 10-30 are initially created and assigned to ports on S0 and S2. Then five port-channels are configured between the switches using LACP with trunk ports and allowed VLANs configured on each port-channel interface to interconnect the VLANs. Spanning tree is configured to designate S1 as the root bridge for VLANs 10-30. Additional VLANs 40-60 are added on S1 and assigned to ports. Subinterfaces are also configured on router R1 to terminate the VLAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views13 pages

DOCUMENTATION

The document details the configuration of VLANs and trunk ports across multiple switches (S0, S1, S2, S3) and the creation of Ethernet port-channels between the switches to interconnect the VLANs. VLANs 10-30 are initially created and assigned to ports on S0 and S2. Then five port-channels are configured between the switches using LACP with trunk ports and allowed VLANs configured on each port-channel interface to interconnect the VLANs. Spanning tree is configured to designate S1 as the root bridge for VLANs 10-30. Additional VLANs 40-60 are added on S1 and assigned to ports. Subinterfaces are also configured on router R1 to terminate the VLAN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

VLAN creation

For S0

S0(config)# vlan 10

S0(config-vlan)# name EECE

S0(config-vlan)# vlan 20

S0(config-vlan)# name CBMES

S0(config-vlan)# vlan 30

S0(config-vlan)# name CEGE

S0(config-vlan)# vlan 99

S0(config-vlan)# name Native

For S1

S1(config)# vlan 10

S1(config-vlan)# name EECE

S1(config-vlan)# vlan 20

S1(config-vlan)# name CBMES

S1(config-vlan)# vlan 30

S1(config-vlan)# name CEGE

S1(config-vlan)# vlan 99

S1(config-vlan)# name Native

For S2

S2(config)# vlan 10

S2(config-vlan)# name EECE

S2(config-vlan)# vlan 20

S2(config-vlan)# name CBMES

S2(config-vlan)# vlan 30

S2(config-vlan)# name CEGE


S2(config-vlan)# vlan 99

S2(config-vlan)# name Native

For S3

S3(config)# vlan 10

S3(config-vlan)# name EECE

S3(config-vlan)# vlan 20

S3(config-vlan)# name CBMES

S3(config-vlan)# vlan 30

S3(config-vlan)# name CEGE

S3(config-vlan)# vlan 99

S3(config-vlan)# name Native

Assigning VLAN to the active ports on S0

S0(config)# interface f0/1

S0(config-if)# switchport mode access

S0(config-if)# switchport access vlan 10

S0(config-if)# interface f0/2

S0(config-if)# switchport mode access

S0(config-if)# switchport access vlan 20

S0(config-if)# interface f0/3

S0(config-if)# switchport mode access

S0(config-if)# switchport access vlan 30

Assigning VLAN to the active ports on S2

S2(config)# interface f0/1


S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 10

S2(config-if)# interface f0/2

S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 20

S2(config-if)# interface f0/3

S2(config-if)# switchport mode access

S2(config-if)# switchport access vlan 30

Ethernet channel configuration

Part 1: Configure an EtherChannel with LACP

a. Configuring ports on switch 0 as static trunk ports

S0(config)# interface range f0/4-5

S0(config-if-range)# switchport mode trunk

S0(config)# interface range f0/10-11


S0(config-if-range)# switchport mode trunk

b. Configuring ports on switch 1 as static trunk ports

S1(config)# interface range f0/4-5

S1(config-if-range)# switchport mode trunk

S1(config)# interface range f0/6-7

S1(config-if-range)# switchport mode trunk

c. Configuring ports on switch 2 as static trunk ports

S2(config)# interface range f0/6-7

S2(config-if-range)# switchport mode trunk

S2(config)# interface range f0/8-9

S2(config-if-range)# switchport mode trunk

d. Configuring ports on switch 3 as static trunk ports

S3(config)# interface range f0/8-9

S3(config-if-range)# switchport mode trunk

S2(config)# interface range f0/10-11

S2(config-if-range)# switchport mode trunk

e. Forming LACP link on switch 0 to form a Port 1 channel

S0(config)# interface range f0/4-5

S0(config-if-range)# shutdown

S0(config-if-range)# channel-group 1 mode active

S0(config-if-range)# no shutdown
S1(config)# interface range f0/4-5

S1(config-if-range)# shutdown

S1(config-if-range)# channel-group 1 mode active

S1(config-if-range)# no shutdown

f. Configuring the logical interface to become a trunk

S0(config)# interface port-channel 1

S0(config-if)# switchport mode trunk

S0(config-if)# switchport trunk native vlan 99

S0(config-if)# switchport trunk allowed vlan 10,20,30,99

S1(config)# interface port-channel 1

S1(config-if)# switchport mode trunk

S1(config-if)# switchport trunk native vlan 99

S1(config-if)# switchport trunk allowed vlan 10,20,30,99

g. Verifying port channel 1 status

S0# show etherchannel summary

S1# show etherchannel summary

h. Forming LACP link on switch 0 to form a Port 2 channel

S1(config)# interface range f0/6-7

S1(config-if-range)# shutdown

S1(config-if-range)# channel-group 2 mode active

S1(config-if-range)# no shutdown

S2(config)# interface range f0/6-7

S2(config-if-range)# shutdown

S2(config-if-range)# channel-group 2 mode active


S2(config-if-range)# no shutdown

i. Configuring the logical interface to become a trunk

S1(config)# interface port-channel 2

S1(config-if)# switchport mode trunk

S1(config-if)# switchport trunk native vlan 99

S1(config-if)# switchport trunk allowed vlan 10,20,30,99

S2(config)# interface port-channel 2

S2(config-if)# switchport mode trunk

S2(config-if)# switchport trunk native vlan 99

S2(config-if)# switchport trunk allowed vlan 10,20,30,99

j. Verifying port channel 2 status

S1# show etherchannel summary

S2# show etherchannel summary

CONFIGURE A REDUNDANT ETHERCHANNEL LINK

k. Forming LACP link on switch 0 to form a Port 3 channel

S2(config)# interface range f0/8-9

S2(config-if-range)# shutdown

S2(config-if-range)# channel-group 3 mode active

S2(config-if-range)# no shutdown

S3(config)# interface range f0/8-9

S3(config-if-range)# shutdown

S3(config-if-range)# channel-group 3 mode active


S3(config-if-range)# no shutdown

l. Configuring the logical interface to become a trunk

S2(config)# interface port-channel 3

S2(config-if)# switchport mode trunk

S2(config-if)# switchport trunk native vlan 99

S2(config-if)# switchport trunk allowed vlan 10,20,30,99

S3(config)# interface port-channel 3

S3(config-if)# switchport mode trunk

S3(config-if)# switchport trunk native vlan 99

S3(config-if)# switchport trunk allowed vlan 10,20,30,99

m. Verifying port channel 3 status

S2# show etherchannel summary

S3# show etherchannel summary

n. Forming LACP link on switch 0 to form a Port 4 channel

S3(config)# interface range f0/10-11

S3(config-if-range)# shutdown

S3(config-if-range)# channel-group 4 mode active

S3(config-if-range)# no shutdown

S0(config)# interface range f0/10-11

S0(config-if-range)# shutdown

S0(config-if-range)# channel-group 4 mode active

S0(config-if-range)# no shutdown
o. Configuring the logical interface to become a trunk

S3(config)# interface port-channel 4

S3(config-if)# switchport mode trunk

S3(config-if)# switchport trunk native vlan 99

S3(config-if)# switchport trunk allowed vlan 10,20,30,99

S0(config)# interface port-channel 4

S0(config-if)# switchport mode trunk

S0(config-if)# switchport trunk native vlan 99

S0(config-if)# switchport trunk allowed vlan 10,20,30,99

p. Verifying port channel 4 status

S3# show etherchannel summary

S0# show etherchannel summary

q. Forming LACP link on switch 0 to form a Port 5 channel

S0(config)# interface range f0/12-13

S0(config-if-range)# shutdown

S0(config-if-range)# channel-group 5 mode active

S0(config-if-range)# no shutdown

S2(config)# interface range f0/12-13

S2(config-if-range)# shutdown
S2(config-if-range)# channel-group 5 mode active

S2(config-if-range)# no shutdown

r. Configuring the logical interface to become a trunk

S0(config)# interface port-channel 5

S0(config-if)# switchport mode trunk

S0(config-if)# switchport trunk native vlan 99

S0(config-if)# switchport trunk allowed vlan 10,20,30,99

S2(config)# interface port-channel 5

S2(config-if)# switchport mode trunk

S2(config-if)# switchport trunk native vlan 99

S2(config-if)# switchport trunk allowed vlan 10,20,30,99

s. Forming LACP link on switch 1 and switch 3 to form a Port 6 channel

S1(config)# interface range f0/14-15

S1(config-if-range)# shutdown

S1(config-if-range)# channel-group 6 mode active

S1(config-if-range)# no shutdown

S3(config)# interface range f0/14-15

S3(config-if-range)# shutdown

S3(config-if-range)# channel-group 6 mode active

S3(config-if-range)# no shutdown
t. Configuring the logical interface to become a trunk

S1(config)# interface port-channel 6

S1(config-if)# switchport mode trunk

S1(config-if)# switchport trunk native vlan 99

S1(config-if)# switchport trunk allowed vlan 10,20,30,99

S3(config)# interface port-channel 6

S3(config-if)# switchport mode trunk

S3(config-if)# switchport trunk native vlan 99

S3(config-if)# switchport trunk allowed vlan 10,20,30,99

u. Verifying port channel 4 status

S3# show etherchannel summary

S0# show etherchannel summary

Assigning root bridge

S1(config)# spanning-tree mode pvst

S1(config)# spanning-tree vlan 10,20,30 root primary

ADD VLAN TO S1

S1(config)# vlan 40

S1(config-vlan)# name TREASURY

S1(config-vlan)# vlan 50

S1(config-vlan)# name REGISTRAR


S1(config-vlan)# vlan 60

S1(config-vlan)# name ADMIN

S1(config-vlan)# vlan 99

S1(config-vlan)# name Native

*ASSIGN VLANS TO PORTS

FOR S1

S1(config)# interface f0/16

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 40

S1(config)# interface f0/17

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 50

S1(config)# interface f0/18

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 40

S1(config)# interface f0/19

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 50

S1(config)# interface f0/20

S1(config-if)# switchport mode access

S1(config-if)# switchport access vlan 60


Configure Subinterfaces

R1 configuration

R1(config)# interface g0/0.10

R1(config-subif)# encapsulation dot1Q 10

R1(config-subif)# ip address 192.168.10.1 255.255.255.0

R1(config)# interface g0/0.20

R1(config-subif)# encapsulation dot1Q 20

R1(config-subif)# ip address 192.168.20.1 255.255.255.0

R1(config)# interface g0/0.30

R1(config-subif)# encapsulation dot1Q 30

R1(config-subif)# ip address 192.168.30.1 255.255.255.0

R1(config)# interface g0/0.40

R1(config-subif)# encapsulation dot1Q 40

R1(config-subif)# ip address 192.168.40.1 255.255.255.0

R1(config)# interface g0/0.50

R1(config-subif)# encapsulation dot1Q 50

R1(config-subif)# ip address 192.168.50.1 255.255.255.0

R1(config)# interface g0/0.60

R1(config-subif)# encapsulation dot1Q 60

R1(config-subif)# ip address 192.168.60.1 255.255.255.0

R1(config)# interface g0/0

R1(config-if)# no shutdown
S1 configuration

S1(config)# int g0/1

S1(config-if)# switchport mode trunk

You might also like