Professional Documents
Culture Documents
Comandos Lab Intervlan 9 Feb
Comandos Lab Intervlan 9 Feb
Configure terminal
Hostname sw-1
No ip domain-lookup
Do write
Show ip interface brief
Vlan 2 Show run
Name personal Gi 0/0/0 gi 0/0
Vlan 3
Name gerencia
Vlan 4
Name auditoria
Vlan 5
Do show vlan
Name gestion Do show run
Do write
Interface gi 0/1
Switchport mode trunk
Description enlace gi 0/1 hacia R1 Gi0/1
No shutdown
Do write
Do write
Do write
Do write
Interface vlan 5
Ip address 192.168.5.2 255.255.255.0
Description ip para conexion remota
No shutdown
Ip default-gateway 192.168.5.1
Enable
Configure terminaal
Hostname R1
No ip domain-lookup
Do write
Interface gi 0/1.2
Encapsulation dot1q 2
Ip address 192.168.2.1 255.255.255.0
Description Puerta de enlace de vlan 2 Personal
Interface gi 0/1.3
Encapsulation dot1q 3
Ip address 192.168.3.1 255.255.255.0
Description Puerta de enlace de vlan 3 gerencia
Interface gi 0/1.4
Encapsulation dot1q 4
Ip address 192.168.4.1 255.255.255.0
Description Puerta de enlace de vlan 4 auditoria
Interface gi 0/1.5
Encapsulation dot1q 5
Ip address 192.168.5.1 255.255.255.0
Description Puerta de enlace de vlan 5 gestion
Do write
Interface gi 0/1
No shutdown
Ddo write
PASARME A LA OTRA TOPOLOGIA
Al switch de CAPA 3
Enable
Configure terminal
Hostname SW-lab
No ip domain-lookup
Do write
Vlan 100
Name laboratorio
Vlan 101
Name supervisores
Vlan 102
Name gestion
Ip routing
Enable
Configure terminal
Ip route 192.168.100.0 255.255.255.0 5.5.5.2
Ip route 192.168.101.0 255.255.255.0 5.5.5.2
Ip route 192.168.102.0 255.255.255.0 5.5.5.2