Professional Documents
Culture Documents
CONFIGURACION SWITCH-router
CONFIGURACION SWITCH-router
Switch>enable
Switch#show running-config
Building configuration...
Switch#
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#hostname SW2
SW2(config)#
SW2(config)#enable password cisco
SW2(config)#exit
SW2#
SW2(config)#no enable password
SW2(config)#enable secret cisco
SW2(config)#exit
SW2#write
Building configuration...
[OK]
SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#do write
Building configuration...
[OK]
SW2(config)#exit
SW2#
SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#no ip domain-lookup
SW2(config)#exit
SW2#sadasfefg
Translating "sadasfefg"
% Unknown command or computer name, or unable to find computer address
CONFIGURACION DE ROUTER
Router#
Router#erase startup-config //Borrar la configuración actual del router
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Router#reload //Recargar la configuración
Router>enable
Router#configure terminal //Ingresar al modo de configuración global
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1 //Nombre del Router R1
R1(config)#enable secret class //Poner contraseña class para ngresar al modo privilegiado
RESUMEN EN R2
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#no ip domain-lookup
R2(config)#enable secret class
R2(config)#banner motd &
Enter TEXT message. End with the character '&'.
***************************
!!AUTHORIZED ACCESS ONLY!!!
***************************
&
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R1(config-line)#line vty 0 4
R1(config-line)#logging synchronous
R1(config-line)#exec-timeout 0 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#