- Thread Starter
- #41
PACKET TRACER: SIMPLE VTP
Gayahin nyo ulit ung diagram sa baba.
Then punta kau sa CLI or Command Line Interface ng switch
SWITCH0
Switch>en
Switch#conf t
Switch(config)#hostname Switch0
Switch0(config)#no ip domain-lookup
Switch0(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch0(config)#vtp mode server --> bale dito pedeng server, client or transparent bale ginawa ko lahat sila nka server kayo na bahala mag-experiment.
Device mode already VTP SERVER.
Switch0(config)#vtp version 2
Switch0(config)#vtp password cisco -- optional
Setting device VLAN database password to cisco
Switch0(config)#exit or press nyo ung ctrl + z
Switch0#show vtp stat
Yan ung makikita nyo:
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
SWITCH1
Switch>en
Switch#conf t
Switch(config)#hostname Switch0
Switch1(config)#no ip domain-lookup
Switch1(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch1(config)#vtp mode server
Device mode already VTP SERVER.
Switch1(config)#vtp version 2
Switch1(config)#vtp password cisco -- optional
Setting device VLAN database password to cisco
Switch1(config)#exit or press nyo ung ctrl + z
Switch1#show vtp stat
Yan ung makikita nyo:
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
SWITCH2
Switch>en
Switch#conf t
Switch(config)#hostname Switch2
Switch2(config)#no ip domain-lookup
Switch2(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch2(config)#vtp mode server
Device mode already VTP SERVER.
Switch2(config)#vtp version 2
Switch2(config)#vtp password cisco
Setting device VLAN database password to cisco
Switch2(config)#exit or press nyo ung ctrl + z
Switch2#show vtp stat
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
Ok na ung vtp natin bale kailangan natin i-trunk ung mga fast ethernet na ginamit ntin.
SWITCH0:
Switch0#config t
Switch0(config)#int fa0/1
Switch0(config-if)#switchport mode trunk
Switch0(config-if)#press ctrl + z
SWITCH1:
Switch1#conf t
Switch1(config)#int range fa0/1 – 2 –->ung range para masama na natin ung fast Ethernet 0/2 para inde na natin i-type ung int fa0/2 ksi same code nman ung gagamitin ntin which is switchport mode trunk.
Switch1(config-if-range)#switchport mode trunk
Switch(config-if-range)#press ctrl + z
Switch#show vlan br
Wala na ung fa0/1 at fa0/2 naging trunk na sila.
SWITCH2:
Switch2#conf t
Swithc2(config)#int fa0/1
Switch2(config-if)#switchport mode trunk
Switch2(config-if)#press ctrl + z
Switch2#show vlan br
Wala na ung fa0/1 ksi naging trunk na siya.
So ok na lahat try nyo pumunta sa CLI ng switch0 tapos gawa kau ng vlan dun.
SWITCH0
Switch0#conf t
Switch0(config)#vlan 100
Switch0(config-vlan)#name madebySwitch0
Switch0(config-vlan)#press ctrl + z
Switch0#show vlan br
Makikita nyo ung vlan 100 with name na madebySwitch0
Tapos punta kayo sa CLI ng switch 1 at switch 2 tpos type nyo show vlan br
SWITCH1
Switch1#show vlan br
Makikita nyo din ung vlan 100 with name na madebySwitch0 pati sa switch 2. Pede kau gumawa ng vlan sa kahit saang switch pero dapat nka server at client mode ung vtp ng switch at magkakaroon din ng vlan ung ibang switch na nka vtp mode server at client.
pagnaka transparent mode naman ung vtp ng switch nyo tpos gumawa kau ng vlan dito, inde nyo makikita sa ibang switch ung ginawa nyong vlan kasi nga nka transparent cya.
Enjoy…..
Gayahin nyo ulit ung diagram sa baba.
Then punta kau sa CLI or Command Line Interface ng switch
SWITCH0
Switch>en
Switch#conf t
Switch(config)#hostname Switch0
Switch0(config)#no ip domain-lookup
Switch0(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch0(config)#vtp mode server --> bale dito pedeng server, client or transparent bale ginawa ko lahat sila nka server kayo na bahala mag-experiment.
Device mode already VTP SERVER.
Switch0(config)#vtp version 2
Switch0(config)#vtp password cisco -- optional
Setting device VLAN database password to cisco
Switch0(config)#exit or press nyo ung ctrl + z
Switch0#show vtp stat
Yan ung makikita nyo:
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
SWITCH1
Switch>en
Switch#conf t
Switch(config)#hostname Switch0
Switch1(config)#no ip domain-lookup
Switch1(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch1(config)#vtp mode server
Device mode already VTP SERVER.
Switch1(config)#vtp version 2
Switch1(config)#vtp password cisco -- optional
Setting device VLAN database password to cisco
Switch1(config)#exit or press nyo ung ctrl + z
Switch1#show vtp stat
Yan ung makikita nyo:
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
SWITCH2
Switch>en
Switch#conf t
Switch(config)#hostname Switch2
Switch2(config)#no ip domain-lookup
Switch2(config)#vtp domain VTP-test
Changing VTP domain name from NULL to VTP-test
Switch2(config)#vtp mode server
Device mode already VTP SERVER.
Switch2(config)#vtp version 2
Switch2(config)#vtp password cisco
Setting device VLAN database password to cisco
Switch2(config)#exit or press nyo ung ctrl + z
Switch2#show vtp stat
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 5
VTP Operating Mode : Server
VTP Domain Name : VTP-test
VTP Pruning Mode : Disabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x5F 0xFC 0xA4 0xBA 0x82 0x40 0xD9 0x67
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:06
Local updater ID is 0.0.0.0 (no valid interface found)
Ok na ung vtp natin bale kailangan natin i-trunk ung mga fast ethernet na ginamit ntin.
SWITCH0:
Switch0#config t
Switch0(config)#int fa0/1
Switch0(config-if)#switchport mode trunk
Switch0(config-if)#press ctrl + z
SWITCH1:
Switch1#conf t
Switch1(config)#int range fa0/1 – 2 –->ung range para masama na natin ung fast Ethernet 0/2 para inde na natin i-type ung int fa0/2 ksi same code nman ung gagamitin ntin which is switchport mode trunk.
Switch1(config-if-range)#switchport mode trunk
Switch(config-if-range)#press ctrl + z
Switch#show vlan br
Wala na ung fa0/1 at fa0/2 naging trunk na sila.
SWITCH2:
Switch2#conf t
Swithc2(config)#int fa0/1
Switch2(config-if)#switchport mode trunk
Switch2(config-if)#press ctrl + z
Switch2#show vlan br
Wala na ung fa0/1 ksi naging trunk na siya.
So ok na lahat try nyo pumunta sa CLI ng switch0 tapos gawa kau ng vlan dun.
SWITCH0
Switch0#conf t
Switch0(config)#vlan 100
Switch0(config-vlan)#name madebySwitch0
Switch0(config-vlan)#press ctrl + z
Switch0#show vlan br
Makikita nyo ung vlan 100 with name na madebySwitch0
Tapos punta kayo sa CLI ng switch 1 at switch 2 tpos type nyo show vlan br
SWITCH1
Switch1#show vlan br
Makikita nyo din ung vlan 100 with name na madebySwitch0 pati sa switch 2. Pede kau gumawa ng vlan sa kahit saang switch pero dapat nka server at client mode ung vtp ng switch at magkakaroon din ng vlan ung ibang switch na nka vtp mode server at client.
pagnaka transparent mode naman ung vtp ng switch nyo tpos gumawa kau ng vlan dito, inde nyo makikita sa ibang switch ung ginawa nyong vlan kasi nga nka transparent cya.
Enjoy…..
Last edited: