![]() |
||
Voice over IP for the Cisco 3600 Series Examples
![]() |
||
Table of ContentsVoice Over IP for the Cisco 3600 Series Configuration ExamplesFXS-to-FXS Connection Using RSVP
Configuration for Router RLB-1
Linking PBX Users with E&M Trunk LinesConfiguration for Router RLB-w Configuration for Router R12-e Configuration for Router RLB-2 PSTN Gateway Access Using FXO Connection PSTN Gateway Access Using FXO Connection (PLAR Mode) Voice Over IP for the Cisco 3600 Series Configuration ExamplesThe actual Voice over IP configuration procedure you complete depends on the actual topology of your voice network. The following configuration examples should give you a starting point. Of course, these configuration examples would need to be customized to reflect your network topology. Configuration procedures are supplied for the following scenarios:
These examples are described in the following sections. FXS-to-FXS Connection Using RSVPThe following example shows how to configure Voice over IP for simple FXS-to-FXS connections. In this example, a very small company, consisting of two offices, has decided to integrate Voice over IP into its existing IP network. One basic telephony device is connected to Router RLB-1; therefore Router RLB-1 has been configured for one POTS peer and one VoIP peer. Router RLB-w and Router R12-e establish the WAN connection between the two offices. Because one POTS telephony device is connected to Router RLB-2, it has also been configured for only one POTS peer and one VoIP peer. In this example, only the calling end (Router RLB-1) is request RSVP. Figure 3 illustrates the topology of this FXS-to-FXS connection example. Figure 3: FXS-to-FXS Connection Example
Configuration for Router RLB-1hostname rlb-1 ! Create voip dial-peer 10 dial-peer voice 10 voip ! Define its associated telephone number and IP address destination-pattern +4155264000 sess-target ipv4:40.0.0.1 ! Request RSVP req-qos guaranteedDelay ! Create pots dial-peer 1 dial-peer voice 1 pots ! Define its associated telephone number and voice port destination-pattern +4085264000 port 1/0/0 ! Configure serial interface 0/0 interface Serial0/0 ip address 10.0.0.1 255.0.0.0 no ip mroute-cache ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 48 48 fair-queue 64 256 36 clockrate 64000 router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0 Configuration for Router RLB-whostname rlb-w ! Configure serial interface 1/0 interface Serial1/0 ip address 10.0.0.2 255.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 ! Configure serial interface 1/3 interface Serial1/3 ip address 20.0.0.1 255.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 ! Configure IGRP router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0 Configuration for Router R12-ehostname r12-e ! Configure serial interface 1/0 interface Serial1/0 ip address 40.0.0.2 25.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 ! Configure serial interface 1/3 interface Serial1/3 ip address 20.0.0.2 255.0.0.0 ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 clockrate 128000 ! Configure IGRP router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0 Configuration for Router RLB-2hostname r1b-2 ! Create pots dial-peer 2 dial-peer voice 2 pots ! Define its associated telephone number and voice-port destination-pattern +4155264000 port 1/0/0 ! Create voip dial-peer 20 dial-peer voice 20 voip !Define its associated telephone number and IP address destination-pattern +4085264000 sess-target ipv4:10.0.0.1 ! Configure serial interface 0/0 interface Serial0/0 ip address 40.0.0.1 255.0.0.0 no ip mroute-cache ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 clockrate 64000 ! Configure IGRP router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0 Linking PBX Users with E&M Trunk LinesThe following example shows how to configure Voice over IP to link PBX users with E&M trunk lines. Figure 4 illustrates the topology of this connection example. Figure 4: Linking PBX Users with E&M Trunk Lines Example
Note This example assumes that the company already has established a working IP connection between its two remote offices. Router SJ Configurationhostname sanjose !Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +527.... port 1/0/0 !Configure pots dial-peer 2 dial-peer voice 2 pots destination-pattern +527.... port 1/0/1 !Configure voip dial-peer 3 dial-peer voice 3 voip destination-pattern +569.... session target ipv4:172.16.65.182 !Configure the E&M interface voice-port 1/0/0 signal immediate operation 4-wire type 2 voice-port 1/0/1 signal immediate operation 4-wire type 2 !Configure the serial interface interface serial 0/0 description serial interface type dce (provides clock) clock rate 2000000 ip address 172.16.1.123 no shutdown Router SLC Configurationhostname saltlake !Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +569.... port 1/0/0 !Configure pots dial-peer 2 dial-peer voice 2 pots destination-pattern +569.... port 1/0/1 !Configure voip dial-peer 3 dial-peer voice 3 voip destination-pattern +527.... session target ipv4:172.16.1.123 !Configure the E&M interface voice-port 1/0/0 signal immediate operation 4-wire type 2 voice-port 1/0/0 signal immediate operation 4-wire type 2 !Configure the serial interface interface serial 0/0 description serial interface type dte ip address 172.16.65.182 no shutdown Note PBXs should be configured to pass all DTMF signals to the router. We recommend that you do not configure store and forward tone. Note If you change the gain or the telephony port, make sure that the telephony port still accepts DTMF signals. PSTN Gateway Access Using FXO ConnectionThe following example shows how to configure Voice over IP to link users with the PSTN gateway using an FXO connection. In this example, users connected to Router SJ in San Jose, California can reach PSTN users in Salt Lake City, Utah via Router SLC. Router SLC in Salt Lake City is connected directly to the PSTN through an FXO interface. Figure 5 illustrates the topology of this connection example. Figure 5: PSTN Gateway Access Using FXO Connection Example
Note This example assumes that the company already has established a working IP connection between its two remote offices. Router SJ Configuration! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +14085274000 port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +9........... session target ipv4:172.16.65.182 ! Configure the serial interface interface serial 0/0 clock rate 2000000 ip address 172.16.1.123 no shutdown Router SLC Configuration! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +9........... port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +14085274000 session target ipv4:172.16.1.123 ! Configure serial interface interface serial 0/0 ip address 172.16.65.182 no shutdown PSTN Gateway Access Using FXO Connection (PLAR Mode)The following example shows how to configure Voice over IP to link users with the PSTN Gateway using an FXO connection (PLAR mode). In this example, PSTN users in Salt Lake City, Utah, can dial a local number and establish a private line connection in a remote location. As in the previous example, Router SLC in Salt Lake City is connected directly to the PSTN through an FXO interface. Figure 6 illustrates the topology of this connection example. Figure 6: PSTN Gateway Access Using FXO Connection (PLAR Mode)
Note This example assumes that the company already has established a working IP connection between its two remote offices. Router SJ Configuration! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +14085274000 port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +9........... session target ipv4:172.16.65.182 ! Configure the serial interface interface serial 0/0 clock rate 2000000 ip address 172.16.1.123 no shutdown Router SLC Configuration! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +9........... port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +14085274000 session target ipv4:172.16.1.123 ! Configure the voice port voice port 1/0/0 connection plar 14085274000 ! Configure the serial interface interface serial 0/0 ip address 172.16.65.182 no shutdown
|
||
|
|