Mudanças entre as edições de "Cisco 2960s"
De IFRS Campus Canoas
(Criou página com '.') |
|||
| Linha 1: | Linha 1: | ||
| − | . | + | === Configurações básicas === |
| + | conf t | ||
| + | hostname nome | ||
| + | === Habilitar Autenticação === | ||
| + | Habilita a solicitação de usuário e senha para acessar o switch via porta serial e SSH | ||
| + | (config)#enable secret senha | ||
| + | (config-line)# line console 0 | ||
| + | (config-line)# password senha | ||
| + | (config-line)# exit | ||
| + | (config)# | ||
| + | (config-line)# line vty 0 5 | ||
| + | (config-line)# exec-timeout 10 30 | ||
| + | (config-line)# exit | ||
| + | (config)# service password-encryption | ||
| + | |||
| + | === Habilitar SSH === | ||
| + | |||
| + | # conf t | ||
| + | (config)# ip domain-name canoas.ifrs.edu.br | ||
| + | (config)# crypto key generate rsa # Selecione 768 bits | ||
| + | (config)# ip ssh version 2 | ||
| + | (config)# ip ssh time-out 50 | ||
| + | (config)# ip ssh authentication-retries 3 | ||
| + | (config)# username admin privilege 15 secret senha | ||
| + | (config)# line vty 0 4 | ||
| + | (config-line)# login local | ||
| + | (config-line)# transport input ssh | ||
Edição das 16h02min de 17 de maio de 2018
Configurações básicas
conf t hostname nome
Habilitar Autenticação
Habilita a solicitação de usuário e senha para acessar o switch via porta serial e SSH
(config)#enable secret senha (config-line)# line console 0 (config-line)# password senha (config-line)# exit (config)# (config-line)# line vty 0 5 (config-line)# exec-timeout 10 30 (config-line)# exit (config)# service password-encryption
Habilitar SSH
# conf t (config)# ip domain-name canoas.ifrs.edu.br (config)# crypto key generate rsa # Selecione 768 bits (config)# ip ssh version 2 (config)# ip ssh time-out 50 (config)# ip ssh authentication-retries 3 (config)# username admin privilege 15 secret senha (config)# line vty 0 4 (config-line)# login local (config-line)# transport input ssh