-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAula 5 - Configuração de Roteador 1941 (CISCO) e SSH Remoto.ios
89 lines (85 loc) · 2.78 KB
/
Aula 5 - Configuração de Roteador 1941 (CISCO) e SSH Remoto.ios
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
!Configuração Base do Router 1941 - RT-01
enable
clock set 20:14:00 06 Feb 2024
configure terminal
hostname rt-01
service password-encryption
service timestamps log datetime msec
service timestamps debug datetime msec
no ip domain-lookup
banner motd #LGPD - SENAC Tatuape#
security passwords min-length 6
enable secret 123@senac
username admin secret 123@senac
username senac privilege 15 secret 123@senac
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
login block-for 120 attempts 2 within 60
line console 0
login local
password 123@senac
logging synchronous
exec-timeout 5 30
exit
line vty 0 4
login local
password 123@senac
logging synchronous
exec-timeout 5 30
transport input ssh
end
write
==============================================================
!Configuração Base do Router 1941 - RT-02
enable
clock set 20:14:00 06 Feb 2024
configure terminal
hostname rt-02
service password-encryption
service timestamps log datetime msec
service timestamps debug datetime msec
no ip domain-lookup
banner motd #LGPD - SENAC Tatuape#
security passwords min-length 6
enable secret 123@senac
username admin secret 123@senac
username senac privilege 15 secret 123@senac
ip domain-name senac.br
!pressionar duas vezes o Enter
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
ip ssh time-out 60
ip ssh authentication-retries 2
login block-for 120 attempts 2 within 60
line console 0
login local
password 123@senac
logging synchronous
exec-timeout 5 30
exit
line vty 0 4
login local
password 123@senac
logging synchronous
exec-timeout 5 30
transport input ssh
end
write
=====================================================================
enable
configure terminal
interface gigabitEthernet 0/0
description Interface de Gateway
ip address 192.168.1.254 255.255.255.0
no shutdown
end
write
!Comandos de verificação
show running-config
show ip interface brief
!Acesso remoto via ssh
ssh -l admin 192.168.1.254
=====================================================================