Archief voor februari 2008

24
Feb
08

Configure a Cisco Router for Bridge usage

Below a configuration of a cisco router in bridge mode the pvc is used for a Dutch ISP 

service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption

hostname < Router Naam >

boot-start-marker
boot-end-marker

logging buffered 51200 warnings
no logging rate-limit
enable secret < The Password >

aaa new-model
aaa authentication login default local
aaa authentication ppp default local
aaa authorization network default local

aaa session-id common

resource policy

clock timezone GMT+1 1
clock summer-time GMT+1 recurring last Sun Mar 2:00 last Sun Oct 3:00
no ip source-route
no ip routing
no ip cef
ip domain name < domein naam >
no ip ips sdf builtin

username <username> password < password >
 
        
no crypto isakmp enable

bridge irb

interface BRI0
 no ip address
 encapsulation hdlc
 no ip route-cache
 shutdown

interface ATM0
 description < line description >
 no ip address
 no ip route-cache
 no atm ilmi-keepalive
 pvc 0/35
  encapsulation aal5snap
 
 dsl operating-mode auto
 bridge-group 10
        
interface FastEthernet0

interface FastEthernet1

interface FastEthernet2

interface FastEthernet3

interface Vlan1
 no ip address
 no ip route-cache
 bridge-group 10
 hold-queue 100 out

no ip http server
no ip http secure-server

no cdp run
        

control-plane

bridge 10 protocol ieee
banner motd #
                                                            
          |               |                                 
         |||             |||                                
       .|||||.         .|||||.                              
    .:|||||||||:. . .:|||||||||:.                           
      C i s c o     S y s t e m s                             
                                                            
*************************************************************
This system is restricted to authorized users for legitimate
purposes and is subject to audit. The unauthorized access,
use or modification of computer systems or the data contained
therein or in transit to/from, may be illegal.
*************************************************************
#

line con 0
 exec-timeout 120 0
 password < password >
 no modem enable
line aux 0
line vty 0 4
 exec-timeout 120 0
 privilege level 15
 password < Password >
 transport input telnet ssh

scheduler max-task-time 5000

webvpn context Default_context
 ssl authenticate verify all
 
 no inservice

end

13
Feb
08

Dynamic VPN configuration for a Cisco Router

I write these piece of text because of a dynamic vpn configuration. I read after a forum question. on CiscoHQ. It is a own part I wrote on the forum. And it may be use full for anyone else who want to use it or can use it.

With on the main site also a VPN client configuration. It may be also useful when you want to make a connection to your own business.

For the Mainoffice see Below
—————————————————————————-
crypto keyring CK_DMVPN
pre-shared-key address 0.0.0.0 0.0.0.0 key <keyname>
crypto logging session
crypto logging ezvpn
!
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp nat keepalive 15
!
crypto isakmp client configuration group <groupname>
key <cryptokey>
dns <dnsserver local main site>
wins <winsserver local main site>
domain < domain name >
pool ILP_CVPN_CLIENT
acl ACL_CVPN_CLIENT
crypto isakmp profile CIP_CVPN
match identity group <groupname>
client authentication list default
isakmp authorization list default
client configuration address respond
crypto isakmp profile CIP_DMVPN
keyring CK_DMVPN
match identity address 0.0.0.0
!
!
crypto ipsec transform-set CIT_CVPN_3DESSHA esp-3des esp-sha-hmac
crypto ipsec transform-set CIT_DMVPN_3DESSHA esp-3des esp-sha-hmac
mode transport
!
crypto ipsec profile CIP_DMVPN
set security-association lifetime seconds 300
set transform-set CIT_DMVPN_3DESSHA
set isakmp-profile CIP_DMVPN
!
!
crypto dynamic-map CDM_CVPN_CLIENT 10
set transform-set CIT_CVPN_3DESSHA
set isakmp-profile CIP_CVPN
!
!
crypto map CMP_CVPN 10 ipsec-isakmp dynamic CDM_CVPN_CLIENT
!
!
!
!
interface Tunnel10
bandwidth 1024 < Not nessacary >
ip address < tunnel ip addres eq 10.10.10.1 255.255.255.0 >
no ip redirects
ip mtu 1440
ip nhrp authentication < 8 letter nhrp key >
ip nhrp map multicast dynamic
ip nhrp network-id 1438
ip nhrp holdtime 600
ip route-cache same-interface
ip route-cache policy
ip route-cache flow
ip tcp adjust-mss 1400
delay 1000
tunnel source < source interface eq FastEthernet4 >
tunnel mode gre multipoint
tunnel key 1438
tunnel protection ipsec profile CIP_DMVPN

For the Remote site use below.
—————————————————————————-
crypto keyring CK_DMVPN
pre-shared-key address 0.0.0.0 0.0.0.0 key <keyname eq main site >
crypto logging session
crypto logging ezvpn
!
crypto isakmp policy 10
encr 3des
authentication pre-share
group 2
crypto isakmp nat keepalive 15
crypto isakmp profile CIP_DMVPN
keyring CK_DMVPN
match identity address 0.0.0.0
!
!
crypto ipsec transform-set CIT_DMVPN_3DESSHA esp-3des esp-sha-hmac
mode transport
!
crypto ipsec profile CIP_DMVPN
set security-association lifetime seconds 300
set transform-set CIT_DMVPN_3DESSHA
set isakmp-profile CIP_DMVPN
!
!
!
!
!
interface Tunnel10
bandwidth 1032
ip address < tunnel ip addres eq 10.10.10.2 255.255.255.0 >
ip mtu 1440
ip nhrp authentication box_nhrp
ip nhrp map 10.10.10.1 < external IP main office >
ip nhrp network-id 1438
ip nhrp holdtime 600
ip nhrp nhs 10.10.10.1
ip nhrp cache non-authoritative
ip route-cache same-interface
ip route-cache policy
ip route-cache flow
ip tcp adjust-mss 1400
delay 1000
tunnel source < source interface eq fastethernet4 >
tunnel destination < IP address main office >
tunnel key 1438
tunnel protection ipsec profile CIP_DMVPN

Use EIRGP on both sites
—————————————————————————-
router eigrp 10
passive-interface FastEthernet4 of other kind of WAN interface
passive-interface Vlan1
network 10.10.10.0 0.0.0.255
network < Network Main office >
network < Network Remote office 1 >
no auto-summary

09
Feb
08

Configure a Cisco Unity Expresse AIM Module in a Cisco Router 2821

Interface Service-Engine 0/0
Ip addres < Service-Enginge Gateway IP Address >
service-module ip address < IP Address of the Module >
Service-module ip default-gateway < IP address of the service module Gateway >

service-module service-engine 0/0 session
Trying < ip address of the module gateway >, 2194 … Open

Please answer y or n.
IMPORTANT::
IMPORTANT::    Welcome to Cisco Systems Service Engine
IMPORTANT::     post installation configuration tool.
IMPORTANT::
IMPORTANT:: This is a one time process which will guide
IMPORTANT:: you through initial setup of your Service Engine.
IMPORTANT:: Once run, this process will have configured
IMPORTANT:: the system for your location.
IMPORTANT::
IMPORTANT:: If you do not wish to continue, the system will be halted
IMPORTANT:: so it can be safely removed from the router.
IMPORTANT::

Do you wish to start configuration now (y,n)? y
Are you sure (y,n)? y

Enter Hostname
 (my-hostname, or enter to use se-172-18-6-10): < choose a hostname >

Enter Domain Name
 (mydomain.com, or enter to use localdomain): < choose a domain name >

IMPORTANT:: DNS Configuration:
IMPORTANT::
IMPORTANT:: This allows the entry of hostnames, for example foo.cisco.com, instead
IMPORTANT:: of IP addresses like 1.100.10.205 for servers used by CUE.  In order
IMPORTANT:: to configure DNS you must know the IP address of at least one of your
IMPORTANT:: DNS Servers. 

Would you like to use DNS for CUE (y,n)?n
WARNING: If DNS is not used CUE will require the use
WARNING: of IP addresses.

Are you sure (y,n)? y
Enter IP Address of the Primary NTP Server
  (IP address, or enter for < local ip address >):
***************************************************
 I could not reach < local ip address > using NTP.
 < local ip address > might not have been configured as
 NTP server.
***************************************************
Do you wish to continue with out Primary NTP server (y,n)? y

Enter IP Address of the Secondary NTP Server
  (IP address, or enter to bypass):

Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa            4) Arctic Ocean     7) Australia       10) Pacific Ocean
2) Americas          5) Asia             8 ) Europe
3) Antarctica        6) Atlantic Ocean   9) Indian Ocean
#? 8

Enter a number ( Europe because I live in that continent )

Please select a country.
 1) Albania               16) Greece                31) Portugal
 2) Andorra               17) Hungary               32) Romania
 3) Austria               18) Ireland               33) Russia
 4) Belarus               19) Italy                 34) San Marino
 5) Belgium               20) Latvia                35) Slovakia
 6) Bosnia & Herzegovina  21) Liechtenstein         36) Slovenia
 7) Britain (UK)          22) Lithuania             37) Spain
 8) Bulgaria              23) Luxembourg            38) Sweden
 9) Czech Republic        24) Macedonia             39) Switzerland
10) Denmark               25) Malta                 40) Turkey
11) Estonia               26) Moldova               41) Ukraine
12) Finland               27) Monaco                42) Vatican City
13) France                28) Netherlands           43) Yugoslavia
14) Germany               29) Norway
15) Gibraltar             30) Poland
#? 28

Enter a number ( 28 = Because I live in The Netherlands )
The following information has been given:

        Netherlands

Therefore TZ=’Europe/Amsterdam’ will be used.
Local time is now:      Mon Feb 12 23:07:20 CET 2007.
Universal Time is now:  Mon Feb 12 22:07:20 UTC 2007.
Is the above information OK?
1) Yes
2) No
#? yes
Please enter 1 for Yes, or 2 for No.
#? 1

Enter the System time[Day Mon DD hh:mm:ss yyyy]:
Wednesday Feb 06 10:55:50 2008

Wed Feb  6 10:55:50 CET 2008
Configuring the system. Please wait…
Changing owners and file permissions.
Change owners and permissions complete.
INIT: Switching to runlevel: 4
INIT: Sending processes the TERM signal
STARTED: cli_server.sh
STARTED: ntp_startup.sh
STARTED: LDAP_startup.sh
STARTED: superthread_startup.sh
STARTED: SQL_startup.sh
STARTED: HTTP_startup.sh
STARTED: ${ROOT}/usr/wfavvid/run
STARTED: probe
STARTED: dwnldr_startup.sh

 waiting 286 …

Restarting can take a while

IMPORTANT::
IMPORTANT::        Administrator Account Creation
IMPORTANT::
IMPORTANT:: Create an administrator account. With this account,
IMPORTANT:: you can log in to the Cisco Unity Express GUI and
IMPORTANT:: run the initialization wizard.
IMPORTANT::
Enter administrator user ID:
  (user ID): administrator
Enter password for :
  (password):
Confirm password for  by reentering it:
  (password):

—————————————————————–

A fresh install of a upgrade of the software version of the Unity Expresse Module. Use a FTP Program to upload the software package.

Routername> software install clean ftp://<ip address>/< file name >.pkg usernamen <username> password <password>

WARNING:: This command will install the necessary software to
WARNING:: complete a clean install.  It is recommended that a backup be done
WARNING:: before installing software.

Would you like to continue? [n] y

Downloading  cue-vm-k9.nm-aim.3.1.1.pkg
Bytes downloaded :  178381

Validating package signature … done

Downloading  cue-vm-installer-k9.nm-aim.3.1.1.prt1
Bytes downloaded :  125431

[15258 refs]
Installer does not recognize package file format.
Attempting to upgrade installer…
starting_phase:
install-files.sh /dwnld/pkgdata/.installer_wo
add_file /dwnld/pkgdata/cue-vm-installer-k9.nm-aim.3.1.1.prt1 1 / tgz
Installer upgrade successful
Restarting install process…
Setting host from url: ftp://<ip address>/
host: 172.18.5.197
Validating package signature … done
 - Parsing package manifest files… complete.
Validating installed manifests ………..complete.
 - Checking Package dependencies… complete.

Downloading ftp cue-vm-langpack.nm-aim.3.1.1.pkg
Bytes downloaded :  830404

Validating package signature … done
Found Add-On Subsystem SID: e2e81cc6-39b5-47e1-9f83-b83c897fc50c Name: CUE Voicemail Language Support Version: 3.0.0.0
Found Add-On Subsystem SID: c28339fa-f7ae-4732-85ab-fa6c68b5de0c Name: CUE Voicemail Italian Version: 3.0.0.0
Found Add-On Subsystem SID: 49f09114-e0b0-4721-8b85-04be2064920c Name: CUE Voicemail European Spanish Version: 3.0.0.0
Found Add-On Subsystem SID: 27e5e2ab-1622-4c02-8a0a-cfad0d932148 Name: CUE Voicemail US English Version: 3.0.0.0
Found Add-On Subsystem SID: cf860289-67ac-4886-9295-a41e4c7a8487 Name: CUE Voicemail European French Version: 3.0.0.0
Found Add-On Subsystem SID: f0a41398-3917-4d49-b5ab-c2b39a80c121 Name: CUE Voicemail Latin American Spanish Version: 3.0.0.0
Found Add-On Subsystem SID: c4ca62e2-daff-40dc-b94e-bf20094bd700 Name: CUE Voicemail Mexican Spanish Version: 3.0.0.0
Found Add-On Subsystem SID: ab049397-cfad-4952-852a-8dfa69780cb8 Name: CUE Voicemail Dutch Version: 3.0.0.19
Found Add-On Subsystem SID: d60c3add-0c6b-4a99-8e5c-31019fe7939e Name: CUE Voicemail Swedish Version: 3.0.0.19
Found Add-On Subsystem SID: 683674a5-e6ef-4c97-8e05-efbba1e6fe47 Name: CUE Voicemail Canadian French Version: 3.0.0.0
Found Add-On Subsystem SID: fa803d25-9c89-4171-a14c-ec12d6ed6b8c Name: CUE Voicemail UK English Version: 3.0.0.0
Found Add-On Subsystem SID: 3f968fd0-6598-48e2-be1c-4af6c2e02e02 Name: CUE Voicemail German Version: 3.0.0.0
Found Add-On Subsystem SID: 88f73a6c-884d-4838-b162-1b544dd6583f Name: CUE Voicemail Danish Version: 3.0.0.0
Found Add-On Subsystem SID: a2ba4f96-3452-40c3-83ad-c442cb6bf42f Name: CUE Voicemail Brazilian Portuguese Version: 3.0.0.0
Found Add-On Subsystem SID: ea206a88-e44f-488b-a660-114a3b179065 Name: CUE Voicemail Korean Version: 3.0.0.0
Found Add-On Subsystem SID: 372fa3fd-1efb-4353-9005-45876646a351 Name: CUE Voicemail Mandarin Chinese Version: 3.0.0.0
Found Add-On Subsystem SID: 6cdfed34-6d45-48fd-afe0-717e589c9aa9 Name: CUE Voicemail Japanese Version: 3.0.0.0
 - Parsing package manifest files… complete.
 - Checking Package dependencies… complete.
 - Checking Manifest dependencies for subsystems in the install candidate list…
complete
Starting payload download
Validating payloads match registered checksums…
 - cue-vm-full-k9.nm-aim.3.1.1.prt1 ……………………………………………………………………verified
Extracting install scripts …
starting_phase:
install-files.sh /dwnld/.script_work_order
add_file /dwnld/pkgdata/cue-vm-full-k9.nm-aim.3.1.1.prt1 13 /dwnld/scripts/e2e81cc6-39b5-47e1-9f83-b83c897fc50c usr/bin/products/cue/lang_ui_script.py tgz
Scripts extraction complete.
Remove scripts work order /dwnld/.script_work_order
Running Script Processor for ui_install

Maximum 2 language add-ons allowed for this platform.
Please select language(s) to install from the following list:

Language Installation Menu:

 #  Selected   SKU     Language Name (version)
———————————————————————-
 1            ITA     CUE Voicemail Italian (3.0.0.0)
 2            ESP     CUE Voicemail European Spanish (3.0.0.0)
 3            ENU     CUE Voicemail US English (3.0.0.0)
 4            FRA     CUE Voicemail European French (3.0.0.0)
 5            ESO     CUE Voicemail Latin American Spanish (3.0.0.0)
 6            ESM     CUE Voicemail Mexican Spanish (3.0.0.0)
 7            NLD     CUE Voicemail Dutch (3.0.0.19)
 8            SVE     CUE Voicemail Swedish (3.0.0.19)
 9            FRC     CUE Voicemail Canadian French (3.0.0.0)
10            ENG     CUE Voicemail UK English (3.0.0.0)
11            DEU     CUE Voicemail German (3.0.0.0)
12            DAN     CUE Voicemail Danish (3.0.0.0)
13            PTB     CUE Voicemail Brazilian Portuguese (3.0.0.0)
14            KOR     CUE Voicemail Korean (3.0.0.0)
15            CHS     CUE Voicemail Mandarin Chinese (3.0.0.0)
16            JPN     CUE Voicemail Japanese (3.0.0.0)
———————————————————————-

Available commands are:
# – enter the number for the language to select one
r # – remove the language for given #
i # – more information about the language for given #
x – Done with language selection

Enter Command:7

Enter a number ( 7 = because it is my motherlanguage )

Language Installation Menu:

 #  Selected   SKU     Language Name (version)
———————————————————————-
 1            ITA     CUE Voicemail Italian (3.0.0.0)
 2            ESP     CUE Voicemail European Spanish (3.0.0.0)
 3            ENU     CUE Voicemail US English (3.0.0.0)
 4            FRA     CUE Voicemail European French (3.0.0.0)
 5            ESO     CUE Voicemail Latin American Spanish (3.0.0.0)
 6            ESM     CUE Voicemail Mexican Spanish (3.0.0.0)
 7      *     NLD     CUE Voicemail Dutch (3.0.0.19)
 8            SVE     CUE Voicemail Swedish (3.0.0.19)
 9            FRC     CUE Voicemail Canadian French (3.0.0.0)
10            ENG     CUE Voicemail UK English (3.0.0.0)
11            DEU     CUE Voicemail German (3.0.0.0)
12            DAN     CUE Voicemail Danish (3.0.0.0)
13            PTB     CUE Voicemail Brazilian Portuguese (3.0.0.0)
14            KOR     CUE Voicemail Korean (3.0.0.0)
15            CHS     CUE Voicemail Mandarin Chinese (3.0.0.0)
16            JPN     CUE Voicemail Japanese (3.0.0.0)
———————————————————————-

Available commands are:
# – enter the number for the language to select one
r # – remove the language for given #
i # – more information about the language for given #
x – Done with language selection

Enter Command:x

With x you confirm your entry

ui_install scripts executed successfully.
Starting payload download
Validating payloads match registered checksums…
 - cue-vm-nl_NL-langpack.nm-aim.3.1.1.prt1 …………………………verified
Validating installed manifests ………..complete.
Clearing previous downgrade files … complete.
Performing Hot install …starting_phase:
install-files.sh /dwnld/.hot_work_order
install_file  /dwnld/pkgdata/cue-vm-full-k9.nm-aim.3.1.1.prt1 0 __PRIMARY_BOOTLOADER__ gz
ioctl write: 0
Feb  6 10:42:37 localhost kernel: ioctl write: 0
ioctl write: 24
Feb  6 10:42:44 localhost kernel: ioctl write: 24
ioctl write: 25
Feb  6 10:42:51 localhost kernel: ioctl write: 25
add_file /dwnld/pkgdata/cue-vm-k9.nm-aim.3.1.1.pkg 1 / /sw/installed/manifest/bootloader_prim_manifest.sig none
install_file  /dwnld/pkgdata/cue-vm-full-k9.nm-aim.3.1.1.prt1 5 __SECONDARY_BOOTLOADER__ gz
ioctl write: 0
Feb  6 10:43:12 localhost kernel: ioctl write: 0
ioctl write: 16
Feb  6 10:43:19 localhost kernel: ioctl write: 16
ioctl write: 17
Feb  6 10:43:26 localhost kernel: ioctl write: 17
add_file /dwnld/pkgdata/cue-vm-k9.nm-aim.3.1.1.pkg 4 / /sw/installed/manifest/bootloader_sec_manifest.sig none
 complete.
[23283 refs]

Shutting down processes … Please wait

After this the unity module will restart again.
After the restart you need to configure the unity module again. with the settings you had.

With Show Software versions you can check the software installed on the unity module

show software versions

Installed Packages:

Software Version: 3.1.1

 - Installer  3.1.1.0
 - Thirdparty  3.1.1.0
 - Bootloader (Primary)  2.1.14
 - Infrastructure  2.3.2.0
 - Global  3.1.1.0
 - GPL Infrastructure  2.2.1.0
 - Voice Mail  3.1.1.0
 - Bootloader (Secondary)  2.1.15.0
 - Core  2.4.0.1
 - Auto Attendant  3.1.1.0

Installed Plug-ins:

 - CUE Voicemail Language Support  3.0.0.0
 - CUE Voicemail Dutch  3.0.0.19

datamex-voice-2821> show software licenses
Installed license files:
 - voicemail_lic.sig : ENGINEERING 12 MAILBOX LICENSE

Core:
 - Application mode: CCME
 - Total usable system ports: 6

Voicemail/Auto Attendant:
 - Max system mailbox capacity time: 840
 - Default # of general delivery mailboxes: 5
 - Default # of personal mailboxes: 12

 - Max # of configurable mailboxes: 17

Interactive Voice Response:
 - Max # of IVR ports: Not Available

Languages:
 - Max installed languages: 1
 - Max enabled languages: 1

09
Feb
08

Basic Voice Router Configuration with SRST and Unity Express

Below, a configuration with the basics of a voice router configuration. The Configuration is Based on H.323 and not MCGP
Router configuration was :

Cisco 2821 (revision 53.51) with 249856K/12288K bytes of memory.
2 Gigabit Ethernet interfaces
31 Serial interfaces
2 ISDN Basic Rate interfaces
1 terminal line
1 Channelized E1/PRI port
4 Voice FXS interfaces
1 cisco service engine(s)
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write) 

————————————————————————
Building configuration…

Current configuration : 3718 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname < Router Name >
!
boot-start-marker
boot-end-marker
!
card type e1 0 1
logging buffered 500000 debugging
enable secret < your password >
!
no aaa new-model
!
resource policy
!
network-clock-participate wic 1
network-clock-participate wic 2
network-clock-select 1 E1 0/1/0
!
!
ip cef
no ip dhcp use vrf connected
!
ip dhcp pool < DHCP Pool Name .
   network 1< Ip Range you want to use >
   option 150 ip < call Manager IP Address > 
   default-router < Router ip address > 
!
!
no ip domain lookup
!
isdn switch-type primary-net5
!
voice-card 0
 no dspfarm
!
!
voice call convert-discpi-to-prog
!
voice service voip
 modem passthrough nse codec g711alaw
!
!
voice class codec 1
 codec preference 1 g711alaw
 codec preference 2 g711ulaw
 codec preference 3 g729r8
!
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
 rule 1 // /0/ type national national
 rule 2 // /00/ type international international
!
!
voice translation-profile outside-inside
 translate calling 1
!
!
!
!
username < username > secret < password >
archive
 log config
  hidekeys
!
!
controller E1 0/1/0
 framing NO-CRC4
 pri-group timeslots 1-31
!
!
!
!
interface GigabitEthernet0/0
 description *** VOICE ***
 ip address < IP Address for the Router >
 ip helper-address < DHCP server IP address >
 duplex auto
 speed auto
!
interface Service-Engine0/0
 ip address < IP address of the service Module Gateway >
 service-module ip address < Ip address of the Module >
 service-module ip default-gateway < IP address of service module Gateway >
!
interface GigabitEthernet0/1
 ip address < Connection to an other subnet ip address + Subnet mask >
 duplex auto
 speed auto
!
interface Serial0/1/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
interface BRI0/2/0
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
interface BRI0/2/1
 no ip address
 isdn switch-type basic-net3
 isdn point-to-point-setup
!
router eigrp 20
 network < Network address 1 >
 network < Network Address 2 >
 no auto-summary
!
ip route 0.0.0.0 0.0.0.0 < 0. route for internet connection >
ip route < Network address + subnetmask >  Service-Engine0/0
!
ip http server
no ip http secure-server
!
!
!
!
control-plane
!        
!
!
voice-port 0/0/0
 cptone NL
!
voice-port 0/0/1
 cptone NL
!
voice-port 0/0/2
 cptone NL
!
voice-port 0/0/3
 cptone NL
!
voice-port 0/1/0:15
 translation-profile incoming outside-inside
 cptone NL
!
voice-port 0/2/0
!
voice-port 0/2/1
!
ccm-manager fallback-mgcp
!
no mgcp timer receive-rtcp
no mgcp explicit hookstate
!
!
dial-peer cor custom
!
!
!
dial-peer voice 1000 pots
 destination-pattern 0.T
 direct-inward-dial
 port 0/1/0:15
!
dial-peer voice 2000 voip
 destination-pattern <phonenumber without a 0>.
 voice-class codec 1
 session target ipv4:< call Manager Gateway>
 dtmf-relay h245-alphanumeric
!
dial-peer voice 1001 pots
 incoming called-number <phonenumber without a 0>.
 direct-inward-dial
 forward-digits all
!
dial-peer voice 1002 pots
 translation-profile incoming outside-inside
 destination-pattern < Fax Number >
 port 0/0/0
!
dial-peer voice 1010 pots
 preference 9
 destination-pattern 0.T
 direct-inward-dial
 port 0/2/0
!
dial-peer voice 1011 pots
 preference 10
 destination-pattern 0.T
 direct-inward-dial
 port 0/2/1
!
!
!
call-manager-fallback
 max-conferences 8 gain -6
 transfer-system full-consult
 ip source-address < Ip address of the ROuter > port 2000
 max-ephones 52
 max-dn 192
!
!
line con 0
 exec-timeout 120 0
line aux 0
line 194
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
 exec-timeout 120 0
 password < Password >
 login
!
scheduler allocate 20000 1000
!
end    




Blog Stats

  • 14,563 hits

Categories