Comandos
Comandos
Comandos
* Acceso
* IP
Router
enable
conft
Hostname R1-G1-X
Banner motd $ No pasar estamos aprendiendo $
line console 0
pass cisco
login
exit
line vty 0 15
pass cisco
login
exit
Laptop
int g0/0
no sh
int g0/0.10
encap
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.0
int g0/0.20
encap
encapsulation dot1q 10
ip add 192.168.20.1 255.255.255.0
int g0/0.30
encap
encapsulation dot1q 10
ip add 192.168.30.1 255.255.255.0
int g0/0.40
encap
encapsulation dot1q 10
ip add 192.168.40.1 255.255.255.0
no sh
#switch
>>>>>>>>> ACESSO REMOTO AL ROUTER
int g0/0
ip add 192.168.0.100 255.255.255.0
ip domain-name cisco.com
username cisco privilege 15 secret cisco
crypto key generate rsa: 2048
ip ssh version 2
line vty 0 15
transport input ssh
login local
vlan 10
name IT
Vlan 20
name Programacion
Vlan 30
name Base de Datos
Vlan 40
name IA
do sh vlan br
exit
int f0/1
sw mo tr
sw tr all vlan 10,20,30,40
do sh int tr
int ra f0/2-4
sw mo acc
sw acc vlan 10
int ra f0/5-9
sw mo acc
sw acc vlan 20
int ra f0/10-14
sw mo acc
sw acc vlan 30
int ra f0/ 15-19
sw mo acc
sw acc vlan 40
>>>extra
sh interface status
ip dhcp pool IT
default
defaul-router 192.168.10.1
net 192.168.10.0 255.255.255.0
exit
ip dhcp excluded address 192.168.10.1 192.168.10.10
ip dhcp pool IA
default
defaul-router 192.168.40.1
net 192.168.40.0 255.255.255.0
exit
ip dhcp excluded address 192.168.40.1 192.168.40.10