Router(config)#interface fastethernet 0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router DHCP
Router(config)#ip dhcp pool HCL_IP_phones
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 1.1.1.1
Router(dhcp-config)#option 150 ip 192.168.1.1
Router(dhcp-config)#exit
Router telephones services
Router(config)#telephony-service
Router(config-telephony)#max-dn 10
Router(config-telephony)#max-ephones 10
Router(config-telephony)#auto assign 1 to 10
Router(config-telephony)#ip source-address 192.168.1.1 port 2000
Router(config-telephony)#exit
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number 101
Router(config)#ephone-dn 2
Router(config-ephone-dn)#number 102
Router(config)#ephone-dn 3
Router(config-ephone-dn)#number 103
Router(config)#ephone-dn 4
Router(config-ephone-dn)#number 104
Switch
Switch(config)#interface range fastethernet 0/1 - 5
Switch(config-if-range)#switchport voice vlan 1
No comments:
Post a Comment