Beruflich Dokumente
Kultur Dokumente
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SH
SH(config)#enable password cisco
SH(config)#ip domain-name cisco.com
SH(config)#crypto key generate rsa
The name for the keys will be: SH.cisco.com
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.
SH(config)#line vty 0 15
*mar 1 0:40:35.331: %SSH-5-ENABLED: SSH 1.99 has been enabled
SH(config-line)#password cisco
SH(config-line)#login
SH(config-line)#transport input ssh
SH(config-line)#ip ssh time-out 30
SH(config)#ip ssh authentication-retries 3
SH(config)#ip ssh version 2
SH(config)#line console 0
SH(config-line)#login
% Login disabled on line 0, until 'password' is set
SH(config-line)#password cisco
SH(config-line)#banner motd "ACCESO DENEGADO"
SH(config)#enable secret cisco
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
SH(config)#interface vlan1
SH(config-if)#ip address 10.0.13.0 255.255.255.128
Bad mask /25 for address 10.0.13.0
SH(config-if)#no shut
SH(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
SH(config-if)#end
SH#
%SYS-5-CONFIG_I: Configured from console by console
SH#wr
Building configuration...
[OK]
SH#exit
CONFIGURACION DE UN ROUTER
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname RA
RA(config)#ip domain-name cisco.com
RA(config)#username admin password cisco
RA(config)#crypto key generate rsa
The name for the keys will be: RA.cisco.com
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.
RA(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
RA#wr
Building configuration...
[OK]
RA#exit
Vlsm
Config t
Router rip
Version 2
No auto summary
Network ip