Script Final Redes2

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 7

SWITCH TELEFONOS

ena
conf t
vlan 10
name datos
exit

vlan 20
name voz
exit

int range fa0/2-4


switchport mode access
switchport access vlan 10
switchport voice vlan 20
exit

int fa0/1
switchport mode trunk
exit

ROUTER TELEFONOS

ena
conf t
int fa0/0
no shut
exit

int fa0/0.10
encapsulation dot1q 10
ip add 192.168.30.1 255.255.255.0
exit

int fa0/0.20
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.0
exit

int fa0/1
ip add 10.0.0.13 255.255.255.252
no shut

ROUTER TELEFONOS DHCP

ip dhcp pool datos


net 192.168.30.0 255.255.255.0
default-router 192.168.30.1
exit

ip dhcp pool voz


net 192.168.20.0 255.255.255.0
default-router 192.168.20.1
option 150 ip 192.168.20.1
exit

ip dhcp excluded-address 192.168.30.1


ip dhcp excluded-address 192.168.20.1
end
wr
wr

TELEFONÍA
router 1
ena
conf t
telephony-service
max-ephones 5
max-dn 5
ip source-address 192.168.20.1 port 2000
auto assign 1 to 5
exit

ephone-dn 1
number 55001
exit

ephone-dn 2
number 55002
exit

ephone-dn 3
number 55003
exit

end
wr
wr

CONFIGURACIÓN VTP SWITCHES INFERIORES


SWITCH SERVIDOR
ena
conf t
vlan 50
name vlan50
exit

vlan 60
name vlan60
exit

int range fa0/1-3


switchport mode trunk
exit

vtp mode server


vtp domain CISCO
vtp password CISCO
exit

spanning-tree vlan 50 priority 4096


spanning-tree vlan 60 priority 4096
exit
end
wr
SWITCH CLIENTE 1
ena
conf t
vtp mode client
vtp domain CISCO
vtp password CISCO
exit

int range fa0/1-2


switchport mode trunk
exit

int fa0/3
switchport mode access
switchport access vlan 50
exit
end
wr

SWITCH CLIENTE 2
ena
conf t
vtp mode client
vtp domain CISCO
vtp password CISCO
exit

int range fa0/1-2


switchport mode trunk
exit

int fa0/3
switchport mode access
switchport access vlan 60
exit
end
wr

ROUTER 2
ena
conf t
int gi0/0
no shut
exit

int gi0/0.50
encapsulation dot1q 50
ip add 172.16.73.1 255.255.255.192
exit

int gi0/0.60
encapsulation dot1q 60
ip add 172.20.73.1 255.255.255.192
exit
end
wr
wr
VTP SEGUNDO SWITCH
SWITCH SERVIDOR
ena
conf t
vlan 50
name vlan50
exit

vlan 60
name vlan60
exit

int range fa0/1-3


switchport mode trunk
exit

vtp mode server


vtp domain CISCO
vtp password CISCO
exit

spanning-tree vlan 50 priority 4096


spanning-tree vlan 60 priority 4096
exit
end
wr

SWITCH CLIENTE 1
ena
conf t
vtp mode client
vtp domain CISCO
vtp password CISCO
exit

int range fa0/1-2


switchport mode trunk
exit

int fa0/3
switchport mode access
switchport access vlan 50
exit
end
wr

SWITCH CLIENTE 2
ena
conf t
vtp mode client
vtp domain CISCO
vtp password CISCO
exit

int range fa0/1-2


switchport mode trunk
exit

int fa0/3
switchport mode access
switchport access vlan 60
exit
end
wr

ROUTER 3
ena
conf t
int gi0/0
no shut
exit

int gi0/0.50
encapsulation dot1q 50
ip add 172.16.73.65 255.255.255.192
exit

int gi0/0.60
encapsulation dot1q 60
ip add 172.20.73.65 255.255.255.192
exit
end
wr
wr

RED DE LA IZQUIERDA
ROUTER
ena
conf t
int gi0/1
ip add 192.168.73.1 255.255.255.224
no shut
exit

int gi0/0
ip add 10.0.0.17 255.255.255.252
no shut
exit

TRIANGULO DE ROUTERS
ROUTER 1
ena
conf t
int gi0/1
ip add 10.0.0.18 255.255.255.252
no shut
exit

int se0/0/0
ip add 10.0.0.1 255.255.255.252
no shut
exit

int se0/0/1
ip add 10.0.0.9 255.255.255.252
clock rate 64000
no shut
exit
end
wr

ROUTER PUNTA
ena
conf t
int gi0/0
ip add 10.0.0.14 255.255.255.252
no shut
exit

int se0/0/0
ip add 10.0.0.2 255.255.255.252
clock rate 64000
no shut
exit

int se0/0/1
ip add 10.0.0.5 255.255.255.252
clock rate 64000
no shut
exit
end
wr

ROUTER 3
ena
conf t
int se0/0/0
ip add 10.0.0.6 255.255.255.252
no shut
exit

int se0/0/1
ip add 10.0.0.10 255.255.255.252
no shut
exit
end
wr

PROTOCOLO OSPF
ROUTER TELEFONOS
ena
conf t
router ospf 73
network 192.168.30.0 0.0.0.255 area 73
network 192.168.20.0 0.0.0.255 area 73
network 10.0.0.12 0.0.0.3 area 73
end
wr
wr

ROUTER RED IZQUIERDA


ena
conf t
router ospf 73
network 192.168.73.0 0.0.0.31 area 73
network 10.0.0.16 0.0.0.3 area 73
end
wr
wr

ROUTER DE EN MEDIO
ena
conf t
router ospf 73
network 172.16.73.0 0.0.0.63 area 73
network 172.20.73.0 0.0.0.63 area 73
network 10.0.0.16 0.0.0.3 area 73
network 10.0.0.8 0.0.0.3 area 73
network 10.0.0.0 0.0.0.3 area 73
end
wr
wr

ROUTER PUNTA
ena
conf t
router ospf 73
network 10.0.0.12 0.0.0.3 area 73
network 10.0.0.0 0.0.0.3 area 73
network 10.0.0.4 0.0.0.3 area 73
end
wr
wr

ROUTER DE LA DERECHA
ena
conf t
router ospf 73
network 172.16.73.64 0.0.0.63 area 73
network 172.20.73.64 0.0.0.63 area 73
network 10.0.0.4 0.0.0.3 area 73
network 10.0.0.8 0.0.0.3 area 73
end
wr
wr

You might also like