Documente Academic
Documente Profesional
Documente Cultură
COMANDOS BÁSICOS:
1
CONFIGURACIONES ROUTERS CISCO
PASSWORD RECOVERY CISCO 2500 :
Cuando comienza a bootear presionamos ALT+CTRL+PAUSA.
roomon1>confreg 0x2142
roomon2>i
(comienza a bootear)
router>enable
router#configuration terminal
router(conf-t)#config register 0x2102
router(conf-t)#end
router#write
router#reload
2
CONFIGURACIONES ROUTERS CISCO
COMO BAJAR IOS CISCO DESDE ROOMON:
Cuando comienza a bootear presionamos ALT+CTRL+PAUSA.
roomon1>tftpdnld
roomon2>ip_address= poner ip que este en red con la pc
roomon3>ip_subnet_mask= poner mascara
roomon4>default_gateway= poner ip pc
roomon5>tftp_server= poner ip pc
roomon6>tftp_file= poner nombre archivo ios
roomon7>tftpdnld
Pregunta si queres continuar, “yes”.
3
CONFIGURACIONES ROUTERS CISCO
CONFIGURACIÓN BASICA CISCO:
router>enable
router#hostname telmex
telmex#configuracion terminal
telmex(conf-t)#enable password telmex
telmex(conf-t)#enable secret password poner nombre(no repetir)
telmex(conf-t)#line vty 0 4
telmex(conf-vty04)#password telmex
telmex(conf-vty04)# ctrl Z
telmex# configuracion terminal
telmex(conf-t)#interface serial 0
telmex(conf-if)#ip address poner ip
telmex(conf-if)#no shutdown
telmex(conf-if)#ctrl Z
telmex#write
CONFIGURACION ENCAPSULADO:
router>enable
router#configuración terminal
router(conf-t)#hostname poner nombre del equipo
router(conf-t)#interface serial 0
router(conf-if)#encapsulation frame-relay ietf
router(conf-if)#no ip address
router(conf-if)#no shutdown
router(conf-if)#exit
router(conf-t)#interfase serial 0.1 point-to-point
router(conf-if)#ip address poner ip y mascara de sub-red
router(conf-if)#frame-relay interface dlci poner dlci
router(conf-if-dlci)#ctrl Z
router#write
router#show frame-relay pvc
4
CONFIGURACIONES ROUTERS CISCO
COMO CONFIGURAR DHCP CISCO:
router>enable
router#configuration terminal
router(conf-t)#ip dhcp pool 1
router(dhcp-conf)#netbios-name-server poner ip
router(dhcp-conf)#ctrl Z
router#configuracion terminal
router(conf-t)#ip default-gateway poner ip
router>enable
router#configuración terminal
router(conf-t)#interface loopback 0
router(conf-t)#ip address poner ip y mascara de subred
router>enable
router#configuratión terminal
router(conf-t)#hostname poner nombre del equipo
router(conf-t)#interface fastethernet 0
router(conf-if)# no shutdown
router(conf-if)#descripcion nombre del cliente y numero de enlace
router(conf-if)#ip address poner ip y mascara de sub-red
router(conf-if)#no ip proxy arp
router(conf-if)#ip route-cache cef
router(conf-if)#ip route-cache same interface
router(conf-if)#speed auto
router(conf-if)#no cdp enable
router> enable
router#configuration terminal
router(conf-t)#interface fastethernet 0/0. poner nº de vlan asignada
router(conf-if)#descripcion poner nº de enlace
router(conf-if)#encapsulation dot1q 1 native
router(conf-if)#ip address poner ip y mascara de subred
router(conf-if)#no snmp trap link-status
router(conf-if)#ctrl Z
router#write
5
CONFIGURACIONES ROUTERS CISCO
CONFIGURACION AVANZADA (ENCAPSULACION)
router>enable
router#configuration terminal
router(conf-t)#hostname poner nombre del equipo
router(conf-t)#interface serial 0/0
router(conf-if)#no shutdown
router(conf-if)#descripcion poner nº enlace
router(conf-if)#bandwith poner ancho de banda
router(conf-if)#no ip address
router(conf-if)#encapsulation frame-relay ietf
router(conf-if)#frame-relay lmi-type q933a (cambia segun ingenieria)
router(conf-if)#ip route-cache cef
router(conf-if)#ip route-cache same interface
router(conf-if)#exit
router(conf-t)#interface serial 0/0.1 point-to point
router(conf-if)#descripcion poner nº enlace
router(conf-if)#ip address poner ip y mascara de sub-red
router(conf-if)#frame-relay interface-dlci poner nºdlci ietf
router(conf-if)#no shutdown
router(conf-if)#ip route-cache same interface
router(conf-if)#ctrl Z
router#write
CONFIGURACION INTERFAZ E1
router>enable
router#configuration terminal
router(conf-t)#hostname poner nombre del equipo
router(conf-t)#controller e1 0/0
router(conf-t)#framing no-crc4
router(conf-t)#channel group 0 timeslot 1-poner timeslot segun ancho de banda
router(conf-t)#interface serial 0/0:0
router(conf-if)#no shutdown
router(conf-if)#descripcion poner nombre del cliente y nº de enlace
router(conf-if)#bandwith poner ancho de banda
router(conf-if)#no ip address
router(conf-if)#encapsulation frame-relay ietf
router(conf-if)#frame-relay lmi-type q933a (cambia segun ingenieria)
router(conf-if)#ip route-cache same interface
router(conf-if)#ip route-cache cef
router(conf-if)#exit
router(conf-t)#interface serial 0/0:0.1 point-to-point
router(conf-if)#no shutdown
router(conf-if)#descripcion poner nombre de cliente y nº de enlace
router(conf-if)#ip address poner ip y mascara de sub-red
router(conf-if)#frame-relay interface-dlci nº dlci ietf
router(conf-if)#ip route-cache same interface
router(conf-if)#ctrl Z
router(conf-t)#write
6
CONFIGURACIONES ROUTERS CISCO
PASSWORD RECOVERY CISCO 805:
Cuando comienza a bootear presionamos ALT+CTRL+PAUSA.
boot#set ios-conf=0x2142
luego vamos a sistema global del router.
router>enable
router#configuration terminal
router(conf-t)#show run
si podemos acceder, debemos ir a boot# y cambiar posicion de memoria hacemos:
a) Apagar router.
b) Cuando comienza a bootear presionamos ALT+CTRL+PAUSA.
boot#set-ios-conf=0x2102
boot#boot
7
CONFIGURACIONES ROUTERS CISCO
CONFIGURACION HDLC-PPP CON PLACA VWIC-1MFT-E1:
router>enable
router#configuration terminal
router(conf-t)#controller e1 0/0
router(conf-t)#framing no-crc4
router(conf-t)#channel group 0 timeslot 1-poner timeslot segun ancho de banda
router(conf-t)#interface serial 0/0:0
router(conf-if)#no shutdown
router(conf-if)#descripcion poner nombre del cliente y nº de enlace
router(conf-if)#bandwith poner ancho de banda
router(conf-if)#ip address poner ip y mascara
router(conf-if)#encapsulation ppp
router(conf-if)#ip route-cache same interface
router(conf-if)#ip route-cache cef
router(conf-if)#exit
router(conf-t)#comenzamos a pegar template.
Una vez que terminamos hacemos:
router(conf-t)# ctrl. Z
router#write
NOTA:los timers en el router sirven para la actualizacion de las tables de ruteo que se
vayan creando en el router.
8
CONFIGURACION ROUTER CISCO
CONFIGURACION MAPEO:
router>enable
router#configuration terminal
router(conf-t)#hostname poner nombre del equipo
router(conf-t)#interface serial 0
router(conf-if)#no shutdown
router(conf-if)#descripcion poner nombre cliente y nº enlace
router(conf-if)#ip route-cache same interface
router(conf-if)#ip route-cache cef
router(conf-if)#no ip address
router(conf-if)#encapsulation frame-relay ietf
router(conf-if)#ignore dcd
router(conf-if)#frame-relay traffic-shaping
router(conf-if)#frame-relay lmi-type q933a
router(conf-if)#frame-relay ip rtp header-compression
router(conf-if)#exit
router(conf-t)#interface serial 0.1 point-to-point
router(conf-if)#no shutdown
router(conf-if)#ip route-cache same interface
router(conf-if)#no ip mroute-cache
router(conf-if)#descripcion poner nombre cliente y nº enlace
router(conf-if)#ip address poner ip y mascara
router(conf-if)#frame-relay interface dlci agregar dlci ietf
router(conf-if)#class pepe
router(conf-if)#ctrl Z
router#ip route 0.0.0.0 0.0.0.0 poner ip de gestion (en caso que sea internet)
router#configuration terminal
router(conf-t)#map-class frame-relay pepe
router(conf-if)#frame-relay cir 256000 (ej.)
router(conf-if)#frame-relay bc 2560 (ej.)
router(conf-if)#no frame-relay adaptative-shaping
router(conf-if)#frame-relay fair-queue
router(conf-if)#frame-relay fragment 320
router(conf-if)#frame-relay ip rtp priority 16384 16383 48
router(conf-if)#exit
router(conf-t)#voice-port 1/0
router(conf-if)#cptone ar
router(conf-if)#connection plar 12 (se asigna por ing.)
router(conf-if)#descripcion connected to fxo (si es fxs se pone enlugar de fxo, fxs).
router(conf-if)#exit
router(conf-t)#voice-port 1/1
router(conf-if)#cptone ar
router(conf-if)#connection plar 13 (se asigna por ing.)
router(conf-if)#descripcion connected to fxo (si es fxs se pone enlugar de fxo, fxs).
router(conf-if)#exit
router(conf-t)#dial-peer voice 1 pots
router(conf-if)#destination-pattern 20 (se asigna por ing.)
router(conf-if)#port 1/0 (continua proxima hoja)
9
CONFIGURACION ROUTER CISCO
router(conf-if)#exit
router(conf-t)#dial-peer voice 2 pots
router(conf-if)#destination-pattern 21 (se asigna segun ing.)
router(conf-if)#port 1/1
router(conf-if)#exit
router(conf-t)#dial-peer voice 7 voip
router(conf-if)#destination-pattern 12
router(conf-if)#session target ipv4: poner ip wan de router destino
router(conf-if)#ip predecence 5
router(conf-if)#exit
router(conf-t)#dial-peer voice 8 voip
router(conf-if)#destination-pattern 13
router(conf-if)#session target ipv4: poner ip wan de router destino
router(conf-if)#ip precedence 5
router(conf-if)#ctrl Z
router#write
NOTA:
10
CONFIGURACION SWITCH CISCO
CONFIGURACION VLAN
switch>enable
switch#configuracion terminal
switch(conf-t)#hostname poner nombre del equipo
switch(conf-t)#interface vlan 1
switch(conf-if)#no shutdown
switch(conf-if)#descripcion poner nombre del cliente y nº de enlace
switch(conf-if)#ip address poner ip y mascara
switch(conf-if)#exit
switch(conf-t)#ip default-gateway poner solo ip
switch(conf-t)#exit
switch#show vlan (muestra la vlan ya configurada)
11
CONFIGURACION ROUTER HUAWEI
COMANDOS BASICOS
12
CONFIGURACION ROUTER HUAWEI
CONFIGURACION DE PASSWORD Y GESTION (HUAWEI 28-09)
<huawei>system-view
[huawei]sysname poner nombre del equipo
[huawei]local user poner nombre segun ingenieria
[huawei]password simple poner password asignado
[huawei]service-type telnet terminal
[huawei]level 3
[huawei]user_interface vty 0 4
[huawei]authentication-mode scheme
[huawei]set authentication password simple poner nombre asignado
[huawei]quit
<huawei>save safely
COMO REBOOTEAR
<huawei>system-view
[huawei]reboot
RUTEO ESTATICO
<huawei>system-view
[huawei]ip route-static 0.0.0.0 0.0.0.0 poner solo ip de GESTION
Significa que las direcciones que esten dentro del rango 0.0.0.0 y la mascara 0.0.0.0 o
sea cualquier IP y cualquier MASCARA, sera alcanzado a travez de la IP DE
GESTION.
13
CONFIGURACION ROUTER HUAWEI
CONFIGURACION ROUTER HUAWEI 10-40
<huawei>system-view
[huawei]hostname poner nombre
[huawei]local-user poner nombre service-type ppp
[huawei]local-user poner nombre service-type administrator password simple pass.
[huawei]aaa enable
[huawei] firewall enable
[huawei]interfase ethetnet 0
[huawei-ethernet 0]ip address poner ip y mascara
[huawei-ethernet 0]quit
[huawei]interfase Ethernet 1
[huawei-ethernet 1]ip address poner ip y mascara
[huawei-ethernet 1]quit
[huawei]ip route-static 0.0.0.0 0.0.0.0 poner io de gestion
[huawei]quit
<huawei>save
14
CONFIGURACION METRO 500 HUAWEI
• Ingresamos por OPTIX NAVIGATOR.
• En pantalla va a figurar:
Para buscar ip del metro presionamos SEARCH, una vez que encuentra la ip
presionamos CONNECT, agregar en USERNAME: szhw y en PASSWORD:
nesoft clickeamos en FORCE LOGIN, y luego CONNECT.
NOTA: para configurar ID tenemos que pasar el numero decimal asignado como ID
a hexadecimal, en la calculadora del optix(se encuentra en la parte superior de la
pantalla figura como calculator), ej:
Extended ID: 9
Basic ID: xxx (id a pasar a hexadecimal).
• Después de configurar el ID vamos al OPTIX MANAGER T2000, en la
pantalla van a figurar id’s , borrar los que se encuentren en pantalla, para ello
debemos hacer:
• Clic derecho sobre el id, luego DELETE, asi con todos los id’s,
• Para crear un nuevo id hacemos:
En la parte inferior de a pantalla tenemos la solapa CREATE, hacemos clic en
la misma, en el listado de equipos elegimos la opcion OPTIX METRO
500,luego nos muestra una pantalla el la que debemos llenar los siguientes datos:
ID: agregar nº de id en decimal.
Cambiar de NON GATEWAY a GATEWAY.
NE USER: root
PASSWORD:password
Damos OK, deja nuevamente en el listado de ID,hacemosd clic derecho en el id
configurado vamos a CONFIGURATION, clic en MANUAL
CONFIGURACION una vez adentro damos NEXT, hacemos clic en los dos
OK,en la proxima pantalla clic en NEXT, en la siguiente clickeamos en
QUERY PHYSICAL SLOT, NEXT Y FINISH.
Una vez que estamos en la pantalla de donde nos figura el ID configurado
hacemos:
Sobre el ID creado hacemos clic derecho y vamos a la opcion
SYNCRONIZATION CURRENT ALARM.
Finalizamos configuracion.
15
CONFIGURACION METRO 1000 HUAWEI
• Ingresamos por OPTIX NAVIGATOR
Para buscar ip del metro presionamos SEARCH, una vez que encuentra la ip
presionamos CONNECT, clickeamos en FORCE LOGIN, y luego CONNECT.
NOTA: para configurar ID tenemos que pasar el numero decimal asignado como ID
a hexadecimal, en la calculadora del optix(se encuentra en la parte superior de la
pantalla figura como calculator), ej:
Extended ID: 9
Basic ID: xxx (id a pasar a hexadecimal).
• Después de configurar el ID vamos al OPTIX MANAGER T2000, en la
pantalla van a figurar id’s , borrar los que se encuentren en pantalla, para ello
debemos hacer:
Clic derecho sobre el id, luego DELETE, asi con todos los id’s, la misma, en el
listado de equipos elegimos la opcion OPTIX 155/622H,luego nos muestra una
pantalla el la que debemos llenar los siguientes datos:
ID: agregar nº de id en decimal.
NE USER: root
PASSWORD:password
Damos OK, deja nuevamente en el listado de ID,hacemosd clic derecho en el id
configurado vamos a CONFIGURATION,luego presionamos UPLOAD, una
vez que termina el upload, vuelve a la pantalla de ID’S, y sobre el id creado
hacemos clic derecho y vamos a OPEN SLOT DIAGRAM, presionamos en
FUNCTION, SYNCHRONIZE CURRENT ALARM, una vez que damos clic
en SYNCHRONIZE CURRENT ALARM, los slot’s del METRO tienen que
tirar alarmas (slot optico).
• Una mejor forma de hacer upload es:
En la parte superior de la pantalla dentro del OPTIX NAVIGATOR T2000,
vamos a la pestaña CONFIGURATION, CONFIGURATION DATA
MANAGMENT, dentro de la pantalla en donde nos figura como ROOT,
clickeamos en los ID’S que no usamos.
Hacemos clic en el símbolo >> y pasa el ID creado al otro lado de la pantalla.
Marcamos el ID creado y en la parte inferior de la pantalla hacemos clic en
UPLOAD.
16
CONFIGURACION METRO 1000 HUAWEI
CONFIGURACION Y RECONOCIMIENTO DE PLACAS
En cado de que tengamos una placa en la interface 1,2,3 o 4 y no lo toma el upload
hacemos:
• Nos paramos en la interface a configurar.
• Hacemos clic derecho sobre la interface.
• Seleccionar placa según ingenieria.
Para buscar ip del metro presionamos SEARCH, una vez que encuentra la ip
presionamos CONNECT, clickeamos en FORCE LOGIN, y luego CONNECT.
NOTA: para configurar ID tenemos que pasar el numero decimal asignado como ID
a hexadecimal, en la calculadora del optix(se encuentra en la parte superior de la
pantalla figura como calculator), ej:
Extended ID: 9
Basic ID: xxx (id a pasar a hexadecimal).
17
Después de configurar el ID vamos al OPTIX MANAGER T2000, en la pantalla van a
figurar id’s , borrar los que se encuentren en pantalla, para ello debemos hacer:
(continua en la proxima pagina).
CONFIGURACION METRO 1000 HUAWEI
Clic derecho sobre el id, luego DELETE, asi con todos los id’s, la misma, en el listado
de equipos elegimos la opcion OPTIX 155/622H,luego nos muestra una pantalla el la
que debemos llenar los siguientes datos:
ID: agregar nº de id en decimal.
NE USER: root
PASSWORD:password
Damos OK, deja nuevamente en el listado de ID,hacemosd clic derecho en el id
configurado vamos a CONFIGURATION,luego presionamos UPLOAD, una
vez que termina el upload, vuelve a la pantalla de ID’S, y sobre el id creado
hacemos clic derecho y vamos a OPEN SLOT DIAGRAM, presionamos en
FUNCTION, SYNCHRONIZE CURRENT ALARM, una vez que damos clic
en SYNCHRONIZE CURRENT ALARM, los slot’s del METRO tienen que
tirar alarmas (slot optico).
18
CONFIGURACION MINIEXPERT HUAWEI
CONFIGURACION DE ACCESO AL EQUIPO:
PORT SETTINGS:
Bits per second: 115200
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
Damos ok.
SETTINGS:
Function, arrow,and ctrl keys act
Terminal keys: hacer clic
EMULATION:
Elegir: VT100
Telnet terminal: VT100
Back scroll buffer lines: 500
miniexpert>ena
miniexpert#configuration terminal
miniexpert(conf-t)#hostname agregar nombre
miniexpert(conf-t)#interfase ethernet 2/0/1
miniexpert(conf-eth2)#duplex full
miniexpert(conf-eth2)#speed 100
miniexpert(conf-eth2)#ip address agregar ip y mascara
miniexpert(conf-eth2)#descripcion agragar nombre numero de slot y port
miniexpert(conf-eth2)#ctrl Z
miniexpert#wr
miniexpert#conf-t
miniexpert(conf-t)#ip route 0.0.0.0 0.0.0.0 agregar ip de gestion
miniexpert(conf-t)#user noc type exec privilege 15 password agregar password
miniexpert(conf-t)#ctrl Z
miniexpert#wr
NOTA:
• Para gestionar por telnet, agregamos a nuestra PC la ip del router de gestion.
19
• Una vez que este todo configurado, reseteamos las placas, dejamos que bootee e
intentamos ingresar nuevamente.
Se realiza para ver si quedaron las configuraciones bien configuradas.
CONFIGURACION LANSWITCH HUAWEI 3300
Upgrade VRP
1er Paso:
Habilitar el switch como ftp Server:
aaa
authentication-scheme default
authentication-mode radius local
authorization-scheme default
accounting-scheme default
accounting-mode radius
domain default
radius-server telmex
domain default_admin
local-user admin password cipher 3#8/B!D#X_+Q=^Q`MAF4<1!!
local-user admin level 15
local-user admin ftp-directory flash:
2do Paso:
Confgigurar una IP en el puerto 1 del switch
vlan batch 1 to 4094
vlan 100
description INT_LAN
#
interface Vlanif1
ip address 10.0.0.1 255.255.255.0
#
interface Vlanif100
description INTERNET - LAN
ip address 10.10.10.1 255.255.255.0
#
interface Ethernet0/0/1
port link-type access
port default vlan 100
bpdu enable
ntdp enable
ndp enable
3er Paso:
Subir via tftp la vrp a la flash.
Corer el tftp 32 u otro en una pc cn ip 10.10.10.2 /24
tftp 10.10.10.2 get S3328-V100R003C00SPC301.cc
20
4to Paso:
>system-view
upgrade basic-bootrom S3328-V100R003C00SPC301.cc
5to Paso:
Guardar la configuración y reiniciar.
>Save
>reboot
6to Paso:
Verificar el cambio de version:
>Display version
Dir
21
Contraseña:
230 User logged in.
ftp> hash
Impresión de marcas "hash" Activo ftp: (2048 bytes/marca "hash") .
ftp> bin
200 Type set to I.
9° Ir subiendo los archivos de a uno:
ftp> put http3.1.3-0044.web
ftp> put s3900-224.btm
ftp> put vrpcfg.def
ftp> put s3900ei-vrp310-r0022-224.bin
10° Verificar que estén OK ( estarán también los de la Release 13 ):
ftp> ls
200 Port command okay.
150 Opening ASCII mode data connection for *.
vrpcfg.def
http3.1.3-0043.web
s3900-vrp310-r0013-223-64-ei.bin
vrpcfg.cfg
http3.1.3-0044.web
s3900-224.btm
s3900ei-vrp310-r0022-224.bin
11° Actualizar el BootROM
<S3900-1>boot bootrom s3900-224.btm
This will update BootRom file on unit 1. Continue? [Y/N] y
Upgrading BOOTROM, please wait...
Upgrade BOOTROM succeeded!
12° Actualizar el BootROM
En caso de que la Release anterior sea mayor a 7 pasar al punto 13. En caso contrario (
Release 7 o anterior ), se deberá renombrar el archivo .BIN a . APP.
<S3900-1>rename unit1>flash:/s3900ei-vrp310-r0022-224.bin
unit1>flash:/s3900eivrp310-r0022-224.app
De ahora en mas si la Release anterior era la 7 o menor, en todos los casos que aparece
.BIN se deberá utilizar . APP
13° Especificar que realice el booteo con la nueva Release
<S3900-1>boot boot-loader flash:/s3900ei-vrp310-r0022-224.bin
The specified file will be booted next time on unit 1!
Para este paso se puede escribir <S3900-2>boot boot-loader flash:/s39 y presionar TAB
varias veces hasta que complete el nombre con la r0022.
14° Verificar el booteo:
<S3900-1>display boot
Unit 1
The app to boot at the next time is: s3900ei-vrp310-r0022-224.bin
The app to boot at this time is: s3900-vrp310-r0013-223-64-ei.bin
15° Rebootear el equipo:
<S3900-1>reboot
This will reboot device. Continue? [Y/N] y
#Apr 2 04:53:40:611 2000 S3900-2 COMMONSY/5/REBOOT:- 1 -
Reboot Fabric by command.
22
16° Una vez que el equipo Booteó verificar la nueva Release y la nueva versión del
BootROM
<S3900-1>dis ver
Huawei Versatile Routing Platform Software
VRP Software, Version 3.10, RELEASE 0022
Copyright(c) 1998-2006 Huawei Technologies Co., Ltd. All rights reserved.Quidway
S3928P-EI uptime is 0 week,0 day,0 hour,0 minute
Quidway S3928P-EI with 1 MIPS Processor
64M bytes DRAM
16384K bytes Flash Memory
Config Register points to FLASH
Hardware Version is EI_REV.C
CPLD Version is CPLD 001
Bootrom Version is 224
[Subslot 0] 24 FE Hardware Version is REV.C
[Subslot 1] 4 GE Hardware Version is REV.C
17° Dejar activa la gestión WEB:
[S3900-1]web set-package http3.1.3-0044.web
23