Configuration of vtp server-
Switch>en
Switch#conf t
Switch(config)#hostname switch0
switch0(config)#interface fastEthernet 0/2
switch0(config-if)#switchport mode access
switch0(config-if)#switchport access vlan 30
switch0(config-if)#ex
switch0(config)#interface fastEthernet 0/3
switch0(config-if)#switchport mode access
switch0(config-if)#switchport access vlan 40
switch0(config-if)#exit
switch0(config)#interface fastEthernet 0/1
switch0(config-if)#switchport mode trunk
switch0(config-if)#exit
switch0(config)#vtp mode server
switch0(config)#vtp domain cisco
switch0(config)#vlan 30
switch0(config-vlan)#ex
switch0(config)#vlan 40
switch0(config-vlan)#ex
-----------------------------------------
Configuration of vtp tranparent switch-
Switch>en
Switch#conf t
Switch(config)#hostname switch1
witch1(config)#interface range fastEthernet 0/1 -2
switch1(config-if-range)#switchport mode trunk
switch1(config-if-range)#no shutdown
switch1(config-if-range)#ex
switch1(config)#vtp mode transparent
switch1(config)#vtp domain cisco
switch1(config)#vlan 30
switch1(config-vlan)#ex
switch1(config)#vlan 40
switch1(config-vlan)#ex
------------------------------------------------------
Configuration of vtp client switch-
Switch>en
Switch#conf
Switch(config)#hostname switch2
switch2(config)#interface fastEthernet 0/2
switch2(config-if)#switchport mode access
switch2(config-if)#switchport access vlan 30
switch2(config-if)#ex
switch2(config)#interface fastEthernet 0/3
switch2(config-if)#switchport mode access
switch2(config-if)#switchport access vlan 40
switch2(config-if)#exit
switch2(config)#interface fastEthernet 0/1
switch2(config-if)#switchport mode trunk
switch2(config-if)#exit
switch2(config)#vtp domain cisco
switch2(config)#vtp mode client
No comments:
Post a Comment