SW1 –SW2- CORE
CORE(config)#vtp domain ccna
CORE(config)#vtp password 1234
CORE(config)#vtp version 2
CORE(config)#interface range gigabitEthernet 0/1-2
CORE(config-if-range)#switchport trunk encapsulation dot1q
CORE(config-if-range)#switchport mode trunk
hostname CORE
ip routing
interface FastEthernet0/1
switchport access vlan 300
switchport trunk encapsulation dot1q
switchport mode access
switchport nonegotiate
interface FastEthernet0/2
switchport access vlan 300
switchport mode access
interface GigabitEthernet0/1
switchport access vlan 300
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/2
switchport access vlan 300
switchport trunk encapsulation dot1q
switchport mode trunk
interface Vlan100
ip address 10.0.100.1 255.255.255.0
ip helper-address 10.0.103.10
interface Vlan200
ip address 10.0.200.1 255.255.255.0
ip helper-address 10.0.103.10
interface Vlan300
ip address 10.0.103.1 255.255.255.0
hostname SW1
spanning-tree mode pvst
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
interface FastEthernet0/2
switchport access vlan 200
switchport mode access
interface GigabitEthernet0/1
switchport mode trunk
SW1#show vlan brief
VLAN Name Status Ports
—- ——————————– ——— ——————————-
100 desktop active Fa0/1
200 laptop active Fa0/2
300 server active
hostname SW2
interface FastEthernet0/1
switchport access vlan 100
switchport mode access
interface FastEthernet0/2
switchport access vlan 200
switchport mode access
interface GigabitEthernet0/1
switchport mode trunk
interface GigabitEthernet0/2
switchport mode trunk