You are on page 1of 7

Academia SistemasUni

Laboratorio conexin y configuracin de routers, switchs y pcs

Configuracion EAGLE-SERVER Ip address = 192.168.254.254 mask sub net = 255.255.255.0 Gateway= 192.168.254.253 Configuracin de routers R1-ISP R1>enable R1#erase startup-config R1#reload Despues e reiciar si grabar al aparecer el modo setup presionamos las teclas CTRL+C router >enable router#configure terminal router(config)#hostname R1-ISP R1-ISP(config)#interface serial 0/0 R1-ISP(config-if)#ip address 10.10.10.6 255.255.255.252 R1-ISP(config-if)#no shutdown R1-ISP(config-if)#exit R1-ISP(config)#interface fastethernet 0/0 R1-ISP(config-if)#ip address 192.168.254.253 255.255.255.0 R1-ISP(config-if)#no shutdown R1-ISP(config-if)#exit R1-ISP(config)#ip route 172.16.0.0 255.255.0.0 10.10.10.5 R1-ISP(config)#exit R1-ISP#write R1-ISP#show ip route Configuracin de routers R2-CENTER R2>enable

CCIA. Csar Sovero Torres

Academia SistemasUni

R2#erase startup-config R2#reload Despues e reiciar si grabar al aparecer el modo setup presionamos las teclas CTRL+C router >enable router#configure terminal router(config)#hostname R2-CENTER R2-CENTER(config)#interface serial 0/0 R2-CENTER(config-if)#ip address 10.10.10.5 255.255.255.252 R2-CENTER(config-if)#no shutdown R2-CENTER(config-if)#Clock Rate 64000 R2-CENTER(config-if)#exit R2-CENTER(config)#interface fastethernet 0/0 R2-CENTER(config-if)#ip address 172.16.255.254 255.255.0.0 R2-CENTER(config-if)#no shutdown R2-CENTER(config-if)#exit R2-CENTER(config)#ip route 192.168.254.0 255.255.255.0 10.10.10.6 R2-CENTER(config)#exit R2-CENTER#write R2-CENTER#show ip route Configuracin Switch SW-CENTER Switch1>enable Switch1#erase startup-config Switch1#delete vlan.dat Switch1#reload Despues e reiciar si grabar al aparecer el modo setup presionamos las teclas CTRL+C switch>enable Switch#configure terminal Switch# (config)#hostname S1-CENTER S1-CENTER(config)#interface vlan 1 S1-CENTER(config-if)#ip address 172.16.254.1 255.255.0.0 S1-CENTER(config-if)#no shutdown S1-CENTER(config-if)#exit S1-CENTER(config)# ip default-gateway 172.16.255.254 Presionar CTRL+Z S1-CENTER#write Configuracin de Host Host 1 Ip address = 172.16.1.1 Sub Net mask = 255.255.0.0 Gateway = 172.16..255.254 Dns=192.168.254.254 Host 2 Ip address = 172.16.1.2 Sub Net mask = 255.255.0.0 Gateway = 172.16..255.254 Dns=192.168.254.254

CCIA. Csar Sovero Torres

Academia SistemasUni

Poniendo usuaro y clave R2-CENTER>enable R2-CENTER#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2-CENTER(config)#line vty 0 4 R2-CENTER(config-line)#password cisco R2-CENTER(config-line)#login R2-CENTER(config-line)#username uni password cisco R2-CENTER(config)#line vty 0 4 R2-CENTER(config-line)#login local R2-CENTER#CTRL+Z *Mar 1 01:25:57.699: %SYS-5-CONFIG_I: Configured from console by console R2-CENTER#write Building configuration... [OK] R2-CENTER#exit

R1> R1>enable R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#enable password cisco R1(config)#end R1#exit R1 con0 is now available Press RETURN to get star R1> R1>enable Password: cisco R1#show running-config Building configuration... Current configuration : 751 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! enable password cisco

CCIA. Csar Sovero Torres

Academia SistemasUni

! no aaa new-model ip cef ! ! R1> R1#configure terminal R1(config)#service password-encryption R1(config)#exit R1#show running-config Building configuration... Current configuration : 757 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! enable password 7 05080F1C2243 ! no aaa new-model ip cef ! ! R1# R1#configure terminal R1(config)#enable secret uni R1(config)#exit R1#show running-config Building configuration... Current configuration : 804 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$JPta$htUgm927t7X0PtHWrDYL9/ enable password 7 05080F1C2243 ! no aaa new-model ip cef ! !

CCIA. Csar Sovero Torres

Academia SistemasUni

R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#exit R1#exit User Access Verification Password: cisco R1>enable Password: uni Cuando aparecen los log ( mensajes ) automticamente el texto digitado lo pasa abajo asi no te molesta los log R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#line console 0 R1(config-line)#loggin synchronous CNTL/Z. No busca commandos en el servidor ( sin caso te equivocas al digitar ) R1# R1#configure terminal R1(config)#no ip domain-lookup

Conexion remota R1(config)#line vty 0 4 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)#exit En router: R1# 200.10.10.194 R1# telnet 200.10.10.194 En host telnet 200.10.10.194

CCIA. Csar Sovero Torres

Academia SistemasUni

Conexion remota R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#username cisco password class R1(config)#line vty 0 4 R1(config-line)#login local R1(config-line)#

R1(config)#banner motd # Enter TEXT message. End with the character '#'. Welcome Router # R1(config)#banner login # Enter TEXT message. End with the character '#'. Solo usuarios autorizados # R1(config)#banner prompt-timeout # Enter TEXT message. End with the character '#'. No tiene acceso # R1(config)#exit Welcome Router Solo usuarios autorizados User Access Verification Password: No tiene acceso % Bad passwords

CCIA. Csar Sovero Torres

Academia SistemasUni

1 2 3 4 5 6 7

01 0000010 11 100 101 110 a111

255.255.255.10000000 1111111.1111111.1111111.10000000 8+8+8+ 10101101 1*1+0*2+1*4+1*8+1*16+0*32+1*64+0*128+1*256

CCIA. Csar Sovero Torres

You might also like