Cisco 3640 VoIP configuration instance

Source: Internet
Author: User

The following is the VOIP configuration of Cisco 3640. The structure is VOIP between Taipei and Shanghai, followed by Alcatel's PBX. There are many things to note.

Taipei configuration code:

Taipei # sh runBuilding configuration... Current configuration :! Version 12.0 service timestamps debug uptime (set the Debug trace log to display its time) service timestamps Log uptime (set the time displayed when the log is viewed) no service password-encryption (the password is not encrypted )! Hostname Taipei (host name )! Enable secret 5 $1 $ R.66 $ z. BUjhNsJcIr8KCcS9uxG .!!!!! Voice-card 1 (define voice card 1 )! Voice-card 3 (define voice card 3 )! Ip subnet-zerono ip domain-lookup! Isdn voice-call-failure 0 !!!! Controller E1 1/0 (configured with E1 voice card) framing NO-CRC4ds0-group 0 timeslots 1-15, 17-31 type e & m-wink-start (defines the type of voice card as E & M card) cas-custom 0! Controller E1 3/0 (configured with E1 voice card) framing NO-CRC4ds0-group 0 timeslots 1-15, 17-31 type e & m-wink-start (defines the type of voice card as E & M card) cas-custom 0 !!! Interface BRI0/0no ip addressno ip directed-broadcastshutdownisdn guard-timer 0 on-expiry accept! Interface FastEthernet0/0no ip addressno ip directed-broadcastshutdownduplex autospeed auto! Interface Serial0/0 description "Link to MainLand_ShangHai by NCIC lease line" ip address 192.168.1.1 255.255.252no ip directed-broadcastno ip mroute-cacheno fair-queue! Interface Serial0/1no ip addressno ip directed-broadcastshutdownclockrate 2000000! Ip classlessno ip http server !! Voice-port 1/0: 0 (configure Analog voice port) compand-type a-law! Voice-port 3/0: 0 (configure Analog voice port) compand-type a-law! Dial-peer voice 1 voip (defining dial peer to speech) destination-pattern + 445... (assign a telephone number for the dial-up peer, where. as a wildcard) session target ipv4: 192.168.1.2 (which defines a Voip route, which is the IP address of the Peer end) req-qos guaranteed-delay (Guarantee of the voice data stream RVSP, among them, Guaranteed-dealy can be used to ensure the delay of the entire network) ip precedence 5 (IP priority, 5 is the key )! Dial-peer voice 2 pots (defines the physical port from the dial peer to the voice) destination-pattern + 3... (define the phone number starting with 3) port 1/0: 0 (define the voice port )! Dial-peer voice 3 pots (defines the physical port from the dial peer to the voice) destination-pattern + 3... (define the phone number starting with 3) port 3/0: 0 (define the voice port )!! Line con 0 (set logon) transport input noneline aux 0 line vty 0 4 (Telnet allowed) password cisco (password: Cisco) login! EndTaipei #

Configuration code 3640 of the Shanghai side:

ShangHai#sh runBuilding configuration...Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname ShangHai!enable secret 5 $1$dB/c$tnrMU9IxFCJdix5ssHAdH/!!!!!voice-card 1!voice-card 2!ip subnet-zerono ip domain-lookup!isdn voice-call-failure 0!!!!controller E1 1/0framing NO-CRC4ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-startcas-custom 0!    controller E1 2/0framing Nds0-group 0 timeslots 1-15,17-31 type e&m-immediate-startcas-custom 0!!!interface BRI0/0no ip addressno ip directed-broadcastencapsulation pppisdn guard-timer 0 on-expiry acceptppp multilink!interface FastEthernet0/0no ip addressno ip directed-broadcastshutdownduplex autospeed auto!interface Serial0/0no ip addressno ip directed-broadcastno ip mroute-cacheshutdownno fair-queueclockrate 2000000!interface Serial0/1ip address 192.168.1.2 255.255.255.252no ip directed-broadcast!ip classless!no ip http server!!voice-port 1/0:0compand-type a-law!voice-port 2/0:0compand-type a-law!dial-peer voice 20 voipdestination-pattern +3...session target ipv4:192.168.1.1req-qos guaranteed-delayip precedence 5!dial-peer voice 10 potsdestination-pattern +448...port 1/0:0!dial-peer voice 30 voipdestination-pattern +4...session target ipv4:192.168.1.1req-qos guaranteed-delayip precedence 5!dial-peer voice 40 potsdestination-pattern +449...port 2/0:0!!line con 0transport input noneline aux 0line vty 0 4password ciscologin!endShangHai#

Article entry: csh responsible editor: csh

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.