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

Codigo Cisco

The document shows the configuration of DHCP pools, telephony settings, and IP phone registrations on a router. Two DHCP pools are configured - one for network 192.168.1.0 and the other for 192.168.2.0. Telephony settings like max phones and IP addresses are configured. Four IP phones are registered with DHCP addresses from the two networks and direct IP addresses assigned to their phone directory numbers.

Uploaded by

Daniel Lugo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Codigo Cisco

The document shows the configuration of DHCP pools, telephony settings, and IP phone registrations on a router. Two DHCP pools are configured - one for network 192.168.1.0 and the other for 192.168.2.0. Telephony settings like max phones and IP addresses are configured. Four IP phones are registered with DHCP addresses from the two networks and direct IP addresses assigned to their phone directory numbers.

Uploaded by

Daniel Lugo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Router(config)#ip dhcp pool voice

Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#de
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#option 150 ip 192.168.1.1
Router(dhcp-config)#exit
Router(config)#
Router(config)#ip dhcp voice2
^
% Invalid input detected at '^' marker.

Router(config)#ip dhcp pool voice 2


^
% Invalid input detected at '^' marker.

Router(config)#ip dhcp pool voice2


Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.2.0 255.255.255.0
Router(dhcp-config)#default
Router(dhcp-config)#default-router 192.168.2.1
Router(dhcp-config)#option 150 ip 192.168.2.1
Router(dhcp-config)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
Router#
Router#
Router#enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#tel
Router(config)#telephony-service
Router(config-telephony)#max-dn 6
Router(config-telephony)#max-ephone 6
Router(config-telephony)#ip so
Router(config-telephony)#ip source-address 192.168.1.1 port 2000
Router(config-telephony)#ip source
Router(config-telephony)#ip source-address 192.168.2.1 port 2000
Router(config-telephony)#auto as
Router(config-telephony)#auto assign 6 to 6
Router(config-telephony)#aut
Router(config-telephony)#auto as
Router(config-telephony)#auto assign 1 to 7
Router(config-telephony)#exit
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#eph
Router(config)#ephone-dn 1
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state
to up

Router(config-ephone-dn)#number 1111
Router(config-ephone-dn)#
Router(config-ephone-dn)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server
pinged 192.168.1.1.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.1.2.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.1.3.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.1.4.

%IPPHONE-6-REGISTER: ephone-1 IP:192.168.1.5 Socket:2 DeviceType:Phone has


registered.

Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#exit
Router(config)#
Router(config)#
Router(config)#
Router(config)#ephone-dn 2
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state
to up

Router(config-ephone-dn)#number 1112
Router(config-ephone-dn)#exit
Router(config)#
Router(config)#
Router(config)#
Router(config)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.1.7 Socket:2 DeviceType:Phone has
registered.

Router(config)#
Router(config)#
Router(config)#ephone-dn 3
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state
to up

Router(config-ephone-dn)#number 1113
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#
Router(config-ephone-dn)#exit
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.1.8 Socket:2 DeviceType:Phone has
registered.

Router(config)#
Router(config)#
Router(config)#
Router(config)#ephone-dn 4
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state
to up

Router(config-ephone-dn)#number 2222
Router(config-ephone-dn)#exit
Router(config)#
Router(config)#
Router(config)#
Router(config)#
Router(config)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged
192.168.2.1.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.2.2.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.2.3.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.2.4.

Router(config)#
Router(config)#
%IPPHONE-6-REGISTER: ephone-4 IP:192.168.2.7 Socket:2 DeviceType:Phone has
registered.

You might also like