专栏中心

EEPW首页 > 专栏 > 实现VoIP的基本配置

实现VoIP的基本配置

发布人:lulu888 时间:2009-05-24 来源:工程师 发布文章
--
    实验描述:
  
  本实验通过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
   

专栏文章内容及配图由作者撰写发布,仅供工程师学习之用,如有侵权或者其他违规问题,请联系本站处理。 联系我们

关键词:

相关推荐

L3级汽车有哪些充分必要条件?

ceajin_继电器滴答时钟

视频 2011-12-16

AI结合毫米波雷达实现远程窃听,准确率达60%

英伟达的下一代 GPU Rubin 因重新设计而面临可能的延迟

智能计算 2025-08-15

理想i8或许销量不佳,但是个正确的打法

allan0403_点阵测试、点阵倒计时、花样流水灯

视频 2011-12-16

走进芯片:CMOS反相器

电源系统噪声来源

据报道,三星计划在横滨建立耗资1.7亿美元的芯片封装研发中心,预计将于2027年3月开放

利用赛灵思FPGA解决方案攻克28nm产品设计最大挑战

视频 2011-12-16

日本关东德山火灾威胁 NF₃供应,提醒台积电、三星和瑞昱等芯片制造商

中国芯工程

视频 2011-12-13

Arm为GPU添加了专用的神经加速器

智能计算 2025-08-15

超声波传感器 - 应用原理和选型时需要关注的参数

赛灵思Kintex-7收发器操作演示

视频 2011-12-16
更多 培训课堂
更多 焦点
更多 视频

技术专区