Está en la página 1de 6

Examen Practico CCNA 1

  128 64 32 16 8 4 2 1   128 64 32 16 8 4 2 1 Red Mascara


  2048 1024 512 256 128 64 32 16   8 4 2 1            
172.16 0 0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0    
2 0 0 0 0 0 0 0 0 . 0 0 1 0 0 0 0 0 172.16.0.32 255.255.255.240
3 0 0 0 0 0 0 0 0 . 0 0 1 1 0 0 0 0 172.16.0.48 255.255.255.240
5 0 0 0 0 0 0 0 0 . 0 1 0 1 0 0 0 0 172.16.0.80 255.255.255.240
7 0 0 0 0 0 0 0 0 . 0 1 1 1 0 0 0 0 172.16.0.112 255.255.255.240
8 0 0 0 0 0 0 0 0 . 1 0 0 0 0 0 0 0 172.16.0.128 255.255.255.240
10 0 0 0 0 0 0 0 0 . 1 0 1 0 0 0 0 0 172.16.0.160 255.255.255.240
20 0 0 0 0 0 0 0 1 . 0 1 0 0 0 0 0 0 172.16.1.64 255.255.255.240
22 0 0 0 0 0 0 0 1 . 0 1 1 0 0 0 0 0 172.16.1.96 255.255.255.240
25 0 0 0 0 0 0 0 1 . 1 0 0 1 0 0 0 0 172.16.1.144 255.255.255.240
33 0 0 0 0 0 0 1 0 . 0 0 0 1 0 0 0 0 172.16.2.16 255.255.255.240
44 0 0 0 0 0 0 1 0 . 1 1 0 0 0 0 0 0 172.16.2.192 255.255.255.240
48 0 0 0 0 0 0 1 1 . 0 0 0 0 0 0 0 0 172.16.3.0 255.255.255.240
50 0 0 0 0 0 0 1 1 . 0 0 1 0 0 0 0 0 172.16.3.32 255.255.255.240
60 0 0 0 0 0 0 1 1 . 1 1 0 0 0 0 0 0 172.16.3.192 255.255.255.240
77 0 0 0 0 0 1 0 0 . 1 1 0 1 0 0 0 0 172.16.4.208 255.255.255.240
99 0 0 0 0 0 1 1 0 . 0 0 1 1 0 0 0 0 172.16.6.48 255.255.255.240
100 0 0 0 0 0 1 1 0 . 0 1 0 0 0 0 0 0 172.16.6.64 255.255.255.240
172.16.41.16
666 0 0 1 0 1 0 0 1 . 1 0 1 0 0 0 0 0 0 255.255.255.240

Enzo Chavez 1
Comandos de configuracion
ROUTER>enable
ROUTER#(este es el modo de usuario privilegiado)

Para cambiar la configuracion del router es necesario teclear:


ROUTER#configure terminal
ROUTER(config)#

Colocar Nombre al router

router> enable
router# configure terminal
router(config)# hostname R1 (nombra al router como)
R1(config)#

Colocar Mensaje de entrada al router


router> enable
router# configure terminal
router(config)# banner motd # (Mensaje)#
R1(config)#

Colocar password
R1(config)#enable password cisco (establecemos la password del modo
privilegiado como cisco)
Colocar password encriptada
Router(config)#enable secret cisco

CONFIGURAR CONTRASEÑA DE CONSOLA


R1> enable
R1# config terminal
R1(config)# line con 0 (ingresa a la Consola)
R1(config-line)# password contraseña (configura contraseña)
R1(config-line)# login (habilita la contraseña)
R1(config-line)# exit
R1(config)#

Enzo Chavez 2
CONFIGURAR CONTRASEÑA VTY (TELNET)
R1> enable
R1# config terminal
R1(config)# line vty 0 4 (crea las 5 líneas VTY, pero podría ser una sola. Ej: line vty 0)
R1(config-line)# password contraseña (contraseña para las 5 líneas en este caso)
R1(config-line)# login (habilita la contraseña)
R1(config-line)# exit
R1(config)#

CONFIGURAR DHCP y DNS


R1> enable
R1# config terminal
R1(config)# Ip dhcp pool LAN1
R1(config-if)# network 172.16.16.0 255.255.255.240
R1(config-if)# default-router 172.16.16.1
R1(config-if)# dns-server 172.16.16.1
R1(config-if)# exit
R1(config)#

CONFIGURAR INTERFACES ETHERNET ó FAST


ETHERNET
R1> enable
R1# config terminal
R1(config)# interface fastethernet 0/0 * (ingresa al Submodo de Configuración de
Interfaz)
R1(config-if)# ip address 192.168.0.1 255.255.255.0 (configura la IP en la interfaz)
R1(config-if)# no shutdown (levanta la interfaz)
R1(config-if)# description lan (asigna un nombre a la interfaz)
R1(config-if)# exit
R1(config)#

CONFIGURAR INTERFACES SERIAL COMO DTE


R1> enable
R1# config terminal
R1(config)# interface serial 0/0 * (ingresa al Submodo de Configuración de Interfaz)
R1(config-if)# ip address 10.0.0.1 255.0.0.0 (configura la IP en la interfaz)
R1(config-if)# no shutdown (levanta la interfaz)
R1(config-if)# description red (asigna un nombre a la interfaz)
R1(config-if)# exit
R1(config)#

* Tener en cuenta que el número de interfaz puede ser 0, 1, 0/0, 0/1, etc. Esto varía

Enzo Chavez 3
según el router.

CONFIGURAR INTERFACES SERIAL COMO DCE


(Reloj)
RouterB> enable
RouterB# config terminal
RouterB(config)# interface serial 0/1 * (ingresa al Submodo de Configuración de
Interfaz)
RouterB(config-if)# ip address 10.0.0.2 255.0.0.0 (configura la IP en la interfaz)
RouterB(config-if)# clock rate 56000 (configura la sincronización entre los enlaces)
RouterB(config-if)# no shutdown (levanta la interfaz)
RouterB(config-if)# description red (asigna un nombre a la interfaz)
RouterB(config-if)# exit
RouterB(config)#

Comandos Utiles:
Router#erase startup-config (Borra la memoria del router NVRAM)
Router#show startup-config (Muestra la memoria guardada del
router NVRAM)
Router#show running-config (Muestra la memoria del router
RAM)
Router#reload (Reinicia el router)
Router#show version (muestra la version del sistema operativo del
router)
Router#show flash: (muestra la capacidad y los nombres del
sistema operativo)
Router#copy origen destino (copiar desde "origen" hasta
"destino")
Router#show ip route (vizualiza tabla de rutas de la maquina)
(para eliminar un comando anteponemos no al comando)
ej: Router#no router rip

Romper password al router


En caso de que tengamos un router el cual tiene password y no la
tenemos, podemos ingresar de la siguiente manera:

Al iniciar el router presionamos CTRL+PAUSA


El resultado deberia ser algo como esto, de esta manera entramos en
el modo rommon del router.

Enzo Chavez 4
Self decompressing the image :
#############
monitor: command "boot" aborted due to user interrupt
rommon 1 >

Luego escrivimos los siguientes comandos

rommon 1 > CONFREG 0X2142 (cambiamos el numero de registro


de configuracion)
rommon 2 > RESET

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: NO

Press RETURN to get started!


Router>enable
Router#copy startup-config running-config

Luego le podemos cambiar la pass y la secret. de la siguiente manera


("xxx" pondremos nuestras password)

Router(config)#enable password xxx


Router(config)#enable secret xxx

volvemos el numero confreg a como estaba por defecto


Router(config)#config-register 0x2102

Y por ultimo guardamos


Router#write

Configuracion sistemas de enrutamiento


Rip

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 172.16.0.0 (se le indican las
redes directamente conectadas)

Rip Version 2
Router#configure terminal

Enzo Chavez 5
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 172.16.0.0 (se le indican las
redes directamente conectadas)

Enzo Chavez 6

También podría gustarte