Sie sind auf Seite 1von 7

R1

en
conf t
hostname R1
int s0/0/0
ip add 10.10.10.6 255.255.255.252
no shutdown
exit
int s0/0/1
ip add 10.10.10.9 255.255.255.252
clock rate 64000
no shutdown
exit
int g0/0.10
encapsulation dot1Q 10
ip add 192.168.10.1 255.255.255.0
int g0/0.20
encapsulation dot1Q 20
ip add 192.168.20.1 255.255.255.0
int g0/0.30
encapsulation dot1Q 30
ip add 192.168.30.1 255.255.255.0
int g0/0.99
encapsulation dot1Q 99
ip add 192.168.99.1 255.255.255.0
int g0/0
no shutdown
exit
----------------------------------------------------------------------------------------------------DHCP
ip dhcp pool red10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8
exit
ip dhcp pool red20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8
exit
ip dhcp pool red30
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 8.8.8.8
exit
--------------------------------------------------------------------------------------------------ENRRUTAMIENTO RIPv2
router rip
version 2
network 192.168.10.0
network 192.168.20.0
network 192.168.30.0
network 10.10.10.4

network 10.10.10.8
end
wr
-------------------------------------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
R2
en
conf t
hostname R2
int s0/0/1
ip add 10.10.10.5 255.255.255.252
no shutdown
exit
int s0/0/0
ip add 10.10.10.1 255.255.255.252
no shutdown
exit
int g0/0.40
encapsulation dot1Q 40
ip add 192.168.40.1 255.255.255.0
exit
int g0/0
no shutdown
exit
---------------------------------------------------------------------------------------DHCP
ip dhcp pool red40
network 192.168.40.0 255.255.255.0
default-router 192.168.40.1
dns-server 8.8.8.8
exit

--------------------------------------------------------------------------------------ENRRUTAMIENTO RIPv2
router rip
version 2
network 192.168.40.0
network 10.10.10.4
network 10.10.10.0
end
wr
-------------------------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
R3
en
conf t
hostname R3
int s0/0/0
ip add 10.10.10.1 255.255.255.252
no shutdown
exit
int s0/0/1
ip add 10.10.10.10 255.255.255.252
no shutdown
exit
int g0/0.50
encapsulation dot1Q 50
ip add 192.168.50.1 255.255.255.0
int g0/0.60
encapsulation dot1Q 60
ip add 192.168.60.1 255.255.255.0
exit
int g0/0

no shutdown
exit
-------------------------------------------------------------------------------------ENRRUTAMIENTO RIPv2
router rip
version 2
network 10.10.10.0
network 10.10.10.8
network 192.168.50.0
network 192.168.60.0
network 192.168.99.0
end
wr
----------------------------------------------------------------------------------------DHCP
ip dhcp pool red50
network 192.168.50.0 255.255.255.0
default-router 192.168.50.1
dns-server 8.8.8.8
exit
ip dhcp pool red60
network 192.168.60.0 255.255.255.0
default-router 192.168.60.1
dns-server 8.8.8.8
exit
------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
S1
ASIGNACION DE IP Y NOMBRE
en
conf t
hostname S1

int vlan 99
ip add 192.168.99.1 255.255.255.0
no shutdown
exit
------------------------------------------------------------------------------------------------CREACION DE VLAN Y PUERTOS
vlan 10
name ESTUDIANTES
vlan 20
name PROFESORES
vlan 30
name VENTAS
vlan 99
name NATIVA
exit
int f0/1
switchport mode trunk
switchport trunk native vlan 1
int f0/2
switchport mode access
switchport access vlan 30
int f0/3
switchport mode access
switchport access vlan 20
int f0/4
switchport mode access
switchport access vlan 10
exit
--------------------------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

S2
ASIGNACION DE IP Y NOMBRE

en
conf t
hostname S2
CREACION DE VLAN Y PUERTOS
------------------------------------------------------------------------------------vlan 40
name DIRECTORES
int f0/1
switchport mode trunk
switchport trunk native vlan 1
int range f0/2-4
switchport mode access
switchport access vlan 40
exit
------------------------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
end
wr
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
S3
ASIGNACION DE IP Y NOMBRE
en
conf t
hostname S3
-------------------------------------------------------------------------------------------------------CREACION DE VLAN Y PUERTOS
vlan 50
name MARKETING
vlan 60
name SALA
int f0/1

switchport mode trunk


switchport trunk native vlan 1
int range f0/3-4
switchport mode access
switchport access vlan 60
int f0/2
switchport mode access
switchport access vlan 50
exit
----------------------------------------------------------------------------------------------CONFIGURACION TELNET Y SSH
line console 0
pass cisco
login
line vty 0 15
pass cisco
login
exit
enable secret class
service password-encryption
banner motd #VIENVENIDOS A MI RED#
username cisco secret cisco
ip domain-name admin.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip ssh authentication-retries 3
line vty 0 15
login local
transport input ssh
end
wr

Das könnte Ihnen auch gefallen