Home

Monday, 23 September 2013

Configuring Vlan and VTP part 1


 The above is the topology.(See about Vtp and Vlan basics here)
To do's  assign ips as mentioned in the diagram also add Vlans Ips too then follow these steps.

Rules
1.Configure Trunks
2.Configure Vtp
3.Configure Vlans
4.Assighn ports to Vlans


Isl Inter switch link(between cisco)
802.1q  protocol
Master switch  is S1
s1(config-if)#switchport trunk encapsultion dot1q
s1(config-if)#switchportmode trunk

s1(config-if)#interface range fastethernet 0/1 - 10
s1(config-if-range)#swich port mode access
s1(config-if-range)#interface range fastethernet 0/13 -23
s1(config-if-range)#swich port mode access

s1#show run


s2(config-if)#switchportmode trunk
//no encapsulation needed as it is supported by dot1q
s2(config-if)#interface range fastethernet 0/2 - 24
s2(config-if-range)#swich port mode access

s2#show run

s3(config-if)#switchportmode trunk
//no encapsulation needed as it is supported by dot1q
s3(config-if)#interface range fastethernet 0/2 - 24
s3(config-if-range)#swich port mode access

s3#show run

s1# show vtp status

s1#  vtp domain nuggetworld  
//Used to create Vtp domain name(used to identify master).

Switch 2 and 3 adapted nuggetworld as nuggetworld
note:-Master is connected to other with the power as Trunk.

Other 2 switches are access mode with client.



s2(config)#vtp mode client
s3(config)#vtp mode client
 

cannot create vlan from a client mode because it is only done only by server.
 

s1#van 10
s1(config-vlan)#name sales

s3#sh  interfaces fastethernet 0/1 switchport
//displays encapsulation details
administrative<=>dynamic
operational<=>access.

s3#show interfaces trunk


















No comments:

Post a Comment