CONFIGURANDO INTER VLAN ENTRE DOS SWITCH MULTILAYER
________________________________________________________________________
A continuación veremos los pasos para configurar este nuevo escenario donde utlizaremos dos switch milticapa para hacer el enrutamiento:
Primero configuramos el switch Multilayer UNO.
-Configuramos VTP modo server.
Switch>enable
Switch#configure terminal
Switch(config)#vtp mode server
Switch(config)#vtp domain Luis.com
Switch(config)#vtp password 123
-Creamos las vlan.
Switch>en
Switch#vlan database
Switch(vlan)#vlan 10
Switch(vlan)#vlan 20
Switch(vlan)#vlan 30
Switch(vlan)#vlan 40
Switch(vlan)#exit
-Asignamos ip y mascara para las vlan 10, 20, 30 y 40.
Switch>enable
Switch#configure terminal
Switch(config)# interface vlan 10
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
Switch(config-if)#exit
Switch(config)# interface vlan 20
Switch(config-if)#ip add 192.168.2.1 255.255.255.0
Switch(config-if)#exit
Switch(config)# interface vlan 30
Switch(config-if)#ip address 192.168.3.1 255.255.255.0
Switch(config-if)#exit
Switch(config)# interface vlan 40
Switch(config-if)#ip address 192.168.4.1 255.255.255.0
Switch(config-if)#exit
-Asignamos puerto 1-2 modo trunk.
Switch>en
Switch#conf t
Switch(config)#interface range fa0/1-2
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)#exit
-Activamos el ip routing.
Switch>ennable
Switch#configure terminal
Switch(config)#ip routing
Switch(config)#do wr
Segundo configuramos el switch Multilayer DOS.
-Configuramos VTP modo transparent.
Switch>enable
Switch#configure terminal
Switch(config)#vtp mode transparent
Switch(config)#vtp domain Luis.com
Switch(config)#vtp password 123
-Asignamos puerto 1-2 modo trunk.
Switch>en
Switch#conf t
Switch(config)#interface range fa0/1-2
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)#exit
-Activamos el ip routing.
Switch>ennable
Switch#configure terminal
Switch(config)#ip routing
Switch(config)#do wr
Tercero configuramos el switch UNO.
-Configuramos VTP modo client.
Switch>enable
Switch#configure terminal
Switch(config)#vtp mode client
Switch(config)#vtp domain Luis.com
Switch(config)#vtp password 123Asignamos puerto 0/1 modo trunk:
Switch>enable
Switch#configure terminal
Switch(config)#interfaces f0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan all
Switch(config-if)#exit
-Asignamos puertos modo access para vlan 10 y 20.
Switch>enable
Switch# configure terminal
Switch(config)#interfaces f0/2
Switch(config-if)# switchport access vlan 10
Switch(config-if)# switchport mode access
Switch(config-if)#exit
Switch(config)#interfaces f0/3
Switch(config-if)# switchport access vlan 20
Switch(config-if)# switchport mode access
Switch(config-if)#exit
Switch(config)#do wr
Cuartoo configuramos el switch DOS.
-Configuramos VTP modo client.
Switch>enable
Switch#configure terminal
Switch(config)#vtp mode client
Switch(config)#vtp domain Luis.com
Switch(config)#vtp password 123
-Asignamos puerto 0/1 modo trunk.
Switch>enable
Switch#configure terminal
Switch(config)#interfaces f0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan all
Switch(config-if)#exit
-Asignamos puertos modo access para vlan 30 y 40.
Switch>enable
Switch# configure terminal
Switch(config)#interfaces f0/2
Switch(config-if)# switchport access vlan 30
Switch(config-if)# switchport mode access
Switch(config-if)#exit
Switch(config)#interfaces f0/3
Switch(config-if)# switchport access vlan 40
Switch(config-if)# switchport mode accessSwitch(config-if)#exit
Switch(config)#do wr