Fazer download em rtf, pdf ou txt
Fazer download em rtf, pdf ou txt
Você está na página 1de 3

switch telnet

router ssh
. Configuracion basica de los dispositivos ok
. Configuracion IP de las interfaces ok
. Pruebas de conexion local ok
. Los PCs deben acceder a sus routers (ssh) y switches (telnet) remotamente

R1
Router>
enable
config t
hostname R1
inte g0/1
description g0/1 => S1
ip add 192.107.1.1 255.255.255.0
no shutdown
inte g0/0
description g0/0 => R2
ip add 192.107.4.1 255.255.255.0
no shutdown
end

R2
Router>
enable
config t
hostname R2
inte g0/0
description g0/0 => R1
ip add 192.107.4.2 255.255.255.0
no shutdown
inte g0/1
description g0/1 => SW2
ip add 192.107.2.1 255.255.255.0
no shutdown
inte s0/0/1
description s0/0/1 => R3
ip add 192.107.5.1 255.255.255.0
no shutdown
end

R3
Router>
enable
config t
hostname R3
inte g0/1
description g0/1 => SW3
ip add 192.168.107.1 255.255.255.0
no shutdown
inte s0/0/1
description s0/0/1 => R2
ip add 192.107.5.2 255.255.255.0
no shutdown
end

---
SW1
Swtich>
enable
config t
hostname S1
config t
inte vlan 1
ip add 192.107.1.2 255.255.255.0
no shutdown
exit
ip default-gateway 192.107.1.1
end
copy run start

SW2
Swtich>
enable
config t
hostname S2
config t
inte vlan 1
ip add 192.107.2.2 255.255.255.0
no shutdown
exit
ip default-gateway 192.107.2.1
end
copy run start

SW3
Swtich>
enable
config t
hostname S3
config t
inte vlan 1
ip add 192.168.107.2 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.107.1
end
copy run start

ACCESO SSH ROUTER


ena
conf t
ip domain-name cisco.com
username admin privilege 15 secret cisco
crypto key generate rsa
1024
ip ssh version 2
line vty 0 4
login local
transport input ssh
end
copy run start

ACCESO TELNET

ena
conf t
line console 0
password cisco
login
exit
enable secret class
exit

PC1 Test ssh -l admin 192.107.1.1

PC2 Test ssh -l admin 192.107.2.1

Você também pode gostar