LABORATORIO
LABORATORIO
LABORATORIO
VTP-OSPF-EIGRP-DHCP RELAY
Lista de Configuraciones
Switching
1.
2.
3.
4.
Cableado Estructurado
Vlan Trunking Protocol (VTP)
Spanning Tree Protocol (STP y RSTP)
Etherchannel
Routing
1. Cableado estructurado
En la topologia se muestra los tipos de cables que se deben usar para conectar los
diferentes dispositivos.
Abrir el archivo de Packet Tracert:
El archivo aparecer sin ningn tipo de conexin, se deber usar el cuadro de men
de dispositivos, se encuentra en la parte inferior del programa.
Escoger el icono
SW_Cliente01
Enable
Configure terminal
Hostname Sw_Cliente01
Enable secret cisco
Line vty 0 4
Password cisco
Login
End
%%%% aplicar los siguientes
commandos %%%%
Vlan 10
Name TIC
Vlan 20
Name RRHH
End
Show vlan; show vtp status
Configure terminal
Interface range fa 0/20 24
Switchport mode trunk
Exit
Interface range fa 0/6-10
Switchport mode access
Switchport access vlan 10
Exit
Interface range fa 0/11-19
Switchport mode access
Switchport access vlan 20
End
Show vtp status, show vlan, show
running-config
Copy running-config startup-config
4. Etherchannel
En Switch 5
Configure terminal
Interface range fa0/23 24
Switchport mode trunk
Channel-group 1 mode desirable
Show etherchannel summary
En Switch 3
Configure terminal
Interface range fa0/23 24
Switchport mode trunk
Channel-group 1 mode desirable
Show etherchannel summary
5. Routing Vlan
6. Routing OSPF
Enable
Configure terminal
Hostname Ciudad01
Enable secret cisco
Line vty 0 4
Password cisco
Login
Exit
%% Routing Vlan %%
Int fa 0/0
No shutdown
Exit
Int fa 0/0.1
Encapsulation dot1q 1
Ip address 172.16.1.1 255.255.255.0
Int fa 0/0.10
Encapsulation dot1q 10
Ip address 172.16.10.1 255.255.255.0
Int fa 0/0.10
Encapsulation dot1q 20
Ip address 172.16.20.1 255.255.255.0
End
show ip int brief, show ip route
%%Probar conectado y ejecutando dhcp
en las pcs
Router = RO_ISP
Enable
Configure terminal
Hostname Ro_ISP
Enable secret cisco
Line vty 0 4
Password cisco
Login
Exit
Interface serial 0/0/0
Ip address 100.1.1.1 255.255.255.224
No shutdown
Exit
Interface serial 0/0/1
Ip address 100.2.2.1 255.255.255.224
No shutdown
Exit
%% Configuracin OSPF en area 0%%
Router ospf 100
Network 100.1.1.0 0.0.0.31 area 0
Network 100.2.2.0 0.0.0.31 area 0
End
Copy running-config startup-config
Show ip int brief, show ip route , show
running
Router = RO_CITY1
Interface serial 0/0/0
Ip address 100.1.1.2 255.255.255.224
Clockrate 64000
No shutdown
Exit
%% Configuracin OSPF en area 0 y
area 2%%
Router ospf 100
Network 100.1.1.0 0.0.0.31 area 0
Network 172.16.1.0 0.0.0.255 area 1
Network 172.16.10.0 0.0.0.255 area 1
Network 172.16.20.0 0.0.0.255 area 1
End
Copy running-config startup-config
Show ip int brief,
Router = RO_CITY2
Enable
Configure terminal
Hostname RO_CITY2
Enable secret cisco
Line vty 0 4
Password cisco
Login
Exit
Interface serial 0/0/0
Ip address 100.2.2.2 255.255.255.224
Clock rate 64000
No shutdown
Exit
Interface fa 0/0
Ip address 192.168.1.1 255.255.255.0
No shutdown
Exit
%% Configuracin OSPF en area 0 y
area 2%%
Router ospf 100
Network 100.2.2.0 0.0.0.31 area 0
Network 192.168.1.0 0.0.0.255 area 2
End
Copy running-config startup-config
Show ip int brief, show ip route , show
running
Router = RO_CITY1
Uso de Interface LOOPBACK
Interface loopback 01
Ip address 2.2.2.2 255.255.255.0
End
Show ip ospf interface s 0/0/0
Copy running-config startup-config
Reload
Enable
Show ip interface ospf
7. ROUTING EIGRP
RO_CITY1
enable
Configure terminal
Router eigrp 200
No auto-summary
Network 172.16.1.0
Network 172.16.10.0
Network 172.16.20.0
Network 100.1.1.0
RO_ISP
enable
Configure terminal
Router eigrp 200
No auto-summary
Network 100.1.1.0
Network 100.2.2.0
End
Show ip route
End
Show ip route
Show ip eigrp neighbor
Show ip eigrp topology
Copy running-config startup-config
RO_CITY2
enable
Configure terminal
Router eigrp 200
No auto-summary
Network 100.2.2.0
Network 192.168.1.0
End
Show ip route
Show ip eigrp neighbor
Show ip eigrp topology
8. DHCP RELAY
Verificar la configuracion de DHCP en el Server del lado de la red 192.168.1.0/24.
En la SubInterface f0/0.20 introducir el siguiente comando:
Interface fa 0/0.20
Ip helper-address 192.168.1.10
9. ACCESS LIST
Router City1
Evitar que el host 172.16.1.5 de la vlan 1
ingrese al host 172.16.10.5 pero no a los
dems
Evitar que el host 172.16.2.5 no haga
telnet al router city1
RO_CITY1
enable
Configure terminal