VTP Configuration part 1
1. Take 3 Switches.
2. Connect 3 switches through cross
over.
3. Configure the VTP in switch0.
Switch>
Switch>enable
Switch#config t
Enter configuration commands,
one per line. End with CNTL/Z.
Switch(config)#int
fastethernet fa0/1
Switch(config-if)#switchport mode
trunk
Switch(config-if)#description
uplink-to-switch0
Switch(config)#int
fastethernet fa0/1
Switch(config-if)#switchport mode
trunk
Switch(config-if)#description
uplink-to-switch0
Switch(config-if)#exit
Switch(config)#int vlan 1
Switch(config-if)#ip address
192.168.1.1 255.255.255.0
Switch(config-if)#exit
Switch(config)#exit
Switch#
Switch#sh ip interface brief
Switch#config t
Enter configuration
commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#vtp domain
CCNALAB
Changing VTP domain name
from NULL to CCNALAB
Switch(config)#
Switch(config)#exit
Switch#
Switch#sh vtp status
Switch#config t
Enter configuration
commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name
Accounts
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Sales
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#name
Hr
Switch(config-vlan)#exit
Switch(config)#exit
Switch#
4.
Configuration on another switches.(Switch1)
Switch>enable
Switch#sh vtp status
Switch(config)#int fastethernet 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#description
uplink-to-switch0
Switch(config-if)#exit
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#exit
%SYS-5-CONFIG_I: Configured from console
by console
Switch#sh vtp status
Switch#config t
Enter configuration commands, one per
line. End with CNTL/Z.
Switch(config)#int fastethernet 0/8
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#exit
Switch#
5.
Configuration on another switches.(Switch2)
Switch>enable
Switch#config t
Enter configuration
commands, one per line. End with CNTL/Z.
Switch(config)#int
fastethernet 0/2
Switch(config-if)#switchport
mode trunk
Switch(config-if)#description
uplink-to-switch0
Switch(config-if)#exit
Switch(config)#exit
Switch#
Switch#config t
Enter configuration
commands, one per line. End with CNTL/Z.
Switch(config)#int
fastethernet 0/4
Switch(config-if)#switchport
mode access
Switch(config-if)#switchport
access vlan 10
Switch(config-if)#exit
Switch(config)#exit
Switch#
6. Connect 2 Pc to switch 2
and assign ip address as (PC2 ip address 192.168.10.12 255.255.255.0) (PC3 ip address 192.168.1.13
255.255.255.0)
7. Connect 3 Pc to switch 1
and assign ip address as (PC1 ip address 192.168.1.11 255.255.255.0) (PC4 ip
address 192.168.10.13 255.255.255.0) (PC0 ip address 192.168.1.10
255.255.255.0)
8. No ping from PC2 to PC4.
If is there any
mistakes and for any clarification please mail to
No comments:
Post a Comment