Wednesday, December 31, 2008

CUCME-CUE Lab 2 – Baltimore Basic CUCME System Setup

Now that there is basic IP connectivity between Baltimore and New York, as outlined in CUCME-CUE Lab 1, this next series of lab tasks will involve setting up the SCCP-based Baltimore CUCME system.

Baltimore Basic CUCME System Setup Prerequisites

Prior to configuring the CUCME phone tasks, the router requires the specific CUCME files to be installed on the router flash. If this task hasn’t been previously completed, now is the time to so. There are a couple of ways to accomplish this prerequisite. The processes and procedures for installing the CUCME files on the router flash are described in the Installing and Upgrading Cisco Unified CME Software chapter of the Cisco Unified Communications Manager Express System Administrator Guide.

One option is to download the appropriate CUCME ZIP file, which for the lab is cme-124-22T2.zip. The next step would be to extract the ZIP to a directory on your TFTP or FTP server. Once that is complete, you can extract cme-full-7.0.0.1.tar on the router via TFTP or FTP. This process installs all of the CUCME files, including all SCCP phone loads, ringtones, GUI files, and BACD scripts. This procedure also places all of the CUCME files on the router flash into a hierarchical directory structure, which is nice. However, this option uses the largest amount of space on your router flash, since it installs all CUCME files, such as phone loads for phones which you may not be using in your lab.

The second option is to only load and extract the necessary CUCME files necessary to complete this lab. For my Baltimore router and accompanying IP Phones, this includes the following TAR files:

cme-gui-7.0.0.1.tar
cmterm-7942_7962-sccp.8-3-3S.tar
ringtone.tar

While this option uses far less flash space, it also extracts each tar files to the root of flash. Depending on the number of files on your flash, this could become unwieldy. Therefore, I first create a directory for each tar file on the flash. Then, I extract each tar file to the appropriate flash directory. For example, below is the output for creating the “ringtones” directory, followed by extracting files to that directory. Please note, this procedure will later require the use of the alias command when serving these files on the router’s TFTP server.

Baltimore#mkdir flash:ringtones
Create directory filename [ringtones]?
Created dir flash:ringtones

Baltimore#dir flash:
Directory of flash:/

1 -rw- 58816728 Dec 19 2008 17:31:38 -05:00 c2800nm-adventerprisek9_ivs_li-mz.124-22.T.bin
2 drw- 0 Oct 24 2008 23:28:00 -04:00 gui
31 drw- 0 Oct 24 2008 23:25:16 -04:00 phone
64 -rw- 660 Oct 25 2008 00:26:44 -04:00 vlan.dat
66 drw- 0 Dec 31 2008 09:48:32 -05:00 ringtones

127909888 bytes total (61579264 bytes free)

Baltimore#archive tar /xtract ftp://10.1.1.33/ringtone.tar flash:/ringtones
Loading ringtone.tar
extracting Analog1.raw (8160 bytes)!
extracting Analog2.raw (8160 bytes)
extracting AreYouThere.raw (5280 bytes)
extracting AreYouThereF.raw (5040 bytes)
extracting Bass.raw (8160 bytes)
extracting CallBack.raw (12240 bytes)
extracting Chime.raw (16040 bytes)
extracting Classic1.raw (8160 bytes)
extracting Classic2.raw (16080 bytes)
extracting ClockShop.raw (10800 bytes)
extracting DistinctiveRingList.xml (2823 bytes)
extracting Drums1.raw (9600 bytes)
extracting Drums2.raw (13440 bytes)
extracting FilmScore.raw (15840 bytes)
extracting HarpSynth.raw (16080 bytes)
extracting Jamaica.raw (8160 bytes)
extracting KotoEffect.raw (16080 bytes)
extracting MusicBox.raw (12720 bytes)
extracting Piano1.raw (8160 bytes)
extracting Piano2.raw (15360 bytes)
extracting Pop.raw (9360 bytes)
extracting Pulse1.raw (7200 bytes)
extracting Ring1.raw (4000 bytes)
extracting Ring2.raw (4000 bytes)!
extracting Ring3.raw (4000 bytes)
extracting Ring4.raw (4000 bytes)
extracting Ring5.raw (4000 bytes)
extracting Ring6.raw (4000 bytes)
extracting Ring7.raw (4000 bytes)
extracting RingList.xml (495 bytes)
extracting Sax1.raw (10800 bytes)
extracting Sax2.raw (14160 bytes)
extracting Vibe.raw (16080 bytes)
[OK - 326144/4096 bytes]


Lab 2.1 – Baltimore Basic CUCME Setup Tasks
1. Setup the CUCME System Parameters on the Baltimore router. You may not use the CUCME setup utility or any sort of auto registration process.
2. Configure the Baltimore Phones to update their phone loads.
3. The CUCME service should be configure to support the appropriate localization, time-zone, a 12 hour time format, and a Month-Day-Year format.
4. Create an appropriate E.164 dial-pattern.
5. Each phone and should also be able to customize their ringtones beyond the default chirp ringtone.
6. Anticipate the need to transfer calls between Baltimore and New York
7. Enable the wideband codec by default for all phones.
8. Create the appropriate GUI Administrator parameters
9. Create GUI access for Fuzzy Dunlop with parameters separate from the Administrator.
10. Phone should have a message or display that indicates “Ballplayers, LLC Baltimore”.
11. Each user’s phone should also display his/her name and full E.164 number.
12. Configure the phone extensions based on the diagram depicted in CUCME-CUE Labs – Background.
13. Arliss Michaels, as the Baltimore Branch Manager, requires the ability to make up to eight simultaneous calls on his extension. However, only two incoming calls may be accepted. Arliss also requires a 6-button phone.
14. All other users require the ability to have caller-id, transfer calls, and place conference calls. However, these other users should not be able to have more than two calls per line appearance.

Lab 2.2 – Baltimore Basic CUCME Setup Verification
1. One of the first tasks is to configure the Baltimore router to act as a TFTP server for the phone loads, configuration files, and ringtones. As described above in the Baltimore Basic CUCME System Setup Prerequisites section, because the various files have been placed in a hierarchical structure in the flash, it is necessary to configure some of the TFTP commands with the alias option. This is especially applicable to the phone load and ringtones components. A sample out is below, truncated for brevity.

Baltimore#sh run
Building configuration...
!
!output omitted!
!
!comment: ringtones configured with alias!
!
tftp-server flash:ringtones/Analog1.raw alias Analog1.raw
tftp-server flash:ringtones/Analog2.raw alias Analog1.raw
tftp-server flash:ringtones/AreYouThere.raw alias AreYouThere.raw
tftp-server flash:ringtones/AreYouThereF.raw alias AreYouThereF.raw
!
!comment: gui commands do not require alias, refer to readme file with the CUCME files!
!
tftp-server flash:gui/admin_user.html
tftp-server flash:gui/admin_user.js
!
!comment: phone load commands with alias!
!
tftp-server flash:phone/7942-7962/apps42.8-3-2-27.sbn alias apps42.8-3-2-27.sbn
tftp-server flash:phone/7942-7962/cnu42.8-3-2-27.sbn alias cnu42.8-3-2-27.sbn
tftp-server flash:phone/7942-7962/cvm42sccp.8-3-2-27.sbn alias cvm42sccp.8-3-2-27.sbn
tftp-server flash:phone/7942-7962/dsp42.8-3-2-27.sbn alias dsp42.8-3-2-27.sbn
tftp-server flash:phone/7942-7962/jar42sccp.8-3-2-27.sbn alias jar42sccp.8-3-2-27.sbn
tftp-server flash:phone/7942-7962/SCCP42.8-3-3S.loads alias SCCP42.8-3-3S.loads
tftp-server flash:phone/7942-7962/term42.default.loads alias term42.default.loads
tftp-server flash:phone/7942-7962/term62.default.loads alias term62.default.loads
!output omitted!


2. You can verify the telephony-service parameters either via a “show telephony-service” command or, of course, “show run”. The “show telephony-service” will provide you with more details on the default parameters which may or may not show in the running-config, such as the network-locale, user-locale, and date-format, depending on the exact configuration.

Below is the output for the “show run begin telephony-service”. Pay particular attention to some of the require tasks, such as the G.722 codec, system message, transfer requirements, and dial-plan.

Baltimore#sh run begin telephony-service
telephony-service
em logout 0:0 0:0 0:0
codec g722-64
max-ephones 42
max-dn 144
ip source-address 10.1.12.1 port 2000
service phone g722CodecSupport 2
service phone handsetWidebandEnable 1
service phone headsetWidebandEnable 0
service phone handsetWidebandUIControl 0
system message Ballplayers, LLC Baltimore
load 7942 SCCP42.8-3-3S
load 7962 SCCP42.8-3-3S
time-zone 12
dialplan-pattern 1 41055510.. extension-length 4
max-conferences 8 gain -6
web admin system name Cisco123 password Cisco123
web admin customer name Fuzzy password Dunlop
transfer-system full-consult
transfer-pattern 1...
transfer-pattern 2...
create cnf-files version-stamp 7960 Dec 31 2008 12:12:51
!


3. The configuration setup for the phones and directory numbers is fairly straight forward. All lines have been configured as dual-lines, with the exception of Arliss Michaels, who has an octal-line. Also pay attention to how Arliss’s phone has been configured to support the requirement to support eight outbound calls, but all incoming calls after a second call are diverted.

Baltimore#sh run begin ephone-dn 1 dual-line
ephone-dn 1 dual-line
number 1001
label Cal Ripken 1001
description 410-555-1001
name Cal Ripken
!
!
ephone-dn 2 dual-line
number 1002
label Nick Markakis 1002
description 410-555-1002
!
!
ephone-dn 3 dual-line
number 1003
label Joe Flacco 1003
description 410-555-1003
name Joe Flacco
!
!
ephone-dn 4 dual-line
number 1004
label Todd Heap
description 410-555-1005
name Todd Heap
!
!
ephone-dn 5 octo-line
number 1005
label Arliss Michaels
description 410-555-1005
name Arliss Michaels
!
!
ephone 1
device-security-mode none
description Cal Ripken
mac-address 0021.D8BA.23A1
codec g722-64
type 7942
button 1:1
!
!
!
ephone 2
device-security-mode none
description Nick Markakis
mac-address 0000.0000.1111
codec g722-64
type 7942
button 1:2
!
!
!
ephone 3
device-security-mode none
description Joe Flacco
mac-address 0023.331A.EDCC
codec g722-64
type 7942
button 1:3
!
!
!
ephone 4
device-security-mode none
description Todd Heap
mac-address 0000.0000.2222
codec g722-64
type 7942
button 1:4
!
!
!
ephone 5
device-security-mode none
description Arliss Michaels
mac-address 001F.CAE9.2CCE
busy-trigger-per-button 2
codec g722-64
type 7962
button 1:5
!


4. Finally, a “show ephone registered” will verify that your real IP Phones have registered with CUCME. And of course, placing a few phone calls will also verify a proper configuration.

Baltimore#sh ephone registered

ephone-1[2] Mac:0021.D8BA.23A1 TCP socket:[2] activeLine:0 REGISTERED in SCCP ver 12/9
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:12
IP:10.1.12.20 50965 7942 keepalive 42 max_line 2
button 1: dn 1 number 1001 CH1 IDLE CH2 IDLE
Preferred Codec: g722-64

ephone-3[0] Mac:0023.331A.EDCC TCP socket:[3] activeLine:0 REGISTERED in SCCP ver 12/9
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:12
IP:10.1.12.16 53114 7942 keepalive 41 max_line 2
button 1: dn 3 number 1003 CH1 IDLE CH2 IDLE
Preferred Codec: g722-64

ephone-5[4] Mac:001F.CAE9.2CCE TCP socket:[1] activeLine:0 REGISTERED in SCCP ver 12/9
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:12 privacy:1
IP:10.1.12.18 49758 7962 keepalive 41 max_line 6


CUCME-CUE Lab 2 Wrap-up
The next series of labs will tackle the configuration of CUCME on the New York router. However, the configuration will be based on SIP phones, which presents some different challenges and limitations.

References:
Au, Danelle, et. al. (2005). Cisco IP Communications Express: CallManager Express with Cisco Unity Express. Indianapolis: Cisco Press.

Cisco Systems. Cisco Unified Communications Manager Express System Administrator Guide. Available online.

Monday, December 22, 2008

CUCME-CUE Lab 1 – Initial Configuration

CUCME-CUE Lab 1 Prerequisites
Prior to beginning the basic IP Setup for this series of CUCME-CUE labs, configure the Adtran Atlas 550 to support the simulated PSTN dial plan depicted in diagram in CUCME-CUE Labs – Background. Please refer to VOIP Fundamentals Lab 1 - PSTN Setup on how to configure the Adtran for the dial plan depicted in CUCME-CUE Scenario Background.

The CUCME-CUE labs also assume that you have the appropriate IOS files, CUCME files, and CUE files. These labs also assume that you have valid CCO access and licenses for any files that you may be downloading and installing on your lab equipment.

These labs will be based on CME 7.0(1) and IOS 12.4(22)T. If you need to upgrade the IOS refer to the Cisco Unified CME and Cisco IOS Software Version Compatibility Matrix. For now, my recommendation is not to install the CME files. I will cover that in a subsequent lab.

Tasks Lab 1.1 – Initial IP Network Setup
1. Configure the IP addressing based on the diagram in VoIP Lab 1.
2. Configure R7 to serve as the frame relay switch for WAN. Set the clocking to 512000.
3. Make sure you have an “external” NTP clocking source for your LAB. (Note, depending on your own lab, this may vary. I will discuss my configuration below.)
4. Configure the Frame Relay connection on both Baltimore and New York as a point-to-point interface.
5. Provide a loopback interface on each router.
6. Configure your LAN networks as depicted the CUCME-CUE Labs – Background posting.
7. On the Baltimore Router, the connection between the router and Ethernet Switch Module must be over a Layer 2 trunk.
8. Configure IP Services on each router to support IP Phones. Reserve the first 16-block of addresses accordingly.
9. Configure the LAN ports so that Phones receive their appropriate IP information and any PCs on those LAN ports receive their appropriate IP information.
10. Configure OSPF routing for the network. The WAN/Frame Cloud should use Area 0; Baltimore Area 1; New York Area 2.
11. The loopbacks should be placed into each area accordingly; these routes should be depicted in the route tables as /24 networks.
12. The “Out of Band” network, not part of the LAB should not be added to OSPF.
13. Test connectivity. Verify by ping devices on New York from Baltimore, and vice-versa.


Tasks Lab 1.2 – Verifying IP Network Setup
1. Below is a snippet of router config on R7, which shows the configuration of the router as a Frame Relay switch. I have also configured the router to act as an NTP Server as well as an Access Server for my lab.

!
hostname ISP
!
ip host r1 2066 10.1.1.4
ip host r2 2067 10.1.1.4
ip host r3 2068 10.1.1.4
ip host r4 2069 10.1.1.4
ip host r5 2070 10.1.1.4
ip host r6 2071 10.1.1.4
ip host s1 2072 10.1.1.4
!
frame-relay switching
!
!
interface FastEthernet0/0
ip address 10.1.1.4 255.255.255.0
duplex auto
speed auto
ntp broadcast
!
!
interface Serial0/0/0
description frame-relay link to Baltimore
no ip address
encapsulation frame-relay
no fair-queue
clock rate 512000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial0/0/1 201
!
interface Serial0/0/1
description frame-relay to New York
no ip address
encapsulation frame-relay
clock rate 512000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial0/0/0 102
!
line 1/0 1/15
no exec
transport input all
!
ntp master



2. Below are the configurations for the Frame Relay connectivity on both Baltimore and New York.

Baltimore#
!
interface Serial0/2/0
no ip address
encapsulation frame-relay
no fair-queue
frame-relay lmi-type cisco
!
interface Serial0/2/0.102 point-to-point
bandwidth 1544
ip address 172.16.1.1 255.255.255.252
ip ospf network point-to-point
snmp trap link-status
frame-relay interface-dlci 102
!


NewYork#
!
interface Serial0/2/0
no ip address
encapsulation frame-relay
no fair-queue
frame-relay lmi-type cisco
!
interface Serial0/2/0.201 point-to-point
bandwidth 1544
ip address 172.16.1.2 255.255.255.252
ip ospf network point-to-point
snmp trap link-status
frame-relay interface-dlci 201
!

Baltimore#ping 172.16.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

NewYork#ping 172.16.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms



3. Configuring the EtherSwitch Service Module (NME-16ES-1G-P), as described in Task 1.1.7, presents a unique challenge. ES modules have their own processors, switching engines, software and flash memory that run independent of the host router resources. “EtherSwitch Service Module (ES) Configuration Example” is a good reference document.

The trick, or “gotchya” described above in Task 1.1.7 is to require a Layer 2 link between the router and the EtherSwitch Service Module. This requires the use of dot1q sub-interfaces on the router’s interface GigabitEthernet1/0. However, as I found, you cannot use a dot1q sub-interfaces to “session” into EtherSwitch Service Module.

For example:

!
interface GigabitEthernet1/0
no ip address
!
interface GigabitEthernet1/0.10
description Management Vlan
encapsulation dot1Q 10
ip address 10.1.10.1 255.255.255.0
!

Baltimore#service-module gigabitEthernet 1/0.10 session
^
% Invalid input detected at '^' marker.

Baltimore#service-module gigabitEthernet 1/0 session
IP address needs to be configured on interface GigabitEthernet1/0
Baltimore#


So, the trick is to first configure the interface GigabitEthernet1/0 on the router as a traditional Layer-3 routed interface, which allows you to session into the EtherSwitch Service Module.

Baltimore#
interface GigabitEthernet1/0
ip address 10.1.10.1 255.255.255.0
!
Baltimore#service-module gigabitEthernet 1/0 session
Trying 10.1.10.1, 2066 ... Open
Switch>

The next step, once you have connectivity to the EtherSwitch Service Module, is to configure the VLANs and trunk back to the router. Another important step will be to enabling telnet (or SSH) on the switch to allow access. Failure to assign a password to the VTY ports could impede your access to the EtherSwitch Service Module.

hostname Baltimore-S1
!
!
username cisco123 privilege 15 password 0 *****
!
vlan 10
name MNGMT-BMORE
!
vlan 11
name DATA-BMORE
!
vlan 12
name VOICE-BMORE
!
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport trunk allowed vlan 10-12
switchport mode trunk
!
interface Vlan1
no ip address
!
interface Vlan10
description Management Vlan
ip address 10.1.10.2 255.255.255.0
!
interface Vlan11
description Data Vlan
ip address 10.1.11.2 255.255.255.0
!
interface Vlan12
description Voice Vlan
ip address 10.1.12.2 255.255.255.0
!
ip default-gateway 10.1.10.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.10.1
!line vty 0 4
exec-timeout 5 0
logging synchronous
login local

The final step is to remove the IP address from the interface GigabitEthernet1/0 on the router and add the appropriate dot1q sub-interfaces.

!
interface GigabitEthernet1/0
no ip address
!
interface GigabitEthernet1/0.10
description Management Vlan
encapsulation dot1Q 10
ip address 10.1.10.1 255.255.255.0
!
interface GigabitEthernet1/0.11
description Data Vlan
encapsulation dot1Q 11 native
ip address 10.1.11.1 255.255.255.0
!
interface GigabitEthernet1/0.12
description Voice Vlan
encapsulation dot1Q 12
ip address 10.1.12.1 255.255.255.0


Under the configuration abve, will only be able to telnet (or SSH) into the EtherSwitch Service Module; you will be unable to “session” into module, which presents a potential management risk. However, based on my prior CCIE lab experience, sometimes the questions do not accurately reflect “real world” configurations.

Baltimore#service-module gigabitEthernet 1/0 session
IP address needs to be configured on interface GigabitEthernet1/0
Baltimore#telnet 10.1.10.2
Trying 10.1.10.2 ... Open

User Access Verification

Username: cisco123
Password:
Baltimore-S1#



4. The configuration of the switch ports for the IP Phones is rather straight forward. Below is the output from the EtherSwitch Service Module (Baltimore):

Baltimore-S1(config)#interface range fastEthernet 1/0/1 – 3
Baltimore-S1(config-if-range)# switchport trunk encapsulation dot1q
Baltimore-S1(config-if-range)# switchport trunk native vlan 11
Baltimore-S1(config-if-range)# switchport mode trunk
Baltimore-S1(config-if-range)# switchport voice vlan 12
Baltimore-S1(config-if-range)# spanning-tree portfast



5. The IP Phones required a DHCP server to obtain their IP Addressing, Default Route, and CUCME information. Below is the configuration from New York; note the exclusion of address .1 - .15.

ip dhcp excluded-address 10.1.21.1 10.1.21.15
ip dhcp excluded-address 10.1.22.1 10.1.22.15
!
ip dhcp pool VOICE
network 10.1.22.0 255.255.255.0
option 150 ip 10.1.22.1
dns-server 4.2.2.1 4.2.2.2
default-router 10.1.22.1
domain-name ballplayersllc.com
!
ip dhcp pool DATA
network 10.1.21.0 255.255.255.0
default-router 10.1.21.1
dns-server 4.2.2.1 4.2.2.2
domain-name ballplayersllc.com
!



6. There is a fairly quick way to verify that both the IP Phones on each router are receiving their proper IP Addresses as well as confirming end-to-end IP connectivity. On each router, a “show ip dhcp binding” provides the IP addresses the phones received from DHCP. Then, from one router, ping the IP Phones on the other router. For example:

NewYork#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
10.1.22.17 0100.21d8.b9bc.72 Dec 23 2008 11:44 AM Automatic
10.1.22.19 0100.21d8.ba23.73 Dec 23 2008 11:44 AM Automatic
NewYork#

Baltimore#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
10.1.12.16 0100.21d8.ba23.a1 Dec 23 2008 11:44 AM Automatic
10.1.12.18 0100.2333.1aed.cc Dec 23 2008 11:46 AM Automatic
10.1.12.20 0100.1fca.e92c.ce Dec 23 2008 11:42 AM Automatic
Baltimore#
Baltimore#ping 10.1.22.17

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.22.17, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
Baltimore#ping 10.1.22.19

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.22.19, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
Baltimore#

NewYork#ping 10.1.12.16

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.16, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms
NewYork#ping 10.1.12.18

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.18, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 ms
NewYork#ping 10.1.12.20

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.12.20, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
NewYork#



7. Finally, we’ll verify the route tables on each router.

NewYork#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

1.0.0.0/24 is subnetted, 1 subnets
O IA 1.1.1.0 [110/65] via 172.16.1.1, 00:07:32, Serial0/2/0.201
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
172.16.0.0/30 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/2/0.201
10.0.0.0/24 is subnetted, 7 subnets
O IA 10.1.11.0 [110/65] via 172.16.1.1, 00:07:32, Serial0/2/0.201
O IA 10.1.10.0 [110/65] via 172.16.1.1, 00:07:32, Serial0/2/0.201
O IA 10.1.12.0 [110/65] via 172.16.1.1, 00:07:33, Serial0/2/0.201
C 10.1.1.0 is directly connected, FastEthernet0/0.1
C 10.1.22.0 is directly connected, FastEthernet0/0.22
C 10.1.21.0 is directly connected, FastEthernet0/0.21
C 10.1.20.0 is directly connected, FastEthernet0/0.20
S* 0.0.0.0/0 [1/0] via 10.1.1.1
NewYork#


Baltimore#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
O IA 2.2.2.0 [110/65] via 172.16.1.2, 00:07:51, Serial0/2/0.102
172.16.0.0/30 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/2/0.102
10.0.0.0/24 is subnetted, 7 subnets
C 10.1.11.0 is directly connected, GigabitEthernet1/0.11
C 10.1.10.0 is directly connected, GigabitEthernet1/0.10
C 10.1.12.0 is directly connected, GigabitEthernet1/0.12
C 10.1.1.0 is directly connected, FastEthernet0/0
O IA 10.1.22.0 [110/65] via 172.16.1.2, 00:07:52, Serial0/2/0.102
O IA 10.1.21.0 [110/65] via 172.16.1.2, 00:07:52, Serial0/2/0.102
O IA 10.1.20.0 [110/65] via 172.16.1.2, 00:07:53, Serial0/2/0.102
S* 0.0.0.0/0 [1/0] via 10.1.1.1
Baltimore#



8. Below are snippets from router and switch configurations for Baltimore & New York. For brevity, I have omitted parts.

Baltimore Router:
Baltimore#sh run
Building configuration...
!
!
hostname Baltimore
!
ip dhcp excluded-address 10.1.11.1 10.1.11.15
ip dhcp excluded-address 10.1.12.1 10.1.12.15
!
ip dhcp pool VOICE
network 10.1.12.0 255.255.255.0
default-router 10.1.12.1
option 150 ip 10.1.12.1
dns-server 4.2.2.1 4.2.2.2
domain-name ballplayerllc.com
!
ip dhcp pool DATA
network 10.1.11.0 255.255.255.0
default-router 10.1.11.1
dns-server 4.2.2.1 4.2.2.2
domain-name ballplayerllc.com
!
!
ip domain name ballplayerllc.com
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
ip ospf network point-to-point
!
interface FastEthernet0/0
ip address 10.1.1.101 255.255.255.0
description "Out of Band Management - Not Part of Lab!"
duplex auto
speed auto
!
interface Service-Engine0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/2/0
no ip address
encapsulation frame-relay
no fair-queue
frame-relay lmi-type cisco
!
interface Serial0/2/0.102 point-to-point
bandwidth 1544
ip address 172.16.1.1 255.255.255.252
ip ospf network point-to-point
snmp trap link-status
frame-relay interface-dlci 102
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
interface GigabitEthernet1/0
no ip address
!
interface GigabitEthernet1/0.10
description MNGMT-BMORE
encapsulation dot1Q 10
ip address 10.1.10.1 255.255.255.0
!
interface GigabitEthernet1/0.11
description DATA-BMORE
encapsulation dot1Q 11 native
ip address 10.1.11.1 255.255.255.0
!
interface GigabitEthernet1/0.12
description VOICE-BMORE
encapsulation dot1Q 12
ip address 10.1.12.1 255.255.255.0
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
passive-interface default
no passive-interface Serial0/2/0.102
network 1.1.1.0 0.0.0.255 area 1
network 10.1.10.0 0.0.0.255 area 1
network 10.1.11.0 0.0.0.255 area 1
network 10.1.12.0 0.0.0.255 area 1
network 172.16.1.0 0.0.0.3 area 0
!
!
line con 0
exec-timeout 0 0
logging synchronous
login local
line aux 0
line 66
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line 194
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
exec-timeout 0 0
logging synchronous
login local
!
scheduler allocate 20000 1000
ntp server 10.1.1.4
end


Baltimore EtherSwitch Service Module:
Baltimore-S1#sh run
Building configuration...
!
hostname Baltimore-S1
!
!
vlan 10
name MNGMT-BMORE
!
vlan 11
name DATA-BMORE
!
vlan 12
name VOICE-BMORE
!
interface FastEthernet1/0/1
description 7962 MAC 001FCAE92CCE
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport mode trunk
switchport voice vlan 12
spanning-tree portfast
!
interface FastEthernet1/0/2
description 7942 MAC 0021D8BA23A1
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport mode trunk
switchport voice vlan 12
spanning-tree portfast
!
interface FastEthernet1/0/3
description 7942 MAC 0023331AEDCC
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport mode trunk
switchport voice vlan 12
spanning-tree portfast
!
interface FastEthernet1/0/4
!
!output omitted!
!
interface GigabitEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 11
switchport trunk allowed vlan 10-12
switchport mode trunk
!
interface Vlan1
no ip address
!
interface Vlan10
description Management Vlan
ip address 10.1.10.2 255.255.255.0
!
interface Vlan11
description Data Vlan
ip address 10.1.11.2 255.255.255.0
!
interface Vlan12
description Voice Vlan
ip address 10.1.12.2 255.255.255.0
!
ip default-gateway 10.1.10.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.10.1
ip http server
!
!
line con 0
exec-timeout 5 0
logging synchronous
login local
line vty 0 4
exec-timeout 5 0
logging synchronous
login local
line vty 5 15
exec-timeout 5 0
logging synchronous
login local
!
end


New York Router:
NewYork#sh run
Building configuration...
!
hostname NewYork
!
!
ip cef
ip dhcp excluded-address 10.1.21.1 10.1.21.15
ip dhcp excluded-address 10.1.22.1 10.1.22.15
!
ip dhcp pool VOICE
network 10.1.22.0 255.255.255.0
option 150 ip 10.1.22.1
dns-server 4.2.2.1 4.2.2.2
default-router 10.1.22.1
domain-name ballplayersllc.com
!
ip dhcp pool DATA
network 10.1.21.0 255.255.255.0
default-router 10.1.21.1
dns-server 4.2.2.1 4.2.2.2
domain-name ballplayersllc.com
!
!
no ip domain lookup
ip domain name ballplayersllc.com
!
interface Loopback0
ip address 2.2.2.2 255.255.255.0
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
description "Out of Band Management - Not Part of Lab!"
encapsulation dot1Q 1
ip address 10.1.1.102 255.255.255.0
!
interface FastEthernet0/0.20
description NEWYORK-MANAGEMENT-VLAN
encapsulation dot1Q 20
ip address 10.1.20.1 255.255.255.0
!
interface FastEthernet0/0.21
description NEWYORK-DATA-VLAN
encapsulation dot1Q 21 native
ip address 10.1.21.1 255.255.255.0
!
interface FastEthernet0/0.22
description NEWYORK-VOICE-VLAN
encapsulation dot1Q 22
ip address 10.1.22.1 255.255.255.0
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/2/0
no ip address
encapsulation frame-relay
frame-relay lmi-type cisco
!
interface Serial0/2/0.201 point-to-point
bandwidth 1544
ip address 172.16.1.2 255.255.255.252
ip ospf network point-to-point
snmp trap link-status
frame-relay interface-dlci 201
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
passive-interface default
no passive-interface Serial0/2/0.201
network 2.2.2.0 0.0.0.255 area 2
network 10.1.20.0 0.0.0.255 area 2
network 10.1.21.0 0.0.0.255 area 2
network 10.1.22.0 0.0.0.255 area 2
network 172.16.1.0 0.0.0.3 area 0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.1.1
no ip http server
no ip http secure-server
!
line con 0
exec-timeout 15 0
logging synchronous
login local
line aux 0
line vty 0 4
exec-timeout 15 0
logging synchronous
login local
length 0
!
scheduler allocate 20000 1000
ntp server 10.1.1.4
end


New York Switch:
!
hostname NewYork-S1
!
!
interface FastEthernet1/0/2
description "Trunk to NY Router (R2)"
switchport trunk encapsulation dot1q
switchport trunk native vlan 21
switchport trunk allowed vlan 1,20-22
switchport mode trunk
spanning-tree portfast
!
!
interface FastEthernet1/0/13
description 7962 MAC 0021D8B9BC72
switchport trunk encapsulation dot1q
switchport trunk native vlan 21
switchport mode trunk
switchport voice vlan 22
spanning-tree portfast
!
interface FastEthernet1/0/14
description 7942 MAC 0021D8BA2373
switchport trunk encapsulation dot1q
switchport trunk native vlan 21
switchport mode trunk
switchport voice vlan 22
spanning-tree portfast
!
!
interface Vlan20
description MNGMT-NY
ip address 10.1.20.2 255.255.255.0
!
interface Vlan21
description DATA-NY
ip address 10.1.21.2 255.255.255.0
!
interface Vlan22
description VOICE-NY
ip address 10.1.22.2 255.255.255.0
!
!
line con 0
exec-timeout 20 0
logging synchronous
login local
line vty 0 4
exec-timeout 20 0
logging synchronous
login local
length 0
line vty 5 15
no login
!end

Thursday, December 11, 2008

CUCME-CUE Labs – Background

Ballplayers, Inc. is a sports marketing firm with locations in New York City, NY and Baltimore, MD. You previously staged a VOIP Pilot at both locations for the firm’s CIO Fuzzy Dunlop. Fuzzy was extremely pleased with the results and received executive buy-in to purchase an IP based Voice Communications (Unified Communications, UC) solution for both offices.

Below is a high-level design of the proposed Cisco Unified Communications Express solution.




The equipment and logical set-up that I will be using for this series of labs is as follows.

WAN & PSTN:
PSTN Simulation on a Adtran Atlas 550.
Frame Relay Switch on a Cisco ISR 2811 with multiple WIC-2T cards. This router also acts as a terminal server for reverse telnet to the other devices in this lab.

Baltimore:
Cisco 2811 ISR with PVDM2-32, VIC2-2FXO, VWIC2-1MFT-T1/E1, WIC-2T, AIM-CUE, NME-16ES-1G-P
IOS Version: 12.4.22T, c2800nm-adventerprisek9_ivs_li-mz.124-22.T.bin (INT VOICE/VIDEO GK, IPIPGW, TDMIP GW AES, LI)
CME: 7.0(1), cme-124-20T1.zip
AIM Version 3.2.2
One 7962G IP Phone
Two 7942G IP Phone
Two “dummy/virtual” IP Phones

New York:
Cisco 2811 ISR with PVDM2-32, VIC2-2FXO, VWIC2-1MFT-T1/E1, WIC-2T
IOS Version: 12.4.22T, c2800nm-adventerprisek9_ivs_li-mz.124-22.T.bin (INT VOICE/VIDEO GK, IPIPGW, TDMIP GW AES, LI)
CME: 7.0(1), cme-124-20T1.zip
Cisco 3750-24PS
One 7962G IP Phone
One 7942G IP Phone
Three “dummy/virtual” IP Phones

IP Addressing:
Frame Cloud: 172.16.1.0/30
Baltimore Loopback0: 1.1.1.1/24
Baltimore Management VLAN 10: 10.1.10.1/24
Baltimore Data VLAN 11: 10.1.11.1/24
Baltimore Voice VLAN 12: 10.1.12.1/24
New York Loopback0: 2.2.2.2/24
New York Management VLAN 20: 10.1.20.1/24
New York Data VLAN 11: 10.1.21.1/24
New York Voice VLAN 12: 10.1.22.1/24
“Out of Band” network, not part of the LAB: 10.1.1.0/24

OSPF:
WAN: Area 0
Baltimore Networks: Area 1
New York Networks: Area 2

Voicemail:
Voicemail Pilot: 199
MWI On: 8000
MWI Off: 8001

The next posting will cover the initial configuration of the data and voice IP addressing, routing, VLANs, IP services, etc.

Monday, December 8, 2008

CCIE Voice Lab Blueprint Update!

Cisco has announced an updated to the CCIE Voice Lab, beginning in mid-July 2008. While I welcome the announcement, it should not come as a surprise to anyone who attended the CCIE Power Session at the 2008 Networkers. The new blueprint will include:

Lab Equipment:
Cisco MCS-7845 Media Convergence Servers
Cisco 3825 Series Integrated Services Routers (ISR)
Cisco 2821 Series Integrated Services Routers (ISR)
ISR Modules and Interface Cards:
VWIC2-1MFT-T1/E1
PVDM2
HWIC-4ESW-POE
NME-CUE
Cisco Catalyst 3750 Series Switches
IP Phones and Soft Clients

Software Versions
Any major software release which has been generally available for six months is eligible for testing in the CCIE Voice Lab Exam.
Cisco Unified Communications Manager 7.0
Cisco Unified Communications Manager Express 7.0
Cisco Unified Contact Center Express 7.0
Cisco Unified Presence 7.0
Cisco Unity Connection 7.0
All routers use IOS version 12.4T Train.
Cisco Catalyst 3750 Series Switches uses 12.2 Main Train

Network Interfaces
Fast Ethernet
Frame Relay

Telephony Interfaces
T1
E1

I believe this to be the right move for Cisco. For them, it should make managing the lab far more efficient for scrubbing pods and managing images in VMWare. For the test taker, I believe these newer releases are far more relevant to what is being purchased and deployed by our customers.

It has been a very busy few weeks, despite the macro-economic climate. I’ve been testing and validating some CUCME 7.0 and CUE labs, based loosely on the Cisco Press “Cisco IP Communications Express: CallManager Express with Cisco Unity Express” workbook, and hope to post a number of updates in the coming weeks!

Thursday, October 30, 2008

Exciting Cisco UC 7.0 Features

I had the wonderful opportunity to spend the week of October 13 - 17 attending the Cisco Unified Communications Partner VT (Virtual Team) meeting in San Jose, CA. This week long partner training session focused on many of the new UC 7.0 products updates as well as product roadmap discussions. Below is a look at the agenda:

Sessions:
  • IP Phone/CUCM/CUCMBE Update and Roadmap
  • Unified Communications Business Unit Messaging Solutions Update
  • UCBU Conferencing Solutions Updat
  • UCBU/IPCBU Mobility Strategy and Solution Update
  • Voice Gateway Update
  • Update on CUCME/CUE/SRST/UCC/UMG
  • UCBU Presence and Client Update
  • SIP Trunk/CUBE Update
  • Contact Center Business Unit Solution Update
  • UC Capacity Sizing Tools

Labs:
  • Contact Center Applications
  • Secure UC with Mobility
  • MeetingPlace Configuration
  • Messaging Solutions
  • Client Side Applications
  • CUCME/CUE/UCC/UMG
Unity Design Sessions:

While I am bound by Partner NDA, I can say that the two most exciting sessions were those focused on Collaboration (MeetingPlace & WebEx), Presence, and Unity in VMWare ESX (not yet supported). I believe that Cisco is well positioned with some of their roadmaps to present a very powerful and compelling story when it comes to Collaboration and Presence, especially as it begins to integrate their WebEx and Jabber acquisitions.

Tuesday, October 7, 2008

VOIP Lab 7 – Final Configs

There are certainly a number of additional topics that could be covered under the topic of “VOIP Fundamentals”, such as basic gatekeeper functionality and IntServ (RSVP). However, rather than exploring these and other topics now, I have chosen to instead table these until we introduce further VOIP and UC technologies. For my next series of labs, I intend to introduce and explore Cisco Unified Communications Manager Express and Cisco Unity Express, using the same lab topology described in Lab 1.

Below are the final configurations for both the Baltimore, New York City, and “ISP” routers, with some edits and omissions for the sake of brevity. Note, my “ISP” router also doubles as an access server for my home lab, allowing reverse telnet to my router console ports.

Baltimore Router
version 12.4
service timestamps debug datetime msec localtime show-timezone year
service timestamps log datetime msec localtime show-timezone year
no service password-encryption
!
hostname Baltimore
!
!
card type t1 0 0
logging buffered 4096
!
no aaa new-model
clock timezone EST -5
clock summer-time EDT recurring
network-clock-participate wic 0
!
!
!
ip cef
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
isdn switch-type primary-ni
!
!
voice-card 0
dspfarm
dsp services dspfarm
!
!
username cisco privilege 15 password 0 cisco
archive
log config
hidekeys
!
!
controller T1 0/0/0
framing esf
linecode b8zs
cablelength short 133
pri-group timeslots 1-24
!
!
class-map match-all VOIP-TRAFFIC
match access-group name VOIP-PORTS
class-map match-all SECURE-WWW
match access-group name SSL
class-map match-all VOIP-SIGNALING
match access-group name VOIP-SETUP
!
!
policy-map VOIP-POLICY
class VOIP-TRAFFIC
priority 80
class VOIP-SIGNALING
bandwidth 8
class SECURE-WWW
bandwidth 150
class class-default
fair-queue
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Service-Engine0/0
no ip address
shutdown
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
no cdp enable
!
interface Serial0/2/0
bandwidth 1544
ip address 172.16.1.2 255.255.255.0
encapsulation ppp
service-policy output VOIP-POLICY
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 1
network 172.16.1.0 0.0.0.255 area 0
!
!
ip http server
no ip http secure-server
!
ip access-list extended SSL
permit tcp any eq 443 any
permit tcp any any eq 443
ip access-list extended VOIP-PORTS
permit udp any any range 16384 32767
ip access-list extended VOIP-SETUP
permit tcp any eq 1720 any
permit tcp any any eq 1720
!
!
control-plane
!
!
voice-port 0/0/0:23
timeouts interdigit 3
description PRI ciruit to PSTN
!
voice-port 0/1/0
timeouts interdigit 3
connection plar opx 5001
description 410-555-5001
caller-id enable
!
voice-port 0/1/1
timeouts interdigit 3
connection plar opx 5002
description 410-555-5002
caller-id enable
!
voice-port 0/3/0
description Cal Ripken
station-id name Cal Ripken
station-id number 5001
caller-id enable
!
voice-port 0/3/1
cptone GR
description Nick Markakis
station-id name Nick Markakis
station-id number 5002
caller-id enable
!
!
dial-peer voice 5001 pots
destination-pattern 5001
port 0/3/0
!
dial-peer voice 5002 pots
destination-pattern 5002
port 0/3/1
!
dial-peer voice 6000 voip
description VOIP Peer to NYC
preference 1
max-conn 1
destination-pattern 600[12]
session target ipv4:172.16.2.2
codec g711ulaw
!
dial-peer voice 1 pots
description outbound via 410-555-5001
preference 2
destination-pattern 9T
port 0/1/0
!
dial-peer voice 2 pots
description outbound via 410-555-5002
preference 2
destination-pattern 9T
port 0/1/1
!
dial-peer voice 3 pots
description inbound PRI dial-peer
preference 1
incoming called-number 41055510..
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 4 pots
description outbound PRI dial-peer
destination-pattern 9T
port 0/0/0:23
!
dial-peer voice 6001 pots
preference 2
destination-pattern 600[12]
port 0/0/0:23
forward-digits all
prefix 212555
!
dial-peer voice 6002 pots
preference 3
destination-pattern 600[12]
port 0/1/0
forward-digits all
prefix 212555
!
dial-peer voice 6003 pots
preference 3
destination-pattern 600[12]
port 0/1/1
forward-digits all
prefix 212555
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login local
line aux 0
line 194
no activation-character
no exec
transport preferred none
transport input all
transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
exec-timeout 0 0
password cisco
logging synchronous
login local
!
scheduler allocate 20000 1000
ntp clock-period 17179656
ntp server 7.7.7.7
!
webvpn cef
!
end



New York City Router
version 12.4
service timestamps debug datetime msec localtime show-timezone year
service timestamps log datetime msec localtime show-timezone year
no service password-encryption
!
hostname NewYork
!
!
card type t1 0 0
!
no aaa new-model
clock timezone EST -5
clock summer-time EST recurring
network-clock-participate wic 0
!
!
ip cef
!
!
no ip domain lookup
!
multilink bundle-name authenticated
!
isdn switch-type primary-ni
!
!
voice translation-rule 1
rule 1 /\(500[12]\)/ /410555\1/
!
voice translation-rule 2
rule 1 // /410555/
!
!
voice translation-profile prefix
translate called 1
!
!
voice-card 0
no dspfarm
!
!
username cisco privilege 15 password 0 cisco
archive
log config
hidekeys
!
!
controller T1 0/0/0
framing esf
linecode b8zs
cablelength short 133
pri-group timeslots 1-24
!
!
class-map match-all VOIP-TRAFFIC
match access-group name VOIP-PORTS
class-map match-all SECURE-WWW
match access-group name SSL
class-map match-all VOIP-SIGNALING
match access-group name VOIP-SETUP
!
!
policy-map VOIP-POLICY
class VOIP-TRAFFIC
priority 80
class VOIP-SIGNALING
bandwidth 8
class SECURE-WWW
bandwidth 150
class class-default
fair-queue
!
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
no cdp enable
!
interface Serial0/2/0
description Link to Baltimore via Hub (R7)
bandwidth 1544
ip address 172.16.2.2 255.255.255.0
encapsulation ppp
service-policy output VOIP-POLICY
!
interface Serial0/2/1
no ip address
shutdown
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 2
network 172.16.2.0 0.0.0.255 area 0
!
!
ip http server
no ip http secure-server
!
ip access-list extended SSL
permit tcp any eq 443 any
permit tcp any any eq 443
ip access-list extended VOIP-PORTS
permit udp any any range 16384 32767
ip access-list extended VOIP-SETUP
permit tcp any eq 1720 any
permit tcp any any eq 1720
!
!
voice-port 0/0/0:23
description PRI to PSTN
!
voice-port 0/1/0
connection plar opx 6001
description 212-555-6001
caller-id enable
!
voice-port 0/1/1
connection plar opx 6002
description 212-555-6002
caller-id enable
!
voice-port 0/3/0
ring cadence pattern04
description Tom Seaver
station-id name Tom Seaver
station-id number 6001
caller-id enable
!
voice-port 0/3/1
description David Wright
station-id name David Wright
station-id number 6002
caller-id enable
!
!
dial-peer voice 6001 pots
destination-pattern 6001
port 0/3/0
!
dial-peer voice 6002 pots
destination-pattern 6002
port 0/3/1
!
dial-peer voice 5000 voip
description VOIP Peer to Baltimore
preference 1
max-conn 1
destination-pattern 500[12]
session target ipv4:172.16.1.2
codec g711ulaw
!
dial-peer voice 1 pots
description outbound via 212-555-6001
preference 2
destination-pattern 9[2-9].........
port 0/1/0
!
dial-peer voice 2 pots
description outbound via 212-555-6002
preference 2
destination-pattern 9[2-9].........
port 0/1/1
!
dial-peer voice 3 pots
description Inbound Dial-Peer via PRI
incoming called-number 21255520..
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 4 pots
description Outbound Dial-Peer via PRI
preference 1
destination-pattern 9[2-9].........
port 0/0/0:23
!
dial-peer voice 5001 pots
translation-profile outgoing prefix
preference 2
destination-pattern 500[12]
port 0/0/0:23
forward-digits all
!
dial-peer voice 5002 pots
translation-profile outgoing prefix
preference 3
destination-pattern 500[12]
port 0/1/0
forward-digits all
!
dial-peer voice 5003 pots
translation-profile outgoing prefix
preference 3
destination-pattern 500[12]
port 0/1/1
forward-digits all
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
login local
line aux 0
line vty 0 4
exec-timeout 0 0
logging synchronous
login local
!
scheduler allocate 20000 1000
ntp clock-period 17179816
ntp server 7.7.7.7
!
webvpn cef
!
end

ISP Router
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ISP
!
!
logging message-counter syslog
no logging buffered
!
no aaa new-model
clock timezone EST -5
clock summer-time EDT recurring
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
ip host r1 2066 10.1.1.3
ip host r2 2067 10.1.1.3
ip host r3 2068 10.1.1.3
ip host r4 2069 10.1.1.3
ip host r5 2070 10.1.1.3
ip host r6 2071 10.1.1.3
ip host s1 2072 10.1.1.3
no ipv6 cef
!
multilink bundle-name authenticated
!
!
voice-card 0
no dspfarm
!
!
!
!
!
username cisco privilege 15 password 0 cisco
archive
log config
hidekeys
!
!
interface Loopback0
ip address 7.7.7.7 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.1.1.3 255.255.255.0
duplex auto
speed auto
no keepalive
!
interface Serial0/0/0
description Link to Baltimore
bandwidth 128
ip address 172.16.1.1 255.255.255.0
encapsulation ppp
clock rate 128000
!
interface Serial0/0/1
description Link to New York
bandwidth 128
ip address 172.16.2.1 255.255.255.0
encapsulation ppp
clock rate 128000
!
interface Serial0/1/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 2000000
!
interface Serial0/2/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/2/1
no ip address
shutdown
clock rate 2000000
!
router ospf 1
router-id 7.7.7.7
log-adjacency-changes
passive-interface default
no passive-interface Serial0/0/0
no passive-interface Serial0/0/1
network 7.7.7.7 0.0.0.0 area 0
network 172.16.1.0 0.0.0.255 area 0
network 172.16.2.0 0.0.0.255 area 0
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.1.1.1
ip http server
no ip http secure-server
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 20 0
logging synchronous
login local
line aux 0
line 1/0 1/15
no exec
transport input all
line vty 0 4
exec-timeout 20 0
logging synchronous
login local
!
scheduler allocate 20000 1000
ntp master 3
ntp server 198.82.1.201
end

ISP#

Wednesday, October 1, 2008

VOIP Lab 6 – Local Call Admission Control & QoS

Fuzzy Dunlop did express a couple of concerns with the VOIP pilot. First, the organization is concerned about voice quality and it also has a critical secure web-based CRM tool. Secondly, Fuzzy Dunlop want to make sure that if the WAN link fails, internal calls can still be routed out the PTSN.

Tasks 6.1 – Local Call Admission Control & QoS Configuration
The following tasks are required for this lab:

1. Configure each voice gateway to route internal four-digit dial calls out the PSTN in the event of a WAN failure. Make sure the IP path is preferred first; the PRI circuit second; the POTS lines third.

2. You may not use any sort of digit translation on the Baltimore router to achieve task #1.

3. You must use digit translation on the NY router to achieve task #2.

4. Limit the WAN links to one call using a Local CAC mechanism.

5. Configure a QOS policy that gives voice traffic a strict priority for one call, provides call set-up with 8k of bandwidth, secure www with 150k of bandwidth, and everything else in a default class.

6. Verify calling, including routing calls to the PSTN during a WAN failure.

Tasks 6.2 – Local Call Admission Control & QoS Verification

1. In order to configure call routing of the four-digit dial calls via the PSTN, three additional POTS dial-peers need to be added to each router; one pointing to the PRI and the other two pointing to the two POTS connections. Additionally, preference values need to be added to these dial-peers, as well as the VOIP dial peers.

2. To meet configuration task #2 above, digits need to be prefixed under each of three new POTS dial-peers on the Baltimore router. Below is configuration additions and changes made to Baltimore.

Baltimore#sh run begin dial-peer voice 6000
dial-peer voice 6000 voip
description VOIP Peer to NYC
preference 1
max-conn 1
destination-pattern 600[12]
session target ipv4:172.16.2.2
codec g711ulaw
!
!
dial-peer voice 6001 pots
preference 2
destination-pattern 600[12]
port 0/0/0:23
forward-digits all
prefix 212555

!
dial-peer voice 6002 pots
preference 3
destination-pattern 600[12]
port 0/1/0
forward-digits all
prefix 212555

!
dial-peer voice 6003 pots
preference 3
destination-pattern 600[12]
port 0/1/1
forward-digits all
prefix 212555

!

3. For New York City, a voice-translation rule and voice translation pattern are created and then associated with each of the three new POTS dial-peers. Interestingly, there are a couple of ways to configure the voice-translation rule. The configuration below shows two viable options, although voice-translation rule 1 is the one being applied, which is the more specific rule for numbers 5001 and 5002.

You can also test the rule by issueing the test voice translation-rule [rule number] [phone number]
!
voice translation-rule 1
rule 1 /\(500[12]\)/ /410555\1/
!
voice translation-rule 2
rule 1 // /410555/
!
!
voice translation-profile prefix
translate called 1
!
!
!
dial-peer voice 5000 voip
description VOIP Peer to Baltimore
preference 1
max-conn 1
destination-pattern 500[12]
session target ipv4:172.16.1.2
codec g711ulaw
!
dial-peer voice 5001 pots
translation-profile outgoing prefix
preference 2

destination-pattern 500[12]
port 0/0/0:23
forward-digits all
!
dial-peer voice 5002 pots
translation-profile outgoing prefix
preference 3
destination-pattern 500[12]
port 0/1/0
forward-digits all
!
dial-peer voice 5003 pots
translation-profile outgoing prefix
preference 3

destination-pattern 500[12]
port 0/1/1
forward-digits all
!

NewYork#test voice translation-rule 1 5001
Matched with rule 1
Original number: 5001 Translated number: 4105555001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none

NewYork#test voice translation-rule 2 5001
Matched with rule 1
Original number: 5001 Translated number: 4105555001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none

4. A Low Latency Queuing (LLQ) policy is created and applied to the serial interface. The policy is identical on both ends.

!
ip access-list extended SSL
permit tcp any eq 443 any
permit tcp any any eq 443
ip access-list extended VOIP-PORTS
permit udp any any range 16384 32767
ip access-list extended VOIP-SETUP
permit tcp any eq 1720 any
permit tcp any any eq 1720
!
!
class-map match-all VOIP-TRAFFIC
match access-group name VOIP-PORTS
class-map match-all SECURE-WWW
match access-group name SSL
class-map match-all VOIP-SIGNALING
match access-group name VOIP-SETUP
!
!
policy-map VOIP-POLICY
class VOIP-TRAFFIC
priority 80
class VOIP-SIGNALING
bandwidth 8
class SECURE-WWW
bandwidth 150
class class-default
fair-queue
!
interface Serial0/2/0
service-policy output VOIP-POLICY



5. Finally, we verify the configuration by placing two phone calls. The first call is placed from Cal Ripken (ext. 5001) to Tom Seaver (ext. 6001). We know it is going across the WAN, because CallID 0xC5 verifies the Dial Peers.

A second call is placed from Nick Markakis (ext. 5002) to David Wright (ext. 6002.). Based on the output below, the router indicates the maximum number of connections on dial-peer 6000 as been reached, and the call is now being placed out the PRI as number 2125556002. CallID 0xC8 also verifies that the call is using dial-peer 6001, which is associated with the PRI.

Baltimore#
.Sep 30 2008 17:33:26.002 EDT: %CALL_CONTROL-6-MAX_CONNECTIONS: Maximum number of connections reached for dial-peer 6000

Baltimore#
.Sep 30 2008 17:33:32.286 EDT: %ISDN-6-CONNECT: Interface Serial0/0/0:22 is now connected to 2125556002 N/A

Baltimore#sh voice call stat
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0xC5 13E2 0x486A7568 0/3/0 0/2:1 6001 g711ulaw 5001/6000
0xC7 13E7 0x47EB06D8 0/3/1 No DSP 6002 None 5002/6001
0xC8 13E7 0x48C50408 0/0/0:23.23 No DSP *6002 None 6001/5002
2 active calls found


Lab references:
Cisco Systems. Number Translation using Voice Translation Profiles.

Cisco Systems. VoIP over PPP Links with Quality of Service (LLQ / IP RTP Priority, LFI, cRTP).

Davidson, Jonathan, Kevin (2002). Deploying Cisco Voice over IP Solutions (Chapter 4). Indianapolis: Cisco Press.

Sunday, September 28, 2008

VOIP Lab 5 – PRI Inbound and Outbound

Mr. Dunlop is pretty excited about the VOIP system so far. In anticipation of rolling out the VOIP solution further and future growth, he has provisioned a voice T1 circuit for each location and has instructed you to add this to the VOIP pilot.


Tasks 5.1 – PRI Inbound and Outbound Configuration


The following tasks are required for this lab:

1. Configure the Adtran Atlas 550 for the appropriate dial plan to support the additional PRI circuit, as depicted in Lab 1.

2. Configure the VWIC2-MFT1-T1/E1 card on each router to support ESF framing, B8ZS line code, and an appropriately length cable.

3. Create outbound dial peers so that internal users can call external PSTN numbers. Internal users must dial “9” to place and outside call.

4. On the Baltimore router, the destination pattern should be configured as simply as possible, but users should not have to unnecessarily long to have their outbound calls placed.

5. On the New York router, the destination pattern should be configured in such a way to allow outbound calls to be placed as quickly as possible, but without modifying any of the default characteristics of the PRI’s voice-port.

6. Create appropriate inbound dialing for support the future DID range depicted in the diagram in Lab 1.

5. Verify the ability to call outbound to and inbound from the PSTN.


Tasks 5.2 –PRI Inbound and Outbound Verification


1. The configuration process for the PRI ports on the Adtran Atlas 550 is very similar to the process described in Lab 1 for adding the FXS port dial plan. From the main menu, scroll down to Dial Plan; from the User Term screen arrow over to the left hand menu and press the “I” key to insert a dial plan component. Select the appropriate T1/PRI card and ports. Once the port has been added, use the arrow keys to select the Incoming Number Accept List. For first PRI port, I’ve added 410-555-10XX as the Accept Number. No other modifications are required on the PRI port.


2. Configuring a VWIC2-1MFT-T1/E1 can be a bit tricky the first time. If the VWIC has not been previously configured, you need to enable the T1 controller using the card type t1 global command. The second task is to configure the VWIC to receive clocking from the network, using the network-clock-participate wic command. The next step is to configure the isdn switch type. Finally, under the controller, one needs to configure the line code, framing, clocking source, the proper cable length, and finally the pri-group for the timeslots. Below are the outputs described about from the Baltimore router. Once the controller is up, a corresponding Serial interface is created by the router, along with a voice-port. A show isdn status will verify proper Layer 1 and Layer 2 connectivity.

Real World Note: If you are using a dual-port PRI module, be aware of timing issues, especially if one port is connecting to service provider "A" and the second to service provider "B". This can result in clocking slips on the router. A detailed explanation is available here.

Baltimore#sh run
!
!output omitted
!
card type t1 0 0
!
!output omitted
!
network-clock-participate wic
!
!output omitted
!
isdn switch-type primary-ni
!
!output omitted
!
!
controller T1 0/0/0
framing esf
linecode b8zs
cablelength short 133
pri-group timeslots 1-24
!
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
no cdp enable
!
!
voice-port 0/0/0:23
!
!
Baltimore#sh isdn status
Global ISDN Switchtype = primary-ni
ISDN Serial0/0/0:23 interface
dsl 0, interface ISDN Switchtype = primary-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 0
Total Allocated ISDN CCBs = 0
Baltimore#

3. On the Baltimore router, I’ve modified the voice-port 0/0/0:23 so that its interdigit timeout has been reduced to 3 seconds. Secondly, an inbound dial-peer as been configured to the DIDs. Finally, an outbound dial-peer has been added to take advantage to the added PRI circuit, using the 9T pattern.

Baltimore#sh run
!
!output omitted
!
voice-port 0/0/0:23
timeouts interdigit 3
description PRI ciruit to PSTN
!
!output omitted
!
dial-peer voice 3 pots
description inbound PRI dial-peer
incoming called-number 41055510..
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 4 pots
description outbound PRI dial-peer
destination-pattern 9T
port 0/0/0:23
!


4. A slightly different configuration as made on the NY router. Recall the task stated to use dial-pattern that allowed for quick calls outbound without modify the interdigit timeout. Below is the configuration used on the NY router. Notice the difference between dial-peers 3 and 4 on router NewYork as compared to router Baltimore.

NewYork#sh run begin voice-port
voice-port 0/0/0:23
description PRI to PSTN
!
!output omitted
!
!
dial-peer voice 3 pots
description Inbound Dial-Peer via PRI
incoming called-number 21255520..
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 4 pots
description Outbound Dial-Peer via PRI
destination-pattern 9[2-9].........
port 0/0/0:23
!


5. Finally, we can easily verify outbound calling by shutting down the two FXO ports on Baltimore and dialing out to the PSTN. Below is a sample debug as the dial-peers are match outbound. Finally, notice that the call was sent out via channel 23 on the PRI circuit.

.Sep 29 2008 00:20:35.412 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=94105559995, Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 29 2008 00:20:35.412 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=94105559995
.Sep 29 2008 00:20:35.412 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
.Sep 29 2008 00:20:35.412 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=4
2: Dial-peer Tag=1
3: Dial-peer Tag=2
Baltimore#
Baltimore#u all
All possible debugging has been turned off
Baltimore#sh voice port sum
IN OUT
PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC
============== == ============ ===== ==== ======== ======== ==
0/0/0:23 01 isdn-voice up dorm none none y
0/0/0:23 02 isdn-voice up dorm none none y
0/0/0:23 03 isdn-voice up dorm none none y
0/0/0:23 04 isdn-voice up dorm none none y
0/0/0:23 05 isdn-voice up dorm none none y
0/0/0:23 06 isdn-voice up dorm none none y
0/0/0:23 07 isdn-voice up dorm none none y
0/0/0:23 08 isdn-voice up dorm none none y
0/0/0:23 09 isdn-voice up dorm none none y
0/0/0:23 10 isdn-voice up dorm none none y
0/0/0:23 11 isdn-voice up dorm none none y
0/0/0:23 12 isdn-voice up dorm none none y
0/0/0:23 13 isdn-voice up dorm none none y
0/0/0:23 14 isdn-voice up dorm none none y
0/0/0:23 15 isdn-voice up dorm none none y
0/0/0:23 16 isdn-voice up dorm none none y
0/0/0:23 17 isdn-voice up dorm none none y
0/0/0:23 18 isdn-voice up dorm none none y
0/0/0:23 19 isdn-voice up dorm none none y
0/0/0:23 20 isdn-voice up dorm none none y
0/0/0:23 21 isdn-voice up dorm none none y
0/0/0:23 22 isdn-voice up dorm none none y
0/0/0:23 23 isdn-voice up up none none y
0/1/0 -- fxo-ls down down idle on-hook y
0/1/1 -- fxo-ls down down idle on-hook y
0/3/0 -- fxs-ls up up off-hook idle y
0/3/1 -- fxs-ls up dorm on-hook idle y

PWR FAILOVER PORT PSTN FAILOVER PORT
================= ==================

Lab references:

Schmidt, Cheryl A. and Friend, Ernie (2007). IP Telephony Using CallManager Express Lab Portfolio. Indianapolis: Cisco Press.

Wallace, Kevin (2007). Cisco Voice over IP (CVoice), Authorized Self-Study Guide, 2nd Edition (Chapters 3 & 4). Indianapolis: Cisco Press.

Tuesday, September 16, 2008

VOIP Lab 4 – Basic Inbound and Outbound PSTN Dialing

Thus far, the CIO of Ballplayers, Inc, Fuzzy Dunlop, is impressed with what he has seen with this “VOIP stuff.” He has given you a budget to purchase two POTS lines for each location.

Tasks 4.1 – POTS and VOIP Dial Peers Configuration
The next tasks are to provision simple inbound and outbound calling on both the Baltimore and New York routers, based on the diagram and dial plan in Lab 1. The tasks are as follows:

1. Configure each FXO port so that its ten-digit dial number rings the appropriate four-digit internal extension. For example, the POTS line with 410-555-5001 should ring Cal Ripken’s phone.

2. Create outbound dial peers so that internal users can call external PSTN numbers. Internal users must dial “9” to place and outside call.

3. On the Baltimore router, the destination pattern should be configured as simply as possible, but users should not have to wait unnecessarily long to have their outbound calls placed.

4. On the New York router, the destination pattern should be configured in such a way to allow outbound calls to be placed as quickly as possible, but without modifying any of the default characteristics of the FXO ports.

5. Verify the ability to call outbound to and inbound from the PSTN.

(Note, the Adtran is provisioned for 10-digit dialing, meaning dialing a “1” for long distance will return a fast busy. Keep this in mind when you configure the dial plan for this and later labs.)

Tasks 4.2 – POTS and VOIP Dial Peers Verification
1. Use the connection plar obx string command on the inbound FXO voice-port, where string maps to the destination-pattern string command of the analog FXS ports, to route calls from the PSTN to the appropriate analog phone.

2. Keep in mind the Cisco routers strip off the left-justified digits that explicitly match the destination pattern on outbound POTS dial peers. Therefore, to meet the requirements for outbound dialing in Baltimore, a simple “9T” destination pattern is used. However, the command destination-pattern 9T instructs the dial peer to match any dialed digits that start with a nine, regardless of how many digits follow. Since the interdigit timeout by default is 10 seconds, modifying this behavior on the FXO ports will speed up the time to place an outbound call.

3. For the New York outbound POTS dial peer, a more explicit 9[2-9]......... pattern is used. This eliminates the interdigit timeout issue described above.

4. Below are the appropriate voice-port and dial-peer configurations for this lab.

Baltimore

Baltimore#sh run begin voice-port
voice-port 0/1/0
timeouts interdigit 3
connection plar opx 5001
description 410-555-5001
caller-id enable
!
voice-port 0/1/1
timeouts interdigit 3
connection plar opx 5002
description 410-555-5002
caller-id enable
!
!
dial-peer voice 1 pots
description outbound via 410-555-5001
destination-pattern 9T
port 0/1/0
!
dial-peer voice 2 pots
description outbound via 410-555-5002
destination-pattern 9T
port 0/1/1
!


New York

NewYork#sh run begin voice-port
voice-port 0/1/0
connection plar opx 6001
description 212-555-6001
caller-id enable
!
voice-port 0/1/1
connection plar opx 6002
description 212-555-6002
caller-id enable
!
dial-peer voice 1 pots
description outbound via 212-555-6001
destination-pattern 9[2-9].........
port 0/1/0
!
dial-peer voice 2 pots
description outbound via 212-555-6002
destination-pattern 9[2-9].........
port 0/1/1
!


5. Below is the debug voice dial peer inout as a call is placed from the PSTN to 410-555-5001 in Baltimore and is answered.

Baltimore#
*Sep 16 2008 18:22:38.102 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=4105559995, Called Number=, Voice-Interface=0x488AE048,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.102 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=1
*Sep 16 2008 18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=5001, Called Number=5001, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5001
*Sep 16 2008 18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=5001
*Sep 16 2008
Baltimore#18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.110 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
*Sep 16 2008 18:22:38.114 EDT: //-1/CDABEF0880DF/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5001, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.114 EDT: //-1/CDABEF0880DF/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5001
*Sep 16 2008 18:22:38.114 EDT: //-1/CDABEF0880DF/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 18:22:38.114 EDT: //-1/CDABEF0880DF/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=5001
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=4105559995, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=4105559995
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=NO_MATCH(-1)
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5001, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5001
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 18:22:38.130 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=5001
Baltimore#
!
! I pick up!
!
Baltimore#
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=4105559995, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=4105559995
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=NO_MATCH(-1)
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5001, Peer Info Type=DIALPEER_INFO_SPEECH
Baltimore#
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5001
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 18:22:44.378 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=5001

Baltimore#sh voice call sum
PORT CODEC VAD VTSP STATE VPM STATE
============== ========= === ==================== ======================
0/1/0 None - S_CONNECT FXOLS_CONNECT
0/1/1 - - - FXOLS_ONHOOK
0/3/0 None - S_CONNECT FXSLS_CONNECT
0/3/1 - - - FXSLS_ONHOOK

Baltimore#sh voice call status
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0x46 12BC 0x488AE048 0/1/0 No DSP 5001 None 1/5001
0x47 12BC 0x488B02F8 0/3/0 No DSP *5001 None 5001/1
1 active call found


6. Below is the debug voice dial peer inout as a call is placed from 6002 to 212-555-9996 on the New York City router. In this output, you can actually see the digits being analyzed.

NewYork#debug voice dialpeer inout
voip dialpeer inout debugging is on
NewYork#
*Sep 16 2008 17:31:56.322 EST: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=6002, Called Number=, Voice-Interface=0x4883EF28,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:31:56.322 EST: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=6002
NewYork#
*Sep 16 2008 17:32:02.686 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=9, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:02.690 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=9
*Sep 16 2008 17:32:02.690 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:02.690 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:03.594 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92, Peer Info Type=DIALPEER_INFO_SPEECH
NewYork#
*Sep 16 2008 17:32:03.594 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92
*Sep 16 2008 17:32:03.598 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:03.598 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:04.086 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=921, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:04.086 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=921
*Sep 16 2008 17:32:04.086 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:

NewYork#Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:04.086 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:04.546 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=9212, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:04.546 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=9212
*Sep 16 2008 17:32:04.546 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:04.546 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
NewYork#
*Sep 16 2008 17:32:05.386 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:05.390 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125
*Sep 16 2008 17:32:05.390 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:05.390 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:05.870 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=921255, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:05.870 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=921255
*Sep 16 2008 17:32:05.870 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:05.870 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NE
NewYork#EDED(1)
*Sep 16 2008 17:32:06.318 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=9212555, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:06.318 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=9212555
*Sep 16 2008 17:32:06.318 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:06.318 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
NewYork#
*Sep 16 2008 17:32:07.506 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125559, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:07.506 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559
*Sep 16 2008 17:32:07.506 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:07.506 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:07.978 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=921255599, Peer Info Type=DIALPEER_INFO_SPEECH
NewYork#
*Sep 16 2008 17:32:07.978 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=921255599
*Sep 16 2008 17:32:07.978 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:07.978 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:09.054 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=9212555999, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:09.058 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=9212555999
*Sep 16 2008 17:32:09.058 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
*Sep 16 2008 17:32:09.058 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
*Sep 16 2008 17:32:09.510 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125559996, Peer Info
NewYork#Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:09.510 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559996
*Sep 16 2008 17:32:09.510 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:09.510 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
2: Dial-peer Tag=2
*Sep 16 2008 17:32:09.510 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=92125559996, Called Number=92125559996, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:09.510 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559996
*Sep 16 2008 17:32:09.510 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:09.514 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
*Sep 16 2008 17:32:09.514 EST: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=92125559996, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:09.514 EST: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
*Sep 16 2008 17:32:09.514 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125559996, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:09.514 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559996
*Sep 16 2008 17:32:09.514 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:09.514 EST: //-1/B8A11FCF8050/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1NewYork#
NewYork#
*Sep 16 2008 17:32:13.142 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=6002, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:13.142 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=6002
*Sep 16 2008 17:32:13.142 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:13.146 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=6002
*Sep 16 2008 17:32:13.146 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125559996, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:13.146 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559996
*Sep 16 2008 17:32:13.146 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:13.146 EST: //-1/xxxxxxxxxxxx/DPM
NewYork#/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
*Sep 16 2008 17:32:13.150 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=6002, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=6002
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=6002
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=92125559996, Peer Info Type=DIALPEER_INFO_SPEECH
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=92125559996
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*Sep 16 2008 17:32:13.154 EST: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
NewYork#
NewYork#sh voice call summ
PORT CODEC VAD VTSP STATE VPM STATE
============== ========= === ==================== ======================
0/1/0 - - - FXOLS_ONHOOK
0/1/1 None - S_CONNECT FXOLS_OFFHOOK
0/3/0 - - - FXSLS_ONHOOK
0/3/1 None - S_CONNECT FXSLS_CONNECT

NewYork#sh voice call stat
CallID CID ccVdb Port DSP/Ch Called # Codec Dial-peers
0x1E 122D 0x4883EF28 0/3/1 No DSP 2125559996 None 6002/2
0x1F 122D 0x4883CC08 0/1/1 No DSP *2125559996 None 2/6002
1 active call found