Simple Configuration for Voip With Cisco
Saturday, July 12, 2008FBI_CIA#sh run
Building configuration...
Current configuration : 2661 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname FBI_CIA
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$7wh.$Swhg9iMImukpcSw.7sOK51
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 2
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
class-map match-any GOLD
match access-group name ms-sql-traffic
class-map match-any VoipData
match access-group name VoipData
class-map match-any VoipControl
match access-group name VoipControl
!
!
policy-map PACKAGE2fordial
class GOLD
bandwidth percent 40
random-detect
set precedence 2
class class-default
fair-queue
random-detect
set precedence 0
policy-map PACKAGE2
class VoipData
set precedence 5
priority percent 25
class VoipControl
bandwidth percent 5
random-detect
set precedence 3
class GOLD
bandwidth percent 40
random-detect
set precedence 2
class class-default
fair-queue
random-detect
set precedence 0
policy-map Reset-VPN-Package2
class VoipData
set precedence 5
class VoipControl
set precedence 3
class GOLD
set precedence 2
!
!
!
!
interface Loopback0
description IP Loopback untuk Voice
ip address 192.XXX.XXX.31 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.215.1 255.255.255.128
speed auto
!
interface Serial1/0
ip address 172.xxx.xxx.126 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 172.17.150.125
!
no ip http server
no ip http secure-server
!
!
control-plane
!
!
!
voice-port 2/0
!
voice-port 2/1
!
!
!
!
!
!
dial-peer voice 75100 pots
destination-pattern 75100
port 2/0
!
dial-peer voice 75101 pots
destination-pattern 75101
port 2/1
!
dial-peer voice 293 voip
description Koneksi Voice Ke Padang
destination-pattern 293
session target ipv4:192.XXX.253.27
dtmf-relay cisco-rtp
ip qos dscp cs5 media
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 765 voip
description Koneksi Voice ke Solok
destination-pattern 765
session target ipv4:192.XXX.253.30
dtmf-relay cisco-rtp
ip qos dscp cs5 media
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 623 voip
description Koneksi Voice ke Bukittingi
destination-pattern 623
session target ipv4:192.XXX.253.22
dtmf-relay cisco-rtp
ip qos dscp cs5 media
ip qos dscp cs3 signaling
no vad
!
dial-peer voice 361 voip
description Koneksi voice ke Painan
destination-pattern 361
session target ipv4:192.XXX.XXX.18
dtmf-relay cisco-rtp
ip qos dscp cs5 media
ip qos dscp cs3 signaling
no vad
!
!
line con 0
password cilubak
login
line aux 0
line vty 0 4
password cilubak
login
!
end
FBI_CIA#