51CTO技术论坛_中国领先的IT技术社区's Archiver

diablocd 发表于 2008-7-4 07:58

关于H3C的VOIP

请问哪位大哥有H3C的VOIP的配置实例呀,我这急需,谢谢大家了:)

特爱蚂蚁 发表于 2008-7-4 09:08

华三R2630、R3680以及与华为C&C08通过FXO及CE1语音互通

R2630配置:
[Router]disp curr
  Now create configuration...
  Current configuration
  !
    version 1.74
    info-center console
    info-center console debugging
    firewall enable
    aaa-enable
    aaa accounting-scheme optional
    ftp-server enable
  !
  interface Aux0
    async mode flow
    link-protocol ppp
  !
  interface Ethernet0
    ip address 192.168.10.2 255.255.255.0
  !
  voice-setup
    !
    dial-program
      !
      entity 6000 voip
        address ip 192.168.10.1
        match-template 60..
      !
      entity 6100 voip
        address ip 192.168.10.1
        match-template 61..
      !
      entity 7000 voip
        address ip 192.168.10.1
        match-template 7000
      !
      entity 7001 voip
        address ip 192.168.10.1
        match-template 7001
      !
      entity 7100 pots
        match-template 7100
        line 0
      !
      entity 7101 pots
        match-template 7101
        line 1
    !
    subscriber-line 0
    !
    subscriber-line 1
    !
    quit
  !
  quit
  ip route-static 0.0.0.0 0.0.0.0 192.168.10.1 preference 60
  !
  snmp-agent
  snmp-agent local-engineid 800007DB0300E0FC05D488
  snmp-agent community read 123
  snmp-agent community write 456
  snmp-agent sys-info version all
  !
  return

[Router]
[Router]

特爱蚂蚁 发表于 2008-7-4 09:09

科大通讯实验室配置-2
R3680配置:

[Router]disp curr
  Now create configuration...
  Current configuration
  !
    version 1.74
    local-user 123 service-type ppp password simple 123
    dialer-rule 1 ip permit
    ip pool 1 10.0.0.1 10.0.0.6
    info-center console
    info-center console debugging
    firewall disable
    aaa-enable
    aaa accounting-scheme optional
    ftp-server enable
  !
  controller e1 0
    pri-set timeslot-list 1-31
  !
  interface Aux0
    async mode flow
    link-protocol ppp
  !
  interface Ethernet0
    ip address 202.206.58.80 255.255.255.0
  !
  interface Ethernet1
    ip address 192.168.10.1 255.255.255.0
  !
  interface Serial0:15
    link-protocol ppp
    isdn service data
    isdn service speech
    dialer enable-circular
  !
  interface AnalogModem0
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface AnalogModem1
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface AnalogModem2
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface AnalogModem3
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface AnalogModem4
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface AnalogModem5
    physical-mode async
    async mode protocol
    link-protocol ppp
    ppp authentication-mode pap
    remote address pool 1
    dialer enable-circular
    dialer-group 1
    dialer circular-group 0
  !
  interface Dialer0
    link-protocol ppp
    ip address 10.0.0.254 255.255.255.0
    remote address pool 1
    dialer enable-circular
    dialer-group 1
  !
  voice-setup
    !
    dial-program
      !
      entity 6000 pots
        dial-prefix 60
        match-template 60..
        line 0:15
      !
      entity 6100 pots
        dial-prefix 61
        match-template 61..
        line 0
      !
      entity 7000 pots
        match-template 7000
        line 2
      !
      entity 7001 pots
        match-template 7001
        line 3
      !
      entity 7100 voip
        address ip 192.168.10.2
        match-template 7100
      !
      entity 7101 voip
        address ip 192.168.10.2
        match-template 7101
    !
    subscriber-line 0
    !
    subscriber-line 1
    !
    subscriber-line 2
    !
    subscriber-line 3
    !
    subscriber-line 0:15
    !
    quit
  !
  quit
  ip route-static 0.0.0.0 0.0.0.0 192.168.10.2 preference 60
  ip route-static 10.0.0.1 255.255.255.255 Dialer 0 preference 60
  ip route-static 10.0.0.2 255.255.255.255 Dialer 0 preference 60
  ip route-static 10.0.0.3 255.255.255.255 Dialer 0 preference 60
  ip route-static 10.0.0.4 255.255.255.255 Dialer 0 preference 60
  ip route-static 10.0.0.5 255.255.255.255 Dialer 0 preference 60
  ip route-static 10.0.0.6 255.255.255.255 Dialer 0 preference 60
  !
  snmp-agent
  snmp-agent local-engineid 800007DB0300E0FC05D471
  snmp-agent community read 123
  snmp-agent community write 456
  snmp-agent sys-info version all
  !
  return

[Router]
[Router]
[Router]

特爱蚂蚁 发表于 2008-7-4 09:09

科大通讯实验室配置-3
说明:
R2630与R3680通过LAN口用静态路由互联,R2630使用FXS带普通话机实现与R3680以及C&C08之间的VOIP,R3680配置modem模块作RAS,通过LAN口用静态路由与R2630互联,带普通话机与R2630实现VOIP,并且通过FXO及CE1(同时工作,用电话号码区分是通过FXO还是CE1与C&C08通讯。)实现话音互通。
C&C08、R2630及R3680之间都可以实现话音互通。

chenqiang 发表于 2008-7-4 09:52

版主太牛了,佩服

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.