Toip - Configuration des routeurs

De Wiki_DR13
Aller à : navigation, rechercher


interfaces serie du routeur

interface Serial0/1/0:15 isdn outgoing-voice info-transfer-capability 3.1kHz-audio

Dans le standard ISDN (T2 = 30 canaux B + 1 canal D ISDN), on a un champs bearer d’information qui indique de mémoire au saut ISDN suivant un peu ce que contient le paquet audio (un peut comme le champs EtherType pour Ethernet ou ToS pour IP) cela peut être je crois du speech / 3,1 KHz audio / ou DATA.


section voice-port sur le routeur

voice-port 0/1/0:15 bearer-cap 3100Hz

Idem dans notre cas cela signifie Fax ou Téléphone, il faut savoir que c’est un champs informatif et qu’il n’est pas tout le temps lu ou respecter par les autres équipements. Il n’est pas indispensable au bon fonctionnement.


Coupure des interfaces vers les pabx

Ai rajouté des shutdown sur les interfaces serial 0/0/x:15 et sur les controleurs E1 0/0/x. Voir les fichiers de conf ci dessous.

2811-1 Route de Mende


!
! Last configuration change at 10:33:35 CEDT Thu May 19 2011 by admin
!
version 15.1
service exec-callback
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname Cisco-2811-1
!
boot-start-marker
boot system flash:/c2800nm-advipservicesk9-mz.151-3.T.bin
boot-end-marker
!
!
card type e1 0 0
card type e1 0 1
logging buffered 5000000
no logging console
enable secret 5 $1$u/Q7$E//1oNA7kq4rtlXxZ0Wpz/
!
no aaa new-model
!
clock timezone CEST 1 0
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
network-clock-participate wic 0
network-clock-participate wic 1
network-clock-select 3 E1 0/1/0
!
dot11 syslog
no ip source-route
!
!
ip cef
ip dhcp excluded-address 10.9.64.1 10.9.64.50
ip dhcp excluded-address 10.9.66.0 10.9.67.254
ip dhcp excluded-address 10.9.128.1 10.9.128.50
ip dhcp excluded-address 10.9.130.0 10.9.131.254
ip dhcp excluded-address 10.9.144.1 10.9.144.50
ip dhcp excluded-address 10.9.146.0 10.9.147.254
ip dhcp excluded-address 10.9.136.1 10.9.136.50
ip dhcp excluded-address 10.9.138.0 10.9.139.254
ip dhcp excluded-address 10.9.132.1 10.9.132.50
ip dhcp excluded-address 10.9.134.0 10.9.135.254
ip dhcp excluded-address 10.9.140.1 10.9.140.50
ip dhcp excluded-address 10.9.142.0 10.9.143.254
ip dhcp excluded-address 10.9.148.1 10.9.148.50
ip dhcp excluded-address 10.9.150.0 10.9.151.254
ip dhcp excluded-address 10.9.72.1 10.9.72.50
ip dhcp excluded-address 10.9.74.0 10.9.75.254
ip dhcp excluded-address 10.9.76.1 10.9.76.50
ip dhcp excluded-address 10.9.78.0 10.9.79.254
ip dhcp excluded-address 10.9.80.1 10.9.80.50
ip dhcp excluded-address 10.9.82.0 10.9.83.254
ip dhcp excluded-address 10.9.84.1 10.9.84.50
ip dhcp excluded-address 10.9.86.0 10.9.87.254
ip dhcp excluded-address 10.9.88.1 10.9.88.50
ip dhcp excluded-address 10.9.90.0 10.9.91.254
ip dhcp excluded-address 10.9.92.1 10.9.92.50
ip dhcp excluded-address 10.9.94.0 10.9.95.254
ip dhcp excluded-address 10.9.96.1 10.9.96.50
ip dhcp excluded-address 10.9.98.0 10.9.99.254
ip dhcp excluded-address 10.9.100.1 10.9.100.50
ip dhcp excluded-address 10.9.102.0 10.9.103.254
ip dhcp excluded-address 10.9.104.1 10.9.104.50
ip dhcp excluded-address 10.9.106.0 10.9.107.254
ip dhcp excluded-address 10.9.108.1 10.9.108.50
ip dhcp excluded-address 10.9.110.0 10.9.111.254
!
ip dhcp pool toip-dr13-cdl-postes
   network 10.9.64.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.64.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igh-postes
   network 10.9.128.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.128.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-iugf-postes
   network 10.9.144.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.144.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igf-postes
   network 10.9.136.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.136.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igh_sansfil-postes
   network 10.9.132.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.132.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igf-sansfil
   network 10.9.140.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.140.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-iugf-sansfil
   network 10.9.148.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.148.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-crbm-postes
   network 10.9.72.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.72.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-crbm-sansfil
   network 10.9.76.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.76.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cbps-postes
   network 10.9.80.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.80.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cbps-sansfil
   network 10.9.84.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.84.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igmm-postes
   network 10.9.88.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.88.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igmm-sansfil
   network 10.9.92.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.92.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-u632-iem-tecto-postes
   network 10.9.96.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.96.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-u632-iem-tecto-sansfil
   network 10.9.100.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.100.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cefe-postes
   network 10.9.104.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.104.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cefe-sansfil
   network 10.9.108.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.108.1
   option 150 ip 10.9.1.100 10.9.2.100
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
!
voice service pots
!
voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol none
 modem passthrough nse codec g711ulaw
 sip
  bind control source-interface BVI1
  bind media source-interface BVI1
  localhost dns:proxy-sip.montp.cnrs.fr:5060
  error-code-override options-keepalive failure 503
!
!
!
!
!
voice-card 0
 dspfarm
 dsp services dspfarm
 no local-bypass
!
!
application
 global
  service alternate default
 !
!
crypto pki token default removal timeout 0
!
crypto pki trustpoint TP-self-signed-2781809433
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2781809433
 revocation-check none
!
!
crypto pki certificate chain TP-self-signed-2781809433
 certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32373831 38303934 3333301E 170D3131 30323130 31323234
  31375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 37383138
  30393433 3330819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100CC8F 6C3CF55C D2CF9AA1 4F7B0A16 F2842718 E3A73A7A 9D52C728 9BB0131E
  ADC166F5 550342FA 01E3039B 6DB62BFE 19EA740E 32BA8877 D2066290 461B37CC
  1B98352B 02304E9B 8D923958 DC450F16 D33ED065 6012D787 9C2DD8C0 45B8994F
  AC0EDE16 AC71AADF 7C611911 E7454D5A 4747DEE9 ED88C911 2752999E 5D131C65
  FB990203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 14F9CC92 1BAD7E8F 49459A4A 678FA2EE E996600F C5301D06
  03551D0E 04160414 F9CC921B AD7E8F49 459A4A67 8FA2EEE9 96600FC5 300D0609
  2A864886 F70D0101 04050003 818100B7 CB17824D E5CA113D D2FCACA7 27183473
  7B84D644 232A9376 FC267BB7 BF176D67 8DF12883 85329AC6 712DA593 ADE566E4
  2EEF6A7C 41B13EB4 502E9F84 DE1D8B5A CBDC8C46 16594A37 23D0E297 5B7F98CF
  BB2F0C99 4E8BE43A E8367B98 4B363D4B 92F9C213 5B67F2F0 FF741257 35893453
  BF608728 2BE067C7 810A378E 401B20
        quit
!
!
license udi pid CISCO2811 sn FCZ14067111
archive
 log config
  hidekeys
username admin privilege 15 secret 5 $1$GOA1$Le.G56vGoAwrG83S/1By11
!
redundancy
!
!
controller E1 0/0/0
 shutdown
 framing NO-CRC4
 clock source internal
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/0/1
 shutdown
 framing NO-CRC4
 clock source internal
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/1/0
 framing NO-CRC4
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/1/1
 framing NO-CRC4
 pri-group timeslots 1-31 service mgcp
!
!
class-map match-all cm-voip-sign
 match  dscp cs3
class-map match-any cm-voix
 match access-group name acl-voix
!
!
policy-map pm-voix
 class cm-voix
  set dscp ef
!
!
!
!
bridge irb
!
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 bridge-group 1
 bridge-group 1 spanning-disabled
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 bridge-group 1
 bridge-group 1 spanning-disabled
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 shutdown
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 shutdown
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/1/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 isdn outgoing-voice info-transfer-capability 3.1kHz-audio
 no cdp enable
!
interface Serial0/1/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 isdn outgoing-voice info-transfer-capability 3.1kHz-audio
 no cdp enable
!
interface BVI1
 ip address 10.9.1.254 255.255.255.0
!
ip forward-protocol nd
no ip http server
ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 10.9.1.252
ip route 10.0.0.0 255.0.0.0 10.9.1.1
ip route 172.16.0.0 255.240.0.0 10.9.1.1
ip route 192.168.0.0 255.255.0.0 10.9.1.1
!
ip access-list extended acl-voix
 permit udp host 10.9.1.254 any range 1024 65535
 permit udp host 10.9.1.254 eq 5060 any
 permit udp host 10.9.1.254 any eq 5060
!
logging esm config
!
!
!
!
!
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
!
voice-port 0/0/0:15
 echo-cancel coverage 64
 cptone FR
!
voice-port 0/1/0:15
 echo-cancel coverage 64
 cptone FR
 bearer-cap 3100Hz
!
voice-port 0/0/1:15
 echo-cancel coverage 64
 cptone FR
!
voice-port 0/1/1:15
 echo-cancel coverage 64
 cptone FR
 bearer-cap 3100Hz
!
ccm-manager redundant-host 10.9.2.100
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 10.9.1.100
ccm-manager config
!
mgcp
mgcp call-agent 10.9.1.100 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode nte-ca
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
no mgcp fax-relay sg3-to-g3
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
sccp local BVI1
sccp ccm 10.9.1.100 identifier 10 version 7.0
sccp
!
sccp ccm group 100
 bind interface BVI1
 associate ccm 10 priority 1
 associate profile 50 register MTPSIP
!
dspfarm profile 50 mtp
 codec g711ulaw
 codec pass-through
 maximum sessions software 100
 associate application SCCP
!
dial-peer voice 600 voip
 description SIP RENATER EMISSION NATIONAL
 destination-pattern 0[1-9]........
 session protocol sipv2
 session target ipv4:193.51.224.114:5060
 session transport udp
 voice-class sip options-keepalive up-interval 12 retry 2
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 601 voip
 description SIP RENATER EMISSION INTERNATIONAL
 destination-pattern 00T
 session protocol sipv2
 session target ipv4:193.51.224.114:5060
 session transport udp
 voice-class sip options-keepalive up-interval 12 retry 2
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 602 voip
 description SIP RENATER RECEPTION SDAs 1
 preference 1
 destination-pattern 0434359[2-9]..
 session protocol sipv2
 session target ipv4:10.9.1.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 603 voip
 description SIP RENATER RECEPTION SDAs 1
 preference 2
 destination-pattern 0434359[2-9]..
 session protocol sipv2
 session target ipv4:10.9.2.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 604 voip
 description SIP RENATER RECEPTION SDAs 2
 preference 1
 destination-pattern 04676122..
 session protocol sipv2
 session target ipv4:10.9.1.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 605 voip
 description SIP RENATER RECEPTION SDAs 2
 preference 2
 destination-pattern 04676122..
 session protocol sipv2
 session target ipv4:10.9.2.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 606 voip
 description SIP RENATER RECEPTION SDAs 3
 preference 1
 destination-pattern 0467613[2-6]..
 session protocol sipv2
 session target ipv4:10.9.1.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
dial-peer voice 607 voip
 description SIP RENATER RECEPTION SDAs 3
 preference 2
 destination-pattern 0467613[2-6]..
 session protocol sipv2
 session target ipv4:10.9.2.100
 session transport udp
 dtmf-relay sip-notify
 codec g711ulaw
!
!
gateway
 timer receive-rtp 1200
!
sip-ua
 connection-reuse
!
!
!
!
line con 0
line aux 0
line vty 0 4
 exec-timeout 60 0
 privilege level 15
 login local
 transport input ssh
line vty 5 15
 exec-timeout 60 0
 privilege level 15
 login local
 transport input ssh
!
scheduler allocate 20000 1000
end

2811-2 Arnaud de Villeneuve

! 19 Mai 2011
!
version 12.4
service exec-callback
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service sequence-numbers
!
hostname Cisco-2811-2
!
boot-start-marker
boot-end-marker
!
card type e1 0 0
card type e1 0 1
logging message-counter syslog
logging buffered 5000000
no logging console
enable secret 5 $1$u/Q7$E//1oNA7kq4rtlXxZ0Wpz/
!
no aaa new-model
clock timezone CEST 1
clock summer-time CEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
network-clock-participate wic 0
network-clock-participate wic 1
network-clock-select 3 E1 0/1/0
network-clock-select 4 E1 0/1/1
!
dot11 syslog
no ip source-route
!
!
ip cef
ip dhcp excluded-address 10.9.66.1 10.9.66.50
ip dhcp excluded-address 10.9.64.1 10.9.65.255
ip dhcp excluded-address 10.9.128.1 10.9.129.255
ip dhcp excluded-address 10.9.130.1 10.9.130.50
ip dhcp excluded-address 10.9.144.1 10.9.145.255
ip dhcp excluded-address 10.9.146.1 10.9.146.50
ip dhcp excluded-address 10.9.136.1 10.9.137.255
ip dhcp excluded-address 10.9.138.0 10.9.138.50
ip dhcp excluded-address 10.9.132.1 10.9.134.50
ip dhcp excluded-address 10.9.140.1 10.9.142.50
ip dhcp excluded-address 10.9.148.1 10.9.150.50
ip dhcp excluded-address 10.9.72.1 10.9.74.50
ip dhcp excluded-address 10.9.76.1 10.9.78.50
ip dhcp excluded-address 10.9.80.1 10.9.82.50
ip dhcp excluded-address 10.9.84.1 10.9.86.50
ip dhcp excluded-address 10.9.88.1 10.9.90.50
ip dhcp excluded-address 10.9.92.1 10.9.94.50
ip dhcp excluded-address 10.9.96.1 10.9.98.50
ip dhcp excluded-address 10.9.100.1 10.9.102.50
ip dhcp excluded-address 10.9.104.1 10.9.106.50
ip dhcp excluded-address 10.9.108.1 10.9.110.50
!
ip dhcp pool toip-dr13-cdl-postes
   network 10.9.64.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.64.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igh-postes
   network 10.9.128.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.128.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-iugf-postes
   network 10.9.144.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.144.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igf-postes
   network 10.9.136.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.136.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igh_sansfil-postes
   network 10.9.132.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.132.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igf-sansfil
   network 10.9.140.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.140.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-iugf-sansfil
   network 10.9.148.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.148.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-crbm-postes
   network 10.9.72.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.72.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-crbm-sansfil
   network 10.9.76.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.76.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cbps-postes
   network 10.9.80.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.80.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cbps-sansfil
   network 10.9.84.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.84.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igmm-postes
   network 10.9.88.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.88.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-igmm-sansfil
   network 10.9.92.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.92.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-u632-iem-tecto-postes
   network 10.9.96.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.96.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-u632-iem-tecto-sansfil
   network 10.9.100.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.100.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cefe-postes
   network 10.9.104.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.104.1
   option 150 ip 10.9.1.100 10.9.2.100
!
ip dhcp pool toip-cefe-sansfil
   network 10.9.108.0 255.255.252.0
   dns-server 10.9.1.100 10.9.2.100
   domain-name cnrs.local
   default-router 10.9.108.1
   option 150 ip 10.9.1.100 10.9.2.100
!
!
no ip domain lookup
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-net5
!
!
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
!
voice service pots
!
voice service voip
 fax protocol none
 modem passthrough nse codec g711ulaw
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
 dspfarm
 no local-bypass
!
!
application
 global
  service alternate default
 !
!
!
crypto pki trustpoint TP-self-signed-2262671419
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2262671419
 revocation-check none
 rsakeypair TP-self-signed-2262671419
!
!
crypto pki certificate chain TP-self-signed-2262671419
 certificate self-signed 01
  30820244 308201AD A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 32323632 36373134 3139301E 170D3130 31313138 31393039
  33315A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 32363236
  37313431 3930819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100A4F3 4DDCD7B4 DB8CB4F5 A705C022 F56582CE DA10C448 C1A7693B 110897D2
  242C5CD9 819BB50F ECE88CEA 5CBFE22C B6831776 97E1F517 FE03CC95 F0D2CE76
  3E96E00C 3795F474 8B2659FD 29F81009 320D85C2 44F10D55 0799C4B5 F2721604
  B09BF022 9C270169 59FC527D F6FC0FDD 608A7A1A 21C307AB C60058F5 35092B6F
  A8550203 010001A3 6C306A30 0F060355 1D130101 FF040530 030101FF 30170603
  551D1104 10300E82 0C436973 636F2D32 3831312D 32301F06 03551D23 04183016
  8014D7AA DA804EB3 06F048E9 C1200CA4 5388A0CD 76B0301D 0603551D 0E041604
  14D7AADA 804EB306 F048E9C1 200CA453 88A0CD76 B0300D06 092A8648 86F70D01
  01040500 03818100 A4DC47FA 7E3CEE9D 59D1C414 64AFDEA3 83B8C693 B71FB1C0
  45222F2E 9AE7C1BB 659E6BE5 0A8109DC D855CE13 AB277855 C98C8022 97E48CAB
  0DB2D197 79A32B9F F32385C4 EB95D0A5 789E0BB1 173CECBE AD3A95B0 9DBDACA4
  E9F3F247 2598293F 61A60037 E22D8597 CF038148 8B9F631B B7B6EA96 74C9A195
  2F800F5A 4949B32E
        quit
!
!
username admin privilege 15 secret 5 $1$Bgj3$SbOZc3ggroFJ/gZVFkxV50
archive
 log config
  hidekeys
!
!
controller E1 0/0/0
 shutdown
 framing NO-CRC4
 clock source internal
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/0/1
 shutdown
 framing NO-CRC4
 clock source internal
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/1/0
 framing NO-CRC4
 pri-group timeslots 1-31 service mgcp
!
controller E1 0/1/1
 framing NO-CRC4
 pri-group timeslots 1-31 service mgcp
!
!
class-map match-all cm-voip-traf
 match  dscp ef
class-map match-all cm-voip-sign
 match  dscp cs3
!
!
policy-map pm-voip
 class cm-voip-sign
  set dscp cs2
    priority 125 30000
 class cm-voip-traf
    priority 125 30000
!
bridge irb
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 bridge-group 1
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 bridge-group 1
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 shutdown
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/0/1:15
 no ip address
 encapsulation hdlc
 shutdown
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/1/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface Serial0/1/1:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable
!
interface BVI1
 ip address 10.9.2.254 255.255.255.0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.9.2.1
no ip http server
ip http secure-server
!
!
!
!
!
!
control-plane
!
bridge 1 protocol ieee
bridge 1 route ip
!
!
voice-port 0/0/0:15
 echo-cancel coverage 64
 cptone FR
!
voice-port 0/1/0:15
 echo-cancel coverage 64
 cptone FR
 bearer-cap 3100Hz
!
voice-port 0/0/1:15
 echo-cancel coverage 64
 cptone FR
!
voice-port 0/1/1:15
 echo-cancel coverage 64
 cptone FR
 bearer-cap 3100Hz
!
ccm-manager redundant-host 10.9.1.100
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager music-on-hold
ccm-manager config server 10.9.1.100
ccm-manager config
!
mgcp
mgcp call-agent 10.9.2.100 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode nte-ca
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp modem passthrough voip codec g711alaw
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
no mgcp fax-relay sg3-to-g3
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
 exec-timeout 60 0
 privilege level 15
 login local
 transport input ssh
line vty 5 15
 exec-timeout 60 0
 privilege level 15
 login local
 transport input ssh
!
scheduler allocate 20000 1000
end