IP Phone & cross-network IP Phone configuration (STEP): 1. Add the interfaces connected to the two switches to the voice VLAN. 2. Ensure layer-3 connectivity between the two routers. 3. automatically assign an IP address to the IP Phone. DHCP must be enabled for both routers. 4. Enable the telephone service of the router and set the device parameters. 5. Set the peer number prefix and the next hop IP address to the target. (IP address voice configuration for cross-network segments) 6. Set the local IP Phone Number 7 to test the basic configuration of www.2cto.com: enconf terhost R1INTERF F0/0IP ADD commandid 255.0no shutinterf s0/0/0ip add commandid shutdo w enconf terhost R2interf f0/0ip add commandid 255.255.0no shutinterf s0/0/0ip add commandid shutip dhcp pool byx network 11.11.11.0 255.255.255.0 default-router 11.11.254 option 150 ip 11.11.11.254 w Ww.2cto.com telephony-service max-ephones 5 max-dn 5 ip source-address 11.11.254 port 2000 auto assign 1 to 5! Ephone-dn 1 number 123456! Ephone-dn 2 number 234567! Ephone 1 device-security-mode none mac-address 005020.fdc.3667 type 7960 button 1:1 ip route 33.33.33.0 255.255.255.0 s0/0/0ip route 11.11.0 255.255.255.0 s0/0/0 r3 configuration details :( cross-Network Communication) 1. // automatically assign an IP address to the IP Phone. DHCP must be enabled for both routers. Ip dhcp pool lan network 33.33.33.0 255.255.255.0 default-router 33.33.33.33.254 option 150 ip 33.33.33.2542. // set the peer number prefix and the next hop ip address to the target. Dial-peer voice 1 voip // because the number of the peer IP phone number is 0535, the number prefix set here is 80 .., if the dial number starts with 80, specify 22.22.22.1 as the next hop (IP address of the Peer router ). Destination-pattern 05 .. session target ipv4: 22.22.22.1 (Next Hop) 3. /// enable the telephone service function of the router, and configure some parameters telephony-service // -- the maximum number of phone numbers allowed for registration max-ephones 3 // -- the maximum number of lines allowed for registration max-dn 3 // -- in voice CME router address in the subnet, the default port number is 2000. // set the IP address of the router's Ethernet port to 33.33.33.254, which is used as the gateway of the IP Phone. Ip source-address 33.33.33.254 port 2000 auto assign 1 to 34. // set the local IP Phone number ephone-dn 1 number 8090 5. test. Note: Enable the PT5.3 Sound, Options --- Preferences ----- Sound summary: Note: (easy to error) 1. You must enable CDP function 2 on the switch, before the configuration is complete, it is best not to connect to the power of the IP Phone 3, enable the PT5.3 sound, Options --- Preferences ----- Sound4, set the IP address of the Ethernet port of the router to 33.33.33.254, 5 is used as the gateway of the IP phone. The vlan numbers allowed at both ends must be the same as 6. When an error occurs, be sure to check the error message.