Sunteți pe pagina 1din 10

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

5. Routing Vlan (router on steak)


6. Routing Ospf Area 0 y InterArea
7. Routing EIGRP
DHCP RELAY
8. DHCP RELAY Helper address

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

, para luego acceder al men de cables :

Entre los cuales se puede apreciar el Straight-Through(Directo), Cross-over(cruzado),


Console(consola), Serial DCE y otros.

TAREA: Conectar los dispositivos que se encuentran en el archivo de Packet Tracer


asegurando su conectividad:

2. Vlan Trunking Protocol (VTP)


SW_Server
Enable
Configure terminal
Hostname Sw_server
Enable secret cisco
Line vty 0 4
Password cisco
Login
End
%%%% aplicar los siguientes
commandos %%%%

SW_Cliente01
Enable
Configure terminal
Hostname Sw_Cliente01
Enable secret cisco
Line vty 0 4
Password cisco
Login
End
%%%% aplicar los siguientes
commandos %%%%

Show running-config; Show vlan; show


vtp status.

Show running-config; Show vlan; show


vtp status.

%%Configuremos este Switch como


Vtp server%%
Configure terminal
Vtp mode server
Vtp domain mercantil
Vtp password cisco
%% creamos las Vlans%%

%%Configuremos este Switch como


Vtp cliente%%
Configure terminal
Interface range fa 0/20 24
Switchport mode trunk
Exit
Configure terminal

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

Vtp mode client


Vtp domain mercantil
Vtp password cisco
Show vlan; show vtp status
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
%% Realizar las mismas tareas en
Sw-cliente02

3. Spanning Tree Protocol (STP y RSTP)


Sw_Cliente01
Enable
Show spanning-tree vlan 1
%% this switch is root%%
% en otro switch
Sw_Server
Enable
Show spanning-tree vlan 1
%% Cost 19 %%
Sw_cliente02
Show spanning-tree vlan 1
%% Cost 19 %%
%% alternate%%
%% el root bridge es el mismo en todos%%
%%Cambiaremos para el sw Server y cliente
02 en las vlan 10 y 20%%
Sw_server
Configure terminal
Spanning-tree vlan 10 priority 28672
exit
Show spanning-tree vlan 10
%% this switch is root %%
Sw_Cliente02
Configure terminal
Spanning-tree vlan 20 priority 28672
exit
Show spanning-tree vlan 20
%% this switch is root %%

Evitar que los puertos a host realicen el


calculo de STP, con el comando
Config terminal
Interface range fa 0/1-19
Spanning-tree portfast
%realizar la prueba conectando y
desconectado una pc%
RSTP Rapid Stp -802.1w
%% en los tres switches cambiar a RSTP%%
%%Con el comando%%
Configure terminal
Spanning-tree mode rapid-pvst
End
Show spanning-tree vlan 1

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

Show ip ospf interface s 0/0/0


Router ID___________________
Costo______________________
Tipo de RED _____________________
Show ip ospf neighbor
Show Ip route

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

Show ip eigrp neighbor


Show ip eigrp topology
Copy running-config startup-config

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

access-list 1 deny 172.16.1.5 0.0.0.255 host


172.16.10.5
interface fa 0/0
ip access-group 1 in
exit
access-list 2 deny 172.16.2.5 0.0.0.255 host 172.16.1.1
eq telnet
interface fa 0/0
ip access-group 2 in
end
show access list

S-ar putea să vă placă și