Вы находитесь на странице: 1из 20

DIAGRAMA DE RED

SPA303
1. Mac XXXX
2. Mac XXXX

SPA504G
1. Mac XXXX
2. Mac XXXX
2901-1

2901-1(config)# enable secret cisco


2901-1(config)# line vty 0 4
2901-1(config-line)# password cisco
2901-1(config-line)# login
2901-1(config-line)# no exec-timeout

2901-1(config)#vlan 102
2901-1(config-vlan)#name DATOS
2901-1(config-vlan)#vlan 103
2901-1(config-vlan)#name VOZ

2901-1(config)#int vlan 102


2901-1(config-if)#ip add 192.168.102.1 255.255.255.0
2901-1(config-if)#no shut
2901-1(config)#int vlan 103
2901-1(config-if)#ip add 192.168.103.1 255.255.255.0
2901-1(config-if)#no shut

2901-1(config)#int g0/0
2901-1(config-if)#ip add 172.16.1.1 255.255.255.252
2901-1(config-if)#no shut

2901-1(config)#int g0/1
2901-1(config-if)#ip add 192.168.201.1 255.255.255.0
2901-1(config-if)#no shut

2901-1(config)#int loopback 0

2901-1(config-if)#ip address 192.168.150.1 255.255.255.0

2901-1(config-if)#no shutdown
2901-1(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.2

2901-1(config)#ip dhcp excluded-address 192.168.102.1 192.168.102.100

2901-1(config)#ip dhcp excluded-address 192.168.103.1 192.168.103.100

2901-1(config)#ip dhcp pool DATOS

2901-1(dhcp-config)#network 192.168.102.0 255.255.255.0

2901-1(dhcp-config)#default-router 192.168.102.1

2901-1(dhcp-config)#exit

2901-1(config)#ip dhcp pool VOZ

2901-1(dhcp-config)#network 192.168.103.0 255.255.255.0

2901-1(dhcp-config)#default-router 192.168.103.1

2901-1(dhcp-config)#option 150 ip 192.168.150.1

2901-1(dhcp-config)#exit

2901-1(config)#interface range f 0/3/0 -1

2901-1(config-if-range)#switchport mode access

2901-1(config-if-range)#switchport access vlan 102

2901-1(config-if-range)#switchport voice vlan 103

2901-1(config-if-range)#spanning-tree portfast

%Warning: portfast should only be enabled on ports connected to a single host.

Connecting hubs, concentrators, switches, bridges, etc.to this interface

when portfast is enabled, can cause temporary spanning tree loops.

Use with CAUTION

%Portfast has been configured on FastEthernet0/3/0 but will only

have effect when the interface is in a non-trunking mode.


%Warning: portfast should only be enabled on ports connected to a single host.

Connecting hubs, concentrators, switches, bridges, etc.to this interface

when portfast is enabled, can cause temporary spanning tree loops.

Use with CAUTION

%Portfast has been configured on FastEthernet0/3/1 but will only

have effect when the interface is in a non-trunking mode.

2901-1(config-if-range)#no shutdown

2901-1(config-if-range)#

2901-1(config)#clock timezone COT -5

2901-1(config)#

Apr 24 13:28:41.831: %SYS-6-CLOCKUPDATE: System clock has been updated


from 13:2

8:41 UTC Tue Apr 24 2012 to 08:28:41 COT Tue Apr 24 2012, configured from
consol

e by console.

2901-1(config)#exit

2901-1#clock set 8:25:00 24 april 2012

2901-1#

Apr 24 13:25:00.000: %SYS-6-CLOCKUPDATE: System clock has been updated


from 08:2

9:21 COT Tue Apr 24 2012 to 08:25:00 COT Tue Apr 24 2012, configured from
consol

e by console.

2901-1#clock
2901-1#show clock

08:25:08.883 COT Tue Apr 24 2012

2901-1#

2901-1(config)#voice-port 0/0/0

2901-1(config-voiceport)#cptone CO

2901-1(config-voiceport)#exit

2901-1(config)#voice-port 0/0/1

2901-1(config-voiceport)#cptone CO

2901-1(config-voiceport)#

2901-1(config)#

2901-1(config)#dial-peer voice 2151 pots

2901-1(config-dial-peer)#destination-pattern 2151

2901-1(config-dial-peer)#port 0/0/0

2901-1(config-dial-peer)#exit

2901-1(config)#dial-peer voice 2152 pots

2901-1(config-dial-peer)#destination-pattern 2152

2901-1(config-dial-peer)#port 0/0/1

2901-1(config-dial-peer)#exit

2901-1(config)#
_________________________________________________________________

2901-2

2901-2(config)# enable secret cisco


2901-2(config)# line vty 0 4
2901-2(config-line)# password cisco
2901-2(config-line)# login
2901-2(config-line)# no exec-timeout

2901-2(config)#vlan 202
2901-2(config-vlan)#name DATOS
2901-2(config-vlan)#vlan 203
2901-2(config-vlan)#name VOZ

2901-2(config)#int vlan 202


2901-2(config-if)#ip add 192.168.202.1 255.255.255.0
2901-2(config-if)#no shut
2901-2(config)#int vlan 203
2901-2(config-if)#ip add 192.168.203.1 255.255.255.0
2901-2(config-if)#no shut

2901-2(config)#int g0/0
2901-2(config-if)#ip add 172.16.1.2 255.255.255.252
2901-2(config-if)#no shut

2901-2(config)#int g0/1
2901-2(config-if)#ip add 192.168.20.1 255.255.255.0
2901-2(config-if)#no shut

2901-2(config)#int loopback 0

2901-2(config-if)#ip address 192.168.250.1 255.255.255.0


2901-2(config-if)#no shutdown

2901-2(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.1

2901-2(config)#ip dhcp excluded-address 192.168.202.1 192.168.202.100

2901-2(config)#ip dhcp excluded-address 192.168.203.1 192.168.203.100

2901-2(config)#ip dhcp pool DATOS

2901-2(dhcp-config)#network 192.168.202.0 255.255.255.0

2901-2(dhcp-config)#default-router 192.168.202.1

2901-2(dhcp-config)#exit

2901-2(config)#ip dhcp pool VOZ

2901-2(dhcp-config)#network 192.168.203.0 255.255.255.0

2901-2(dhcp-config)#default-router 192.168.203.1

2901-2(dhcp-config)#option 150 ip 192.168.250.1

2901-2(dhcp-config)#exit

2901-2(config)#interface range f 0/1/0 -1

2901-2(config-if-range)#switchport mode access

2901-2(config-if-range)#switchport access vlan 202

2901-2(config-if-range)#switchport voice vlan 203


2901-2(config-if-range)#spanning-tree portfast

%Warning: portfast should only be enabled on ports connected to a single host.

Connecting hubs, concentrators, switches, bridges, etc.to this interface

when portfast is enabled, can cause temporary spanning tree loops.

Use with CAUTION

%Portfast has been configured on FastEthernet0/3/0 but will only

have effect when the interface is in a non-trunking mode.

%Warning: portfast should only be enabled on ports connected to a single host.

Connecting hubs, concentrators, switches, bridges, etc.to this interface

when portfast is enabled, can cause temporary spanning tree loops.

Use with CAUTION

%Portfast has been configured on FastEthernet0/3/1 but will only

have effect when the interface is in a non-trunking mode.

2901-2(config-if-range)#no shutdown

2901-2(config-if-range)#

2901-2(config)#clock timezone COT -5

2901-2(config)#

Apr 24 13:28:41.831: %SYS-6-CLOCKUPDATE: System clock has been updated


from 13:2
8:41 UTC Tue Apr 24 2012 to 08:28:41 COT Tue Apr 24 2012, configured from
consol

e by console.

2901-2(config)#exit

2901-2#clock set 8:25:00 24 april 2012

2901-2#

Apr 24 13:25:00.000: %SYS-6-CLOCKUPDATE: System clock has been updated


from 08:2

9:21 COT Tue Apr 24 2012 to 08:25:00 COT Tue Apr 24 2012, configured from
consol

e by console.

2901-2#clock

2901-2#show clock

08:25:08.883 COT Tue Apr 24 2012

2901-2#

2901-2(config)#voice-port 0/0/0

2901-2(config-voiceport)#cptone CO

2901-2(config-voiceport)#exit

2901-2(config)#voice-port 0/0/1

2901-2(config-voiceport)#cptone CO

2901-2(config-voiceport)#
2901-2(config)#

2901-2(config)#dial-peer voice 2251 pots

2901-2(config-dial-peer)#destination-pattern 2251

2901-2(config-dial-peer)#port 0/0/0

2901-2(config-dial-peer)#exit

2901-2(config)#dial-peer voice 2252 pots

2901-2(config-dial-peer)#destination-pattern 2252

2901-2(config-dial-peer)#port 0/0/1

2901-2(config-dial-peer)#exit

2901-2(config)#

_________________________________________________________________

ENRUTAR LINEAS

2901-1(config)#dial-peer voice 3000 voip

2901-1(config-dial-peer)#destination-pattern 22

2901-1(config-dial-peer)#session target ipv4:172.16.1.2

2901-1(config-dial-peer)#codec g711ulaw

2901-1(config-dial-peer)#exit

2901-1(config)#

2901-2(config)#dial-peer voice 3000 voip

2901-2(config-dial-peer)#destination-pattern 21
2901-2(config-dial-peer)#session target ipv4:172.16.1.1

2901-2(config-dial-peer)#codec g711ulaw

2901-2(config-dial-peer)#exit

2901-2(config)#

______________________

TELEFONOS IP 2901-1

2901-1(config)#voice register global

2901-1(config-register-global)#mode cme

2901-1(config-register-global)#source-address 192.168.150.1 port 5060

2901-1(config-register-global)#max-dn 50

2901-1(config-register-global)#max-pool 40

2901-1(config-register-global)#timezone 11

2901-1(config)#voice service voip

2901-1(conf-voi-serv)#no ip address trusted authenticate

The command DISABLES the ip address authentication on incoming

H.323 or SIP trunk calls for toll fraud prevention supports.

Continue? [confirm]a

2901-1(conf-voi-serv)#allow-connections h323 to h323


2901-1(conf-voi-serv)#allow-connections h323 to sip

2901-1(conf-voi-serv)#allow-connections sip to h323

2901-1(conf-voi-serv)#allow-connections sip to sip

2901-1(conf-voi-serv)#exit

2901-1(config)#voice service voip

2901-1(conf-voi-serv)#sip

2901-1(conf-serv-sip)#registrar server

2901-1(conf-serv-sip)#

TELEFONO 1

2901-1(config)#voice register dn 1

2901-1(config-register-dn)#number 2101

2901-1(config-register-dn)#name SIP-2101

2901-1(config-register-dn)#voice register pool 1

2901-1(config-register-pool)#id mac xxxxxx

2901-1(config-register-pool)#number 1 dn 1

2901-1(config-register-pool)#dtmf-relay sip-notify

2901-1(config-register-pool)#username user2101 password user2101

2901-1(config-register-pool)#codec g711ulaw

2901-1(config-register-pool)#
TELEFONO 2

2901-1(config)#voice register dn 2

2901-1(config-register-dn)#number 2102

2901-1(config-register-dn)#name SIP-2102

2901-1(config-register-dn)#voice register pool 2

2901-1(config-register-pool)#id mac xxxx

2901-1(config-register-pool)#number 1 dn 2

2901-1(config-register-pool)#dtmf-relay sip-notify

2901-1(config-register-pool)#username user2102 password user2102

2901-1(config-register-pool)#codec g711ulaw

2901-1(config-register-pool)#

En cada teléfono IP vaya a las opciones de configuración utilizando la tecla


SETUP marcada con un icono de “hoja” y seleccione la opción “21 Call Control
Settings”, luego verifique que la opción “1 Signalling Protocol” tenga el valor de
“SIP” y que la opción “2 SPCP AutoDetect” tenga el valor de “NO”, sino es así
seleccione la opción “Edit” y cámbielas adecuadamente. Por último con la tecla
“Save” guarde su selección y espere que reinicie el teléfono de ser necesario.
En la parte superior derecha ingrese a la opción “advanced” para ver las
configuraciones avanzadas y luego en “EXT1” como muestra la figura siguiente.

Luego ubique las opciones de “Subscriber Information” y configure los valores


mostrados de acuerdo a lo realizado para cada teléfono en los routers. Los demás
parámetros déjelos en su valor por defecto.
Display Name: Linea SIP - 2101
User ID: “Extensión del Teléfono”
Password: “Contraseña configurada para el teléfono en el pool de SIP”
Use Auth ID: Yes
Auth ID: “Usuario configurado para el teléfono en el pool de SIP”

Configure la información para el SIP Proxy en el teléfono en las opciones de


“Proxy and Registration” con los siguientes valores, donde X es el número del
router. Los demás valores déjelos por defecto.
Proxy: 192.168.150.1
Register: Yes

Habilite las Soft-Keys por defecto del teléfono en la pestaña “SIP” y configure la
opción “SIP-B Enable” en “Yes”, como muestra la figura siguiente:
Aplique los cambios en el teléfono haciendo clic en la opción “Submit All Changes”
y espere que se reinicie.

2901-1#show ip dhcp binding

Bindings from all pools not associated with VRF:

IP address Client-ID/ Lease expiration Type

Hardware address/

User name

192.168.103.101 0170.8105.3df8.b2 Apr 25 2012 10:10 AM Automatic

192.168.103.102 0144.d3ca.7894.18 Apr 25 2012 10:11 AM Automatic

2901-1#
______________________________________________________________

TELEFONOS IP 2901-2

2901-2(config)#voice register global

2901-2(config-register-global)#mode cme

2901-2(config-register-global)#source-address 192.168.250.1 port 5060

2901-2(config-register-global)#max-dn 50

2901-2(config-register-global)#max-pool 40

2901-2(config-register-global)#timezone 11

2901-2(config)#voice service voip

2901-2(conf-voi-serv)#no ip address trusted authenticate

The command DISABLES the ip address authentication on incoming

H.323 or SIP trunk calls for toll fraud prevention supports.

Continue? [confirm]a

2901-2(conf-voi-serv)#allow-connections h323 to h323

2901-2(conf-voi-serv)#allow-connections h323 to sip

2901-2(conf-voi-serv)#allow-connections sip to h323

2901-2(conf-voi-serv)#allow-connections sip to sip

2901-2(conf-voi-serv)#exit

2901-2(config)#voice service voip

2901-2(conf-voi-serv)#sip

2901-2(conf-serv-sip)#registrar server

2901-2(conf-serv-sip)#
TELEFONO 1

2901-2(config)#voice register dn 1

2901-2(config-register-dn)#number 2201

2901-2(config-register-dn)#name SIP-2201

2901-2(config-register-dn)#voice register pool 1

2901-2(config-register-pool)#id mac xxxx

2901-2(config-register-pool)#number 1 dn 1

2901-2(config-register-pool)#dtmf-relay sip-notify

2901-2(config-register-pool)#username user2201 password user2201

2901-2(config-register-pool)#codec g711ulaw

2901-2(config-register-pool)#

TELEFONO 2

2901-2(config)#voice register dn 2

2901-2(config-register-dn)#number 2202

2901-2(config-register-dn)#name SIP-2202

2901-2(config-register-dn)#voice register pool 2

2901-2(config-register-pool)#id ma xxxx

2901-2(config-register-pool)#number 1 dn 2

2901-2(config-register-pool)#dtmf-relay sip-notify

2901-2(config-register-pool)#username user2202 password user2202

2901-2(config-register-pool)#codec g711ulaw

2901-2(config-register-pool)#
En cada teléfono IP vaya a las opciones de configuración utilizando la tecla
SETUP marcada con un icono de “hoja” y seleccione la opción “21 Call Control
Settings”, luego verifique que la opción “1 Signalling Protocol” tenga el valor de
“SIP” y que la opción “2 SPCP AutoDetect” tenga el valor de “NO”, sino es así
seleccione la opción “Edit” y cámbielas adecuadamente. Por último con la tecla
“Save” guarde su selección y espere que reinicie el teléfono de ser necesario.

En la parte superior derecha ingrese a la opción “advanced” para ver las


configuraciones avanzadas y luego en “EXT1” como muestra la figura siguiente.

Luego ubique las opciones de “Subscriber Information” y configure los valores


mostrados de acuerdo a lo realizado para cada teléfono en los routers. Los demás
parámetros déjelos en su valor por defecto.
Display Name: Linea SIP - 2101
User ID: “Extensión del Teléfono”
Password: “Contraseña configurada para el teléfono en el pool de SIP”
Use Auth ID: Yes
Auth ID: “Usuario configurado para el teléfono en el pool de SIP”

Configure la información para el SIP Proxy en el teléfono en las opciones de


“Proxy and Registration” con los siguientes valores, donde X es el número del
router. Los demás valores déjelos por defecto.
Proxy: 192.168.250.1
Register: Yes
Habilite las Soft-Keys por defecto del teléfono en la pestaña “SIP” y configure la
opción “SIP-B Enable” en “Yes”, como muestra la figura siguiente:

Aplique los cambios en el teléfono haciendo clic en la opción “Submit All Changes”
y espere que se reinicie.

Вам также может понравиться