Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

https://www.youtube.com/watch?

v=L6404zez4xo&list=PLYAyQauAPx8niwPYnDOFynhmHiQlXlG5K&index=2&ab_channel=CodeSta
ck

* iniciar

Switch>enable

* iniciar configiracion

Switch#configure terminal

Switch(config)#hostname nombre

* colocar contraseña

name(config)#hostname SW1 de esta manera cambiamos el nombre

SW1(config)#enable password cisco de esta manero ponemos una contraseña

SW1(config)#line console 0

SW1(config-line)#password cisco

SW1(config-line)#login

SW1(config-line)#line vty 0 15

SW1(config-line)#password cisco

SW1(config-line)#login

SW1(config-line)#exit

SW1(config)#

* ver la confiracion que ingresamos

SW1#

SW1#show running-config para ver la configuracion del switch

SW1#

SW1#show running-config

Building configuration...
Current configuration : 1156 bytes

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

hostname SW1

enable password cisco ======= esta es la clave que pusimos

spanning-tree mode pvst

spanning-tree extend system-id

interface FastEthernet0/1

SW1#

SW1#end

*quitar contraseña

SW1(config)#no enable password

*colocar nueva contraseña, pero encriptada

SW1(config)#enable secret cisco

SW1(config)#exit

*ver la configuracion

SW1#show running-config
Building configuration...

Current configuration : 1181 bytes

version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption

hostname SW1
enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 esta es la contraseña encriptada

spanning-tree mode pvst


spanning-tree extend system-id
interface FastEthernet0/1
--More--

SW1 con0 is now available

Press RETURN to get started.

*colocar nueva contraseña, alfanumerica

Password:

SW1>enable
Password:
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#service password-encryption
SW1(config)#

SW1 con0 is now available

Press RETURN to get started.

User Access Verification

Password:

SW1>enable
Password:
SW1#show running-config
Building configuration...

Current configuration : 1205 bytes

version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
hostname SW1

enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0

spanning-tree mode pvst


spanning-tree extend system-id
interface FastEthernet0/1
interface FastEthernet0/2
interface FastEthernet0/3
interface FastEthernet0/4
interface FastEthernet0/5
interface FastEthernet0/6
interface FastEthernet0/7
interface FastEthernet0/8
interface FastEthernet0/9
interface FastEthernet0/10
interface FastEthernet0/11
interface FastEthernet0/12
interface FastEthernet0/13
interface FastEthernet0/14
interface FastEthernet0/15
interface FastEthernet0/16
interface FastEthernet0/17
interface FastEthernet0/18
interface FastEthernet0/19
interface FastEthernet0/20
interface FastEthernet0/21
interface FastEthernet0/22
interface FastEthernet0/23
interface FastEthernet0/24
interface GigabitEthernet0/1
interface GigabitEthernet0/2
interface Vlan1
no ip address
shutdown

line con 0
password 7 0822455D0A16 este es el password encriptado alfanumerico
login

line vty 0 4
password 7 0822455D0A16
login
line vty 5 15
password 7 0822455D0A16
login
end

SW1#
*Guardar la configuracion

Password:

SW1>enable
Password:
SW1#enable
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#exit
SW1#
%SYS-5-CONFIG_I: Configured from console by console

SW1#do write de no funcionar do write escribimos solamante write


SW1#write
Building configuration...
[OK]
SW1#

Copiar la configuración con la que inicie y guardarla


SW1#
SW1#copy startup-config running-config

Colocar mensaje al inicio del switch

SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

SW1(config)#banner motd #ADVERTENCIA NO MODIFIQUE LA CONFIGURACION


DE ESTE SWITCH#
SW1(config)#
SW1(config)#
SW1(config)#EXIT
SW1#
ADVERTENCIA NO MODIFIQUE LA CONFIGURACION DE ESTE SWITCH al
iniciar el switch nos aparecerá este mensaje

User Access Verification

Password:
% Password: timeout expired!

Quitar el mensaje de búsqueda de dominio cuando ingresamos un código equivocado


SW1>enable
Password:
SW1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#no ip domain-lookup
SW1(config)#
SW1(config)#exit
SW1#

Guardar cambios
SW1>enable
Password:
SW1#write
Building configuration...
[OK]
SW1#

You might also like