Sie sind auf Seite 1von 6

Configutracion de router para voip

Router>enable

Router#configure terminal

Router(config)#hostname popayan

popayan(config)#int fa 0/0.5

popayan(config-subif)#encapsulation dot1Q 5

popayan(config-subif)#ip add 192.168.0.1 255.255.255.0

popayan(config-subif)#exit

popayan(config)#ip dhcp excluded-address 192.168.0.1

popayan(config)#ip dhcp pool VOZ

popayan(dhcp-config)#default-router 192.168.0.1

popayan(dhcp-config)#option 150 ip 192.68.0.1

popayan(dhcp-config)#exit

popayan(config)#telephony-service

popayan(config-telephony)#no auto-reg-ephone

popayan(config-telephony)#max-ephones 5

popayan(config-telephony)#max-dn 5

popayan(config-telephony)#ip source-address 192.168.0.1 port 2000

popayan(config-telephony)#exit

popayan(config)#ephone-dn 1

popayan(config-ephone-dn)#number 55231

popayan(config-ephone-dn)#ephone-dn 2

popayan(config-ephone-dn)#number 55232

popayan(config-ephone-dn)#ephone-dn 3

popayan(config-ephone-dn)#number 55233

popayan(config-ephone-dn)#ephone-dn 4

popayan(config-ephone-dn)#number 55234

popayan(config-ephone-dn)#ephone-dn 5

popayan(config-ephone-dn)#number 55235

popayan(config-ephone-dn)#exit

popayan(config)#end
popayan# wr

[OK]

popayan#

popayan(config)#int fa0/0

popayan(config-if)#no shut

popayan(config-if)#exit

popayan(config)#end

popayan# wr

popayan(config)#router eigrp 1

popayan(config-router)#no auto-summary

popayan(config-router)#network 192.168.0.0 0.0.0.255

popayan(config-router)#network 192.168.1.0 0.0.0.255

popayan(config-router)#network 200.150.0.0 0.0.0.3

popayan(config-router)#exit

popayan(config)#end

popayan# wr

popayan#conf

popayan(config)#ephone 1

popayan(config-ephone)#mac-address 00E0.8F23.8AA3

popayan(config-ephone)#type 7960

popayan(config-ephone)#button 1:2

popayan(config-ephone)#ephone 2

popayan(config-ephone)#mac-address 0090.2b27.13a6

popayan(config-ephone)#type 7960

popayan(config-ephone)#button 1:3

popayan(config-ephone)#ephone 3

popayan(config-ephone)#mac-address 0004.9A99.6CDD

popayan(config-ephone)#button 1:5

popayan(config-ephone)#type CIPC
popayan(config-ephone)#ephone 4

popayan(config-ephone)#mac-address 0060.5C80.CB18

popayan(config-ephone)#type 7960

popayan(config-ephone)#button 1:1

popayan(config-ephone)#ephone 5

popayan(config-ephone)#mac-address 00D0.5888.0371

popayan(config-ephone)#type 7960

popayan(config-ephone)#button 1:4

popayan(config-ephone)#

router CALI

Router>enable

Router#configure terminal

Router(config)#hostname cali

cali(config)#exit

cali#en

cali#conf

cali(config)#int fa 0/0.6

cali(config-subif)#encapsulation dot1Q 6

cali(config-subif)#ip add 192.168.1.1 255.255.255.0

cali(config-subif)#exit

cali(config)#ip dhcp excluded-addres 192.168.1.1

cali(config)#ip dhcp pool Voz

cali(dhcp-config)#default-router 192.168.1.1

cali(dhcp-config)#option 150 ip 192.168.1.1

cali(dhcp-config)#exit

cali(config)#telephony-service

cali(config-telephony)#no auto-reg-ephone

cali(config-telephony)#max-ephones 5
cali(config-telephony)#max-dn 5

cali(config-telephony)#ip source-address 192.168.1.1 port 2000

cali(config-telephony)#exit

cali(config)#ephone-dn 1

cali(config-ephone-dn)#52325

cali(config-ephone-dn)#number 52325

cali(config-ephone-dn)#ephone-dn 2

cali(config-ephone-dn)#number 52326

cali(config-ephone-dn)#ephone-dn 3

cali(config-ephone-dn)#number 52327

cali(config-ephone-dn)#ephone-dn 4

cali(config-ephone-dn)#number 52328

cali(config-ephone-dn)#ephone-dn 5

cali(config-ephone-dn)#number 52329

cali(config-ephone-dn)#exit

cali(config)#end

cali# wr

swiches Popayan

Switch>

Switch>enable

Switch#configure terminal

Switch(config)#hostname popayan

popayan(config)#vlan 5

popayan(config-vlan)#name VOZ

popayan(config-vlan)#exit

popayan(config)#int range fa 0/2-22

popayan(config-if-range)#sw mode access

popayan(config-if-range)#sw voice vlan 5

popayan(config-if-range)#spanning-tree portfast

popayan(config-if-range)#exit
popayan(config)#end

popayan#en

popayan#conf

popayan(config)#int fa 0/15

popayan(config-if)#sw mode trunk

popayan(config-if)#sw trunk allowed vlan 5

popayan(config-if)#exit

popayan(config)#

swiches

cali

Switch>enable

Switch#configure terminal

Switch(config)#hostname cali

Cali(config)#vlan 6

Cali(config-vlan)#name Voz

Cali(config-vlan)#int range fa 0/2-22

Cali(config-if-range)#sw mode access

Cali(config-if-range)#sw voice vlan 6

Cali(config-if-range)#spanning-tree portfast

Cali(config-if-range)#exit

Cali(config)#end

Cali# wr

Cali#en

Cali#conf

Cali(config)#int fa 0/15

Cali(config-if)#sw mode trunk

Cali(config-if)#sw trunk allowed vlan 6

Cali(config-if)#exit

Cali(config)#end

Cali#wr

Das könnte Ihnen auch gefallen