|
|
|
实现VOIP的基本配置
编辑: 来源: 日期:2008-03-01 我要投稿
家园 |
|
实验描述: 本实验通过2只Cisco 2600和1只Cisco 3600路由器,实现蓝色学院分部一和分部二的Voip 。其中,两个分部利用Cisco 的2620 作为终端设备,总部利用Cisco 的3640 路由器作为中心组网设备,在各专线之间通过祯中继线路连接具体结构如下 分部一) Cisco 2600 Voip configuration Current onfiguration ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname bluestudy1 ! enable password Cisco ! ip subnet-zero ! voice-port 1/0/0 time-port call-disconnect 0 ! voice-port 1/0/1 time-port call-disconnect 0 ! voice-port 1/1/0 time-port call-disconnect 0 ! voice-port 1/1/1 time-port call-disconnect 0 ! dial-peer voice 1 pots destination-pattern 1234 port 1/1/0 ! dial-peer voice 10 voip destination-pattern 4321 session target ipv4:199.1.2.2 ! interface Ethernet0/0 no ip address no ip directed-broadcast shutdown ! interface serial0/0 no ip address no ip directd-broadcast encapsulation frame-relay no ip mroute-cache frame-relay lmi-type ansi ! interface serial0/0.1 point-to-point ip address 199.1.1.2 255.255.255.248 no ip directed-broadcast frame-relay interface-dlci 111 !interface ethernet0/1 no ip address no ip directed-broadcast shut down ! interface serial 0/1 no ip address no ip directed-broadcast shut down ! interface serial0/2 no ip address no ip directed-broadcast shut down ! interface serial0/3 no ip address no ip directed-broadcast shut down ! router rip version 2 network 199.1.1.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux line vty 0 4 password cisco login ! no scheduler allocate end 对于3640的配置,利用它来模拟ISP只要在其广域端口上配置相应地址,与分部一相连用199.1.1.1 255.255.255.248 ,与分部二相连的端口地址配置为 199.1.2.1 255.255.255.248,再配置路由,在199.1.1.0 和199.1.2.0 网络中启动rip two 协议即可. 分部二 Cisco 2600 Voip configuration Current configuration ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname bluestudy2 ! enable password Cisco ! ip subnet-zero ! voice-port 1/0/0 time-port call-disconnect 0 ! voice-port 1/0/1 time-port call-disconnect 0 ! voice-port 1/1/0 time-port call-disconnect 0 ! voice-port 1/1/1 time-port call-disconnect 0 ! dial-peer voice 1 pots destination-pattern 4321 port 1/1/0 ! dial-peer voice 10 voip destination-pattern 1234 session target ipv4:199.1.1.2 ! interface Ethernet0/0 no ip address no ip directed-broadcast shutdown ! interface serial0/0 no ip address no ip directd-broadcast encapsulation frame-relay no ip mroute-cache frame-relay lmi-type ansi ! interface serial0/0.1 point-to-point ip address 199.1.2.2 255.255.255.248 no ip directed-broadcast frame-relay interface-dlci 111 !interface ethernet0/1 no ip address no ip directed-broadcast shut down ! interface serial 0/1 no ip address no ip directed-broadcast shut down ! interface serial0/2 no ip address no ip directed-broadcast shut down ! interface serial0/3 no ip address no ip directed-broadcast shut down ! router rip version 2 network 199.1.2.0 ! ip classless no ip http server ! ! line con 0 transport input none line aux line vty 0 4 password cisco login ! no scheduler allocate end 
上一篇:VoIP 处理流程 下一篇:VoIP培训资料
|
|
|
|
【文章评论】
【收藏本文】
【推荐好友】
【打印本文】
【论坛讨论】 |
相关文章: |
|
 |
文章评论:(0条) |
|
|
|
|
责任编辑:IT学院 声明:刊登此文章是为了传递更多信息,文章内容仅供参考,转载请注明出处。 |
|