Professional Documents
Culture Documents
Configuración Router DHCP: Comandos Cisco
Configuración Router DHCP: Comandos Cisco
INICIAL
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname BARRANQUILLA-nombre dispositivo
BARRANQUILLA(config)#banner motd "Bienvenidos"
BARRANQUILLA(config)#enable secret cisco12345
BARRANQUILLA(config)#int s0/3/0-directamente conectada
BARRANQUILLA(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to down
BARRANQUILLA(config-if)#ip addres 172.28.29.14 255.255.255.252-ip Gateway de las
interfaces directamente conectadas
BARRANQUILLA(config-if)#exit
LINEA DE CONSOLA
BARRANQUILLA(config)#line console 0
BARRANQUILLA(config-line)#login authentication default
BARRANQUILLA(config)#Exit
SSH
BARRANQUILLA(config)#ip domain-name oquendo.com
BARRANQUILLA(config)#crypto key generate rsa
The name for the keys will be: BARRANQUILLA.oquendo.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.
How many bits in the modulus [512]: 2048-pueden ser también 4096-8192
% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]
BARRANQUILLA(config)#ip ssh version 2
*mar. 1 1:1:50.540: %SSH-5-ENABLED: SSH 1.99 has been enabled
BARRANQUILLA(config)#ip ssh time-out 10
BARRANQUILLA(config)#ip ssh authentication-retries 3
BARRANQUILLA(config)#line vty 0 4
BARRANQUILLA(config-line)#login authentication default
BARRANQUILLA(config-line)#transport input ssh
BARRANQUILLA(config-line)#exit
CONFIGURACIÓN AAA
CARTAGENA(config)#aaa new-model
CARTAGENA(config)#radius-server host 172.28.29.22- ip estática del servidor AAA
CARTAGENA(config)#radius-server key cisco12345
CARTAGENA(config)#aaa authentication login default group radius local
LINEA DE CONSOLA
CARTAGENA(config)#line console 0
CARTAGENA(config-line)#login authentication default
CARTAGENA(config)#exit
SSH
CARTAGENA(config)#ip domain-name oquendo.com
CARTAGENA(config)#crypto key generate rsa
The name for the keys will be: CARTAGENA.oquendo.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.
How many bits in the modulus [512]: 2048-pueden ser también 4096-8192
% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]
CARTAGENA(config)#ip ssh version 2
*mar. 1 1:37:1.603: %SSH-5-ENABLED: SSH 1.99 has been enabled
CARTAGENA(config)#ip ssh time-out 10
CARTAGENA(config)#ip ssh authentication-retries 3
CARTAGENA(config)#line vty 0 4
CARTAGENA(config-line)#login authentication default
CARTAGENA(config-line)#transport input ssh
CARTAGENA(config-line)#exit
ENRUTAMIENTO EIGRP (De acuerdo al que se utilice)
CARTAGENA(config)#router eigrp 10000-sistema autónomo
CARTAGENA(config-router)#network 172.28.29.8 0.0.0.3-ip de red de las redes
directamente conectadas + maskara wildcard
CARTAGENA(config-router)#no auto-summary
CARTAGENA(config-router)#passive-interface g0/0-unicamente las LAN
Writing startup-config...!!
[OK - 1693 bytes]
1693 bytes copied in 0.055 secs (30781 bytes/sec)
COMANDOS DE VERIFICACIÓN
Switch#show ip route : Validar configuración del enrutamiento