下面是一個(gè)Cisco 3640的VOIP配置 , 對(duì)方的結(jié)構(gòu)是臺(tái)北和上海兩地做VOIP,后接阿爾卡特的PBX,這是我親手做的 , 里面有很多有注重的地方 , 與大家一起分享快樂(lè)!
如有看不懂的地方請(qǐng)問(wèn)我 , 還有我加的注解:
Taipei#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime(設(shè)定Debug跟蹤日志顯示其時(shí)間)
service timestamps log uptime(設(shè)定看Log時(shí)顯示其時(shí)間)
no service passWord-encryption(口令不加密)
!
hostname Taipei(主機(jī)名)
!
enable secret 5 $1$R.66$z.BUjhNsJcIr8KCcS9uxG.
!
!
!
!
!
voice-card 1(定義語(yǔ)音卡1)
!
voice-card 3(定義語(yǔ)音卡3)
!
ip subnet-zero
no ip domain-lookup
!
isdn voice-call-failure 0
!
!
!
!
controller E1 1/0(配置 E1語(yǔ)音卡)
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定義語(yǔ)音卡的類(lèi)型為E&M卡)
cas-custom 0
!
controller E1 3/0(配置 E1語(yǔ)音卡)
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-wink-start(定義語(yǔ)音卡的類(lèi)型為E&M卡)
cas-custom 0
!
!
!
interface BRI0/0
no ip address
no ip directed-broadcast
shutdown
isdn guard-timer 0 on-eXPiry accept
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
duplex auto
speed auto
!
interface Serial0/0
description "Link to MainLand_ShangHai by NCIC lease line"
ip address 192.168.1.1 255.255.255.252
no ip directed-broadcast
no ip mroute-cache
no fair-queue
!
interface Serial0/1
no ip address
no ip directed-broadcast
shutdown
clockrate 2000000
!
ip classless
no ip http server
!
!
voice-port 1/0:0(配置模擬語(yǔ)音端口)
compand-type a-law
!
voice-port 3/0:0(配置模擬語(yǔ)音端口)
compand-type a-law
!
dial-peer voice 1 voip (定義撥號(hào)對(duì)等體到語(yǔ)音)
destination-pattern445...(為撥號(hào)對(duì)等體分配電話號(hào)碼 , 其中.為通配符)
session target ipv4:192.168.1.2(定義Voip路由 , 為對(duì)端的IP地址)
req-qos guaranteed-delay (語(yǔ)音數(shù)據(jù)流RVSP的保證 , 其中Guaranteed-dealy可用于保證整個(gè)網(wǎng)絡(luò)的延時(shí))
ip precedence 5(IP優(yōu)先級(jí) , 5為要害)
!
dial-peer voice 2 pots(定義撥號(hào)對(duì)等體到語(yǔ)音物理端口)
destination-pattern3...(定義電話話碼以3開(kāi)頭的)
port 1/0:0(定義語(yǔ)音端口)
!
dial-peer voice 3 pots(定義撥號(hào)對(duì)等體到語(yǔ)音物理端口)
destination-pattern3...(定義電話話碼以3開(kāi)頭的)
port 3/0:0(定義語(yǔ)音端口)
!
!
line con 0(設(shè)定登陸)
transport input none
line aux 0
line vty 0 4(答應(yīng)用Telnet)
password cisco(口令為Cisco)
login
!
end
Taipei#
上海一方的3640配置
ShangHai#sh run
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ShangHai
!
enable secret 5 $1$dB/c$tnrMU9IxFCJdix5ssHAdH/
!
!
!
!
!
voice-card 1
!
voice-card 2
!
ip subnet-zero
no ip domain-lookup
!
isdn voice-call-failure 0
!
!
!
!
controller E1 1/0
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type e&m-immediate-start
cas-custom 0
!
推薦閱讀
- 幾種不同路由器的Frame-Relay的配置
- CiscoRouter之間CallBack典型配置
- 用于路由器和PC之間 [分享]我調(diào)試通過(guò)的callback配置
- 4006-s2配置清單
- Cisco2610C的配置實(shí)例
- 異步路由和動(dòng)態(tài)尋址及TCP頭壓縮配置舉例
- 異步Modem線
- CiscoVPN連接配置實(shí)例
- Cisco2610A的配置實(shí)例
- 三星S8怎么樣?三星S8配置參數(shù)詳細(xì)介紹
