Skip to content

Latest commit

 

History

History
79 lines (59 loc) · 1.73 KB

README.md

File metadata and controls

79 lines (59 loc) · 1.73 KB

!Comentários - Desativar comandos; enable !Configurando Data e Hora clock set 15:15:00 22 May 2024

!Modo de Configuração Global
configure terminal

    !Configuração Hostname
    hostname sw-01

    service password-encryption

    service timestamps log datetime msec

    no ip domain-lookup

    banner motd #AVISO: acesso autorizado somente a funcionarios#

    enable secret 123@senac

    username senac secret 123@senac
    username nathan password 123@senac
    username admin privilege 15 secret 123@senac

    line console 0

        login local

        password 123@senac

        logging synchronous

        exec-timeout 5 30

    !Sair de Todos os Modos
    end

!Salvando da RAM para a NVRAM
copy running-config startup-config

!Verificação das Configurações
show running-config




enable.   
configure terminal.
    !Configurações da VTY
    line vty 0 4 
        login local 
        password 123@senac
        logging synchronous 
        exec-timeout 5 30 
        transport input ssh 
        end
write

enable configure terminal ip default-gateway 192.168.1.254 interface vlan 1 description interface SVI do SW-01 ip address 192.168.1.250 255.255.255.0 no shutdown end write

SSH - OpenSSH enable configure terminal ip domain-name senac.br crypto key generate rsa general-keys modulus 1024 ip ssh version 2 ip ssh time-out 60 ip ssh authentication-retries 2 end write