You are on page 1of 3

PROGRAMACIÓN DE PASSWORDS

Password de la consola
Router# config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0

Router(config-line)#password consola
Router(config-line)#login
Router(config-line)#end
Router#wr
Building configuration...
[OK]

Password para acceso a programación (enable)


Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret
Router(config)#enable secret cisco

Password para acceso remoto (vía telnet)


Router(config)#line vty 0 15
Router(config-line)#password telnet
Router(config-line)#login
Router(config-line)#exit
Router(config)#exit
Router#
Router#copy run sta
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
________________________________________________________
User Access Verification

Password:
Router>ena
Password:
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#copy run sta
Destination filename [startup-config]?
Building configuration...
[OK]
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int g0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

R1#copy run sta


Destination filename [startup-config]?
Building configuration...
[OK]
R1#

PROGRAMACIÓN DE UN BANNER AL INICIO DE LA SESIÓN POR CONSOLA


R1#config t
R1(config)#banner motd # Acceso restringido, solo personal autorizado!!! #
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#copy run sta


Destination filename [startup-config]?
Building configuration...
[OK]
R1#exit

You might also like