Friday, May 15, 2015

Lab 25 VTP

Objective

  • To learn how to configure VTP domain on switches
  • To understand the function of VTP domain.

Topology


Setting

PC0 and PC2 are in VLAN1, and PC1 and PC3 are in VLAN2.
The two Gig1/1 ports  on access layer switches are connected to the distribution layer switch.
The distribution layer switch has routing function.
IPs for computers have been configured.

Requirements

  • Configure a VTP Domain
  • Configure VTP Clients
  • Configure the VTP server
  • Configure VTP password

Steps

On Switch1

Switch(config)#interface gigabitEthernet 1/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#vtp domain office1
Changing VTP domain name from NULL to office1
Switch(config)#vtp password aaa
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#

On Switch2

Switch#confi t
Switch(config)#interface gigabitEthernet 1/1
Switch(config-if)#switchport mode trunk
Switch(config)#vtp domain office1
Changing VTP domain name from NULL to office1
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp password aaa
Setting device VLAN database password to aaa
Switch(config) #

On Switch0

Switch#confi t
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#interface gigabitEthernet 0/2
Switch(config-if)#switchport mode trunk
Switch(config)#vtp domain office1
Changing VTP domain name from NULL to office1
Switch(config)#vtp password aaa
Switch(config)#vtp mode server
Device mode already VTP SERVER.
Switch(config)#

Test VTP

On Switch0

Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#

On Switch

Switch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
            Fa0/5, Fa0/6, Fa0/7, Fa0/8
            Fa0/9, Fa0/10, Fa0/11, Fa0/12
            Fa0/13, Fa0/14, Fa0/15, Fa0/16
            Fa0/17, Fa0/18, Fa0/19, Fa0/20
            Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig1/2
2 VLAN0002 active
3 VLAN0003 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

No comments :

Post a Comment