Script Final Redes2-1
Script Final Redes2-1
ena
conf t
vlan 10
name datos
exit
vlan 20
name voz
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
ephone-dn 1
number 55001
exit
ephone-dn 2
number 55002
exit
ephone-dn 3
number 55003
exit
end
wr
wr
vlan 60
name vlan60
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 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 PUNTA DERECHA
SWITCH SERVIDOR
ena
conf t
vlan 50
name vlan50
exit
vlan 60
name vlan60
exit
SWITCH CLIENTE 1
ena
conf t
vtp mode client
vtp domain CISCO
vtp password CISCO
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 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 TELEFONOS 2
SWITCH TELEFONOS
ena
conf t
vlan 100
name datos
exit
vlan 200
name voz
exit
int fa0/1
switchport mode trunk
exit
ena
conf t
int fa0/0
no shut
exit
int fa0/0.100
encapsulation dot1q 100
ip add 192.168.73.1 255.255.255.224
exit
int fa0/0.20
encapsulation dot1q 20
ip add 192.168.73.33 255.255.255.224
exit
int fa0/1
ip add 10.0.0.17 255.255.255.252
no shut
ephone-dn 1
number 54001
exit
ephone-dn 2
number 54002
exit
ephone-dn 3
number 54003
exit
end
wr
wr
TRIANGULO DE ROUTERS
ROUTER INFERIOR IZQUIERDA
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 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
CONFIGURACIÓN VOIP
router RED 1
ena
conf t
dial-peer voice 1 voip
destination-pattern 5400.
session target ipv4:10.0.0.17
exit
router RED 2
ena
conf t
dial-peer voice 1 voip
destination-pattern 5500.
session target ipv4:10.0.0.13
exit