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

Thursday, September 11, 2008

VOIP Lab 3 – POTS and VOIP Dial Peers

The purpose of this lab is to provision some simple POTS and VOIP Dial Peers for the Ballplayers, Inc test bed.

Tasks 3.1 – POTS and VOIP Dial Peers Configuration
Configure the following FXS port attributes on both the Baltimore and New York routers, based on the diagram and dial plan in Lab 1.
  1. Configure loop-start signaling.
  2. Configure an appropriate description for each FXS voice port.
  3. Enable Caller ID.
  4. Configure the appropriate station id name matching the user of the FXS port.
  5. Configure the appropriate station id number matching the user of the FXS port.
  6. Tom Seaver was known for being a power pitcher. Therefore, modify the Tom Terrific’s ring cadence to reflect the speed of his fastball.
  7. In honor of his Greek heritage, Nick Markakis would like to modify his cptone for to match Greece.
  8. Configure the appropriate POTS dial peers for each phone.
  9. Configure the appropriate VOIP dial peers, using only on dial peer per router, but the destination pattern as specific as possible. The dial peer should support the North American G.711 standard.

Tasks 3.2 – POTS and VOIP Dial Peers Verification

1. Verify your FXS port configurations by issuing a show voice port port_id command. Pay particular attention to the modifications made to Nick Markakis and Tom Seaver. Below is a comparison of the Ring Cadence comparisons between Cal Ripken (0/3/0) and Nick Markakis (0/3/1); note the differences.

Baltimore#sh voice port 0/3/0 begin Ring Cadence
Ring Cadence is defined by CPTone Selection
Ring Cadence are [20 40] * 100 msec
Ringer Equivalence Number is set to 1
Baltimore#sh voice port 0/3/1 begin Ring Cadence
Ring Cadence is defined by CPTone Selection
Ring Cadence are [10 40] * 100 msec
Ringer Equivalence Number is set to 1
Baltimore#

2. Test the configuration by entering the test voice port port_id relay ring on and the test voice port port_id relay ring disable commands. This will have the routers ring the FXS ports.

3. Test the each dial peers by placing a call from each phone to each other phone. Note, if you are not physically at router, use the undocument csim start dial-string command. I’ve added a couple of cheap wireless phones in my lab, so that I can verify call routing from the comfort of my home office rather than my dingy basement.

Below you can see the output of a debug voice dialpeer all on the Baltimore router while issuing the csim start 5001 on the New York router. In this instance, the incoming call to 5001 is matched to Dial-peer 5001

Baltimore#sh logging
!
!output omitted!
!
Log Buffer (4096 bytes):
:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=5001
.Sep 11 2008 17:58:58.480 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
.Sep 11 2008 17:58:58.484 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=5001T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 11 2008 17:58:58.484 EDT: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=5001 Is Matched
.Sep 11 2008 17:58:58.484 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5540
.Sep 11 2008 17:58:58.484 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
.Sep 11 2008 17:58:58.484 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6139
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5001, Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5001
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/dpMatchCore:
Dial String=5001, Expanded String=5001, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=5001 Is Matched
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
.Sep 11 2008 17:58:58.484 EDT: //-1/AB6A87358012/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=5001


3. A number of other useful commands include sh dial-peer voice summary , sh voice call, sh voice call summary, sh voice port summary.

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
!
voice-port 0/1/1
!
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
destination-pattern 600[12]
session target ipv4:172.16.2.2
codec g711ulaw
!

New York:

NewYork#sh run begin voice-port
voice-port 0/1/0
!
voice-port 0/1/1
!
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
destination-pattern 500[12]
session target ipv4:172.16.1.2
codec g711ulaw
!

Next lab we’ll layer on some additional tasks, like outbound PSTN via FXO and perhaps some further fun with the POTS dial-peers and local CAC busyout.

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

Thursday, September 4, 2008

VOIP Lab 2 – VOIP Network Setup

The purpose of this lab is to setup the IP network connectivity configuration between Ballplayers, Inc’s locations in Baltimore and New York to support the eventual VOIP, as depicted in Lab 1.

Tasks 2.1 – Initial IP Network Setup

  1. Configure the IP addressing based on the diagram in VoIP Lab 1.
  2. R7 will serve as the “hub” location; its WAN interfaces shall have a “.1” host addresses and the corresponding WAN interfaces on the Baltimore and New York WAN interfaces shall have a “.2” host address.
  3. Provide a loopback interface on each router using a /32 mask.
  4. Configure PPP Encapsulation on the WAN links.
  5. Configure the clocking on the R7 with clock rate 128000.
  6. Configure OSPF Area 0 for the WAN.
  7. Place the R7 loopback in Area 0; the Baltimore loopback in OSPF Area 1; the New York loopback in Area 2.
  8. Verify IP connectivity via show ip route and by pinging each interface from each router.

Tasks 2.2 – Verifying the Network Setup

Verifying IP connectivity from Baltimore:

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 not set

1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/1563] via 172.16.1.1, 00:04:45, Serial0/2/0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.1.1/32 is directly connected, Serial0/2/0
C 172.16.1.0/24 is directly connected, Serial0/2/0
O 172.16.2.0/24 [110/1562] via 172.16.1.1, 00:05:25, Serial0/2/0
7.0.0.0/32 is subnetted, 1 subnets
O 7.7.7.7 [110/782] via 172.16.1.1, 00:14:19, Serial0/2/0
Baltimore#
Baltimore#ping 2.2.2.2

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

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

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

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 7.7.7.7, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms
Baltimore#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 = 12/15/16 ms
Baltimore#

Verifying IP connectivity from New York:

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 not set

1.0.0.0/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/1563] via 172.16.2.1, 00:06:44, Serial0/2/0
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
O 172.16.1.0/24 [110/1562] via 172.16.2.1, 00:06:44, Serial0/2/0
C 172.16.2.0/24 is directly connected, Serial0/2/0
C 172.16.2.1/32 is directly connected, Serial0/2/0
7.0.0.0/32 is subnetted, 1 subnets
O 7.7.7.7 [110/782] via 172.16.2.1, 00:06:45, Serial0/2/0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
NewYork#
NewYork#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
NewYork#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 = 28/29/32 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 = 12/15/16 ms
NewYork#ping 7.7.7.7

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

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

Verifying IP connectivity from R7:

R7#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/32 is subnetted, 1 subnets
O IA 1.1.1.1 [110/782] via 172.16.1.2, 00:17:08, Serial0/0/0
2.0.0.0/32 is subnetted, 1 subnets
O IA 2.2.2.2 [110/782] via 172.16.2.2, 00:05:40, Serial0/0/1
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C 172.16.2.2/32 is directly connected, Serial0/0/1
C 172.16.1.0/24 is directly connected, Serial0/0/0
C 172.16.2.0/24 is directly connected, Serial0/0/1
C 172.16.1.2/32 is directly connected, Serial0/0/0
7.0.0.0/32 is subnetted, 1 subnets
C 7.7.7.7 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 10.1.1.1
R7#
R7#ping 1.1.1.1

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

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/13/16 ms
R7#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 = 12/14/16 ms
R7#ping 172.16.2.2

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

Router Configs

Below are snippets from the router configurations. For brevity, I have omitted parts.

R7:
R7#sh run
Building configuration...
!
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
!
!output omitted
!
router ospf 1
router-id 7.7.7.7
log-adjacency-changes
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
!

Baltimore:
Baltimore#sh run
Building configuration...
!
!
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/2/0
description Link to New York via Hub (R7)
bandwidth 128
ip address 172.16.1.2 255.255.255.0
encapsulation ppp
!
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
!

New York City:
NewYork#sh run
Building configuration...
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf network point-to-point
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/2/0
description Link to Baltimore via Hub (R7)
ip address 172.16.2.2 255.255.255.0
encapsulation ppp
!
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


That was fairly easy and straight-forward – CCNP 201 BSCI I guess? Next task I’ll configure the FXS interfaces for the analog phones and some basic VoIP between Baltimore and New York.