Configuracion Router Adolfo

You might also like

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

Router>enable

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname adolfo
adolfo(config)#enable se
adolfo(config)#enable secret cafe
adolfo(config)#line console 0
adolfo(config-line)#pass
adolfo(config-line)#password cachupin
adolfo(config-line)#login
adolfo(config-line)#exit
adolfo(config)#line vty 0 4
adolfo(config-line)#pass
adolfo(config-line)#password cafe
adolfo(config-line)#login
adolfo(config-line)#exit
adolfo(config)#service pass
adolfo(config)#service password-encryption
adolfo(config)#interface g0/0
adolfo(config-if)#ip add
adolfo(config-if)#ip address 172.28.12.1 255.255.254.0
adolfo(config-if)#no shutdown

adolfo(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

adolfo(config-if)#exit
adolfo(config)#inter
adolfo(config)#interface g0/1
adolfo(config-if)#ip add
adolfo(config-if)#ip address 172.28.14.1 255.255.255.240
adolfo(config-if)#no shutd
adolfo(config-if)#no shutdown

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

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


to up

adolfo(config-if)#exit
adolfo(config)#inter
adolfo(config)#interface s0/1/0
adolfo(config-if)#ip add
adolfo(config-if)#ip address 192.168.16.1 255.255.255.252
adolfo(config-if)#no shut
adolfo(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down


adolfo(config-if)#
adolfo(config-if)#exit
adolfo(config)#ip domain-name ipchile.cl
adolfo(config)#ip ssh version 2
Please create RSA keys (of at least 768 bits size) to enable SSH v2.
adolfo(config)#crypto key generate rsa
The name for the keys will be: adolfo.ipchile.cl
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.

How many bits in the modulus [512]: 1024


% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

adolfo(config)#username admin password cafe


*mar. 1 0:23:43.720: %SSH-5-ENABLED: SSH 2 has been enabled
adolfo(config)#line vty 0 4
adolfo(config-line)#tras
adolfo(config-line)#trasport input ssh
^
% Invalid input detected at '^' marker.
adolfo(config-line)#transport input ssh
adolfo(config-line)#login local
adolfo(config-line)#exit
adolfo(config)#ip route 172.28.8.0 255.255.252.0 192.168.16.2
adolfo(config)#end
adolfo#
%SYS-5-CONFIG_I: Configured from console by console

adolfo#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
adolfo#
adolfo#
comfuguracion switch

Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname vistor
vistor(config)#line console 0
vistor(config-line)#passw
vistor(config-line)#password cachupin
vistor(config-line)#login
vistor(config-line)#exit
vistor(config)#line vty 0 15
vistor(config-line)#pass
vistor(config-line)#password cafe
vistor(config-line)#login
vistor(config-line)#exit
vistor(config)#service pas
vistor(config)#service password-encryption
vistor(config)#service password-encryption
vistor(config)#interface vlan1
vistor(config-if)#ip add
vistor(config-if)#ip address 172.28.13.254 255.255.254.0
vistor(config-if)#no shut
vistor(config-if)#no shutdown

vistor(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

vistor(config-if)#exit
vistor(config)#ip default-gateway 172.28.12.1
vistor(config)#ip domain-name ipchile.cl
vistor(config)#ip ssh version 2
Please create RSA keys (of at least 768 bits size) to enable SSH v2.
vistor(config)#crypto key generate rsa
The name for the keys will be: vistor.ipchile.cl
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

vistor(config)#username admin pass


*mar. 1 0:40:1.912: %SSH-5-ENABLED: SSH 2 has been enabled
vistor(config)#username admin password cafe
vistor(config)#line vty 0 15
vistor(config-line)#trans
vistor(config-line)#transport input ssh
vistor(config-line)#login local
vistor(config-line)#exit
vistor(config)#copy run start
^
% Invalid input detected at '^' marker.
vistor(config)#exit
vistor#
%SYS-5-CONFIG_I: Configured from console by console

vistor#copy run start


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

You might also like