191145692 发表于 2018-7-12 08:15:58

cisco 2801 配置voip

Current configuration : 4189 bytes  !
  version 12.4
  service tcp-keepalives-in
  service tcp-keepalives-out
  service timestamps debug datetime localtime
  service timestamps log datetime localtime
  service password-encryption
  no service dhcp
  !
  hostname ***!
  boot-start-marker
  boot system flash flash:c2801-spservicesk9-mz.124-3e.bin
  boot-end-marker
  !
  logging buffered 512000 notifications
  enable secret 5 $1$PNEw$F7U12ek57NSo.mguBFc8u1
  !
  aaa new-model
  !
  !
  aaa authentication login default local
  aaa authorization console
  aaa authorization exec default local
  !
  aaa session-id common
  !
  resource policy
  !
  clock timezone HK 8
  mmi polling-interval 60
  no mmi auto-configure
  no mmi pvc
  mmi snmp-timeout 180
  ip subnet-zero
  no ip source-route
  ip cef
  !
  no ip domain lookup
  ip host hk 10.0.1.2
  !
  voice-card 0
  !
  username hgcadmin privilege 15 secret 5 $
  username mtladmin privilege 15 secret 5 $
  username mtlops privilege 15 password 7 1
  !
  !
  class-map match-all silver
  match any
  class-map match-any voice-traffic
  match access-group name voip
  !
  policy-map wanqos
  class voice-traffic
  set precedence 5
  priority 80

  class>  set precedence 0
  fair-queue
  random-detect
  !
  interface FastEthernet0/0
  ip address 192.168.168.12 255.255.255.0
  duplex auto
  speed auto
  !
  interface FastEthernet0/1
  ip address 192.168.111.254 255.255.255.0
  duplex auto
  speed auto
  !
  interface Serial0/1/0
  bandwidth 256
  no ip address
  encapsulation frame-relay IETF
  load-interval 30
  no fair-queue
  frame-relay traffic-shaping
  max-reserved-bandwidth 100
  !
  interface Serial0/1/0.999 point-to-point
  ip address 10.0.2.2 255.255.255.252
  frame-relay interface-dlci 16

  >  load-interval 30
  h323-gateway voip interface
  h323-gateway voip bind srcaddr 10.0.2.2
  !

  ip>  ip route 0.0.0.0 0.0.0.0 192.168.168.254
  ip route 10.0.1.0 255.255.255.252 10.0.2.1
  ip route 192.168.0.0 255.255.255.0 10.0.2.1
  !
  !
  no ip http server
  no ip http secure-server
  !
  ip access-list extended voip
  permit udp any any range 16384 32767
  permit tcp any eq 1720 any
  permit tcp any any eq 1720
  !
  !
  map-class frame-relay VOIPovFR
  frame-relay cir 256000
  frame-relay bc 2560
  frame-relay be 0
  frame-relay mincir 256000
  service-policy output wanqos
  no cdp run
  !
  !
页: [1]
查看完整版本: cisco 2801 配置voip