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 [Link] [Link]
exit
int fa0/0.20
encapsulation dot1q 20
ip add [Link] [Link]
exit
int fa0/1
ip add [Link] [Link]
no shut
ROUTER TELEFONOS DHCP
ip dhcp pool datos
net [Link] [Link]
default-router [Link]
exit
ip dhcp pool voz
net [Link] [Link]
default-router [Link]
option 150 ip [Link]
exit
ip dhcp excluded-address [Link]
ip dhcp excluded-address [Link]
end
wr
wr
TELEFONÍA
router 1
ena
conf t
telephony-service
max-ephones 5
max-dn 5
ip source-address [Link] 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 [Link] [Link]
exit
int gi0/0.60
encapsulation dot1q 60
ip add [Link] [Link]
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 [Link] [Link]
exit
int gi0/0.60
encapsulation dot1q 60
ip add [Link] [Link]
exit
end
wr
wr
RED DE LA IZQUIERDA
ROUTER
ena
conf t
int gi0/1
ip add [Link] [Link]
no shut
exit
int gi0/0
ip add [Link] [Link]
no shut
exit
TRIANGULO DE ROUTERS
ROUTER 1
ena
conf t
int gi0/1
ip add [Link] [Link]
no shut
exit
int se0/0/0
ip add [Link] [Link]
no shut
exit
int se0/0/1
ip add [Link] [Link]
clock rate 64000
no shut
exit
end
wr
ROUTER PUNTA
ena
conf t
int gi0/0
ip add [Link] [Link]
no shut
exit
int se0/0/0
ip add [Link] [Link]
clock rate 64000
no shut
exit
int se0/0/1
ip add [Link] [Link]
clock rate 64000
no shut
exit
end
wr
ROUTER 3
ena
conf t
int se0/0/0
ip add [Link] [Link]
no shut
exit
int se0/0/1
ip add [Link] [Link]
no shut
exit
end
wr
PROTOCOLO OSPF
ROUTER TELEFONOS
ena
conf t
router ospf 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
end
wr
wr
ROUTER RED IZQUIERDA
ena
conf t
router ospf 73
network [Link] [Link] area 73
network [Link] [Link] area 73
end
wr
wr
ROUTER DE EN MEDIO
ena
conf t
router ospf 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
end
wr
wr
ROUTER PUNTA
ena
conf t
router ospf 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
end
wr
wr
ROUTER DE LA DERECHA
ena
conf t
router ospf 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
network [Link] [Link] area 73
end
wr
wr