You are on page 1of 2

CONFIGURACION BASICA SWITCH

ena
config t
hostname SW1
ena password 1234
username JAZ password 1234
banner motd +Acceso restringido+
line console 0
password 1234
exit
line vty 0 4
password 1234
login
exit

VLAN

vlan 10
name NI
exit
int range f0/1-3
switchport mode access
switchport access vlan 10
exit (trunk 23/24)
int range f0/
switchport mode access
switchport access vlan 10
exit

SSH

line vty 5 15
login local
trasport input ssh
exit
ip domain-name cisco.com
crypto key generate rsa
1024
int vlan 1
ip add 200.3.0.4 255.255.255.0
no shutdown
exit
ip default-gateway 200.2.0.5

int range f0/13-16


switchport mode access
switchport mode trunk

CONFIGURACION BASICA ROUTER

no
ena
config t
hostname R2
banner motd +Acceso restringido+
enable password 1234
line console 0
password 1234
login
exit
line aux 0
password 1234
exit
line vty 0 4
password 1234
exit
username JAZ password 1234

SSH
line vty 5 15
login local
transport input ssh
exit
ip domain-name cisco.com
crypto key generate rsa
1024
exit

ena
config t
service password-encryption
exit
show run

config t
int f0/0
ip add 200.0.0.5 255.255.255.0
no sh
exit
int f0/1
ip add 200.1.0.5 255.255.255.0
no sh

You might also like