Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% encontró este documento útil (0 votos)
37 vistas25 páginas

RED-004 - Configuración de Routers

Descargar como pptx, pdf o txt
Descargar como pptx, pdf o txt
Descargar como pptx, pdf o txt
Está en la página 1/ 25

RED-004: Configuración de

Routers
Copyright @ 2019
Lima-Perú
CONTENIDO

INTERFACES DE UN ROUTER
MODOS DE UN ROUTER
CONFIGURACION BASICA DE UN ROUTER
CONTRASEÑA DE CONSOLA Y TELNET
CONTRASEÑA MODO PRIVILEGIADO
ELIMINAR CONTRASEÑA
INTERFACES DEL ROUTER
Host

Ethernet
SWITCH FastEthernet ROUTER Serial o
GigaEthernet Tecnología Ethernet WAN

Configuración de
router

Consola
Fuente CISCO: http://www.cisco.com
COMPONENTES DE UN ROUTER TIPICO
INTERCONEXION DE DISPOSITIVOS
Cable cruzado o
E0 Crossover E0

Cable directo o
Straight-through
SWITCH
ROUTER A ROUTER B
S0 Cable serial S1 Cable cruzado o
E0 Crossover
Cable directo o E0
Straight-through E1
Cable directo o
Straight-through
HUB

Cable directo o
Straight-through

Cable cruzado o
Crossover
DESCRIPCION DE ROUTERS CISCO

♦Interfaz LAN
♦Interfaz WAN
♦Interfaz Consola/AUX
running-config

♦Tablas de enrutamiento
♦Caché ARP ♦Diagnóstico de encendido
♦Colas de espera de paquetes ♦Software del sistema operativo
♦Espacio para ejecutar IOS

♦Guarda el archivo de configuración flash


Memoria de sólo lectura programable borrable electrónicamente EEPROM

startup-config ♦La imagen y microcódigo del sistema


operativo
MODOS DEL ROUTER CISCO
MODO EXEC Router> enable
USUARIO

Router#

MODO EXEC
PRIVILEGIADO
Router# configure terminal

Router(config)#

Router(config)# router MODO EXEC


Router(config)# interface
CONFIGURACION
GLOBAL

Modos específicos
MODO DE MODO DE
CONFIGURACION CONFIGURACION
DEL ROUTER DE INTERFAZ

Router(config-router)# Router(config-if)#
COMANDO BASICOS DE ROUTERS CISCO
Comando show interface
COMANDO BASICOS DE ROUTERS CISCO
Comando show running-config
Router#show running-config.
► Muestra el contenido de la memoria RAM.

Comando show startup-config


Router#show startup-config.
► Muestra el contenido de la memoria NVRAM.

Comando configure terminal


Router#configure terminal
Router(config)#
► Ingresa al modo de configuración global.
COMANDO BASICOS DE ROUTERS CISCO
Comando hostname
Router(config)#hostname LIMA
LIMA(config)#hostname
► Asigna nombre a un router.
Comando interface Depende de cada
router
LIMA(config)#interface serial 0/0
LIMA(config-if)#
► Ingresa a la interface serial 0 del router.
Comando ip address <dirección IP> <mascara>
LIMA(config-if)#ip address 10.1.2.1 255.255.255.252
► Asigna una dirección IP a la interfaz seleccionada.
CONFIGURACION
DEL ROUTER
EJEMPLO DE CONFIGURACION
Fa0/0
R6 PC 2 210.9.8.64/26
.14  Fa0/1 .65
200.1.2.12/30
3
.13  Fa0/0 R2
S0/1 S0/0
.10 .17
200.1.2.8/30
2 200.1.2.16/30
4

.9 .18

200.1.2.20/30
200.1.2.4/30

WAN 200.1.2.0/27

Fa0/1

Fa0/0
Fa0/0

Fa0/1

PC 1 R5 R1 S0/0 S0/1 R3 R7 PC 3
1 .5 .21 5
.1 .6 .129

Fa0/0
Fa0/0

LAN 210.9.8.0/24 .22


S0/1 S0/0
.2 .25
con 62 IP máximo
en cada LAN
210.9.8.0/26 200.1.2.0/30
0 200.1.2.24/30
6 210.9.8.128/26
.1 .26
S0/0 S0/1
R4 Fa0/0.29
200.1.2.28/30
7
Fa0/1.30
210.9.8.192/26 PC 4 .193 R8
Fa0/0
EJEMPLO DE CONFIGURACION
Configurando el router R1 del ejemplo:

Algunos
IOS no
requieren
configurar
clock rate

VERIFIQUE!
EJEMPLO DE CONFIGURACION
Es recomendable analizar la tabla de
enrutamiento del router.
► El comando es show ip route.
► En el ejemplo se observará los enlaces directos.

► Con estos links no se podrá llegar a otras subredes.


EJEMPLO DE CONFIGURACION
En el ejemplo anterior, se debe ingresar los
links en la tabla de enrutamiento, para R1:
► ip route <red de destino> <máscara> <salto siguiente>

Router R1
Red de destino Máscara Salto siguiente
200.1.2.12 255.255.255.252 200.1.2.10
200.1.2.16 255.255.255.252 200.1.2.10
200.1.2.20 255.255.255.252 200.1.2.10
200.1.2.24 255.255.255.252 200.1.2.1
200.1.2.28 255.255.255.252 200.1.2.1
210.9.8.0 255.255.255.192 200.1.2.6
210.9.8.64 255.255.255.192 200.1.2.10
210.9.8.128 255.255.255.192 200.1.2.10
210.9.8.192 255.255.255.192 200.1.2.1
EJEMPLO DE CONFIGURACION
Mostrar la tabla de enrutamiento en R1:
► Utilizar el comando show ip route
INTERFACES LOOPBACK
Son interfaces creadas por software y tienen
diversas aplicaciones:
► Para verificar el buen funcionamiento de las tablas
de enrutamiento.
► Por algunos protocolos de enrutamiento como OSPF
Se configura como cualquier interfaz física.
Lo_1 Lo_2

R1 R2
► interface loopback 1
ip address 200.1.2.3 255.255.255.0
no shutdown
CONTRASEÑA DE CONSOLA
Router1(config)#line console 0
Router1(config-line)#password inictel
Router1(config-line)#login
Router1(config-line)#exit
172.16.1.8/30
S0 S1
172.16.1.9/30 172.16.1.10/30
Router 1 Router 2

CONSOLA

Se debe ingresar
el password:
Ver CCNA 2,
inictel
Módulo 3.1.3
ACCESO REMOTO VIA TELNET
172.16.1.8/30
S0 S1
172.16.1.9/30 172.16.1.10/30
Router 1 2 Router 2

1 CONSOLA
3

Ingresar
cisco
Observar que
está en el
Router2

Ver CCNA 2, Módulo 3.1.3


CONTRASEÑA AL MODO PRIVILEGIADO
172.16.1.8/30
S0 S1
172.16.1.9/30 172.16.1.10/30
Router 1 Router 2

Restringe al modo EXEC


CONSOLA Privilegiado
Router1(config)#enable password peru

Se puede observar haciendo


show running-config

Ingresar peru
CONTRASEÑA AL MODO PRIVILEGIADO
172.16.1.8/30
S0 S1
172.16.1.9/30 172.16.1.10/30
Router 1 Router 2

CONSOLA
Router1(config)#enable secret lima

Está encriptado
No acepta peru!!

Ingresar lima
ELIMINAR CONTRASEÑA
Normalmente el contenido de la NVRAN se
carga hacia la RAM al momento de inicializar
el router.
► El registro interno del router está en 0x2102.
Si se configuró password en un router, éste
está ubicado en la NVRAN
► Cuando se inicializa el router pedirá el password
porque la NVRAM se carga en la RAM.
Para deshabilitar que la NVRAM se cargue en
la RAM, el registro debe estar en 0x2142.
► Para deshabilitar la NVRAM ingresar al modo
rommon.
ELIMINAR CONTRASEÑA
Para eliminar el password debe seguir:.
► Ingrese la modo rommon, para ello debe pulsar las
teclas Ctrl con Pausa simultáneamente.
► Luego ingrese el comando confreg 0x2142 y luego
reset. rommon 1 > confreg 0x2142
rommon 2> reset

Al re-inicializar el router, ésta ingresará al


modo usuario (no hay pedido de password).
► En el modo privilegiado borrar la NVRAM.
Router > enable rommon 1 > confreg 0x2102
Router # erase starup-config Restaure
confreg
rommon 2> reset
Router # reload
BIBLIOGRAFIA
Cisco Router Configuration Tutorial
http://www.swcp.com/~jgentry/topo/cisco.htm

How do I recover the password for a Cisco router?


http://www.tech-faq.com/cisco-password-recovery.shtml

Cisco IOS Basic Commands


http://www.fantek.org/cisco/wpbascom.htm

Guide to Cisco Router Configuration


http://www.opennet.ru/soft/cisco-configuration.html

Basic Command-Line Interface Commands


http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ffun_r/ffrprt1/frf001.pdf

Cisco IOS Configuration Fundamentals Command


http://www.cisco.com/application/pdf/en/us/guest/products/ps4032/c2001/ccmigration_09186a008011dfff.pdf
MUCHAS GRACIAS

También podría gustarte