0% found this document useful (0 votes)
5 views

Script Final Redes2-1

Uploaded by

rolagron13
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Script Final Redes2-1

Uploaded by

rolagron13
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

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 PARA RED 1


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 PUNTA IZQUIERDA
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 PUNTA DERECHA
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 TELEFONOS 2
SWITCH TELEFONOS
ena
conf t
vlan 100
name datos
exit

vlan 200
name voz
exit

int range fa0/2-4


switchport mode access
switchport access vlan 100
switchport voice vlan 200
exit

int fa0/1
switchport mode trunk
exit

ROUTER TELEFONOS RED 2

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

ROUTER TELEFONOS RED 2 DHCP

ip dhcp pool datos


net 192.168.73.0 255.255.255.224
default-router 192.168.73.1
exit

ip dhcp pool voz


net 192.168.73.32 255.255.255.224
default-router 192.168.73.33
option 150 ip 192.168.73.33
exit

ip dhcp excluded-address 192.168.30.1


ip dhcp excluded-address 192.168.20.1
end
wr
wr

TELEFONÍA PARA RED 2


router telefonos red 2
ena
conf t
telephony-service
max-ephones 5
max-dn 5
ip source-address 192.168.73.33 port 2000
auto assign 1 to 5
exit

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 RED TELEFONOS IZQUIERDA


ena
conf t
router ospf 73
network 192.168.73.0 0.0.0.31 area 73
network 192.168.73.32 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

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

You might also like