0% found this document useful (0 votes)
23 views7 pages

Static VLAN Configuration Guide

The document details the configuration of VLANs on two switches, ESW1 and ESW2, including the assignment of ports to VLANs 10 (ict) and 20 (staff). It also includes the IP configuration and ping tests conducted by four PCs (PC1, PC2, PC3, and PC4) to verify connectivity. The results show successful pings between certain PCs while indicating unreachable hosts for others.

Uploaded by

Umair Ali
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)
23 views7 pages

Static VLAN Configuration Guide

The document details the configuration of VLANs on two switches, ESW1 and ESW2, including the assignment of ports to VLANs 10 (ict) and 20 (staff). It also includes the IP configuration and ping tests conducted by four PCs (PC1, PC2, PC3, and PC4) to verify connectivity. The results show successful pings between certain PCs while indicating unreachable hosts for others.

Uploaded by

Umair Ali
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

Vlan-10 name ict PC1 & PC4

Vlan-11 name staff PC2 & PC3

Static Vlan Configuration

ESW1#

ESW1#

ESW1#show vlan-switch brief

VLAN Name Status Ports

1 default active Fa1/0, Fa1/1, Fa1/2, Fa1/3


Fa1/4, Fa1/5, Fa1/6, Fa1/7
Fa1/8, Fa1/9, Fa1/10, Fa1/11
Fa1/12, Fa1/13, Fa1/14, Fa1/15

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active


ESW1#vlan database
ESW1(vlan)#vlan 10 name ict
VLAN 10 added:
Name: ict

ESW1(vlan)#vlan 20 name
staff VLAN 20 added:

Name: staff

ESW1#show vlan-switch

VLAN Name Status Ports

1 default active Fa1/0, Fa1/1, Fa1/2, Fa1/3


Fa1/4, Fa1/5, Fa1/6, Fa1/7
Fa1/8, Fa1/9, Fa1/10, Fa1/11
Fa1/12, Fa1/13, Fa1/14, Fa1/15

10 ict active

20 staff active

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

ESW1#configure t

Enter configuration commands, one per line. End with CNTL/Z.


ESW1(config)#interface f1/0
ESW1(config-if)#switchport mode access
ESW1(config-if)#switchport access vlan
10 ESW1(config-if)#exit

ESW1(config)#interface f1/1

ESW1(config-if)#switchport mode
access ESW1(config-if)#switchport
access vlan 20

ESW1#show vlan-switch

VLAN Name Status Ports

1 default active Fa1/2, Fa1/3, Fa1/4, Fa1/5


Fa1/6, Fa1/7, Fa1/8, Fa1/9
Fa1/10, Fa1/11, Fa1/12, Fa1/13
Fa1/14, Fa1/15

10 ict active Fa1/0

20 staff active Fa1/1

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

ESW1(config)#interface f1/15
ESW1(config-if)#switchport mode
trunk
ESW2#
ESW2#

ESW2#configure t

Enter configuration commands, one per line. End with CNTL/Z.


ESW2(config)#interface f1/15
ESW2(config-if)#switchport mode trunk

ESW2#vlan database
ESW2(vlan)#vlan 10 name ict
VLAN 10 added:
Name: ict

ESW2(vlan)#vlan 20 name staff


VLAN 20 added:
Name: staff
ESW2(vlan)#exit
APPLY completed.

ESW2#

ESW2#conf t

Enter configuration commands, one per line. End with CNTL/Z.


ESW2(config)#interface f1/1
ESW2(config-if)#switchport mode access
ESW2(config-if)#switchport access vlan
10 ESW2(config-if)#exit
ESW2(config)#interface f1/0
ESW2(config-if)#switchport mode
access ESW2(config-if)#switchport
access vlan 20
ESW2(config-
if)#exit
ESW2(config)#exit
ESW2#show vlan-s

VLAN Name Status Ports

1 default active Fa1/2, Fa1/3, Fa1/4, Fa1/5


Fa1/6, Fa1/7, Fa1/8, Fa1/9
Fa1/10, Fa1/11, Fa1/12, Fa1/13

Fa1/14

10 ict active Fa1/1

20 staff active Fa1/0

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

PC1:

PC1> ip [Link] /8

Checking for duplicate


address... PC1 : [Link] [Link]

PC1> ping [Link]

84 bytes from [Link] icmp_seq=1 ttl=64 time=1.622 ms


84 bytes from [Link] icmp_seq=2 ttl=64 time=1.448
ms 84 bytes from [Link] icmp_seq=3 ttl=64
time=0.953 ms 84 bytes from [Link] icmp_seq=4
ttl=64 time=1.477 ms 84 bytes from [Link]
icmp_seq=5 ttl=64 time=1.654 ms

PC1> ping [Link]

84 bytes from [Link] icmp_seq=1 ttl=64 time=1.618


ms 84 bytes from [Link] icmp_seq=2 ttl=64
time=1.216 ms 84 bytes from [Link] icmp_seq=3
ttl=64 time=0.975 ms 84 bytes from [Link]
icmp_seq=4 ttl=64 time=1.161 ms 84 bytes from
[Link] icmp_seq=5 ttl=64 time=1.090 ms

PC1> ping [Link]

host ([Link]) not reachable

PC1> ping [Link]

host ([Link]) not reachable

PC2#

PC2> ip [Link] /8

Checking for duplicate


address... PC1 : [Link] [Link]
PC2> ping [Link]

host ([Link]) not reachable

PC2> ping [Link]

84 bytes from [Link] icmp_seq=1 ttl=64 time=1.625


ms 84 bytes from [Link] icmp_seq=2 ttl=64
time=1.540 ms 84 bytes from [Link] icmp_seq=3
ttl=64 time=1.089 ms 84 bytes from [Link]
icmp_seq=4 ttl=64 time=0.901 ms 84 bytes from
[Link] icmp_seq=5 ttl=64 time=1.054 ms

PC3#
PC3> ip [Link] /8

Checking for duplicate address...


PC1 : [Link] [Link]

PC4#
PC4> ip [Link] /8

Checking for duplicate address...


PC1 : [Link] [Link]

PC4>

You might also like