1. 5 Abril
CONFIGURACION DE ROUTER
Un router es un dispositivo que permite la interconexión entre redes de computo.
Estos funcionan a través de comandos que permiten su configuración. Para
configurar un enrutador se puede acceder a él desde uno de los computadores de
la red usando una consola o conectando directamente un equipo al enrutador.
MODOS DEL ROUTER
- Modo usuario-router>
- Modo privilegiado- router#
- Modo configuración-router (config)#
- Modo configuración interface-router(config-if)#
COMANDOS DEL ENRUTADOR
- Comando Enable (Modo usuario).
Con este comando cambiamos del modo usuario al modo privilegiado. para
regresar se debe usar el comando exit.
Router>ena
Router>enable
Router#
-Comando configure terminal ( Modo privilegiado).
Este comando permite cambiar del modo privilegiado al modo configuración. Para
regresar se usa el comando exit.
Router>en
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#confi
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#exit
2. %SYS-5-CONFIG_I: Configured from console by console
Router#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#
- Comando Hostname (Modo configuración)
Con este comando se modifica el nombre al enrutador.
Router>enable
Router#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname pepe
pepe(config)#
- COMANDO BANNER MOTD ( Modo configuración)
Con este comando se coloca un mensaje que aparece al iniciar el enrutador.
pepe(config)#banner motd #saranghae korean#
pepe(config)#exit
- MODO GRABAR (Modo privilegiado)
Para grabar una configuración del enrutador se digita el siguiente comando
copy running-config startup-config
saranghae korean
pepe>enable
pepe#copy running-config startup-config
^
% Invalid input detected at '^' marker.
pepe#
pepe#System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.
Self decompressing the image :
#######################################################
################### [OK]
Restricted Rights Legend
3. TALLER DE CLASE
Agregar un enrutador y realizar los siguientes pasos:
1.colocarle el nombre de ONCEREDES
2.Colocar el mensaje de bienvenida
“ NO EXISTEN COSAS IMPOSIBLES,SOLOHOMBRES INCAPACES”
3.Guarda la configuración
4.Reiniciar el router.
solución
NO EXISTEN COSAS IMPOSIBLE, SOLOHOMBRES INCAPACES
ONCEREDES>enable
ONCEREDES#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
ONCEREDES#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to
administratively down
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to
administratively down
%LINK-5-CHANGED: Interface Vlan1, changed state to administratively down
%SYS-5-CONFIG_I: Configured from console by console.
8 ABRIL
CONFIGURACION ROUTER
4. RESUMEN
-Enable
-Configure terminal
- Hostname
-Banner Motd #Mensaje#
- Copy Running-config startup config
Router> Usuario
Router# Privilegiado
Router(config)# Configuración
Router (config-if)# Configuración interface
COMANDO ENABLE PASSWORD( MODO CONFIGURACIÓN)
Este comando permite colocar una contraseña, la cual se pide para pasar de modo
usuario al modo privilegiado. Las contraseñas en el enrutador no muestran
ningún símbolo mientras se dirigen.
Router>enable
Router#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname MEDELLÍN
MEDELLIN(config)#bannermotd #BIENVENIDO A LA CIUDAD DE LA ETERNA
PRIMAVERA#
MEDELLIN(config)#enable password arepa
MEDELLIN(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
MEDELLÍN#exit
COMANDO LINE CONSOLE O
Este comando permite colocar una contraseña de consola que se pide al encender
el enrutador.
MEDELLIN(config)#line console 0
MEDELLIN(config-line)#login
% Login disabled on line 0, until 'password' is set
5. MEDELLIN(config-line)#password aguacate
MEDELLIN(config-line)#
12 abril
-COMANDO SHOW IP INTERFACE BRIEF
Usando este comando se muestra una lista de las interfaces del enrutador con sus
respectiva configuración (cada interfaz tiene un nombre que puede ser
fastEthernet o serial.
MÉXICO>showip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.1 YES manual up down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/1/0 172.17.0.1 YES manual down down
Vlan1 unassigned YES unset administratively down down
MÉXICO>
-ASIGNAR UNA DIRECCIÓN IP A UNA INTERFACE
Para asignar una dirección a una interfaz se debe conocer el nombre de la interfaz
y la dirección IP que se le desea asignar. Luego se debe digitar los siguientes
comandos.
MÉXICO(config)#interface fa0/0
MÉXICO(config-if)#ip address 192.168.1.1 255.255.255.0
MÉXICO(config-if)#no shutdown