Monday, 19 August 2013

CONFIGURING VLAN TRUNKING PROTOCOL (VTP) TOPOLOGY

Unknown  /  at  12:16  /  No comments

In last article we explained VLAN trunking Protocol...This time we are working on an example taking the scenario of a Company having sections like administrative Block, Management block, Marketing Block, Sales section, Production and Security. All other Blocks using switch in client mode work according to Admin block using switch as Server and security section uses switch as transparent mode. And a router on stick Model has been used with a DNS server used for communication by these sections. 

Configuring SERVER:

switch>en
switch#config t
switch(config)#hostname Admin
Admin (config)#vtp domain CISCO
Admin (config)#vtp mode server
Admin (config)#vtp password 12345
Admin (config)#Vlan 10
Admin (config-vlan)#name Sales
Admin (config-vlan)#vlan 20
Admin (config-vlan)#name marketing
Admin (config-vlan)#vlan 30
Admin (config-vlan)#name production
Admin (config-vlan)#vlan 40
Admin (config-vlan)#name management
Admin (config-vlan)#ex
Admin (config)#interface FastEthernet0/1
Admin (config-if)#switchport access vlan 10
Admin (config-if)#switchport mode trunk
Admin (config-if)#interface FastEthernet0/2
Admin (config-if)#switchport access vlan 20
Admin (config-if)# switchport mode trunk
Admin (config-if)#interface FastEthernet0/3
Admin (config-if)#switchport access vlan 30
Admin (config-if)#switchport mode trunk
Admin (config-if)#interface FastEthernet0/4
Admin (config-if)#switchport access vlan 40
Admin (config-if)# switchport mode trunk


Configuring Client1:

switch>en
switch#config t
switch(config)#hostname Client1
Client1(config)#vtp domain CISCO
Client1(config)#vtp mode client
Client1(config)#vtp password 12345
Client1(config-if)#interface FastEthernet0/1
Client1(config-if)#switchport mode trunk
Client1(config-if)#interface FastEthernet0/2
Client1(config-if)# switchport access vlan 10
Client1(config-if)# switchport mode access
Client1(config-if)#interface FastEthernet0/3
Client1(config-if)# switchport access vlan 10
Client1(config-if)# switchport mode access
Client1(config-if)#interface FastEthernet0/4
Client1(config-if)# switchport access vlan 10
Client1(config-if)# switchport mode access

Configuring Client2:

switch>en
switch#config t
switch(config)#hostname Client2
Client2(config)#vtp domain CISCO
Client2(config)#vtp mode client
Client2(config)#vtp password 12345
Client2(config)#interface FastEthernet0/1
Client2(config-if)# switchport mode trunk
Client2(config-if)#interface FastEthernet0/2
Client2(config-if)# switchport access vlan 30
Client2(config-if)# switchport mode access
Client2(config-if)#interface FastEthernet0/3
Client2(config-if)# switchport access vlan 30
Client2(config-if)# switchport mode access
Client2(config-if)#interface FastEthernet0/4
Client2(config-if)# switchport access vlan 30
Client2(config-if)# switchport mode access

Configuring Client3:

switch>en
switch#config t
switch(config)#hostname Client3
Client3(config)#vtp domain CISCO
Client3(config)#vtp mode client
Client3(config)#vtp password 12345
Client3(config)#interface FastEthernet0/1
Client3(config-if)# switchport mode trunk
Client3(config-if)# interface FastEthernet0/2
Client3(config-if)#  switchport access vlan 20
Client3(config-if)#  switchport mode access
Client3(config-if)# interface FastEthernet0/3
Client3(config-if)#  switchport access vlan 20
Client3(config-if)#  switchport mode access
Client3(config-if)# interface FastEthernet0/4
Client3(config-if)#  switchport access vlan 20
Client3(config-if)#  switchport mode access

Configuring Client4:

switch>en
switch#config t
switch(config)#hostname Client4
Client4(config)#vtp domain CISCO
Client4(config)#vtp mode client
Client4(config)#vtp password 12345
Client4(config)#interface FastEthernet0/1
Client4(config-if)# switchport mode trunk
Client4(config-if)#interface FastEthernet0/2
Client4(config-if)# switchport access vlan 40
Client4(config-if)# switchport mode access
Client4(config-if)#interface FastEthernet0/3
Client4(config-if)# switchport access vlan 40
Client4(config-if)# switchport mode access
Client4(config-if)#interface FastEthernet0/4
Client4(config-if)# switchport access vlan 40
Client4(config-if)# switchport mode access

Configuring Transparent:

switch>en
switch#config t
switch(config)#hostname Transparent
Transparent(config)#vtp domain CISCO
Transparent(config)#vtp mode transparent
Transparent(config)#vtp password 12345
Transparent(config)#vlan 50
Transparent(config)# name security
Transparent(config)#interface FastEthernet0/1
Transparent(config-if)# switchport mode trunk
Transparent(config-if)#interface FastEthernet0/2
Transparent(config-if)# switchport mode trunk
Transparent(config-if)#interface FastEthernet0/3
Transparent(config-if)# switchport mode trunk
Transparent(config-if)#interface FastEthernet0/4
Transparent(config-if)# switchport mode trunk
Transparent(config-if)#interface FastEthernet0/5
Transparent(config-if)# switchport access vlan 50
Transparent(config-if)# switchport mode access
Transparent(config-if)#interface FastEthernet0/6
Transparent(config-if)# switchport access vlan 50
Transparent(config-if)# switchport mode access
Transparent(config-if)#interface FastEthernet0/7
Transparent(config-if)# switchport access vlan 50
Transparent(config-if)# switchport mode access

Configuring Router on stick:

router>en
router#config t
router(config)#hostname connect
Connect(config)#interface FastEthernet0/0
Connect(config-if)#no shut
Connect(config-if)#ex
Connect(config)#interface FastEthernet0/0.10
Connect(config-subif)#encapsulation dot1Q 10
Connect(config-subif)# ip address 192.168.3.10 255.255.255.0
Connect(config-subif)#interface FastEthernet0/0.20
Connect(config-subif)# encapsulation dot1Q 20
Connect(config-subif)# ip address 192.168.4.10 255.255.255.0
Connect(config-subif)#interface FastEthernet0/0.30
Connect(config-subif)# encapsulation dot1Q 30
Connect(config-subif)# ip address 192.168.1.10 255.255.255.0
Connect(config-subif)#interface FastEthernet0/0.40
Connect(config-subif)# encapsulation dot1Q 40
Connect(config-subif)# ip address 192.168.2.10 255.255.255.0
Connect(config-subif)#interface FastEthernet0/0.50
Connect(config-subif)# encapsulation dot1Q 50
Connect(config-subif)# ip address 192.168.5.10 255.255.255.0
Connect(config-subif)#ex
Connect(config)#interface FastEthernet0/1
Connect(config-if)#ip address 4.2.2.1 255.0.0.0
Connect(config-if)#no shut


Server is configured as a DNS server. IP address of DNS server is 4.2.2.2


You can practice this topology and queries are always welcome.

Share
Posted in: Posted on: Monday, 19 August 2013

0 comments:

Recent Comments

Copyright © 2013 Best Networking Solutions. WP Theme-junkie converted by BloggerTheme9
Blogger templates. Proudly Powered by Blogger.