Practica Capitulo 2 _Parte 1

download Practica Capitulo 2 _Parte 1

of 1

Transcript of Practica Capitulo 2 _Parte 1

  • 8/12/2019 Practica Capitulo 2 _Parte 1

    1/1

    CCNA SecurityPrcticas del mdulo 2 ( Parte 1 )Instructor:Ernesto Vilarrasa Alumno:______________________________Fecha :____________

    Router#conf tRouter(config)#host Gateway

    Gateway(config)#service password-encryptionGateway(config)#service timestamps log datetime msecGateway(config)#security passwords min-length 10Gateway(config)#ena secretenable1234Gateway(config)#login block-for 160 attempts 3 within 10Gateway(config)#username admin priv 15 passAdmin12345Gateway(config)#username remoto priv 15 passRemoto1234Gateway(config)#login on-success logGateway(config)#login on-failure logGateway(config)#line console 0Gateway(config-line)#loginGateway(config-line)#passwordconsola12% Password too short - must be at least 10 characters. Password not configured.

    Gateway(config-line)#passwordconsola123Gateway(config-line)#exec-timeout 3 30Gateway(config-line)#exitGateway(config)#ip domain-name ciscoGateway(config)#crypto key generate rsaHow many bits in the modulus [512]: 1024Gateway(config)#line vty 0 4Gateway(config-line)#login localGateway(config-line)#transp input sshGateway(config-line)#exitGateway(config)#logging onGateway(config)#logging trap debuggingGateway(config)#logging host 10.0.0.10Gateway(config)#int fa 0/0Gateway(config-if)#ip address 10.0.0.1 255.255.255.0Gateway(config-if)#no shutGateway(config-if)#descriptionINSIDEGateway(config-if)#exitGateway(config)#banner motd$ Buen dia $Gateway(config)#banner login$ WARNING !!! $

    Desde el PC:

    PC>ssh -l remoto 10.0.0.1OpenPassword:

    Buen dia

    Gateway#sh clock*0:48:15.984 UTC lun mar 1 1993Gateway#conf tGateway(config)#ntp server 10.0.0.10Gateway(config)#ntp trusted-key1 ( opcional )Gateway(config)#ntp authentication-key 1 md5reloj12345 ( opcional )Gateway(config)#^ZGateway#sh clock*6:15:6.62 UTC lun abr 1 -4713Gateway#Gateway#sh flash

    System flash directory:

    File Length Name/status3 33591768 c1841-advipservicesk9-mz.124-15.T1.bin2 28282 sigdef-category.xml1 227537 sigdef-default.xml

    [33847587 bytes used, 30168797 available, 64016384 total]63488K bytes of processor board System flash (Read/Write)

    Gateway#conf tGateway(config)#secure boot-image %IOS_RESILIENCE-5-IMAGE_RESIL_ACTIVE: Successfully secured running imageGateway(config)# ZGateway#sh flash

    System flash directory:File Length Name/status

    2 28282 sigdef-category.xml1 227537 sigdef-default.xml

    [33847587 bytes used, 30168797 available, 64016384 total]63488K bytes of processor board System flash (Read/Write)

    Gateway#