Está en la página 1de 6

Examen Practico CCNA 1

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

255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240

Enzo Chavez

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 CONTRASEA DE CONSOLA


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

Enzo Chavez

CONFIGURAR CONTRASEA VTY (TELNET)


R1> enable R1# config terminal R1(config)# line vty 0 4 (crea las 5 lneas VTY, pero podra ser una sola. Ej: line vty 0) R1(config-line)# password contrasea (contrasea para las 5 lneas en este caso) R1(config-line)# login (habilita la contrasea) 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 Configuracin 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 Configuracin 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 nmero de interfaz puede ser 0, 1, 0/0, 0/1, etc. Esto vara
Enzo Chavez 3

segn el router.

CONFIGURAR INTERFACES SERIAL COMO DCE (Reloj)


RouterB> enable RouterB# config terminal RouterB(config)# interface serial 0/1 * (ingresa al Submodo de Configuracin 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 sincronizacin 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 es taba 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

También podría gustarte