Script Final Redes2
Script Final Redes2
Script Final Redes2
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
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
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
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 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 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