You are on page 1of 4

Configuracion para el Telefono en el Router Cero Router(config)#dial-peer vo Router(config)#dial-peer voice 900 Router(config)#dial-peer voice 900 v Router(config)#dial-peer voice 900

voip Router(config-dial-peer)#de Router(config-dial-peer)#destination-pattern 9... Router(config-dial-peer)#se Router(config-dial-peer)#session t Router(config-dial-peer)#session target i Router(config-dial-peer)#session target ip Router(config-dial-peer)#session target ipv Router(config-dial-peer)#session target ipv4:203.3.3.1 Router(config-dial-peer)#exit Router(config)#cop Router(config)#exit %SYS-5-CONFIG_I: Configured from console by console Router#cop Router#copy r Router#copy running-config s Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router#sho Router#show r Router#show running-config Building configuration... Current configuration : 1750 bytes ! version 12.4 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname Router ! ! ! ! ip dhcp excluded-address 210.10.10.1 ip dhcp excluded-address 209.9.9.1 ip dhcp excluded-address 208.8.8.1 ip dhcp excluded-address 201.1.1.1 ! ip dhcp pool vlan600 network 210.10.10.0 255.255.255.0 default-router 210.10.10.1 dns-server 207.7.7.3 ip dhcp pool vlan700 network 209.9.9.0 255.255.255.0 default-router 209.9.9.1 dns-server 207.7.7.3 ip dhcp pool vlan800 network 208.8.8.0 255.255.255.0 default-router 208.8.8.1 dns-server 207.7.7.3

ip dhcp pool VoipVlan900 network 201.1.1.0 255.255.255.0 default-router 201.1.1.1 option 150 ip 201.1.1.1 ! ! ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 no ip address duplex auto speed auto shutdown ! interface FastEthernet0/1 no ip address duplex auto speed auto ! interface FastEthernet0/1.1 encapsulation dot1Q 900 ip address 201.1.1.1 255.255.255.0 ! interface FastEthernet0/1.2 encapsulation dot1Q 600 ip address 210.10.10.1 255.255.255.0 ! interface FastEthernet0/1.3 encapsulation dot1Q 700 ip address 209.9.9.1 255.255.255.0 ! interface FastEthernet0/1.4 encapsulation dot1Q 800 ip address 208.8.8.1 255.255.255.0 ! interface Serial0/1/0 ip address 203.3.3.1 255.255.255.0 ! interface Serial0/1/1 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip classless ip route 207.7.7.0 255.255.255.0 Serial0/1/0 ip route 212.12.12.0 255.255.255.0 Serial0/1/0 ip route 213.13.13.0 255.255.255.0 Serial0/1/0 ip route 215.15.15.0 255.255.255.0 Serial0/1/0

! ! ! ! ! ! ! dial-peer voice 900 voip destination-pattern 9... session target ipv4:203.3.3.1 ! line con 0 line vty 0 4 login ! ! ! end Router#conf Router#configure ter Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#t Router(config)#te Router(config)#telephony-service Router(config-telephony)#m Router(config-telephony)#ma Router(config-telephony)#max Router(config-telephony)#maxRouter(config-telephony)#max-e Router(config-telephony)#max-ephones 2 Router(config-telephony)#max Router(config-telephony)#max-d Router(config-telephony)#max-dn 2 Router(config-telephony)#ip Router(config-telephony)#ip so Router(config-telephony)#ip source-address 201.1.1.1 Router(config-telephony)#ip source-address 201.1.1.1 po Router(config-telephony)#ip source-address 201.1.1.1 port 2500 Router(config-telephony)#au Router(config-telephony)#auto Router(config-telephony)#auto Router(config-telephony)#auto a Router(config-telephony)#auto assign 1 to Router(config-telephony)#auto assign 1 to 2 Router(config-telephony)#exit Router(config)#e Router(config)#ep Router(config)#eph Router(config)#epho Router(config)#ephon Router(config)#ephone-d Router(config)#ephone-dn 1 Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed st ate to up Router(config-ephone-dn)#nu Router(config-ephone-dn)#number 9001

Router(config-ephone-dn)#exit Router(config)#ep Router(config)#eph Router(config)#epho Router(config)#ephon Router(config)#ephone Router(config)#ephone-d Router(config)#ephone-dn 2 %LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up Router(config-ephone-dn)#nu Router(config-ephone-dn)#number 9002 Router(config-ephone-dn)#exit Router(config)#exit %SYS-5-CONFIG_I: Configured from console by console Router#cop Router#copy r Router#copy running-config s Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router# %IPPHONE-6-REGISTER: ephone-1 IP:201.1.1.2 Socket:2 DeviceType:Phone has registe red.