IPexpert, Inc
  • CartCart
  • Client Login
  • About IPexpert
  • Contact Us
 
Call 1-866-225-8064 | Chat with a Training Advisor 
 
  • CCIE R&S
    • Lab Workbooks
    • Video on Demand
    • Audio on Demand
    • Online vRack Rental
    • Blended Learning Self-Study Bundle
    • Courses / Boot Camps
    • Complete End-to-End Solution
    • Free Online CCIE R&S Training
  • CCIE Voice
    • Lab Workbooks
    • Video on Demand
    • Audio on Demand
    • Online vRack Rental
    • Blended Learning Self-Study Bundle
    • Courses / Boot Camps
    • Complete End-to-End Solution
    • Free Online CCIE Voice Training
  • CCIE Wireless
    • Lab Workbooks
    • Video on Demand
    • Audio on Demand
    • Online vRack Rental
    • Blended Learning Self-Study Bundle
    • Courses / Boot Camps
    • Complete End-to-End Solutions
    • Free Online CCIE Wireless Training
  • CCIE Security
    • Lab Workbooks
    • Video on Demand
    • Audio on Demand
    • Online vRack Rental
    • Blended Learning Self-Study Bundle
    • Courses / Boot Camps
    • Complete End-to-End Solution
    • Free Online CCIE Security Training
 
  • IPexpert Around the Web

    • Follow us on Twitter
    • Join us on Facebook
    • Connect at LinkedIn
    • Stay up to date with RSS

  • New Year’s Resolution Solution!

    New Year's Resolution Solution!

    2012 is going to be the year you conquer that CCIE lab - here is how you can do it and SAVE hundreds $$$. Check out some of our incredible New Year's Resolution Promotions, including our $1499 Bootcamp Special.


  • Join Our Free Online Study List


  • View CCIE Job Opportunities


  • Search


  • Categories

    • Ask the Expert
      • Strategy
      • Techtorials
    • CCDE
      • Practical Exam
      • Written
    • CCIE
      • Routing & Switching
      • Security
      • Service Provider
      • Storage
      • Voice
      • Wireless
    • CCNA
      • R&S
      • Security
      • Voice
      • Wireless
    • CCNP
      • Routing & Switching
      • Security
      • Voice
      • Wireless
    • Contributors
    • Executive Suite
      • Competition
      • Outlook
    • General Announcements
    • News
    • Platinum Placement Services
      • CCIE Jobs
      • Cisco Engineers
    • Press Release
    • Proctor Labs
      • Support
    • Products
      • Updates
        • Routing & Switching
        • Security
        • Service Provider
        • Voice
        • Wireless
    • Training Advisor
      • Info Center
      • Special Promotions
    • Uncategorized

  • Tags

    CCIE ccie exam CCIE Job CCIE Jobs ccie lab CCIE lab training ccie preparation CCIE R&S CCIE R&S Training ccie r&s written CCIE Routing & Switching CCIE Security CCIE Security 3.0 ccie security training CCIE Service Provider CCIE Success CCIE Success Stories CCIE Training ccie voice ccie voice jobs ccie voice lab CCIE Voice Training CCIE Wireless CCIE Wireless Training ccna ccnp Cisco exam free ccie security training free ccie training free ccie voice training ipexpert IPv6 lab MPLS multicast OSPF practice r&s Security Strategy training Troubleshooting Voice Written

Applied Troubleshooting in UCM

VN:F [1.9.6_1107]
Rating: 0.0/5 (0 votes cast)
By Mark Snow on March 30th, 2009
Tweet

As covered in a previous blog post, you are going to need to become familiar with troubleshooting in general, and specifically what we wish to cover today a little more in depth is using UCM traces to troubleshoot a problem.

Say you have an issue going on – such as maybe you login to a Proctorlabs.com Voice vRack session that you had booked, you hit the “Load Lab Configs” button on the WebUI and proceed to load up the latest lab you wish to work on, say IPexpert Volume 1 Workbook >>> Lab 5A >>> INITIAL, and after the routers/switch and finally UCM Pub and Sub all restore their configuration and reboot, and you go to login to the UCM WebUI and do a “Find” for all Phone Devices, and you find that some of the hardware IP Phones that are physically located at Proctor Labs data center attached to your physical switches are showing up as “Rejected” in trying to register – how do you fix that issue?

Well at first it might seem easy enough to simply dive down into the phone device and change the MAC address and do a reset on the phone, and maybe that fixes it 90% of the time and you can go on with your lab. But what about the 10% of the time that it doesn’t fix it? How do we know what is causing the device to be rejected in its attempt to register, as well, how do we fix it?

If we want to know what UCM is “thinking” at any given time, we of course turn to the beloved traces. So of course to enable the traces we need to navigate away from the CCMAdmin UI over to the Unified Serviceability UI, and go to Trace >>> Configuration >>> choose a Server (makes no difference which if we later check “Apply to All Nodes”) >>> choose CM Services >>> choose Cisco CallManager >>> click Apply to All Nodes >>> choose the Debug Trace Level of Detailed >>> and finally uncheck all but what you are interested in troubleshooting on this go-round with the traces – in this particular case – All IP Phone Devices.

Remember to SSH into the CUCM server that is being used as the primary CPE for the device we are looking for insight into since, of course, this will be the server where data where primarily be logged to in regards to traces. So in our case the CUCM-Sub is the server where our phones are trying to register and being rejected – so we will SSH into that server.

Marks-MacBook-Pro-17:~ mxs$ ssh -l admin 10.10.210.11
admin@10.10.210.11's password:
Last login: Fri Mar 13 13:17:40 2009 from 10.10.0.7
admin:

We of course recall how to see which files are the newest and therefore being actively written to.

admin:file list activelog /cm/trace/ccm/sdi/
ccm00000001.txt ccm00000002.txt
ccm00000003.txt ccm00000004.txt
ccm~num.bin
dir count = 0, file count = 4
admin:

Now we could very well use the ‘file view’ command as we discussed in a previous post and simply assume the phone has been trying to register to the UCM for a certain period of time, then moving to the ‘e’nd of the file and then simply looking at one or two ‘p’revious screens should be enough to find the misbehaving phone (or mis-configured UCM as the case typically is). Here we will opt to use the ‘file tail’ command to view the real-time feed of logging data into file 4, and then to trigger the registration to occur immediately, we will log into the BR1-RTR device and shut down the ESW switchport that BR1-Ph1 is attached to, and then bring it right back up again. Below we have excerpted the poignant information so as not to completely overwhelm you (or the blog post) with information. Apologize in advance for the overflow of characters to the right of the screen –obviously traces aren’t the most blog-friendly.

admin:file tail activelog /cm/trace/ccm/sdi/ccm00000004.txt
12/30/2008 00:12:55.856 CCM|//SIP/SIPUdp/wait_UdpDataInd: Incoming SIP UDP message size 597 from 10.10.201.254:[50381]:
REGISTER sip:10.10.210.11 SIP/2.0
Via: SIP/2.0/UDP 10.10.201.254:5060;branch=z9hG4bK25dccd08
From: <sip:AUTO-REG@10.10.210.11>;tag=001bd4c6c26e0005488e0805-2c0b2acb
To: <sip:AUTO-REG@10.10.210.11>
Call-ID: 001bd4c6-c26e000c-3cddcc58-21324f66@10.10.201.254
Max-Forwards: 70
CSeq: 105 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: <sip:AUTO-REG@10.10.201.254:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-001bd4c6c26e>";+u.sip!model.ccm.cisco.com="7"
Supported: replaces,join,norefersub,X-cisco-callinfo,X-cisco-service-control
Content-Length: 0
Expires: 3600
|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190787><IP::10.10.201.254><DEV::><LVL::State Transition><MASK::20000>
12/30/2008 00:12:55.856 CCM|EnvProcessUdpPort - EnvProcessUdpHandler::fireSignal() varId = 1|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::><LVL::Arbitrary><MASK::0800>
12/30/2008 00:12:55.856 CCM|EnvProcessUdpPort - EnvProcessUdpHandler::send(buff, 324, 10.10.201.254:5060)|<CLID::StandAloneCluster><NID::10.10.210.11><LVL::Arbitrary><MASK::0800>
12/30/2008 00:12:55.856 CCM|//SIP/SIPHandler/ccbId=109391/scbId=0/findDevicePID: Routed to SIPStationInit|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::><LVL::Detailed><MASK::20000>
12/30/2008 00:12:55.857 CCM|SIPStationInit: Cisco Phone [Model=7] from Contact|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationInit: connID=0, SEP001BD4C6C26E, 10.10.201.254:5060, Removed token queue entry. Token queue size is 0|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::><LVL::Significant><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationInit: connID=0, SEP001BD4C6C26E, 10.10.201.254:5060, TOKEN REGISTRATION ACCEPTED, regCount=0|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationInit: connID=0, SEP001BD4C6C26E, 10.10.201.254:5060, Token Registration Accepted|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationInit: connID=0, SEP001BD4C6C26E, 10.10.201.254:5060, DevStat-InitState: TOKEN_GRANTED --> REGISTERED|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationInit: RegQueueSize=0 MaxEntriesToProcess=40 tokeMax=10 tokeOut=0 Queue Stats|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , UNKNOWN:0, primaryDN=UNKNOWN, Primary expires 120, secondary expires 3600|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,45,58933.1><IP::><DEV::><LVL::Significant><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , 10.10.201.254:5060, primaryDN=AUTO-REG, userStart chars @ 0 .|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Arbitrary><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , 10.10.201.254:5060, primaryDN=AUTO-REG, setUaTypeAndCepn: uaType is CISCO_PHONE (model is 05/12/40/60)|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Arbitrary><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , 10.10.201.254:5060, primaryDN=AUTO-REG, wait_register_SIPRegisterInd: model=7, mUaType=2|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Significant><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , 10.10.201.254:5060, primaryDN=AUTO-REG, Register instanceId (MAC addr) =001BD4C6C26E|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Significant><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), , 10.10.201.254:5060, primaryDN=AUTO-REG, Register deviceName (database key) =SEP001BD4C6C26E|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Significant><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), SEP001BD4C6C26E, 10.10.201.254:5060, primaryDN=AUTO-REG, DevStat-Start : transport UDP, model 7|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Special><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), SEP001BD4C6C26E, 10.10.201.254:5060, primaryDN=AUTO-REG, parseSupportedHeader: X-cisco-callinfo=T X-cisco-serviceuri=F X-cisco-escapecodes=F X-cisco-service-control=T X-cisco-srtp-fallback=F X-cisco-monrec=F X-cisco-xsi=F xsi-version=0.0.0 X-cisco-sis=F sis-version=0.0.0 extended-refer=F norefersub=T join=T co|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), SEP001BD4C6C26E, 10.10.201.254:5060, primaryDN=AUTO-REG, setOptionsIndicationDefaultOptions: INFO - user agent 2|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Detailed><MASK::0020>
12/30/2008 00:12:55.857 CCM|SIPStationD(2,100,45,58933), SEP001BD4C6C26E, 10.10.201.254:5060, primaryDN=AUTO-REG, setOptionsIndicationDefaultOptions: ERROR - Unexpected user agent 2|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Error><MASK::0020>
12/30/2008 00:12:55.858 CCM|CcmdbStationRegistrationProfileBuilder::getBasicRegistrationProfile::init() - failed rc(2)|<CLID::StandAloneCluster><NID::10.10.210.11><LVL::Error><MASK::ffffff>
12/30/2008 00:12:55.858 CCM|Auto Registration Stored proc - execute procedure DeviceAutoReg_cmsp('SEP001BD4C6C26E',7,11,'90ec5d97-e4ee-4538-84dd-5d8f423cf1b2')|<CLID::StandAloneCluster><NID::10.10.210.11><LVL::Detailed><MASK::ffffff>
12/30/2008 00:12:55.859 CCM|EnvProcessUdpPort - EnvProcessUdpHandler::fireSignal() varId = 1|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190787><IP::10.10.201.254><DEV::><LVL::Arbitrary><MASK::0800>
12/30/2008 00:12:55.859 CCM|EnvProcessUdpPort - EnvProcessUdpHandler::send(buff, 339, 10.10.201.254:5060)|<CLID::StandAloneCluster><NID::10.10.210.11><LVL::Arbitrary><MASK::0800>
12/30/2008 00:12:55.864 CCM|AddDevice returns Error: Autoregistration disabled|<CLID::StandAloneCluster><NID::10.10.210.11><LVL::Detailed><MASK::ffffff>
12/30/2008 00:12:55.868 CCM|ProcessDb - ERROR initializing_DbStationAutoRegisterReq - addDevice failed|<CLID::StandAloneCluster><NID::10.10.210.11><CT::2,100,186,1.190786><IP::10.10.201.254><DEV::SEP001BD4C6C26E><LVL::Error><MASK::0800>
12/30/2008 00:12:55.868 CCM|TspError - Error in TSP. Port IsoEthPort:0 Port DSL:0 Name of Device:SEP001BD4C6C26E App ID:Cisco CallManager Cluster ID:StandAloneCluster Node ID:UCMSub|<CLID::StandAloneCluster><NID::10.10.210.11><CT::AlarmSEP001BD4C6C26E><DEV::SEP001BD4C6C26E><LVL::All><MASK::ffff>

Here we see that the SIP phone at BR1 is sending us a REGISTER message. One thing to note about SIP if you don’t know this already is that per the SIP RFC, SIP phone devices must send the SIP Registrar Server they wish to register with, both their Line ID (DN) and a hashed password for that line. That is to say that they must authenticate every line on their device in order to use said line. This actually adds great flexibility comparing them to a SCCP phone device, since unlike a SCCP phone, a SIP phone can actually register different lines on the same physical device to different servers or clusters of servers. Anyhow continuing to look down through the trace we find that the SIP Phone is trying to register its primary line with the DN=AUTO-REG. It is in a sense saying that it doesn’t have a DN assigned to its first line, and is therefore trying to auto-register with the UCM. UCM in return (after letting the SIP phone give it a LOT of information about itself) is saying that “Autoregistration is disabled” and therefore the UCM action of “addDevice” to the UCM DB ultimately fails.

Now we could turn on auto-registration on the UCM servers and look at the traces again. I will save you from the output of such a task, and instead walk you through what happens. If we did do that, we would first need to remember to not only turn on auto-registration, but also remember to check the Enterprise Parameters to ensure that SIP auto-registration (which allows SCCP auto-reg as well) was the preferred type. Even if we did all of that, what we would see in the traces was that while auto-reg was supported and working, there would be a DB Error in trying to add the device to the Informix DB. The reason for this is simple – there is already a device in the DB with that MAC address. Then “why wouldn’t it register with the device already in the DB?” you might ask yourself. “Was there a phone type mismatch?” No – the phone type is correct, as well as the protocol, SIP, is correct. So why then? This gets into a nuance that differs greatly between SIP and SCCP phones – and it is right back to what we mentioned in the last paragraph. A SIP phone tries (and must authenticate) its primary DN against one that already exists in the UCM DB associated to the same device type and MAC address. In this case the SIP phone is telling the UCM its primary DN is AUTO-REG. The UCM however has that phone type and MAC in the DB with the primary line as 1001, and not a blank DN (auto-reg is looking for no configured DN) and therefore won’t allow the phone to register. We can do one of two things to easily fix this. One option is to delete the SIP device with that particular MAC address and allow it to re-register, and then put all of the settings back in that were already set on that previous device, however that assumes that we know (or remember) what all the settings were. The other (and better) option would be to simply dive into the configuration for the existing SIP device, change the MAC address to something else (all F’s would do just fine), allow the SIP phone to create a new device in the UCM Informix DB, and then with two web browser pages open (one on the old device with all Fs and the other on the new device newly created), copy the MAC address from the new device to the old device web page, (also updating the line on the old to whatever the value on the new is) and then quickly delete the new phone and update the old phone. Of course if you weren’t fast enough you could always perform the above with the “Cisco CallManager” service stopped on all servers in the cluster.

By the way, one more note when allowing SIP phones to auto-register. They will show up in the CCMAdmin WebUI quickly, but will show up initially as “Rejected” even though they are brand new auto-registering. Give them some time – they will work things out with the UCM. Then perform the above steps to get them into the proper state that you want them in.

Obviously from the above, knowing what to look for in the massive amount of trace information returned obviously has it rewards, and therefore going to the traces more often during your self-study when issues arise will pay dividends in the real lab for the need to quickly find something should just one issue arise.

Cheers,

Mark

Print FriendlyPrint Friendly

Tags: ccie voice 3.0, Cisco, Troubleshooting
10 Comments

Congratulations to our most recent CCIE success stories!

VN:F [1.9.6_1107]
Rating: 0.0/5 (0 votes cast)
By Mike Down on March 27th, 2009
Tweet

Some “training vendors” like to brag that they have the largest list of CCIE’s in the world.  IPexpert proves it!  Check out this week’s CCIE success stories!!!

Congratulations to:

______________________________

Albert Leung

CCIE3 # 12174 (Voice)

______________________________

Josh Reinmann

CCIE # 23886 (Voice)

______________________________

Richard Willetts

CCIE # 23779 (R&S)

______________________________

Andrew Lee

CCIE # 23895 (R&S)

______________________________

Rick Mur – R&S CCIE # 21946

CCIE # 21946 (R&S)

Rick said:

I loved working with IPexpert products for my R&S studies. The labs are challenging and their customer service is the best in the industry!

I’m currently using their products for my SP studies and will be using IPexpert whenever I can in the future.

I started with networking in October 2006 when I bought a CCNA book just out of global interest, before that I was an MCSE and worked with servers and did some programming.

After I got my CCNA I got a full-time job in networking and went on with CCNP and when I finished that I immediately started my CCIE study and within 10 months I got my number in first attempt at the age of 21! And I definitely know that I found my passion!

Rick Mur

CCIE #21946 (R&S)

CCNP, CCIP, JNCIA-ER, MCSE

______________________________

Ikenna Chijuka

CCIE # 23902 (R&S)

Ikenna said:

I have been preparing for the CCIE R&S for about a year and 3 months. The problem with preparing is that a lot of products exist out there and you don’t know which to make use of.

I got to know about IPexpert by chance while browsing the Internet. I viewed the website and got a good deal (Less than $600 for workbooks, DVD and CD). I thought it was a kill (So yes I was going on the cheap). The problem was it was not as current as the exam is. But that’s not the point.

The point is that IPexpert don’t just tell you about the lab, they prepare you for the ‘after life’ when you’ve passed your lab. Going through the workbook, the DVD (Class-On-Demand) and CD (voice-only COD), I got a very good feel for how Cisco expect you to tackle the questions. I also understood how I should tackle real life network problems. The workbooks covered more than I knew and opened my mind to new things. I actually took some time to delve into areas not covered by the lab blueprint because ‘I could’. It was so much fun that I couldn’t wait to take the practice labs. In the fewest words possible, it was an exciting experience working with the product.

On lab day (23rd March 2009), with all the ‘you can’t pass first time’ stories, I was as tense as hell. I found the lab surprisingly easy and for the first few hours, I thought someone at Cisco was taking the piss. I checked and rechecked my work half way through and actually thought I was making several serious mistakes because it was just too easy.

When I was done, I had mixed feelings because I thought to myself, ‘Cisco can’t make things so easy. I must have made mistakes and not fulfilled the requirements’. However, when I found out that I had passed the exam, it became clear that I found it easy because I was more than prepared, thanks to IPexpert. I found it easy because I followed the products’ advice. I found it easy because the IPexpert lecturers are damn GOOD!!!! And I am not exaggerating. To make it clear, I never attended a boot camp. However, the workbook and COD made it clearer that purified spring water.

Now, it’s on to CCIE Voice and I don’t have to say where I’m buying my product from. IPEXPERT.

Good work guys and keep up the fantastic work. Hope to buy something soon.

Ikenna Chijuka
CCIE #23902 (R&S)

______________________________

Brandon Carroll

CCIE # 23837 (Security)

www.globalconfig.net

Read Brandon’s success story and watch his video HERE!

______________________________

Have you used IPexpert or Proctor Labs to help you pass the CCIE lab exam?  If so, we want to hear your story!

success@ipexpert.com

Print FriendlyPrint Friendly

Tags: CCIE, CCIE Success, CCIE Training, ipexpert, r&s, Security, Success Stories, Voice
No Comments

One, Two, Three, Four, I Declare a Flood War

VN:F [1.9.6_1107]
Rating: 3.0/5 (3 votes cast)
By Jared Scrivener on March 25th, 2009
Tweet

Most of us are familiar with the concept of an OSPF Router ID – namely that it is used to uniquely identify a router within an OSPF topology. Each LSA a router originates will have the Router ID in the “advertising router” field. In fact, every OSPF packet will hold the Router ID of the sending router in its header. This has great benefits – if two peering routers have the same Router ID they won’t peer – a quick and obvious sign that we probably made a typo when configuring either our interface addresses or our Router IDs. Which brings me to the implications for a CCIE lab…

OSPF Router IDs are automatically assigned to a router as being either the highest IP address of a loopback address, or if in the unlikely case you have no loopback address, the highest IP address of any active interface at the time that OSPF starts up. If your router ID conflicts with another router in the same area (or in the case of an ASBR in a different area) you’ll probably receive a similar error to this:

%OSPF-4-DUP_RTRID1: Detected router with duplicate router ID 10.0.0.2 in area 0

That’s an error message that’s pretty easy to interpret. However, due to the nature of your lab, you can’t configure everything simultaneously – your Layer 2 protocols need to work before you start on your IGPs, your IGPs should work before you do BGP, your multicast depends on your IGPs – get the idea?

So what would happen if you setup OSPF and then later on a BGP or multicast question required you to add loopbacks? Simple, the Router ID would change after your router is reloaded (which the proctors will do before they grade your lab, although hopefully you did this yourself at the end of the day when you were verifying your configuration). In most cases, your Router ID changing shouldn’t be a big deal (unless you have questions that require certain devices to have certain router IDs) from the perspective of your network. I mean, how often would a later question intentionally require you to configure duplicate IP addresses? Well, how often is Anycast RP tested…

With Anycast RP, two routers create the same loopback address and advertise it into the routing protocol before setting up MSDP peering, so that clients can easily find their closest RP. This alone may not cause a problem, unless that new loopback address is HIGHER than any currently configured on your routers. The problem itself wouldn’t even appear until OSPF was restarted (by the proctors, for example, when reloading your devices). Assuming you chose to reload your own devices (a wise move), you may not see the nice message from earlier – you might see something like this:

%OSPF-4-FLOOD_WAR: Process 1 flushes LSA ID 10.1.2.2 type-5 adv-rtr 10.0.0.2 in area 50

Yep, that’s the flood war the heading referred to. It means that a router in a different area has the same router ID as the one you see this message on and is advertising a network that the local router isn’t advertising(and hence withdraws). Put simply, it is caused by duplicate Router IDs.

The easy solution to this is to manually configure the Router ID on every OSPF router when you first setup OSPF – do this EVERY time (unless your lab directs you not to) and you’ll never suffer from duplicate addresses.

Print FriendlyPrint Friendly

Tags: CCIE, OSPF, r&s, Router ID
No Comments

Blocking calls based on ANI

VN:F [1.9.6_1107]
Rating: 0.0/5 (0 votes cast)
By Vik Malhi on March 21st, 2009
Tweet

One useful feature on a gateway which uses H323 or SIP (dial-peers) as opposed to MGCP is the ability to block calls based on ANI. This might be useful in order to discard calls from certain callers such as cold callers and specific area codes. Let’s take a look at the configuration required to achieve this requirement.

First of all we are going to use a voice translation-rule to detail which types of calls will be rejected. In the example below we are matching on calls from “800” numbers, calls which block their caller id and also calls which have the numbering type set to “international”.

BR1-RTR(config)#voice translation-rule 1
BR1-RTR(cfg-translation-rule)#rule 1 reject /^800/
BR1-RTR(cfg-translation-rule)#rule 2 reject /^$/
BR1-RTR(cfg-translation-rule)#rule 3 reject // type international

Note that the caret (^) and dollar ($) refer to the start of string and end of string respectively. To clarify, “/^$/” in effect means that there is no character between the start and end of digit string. Compare this with “//” which matches any string including a null string.

The next step is to specify which type of number the gateway will analyze in order to match one of the translation rules defined above.

BR1-RTR(config)#voice translation-profile BLOCK-CALLING
BR1-RTR(cfg-translation-profile)#translate calling 1

Here voice translation-rule 1 (which contains 3 sub-rules) is used to match on the calling number. The other options are called and redirecting-number.

The final step is to apply the voice translation-profile to either the voice-port or incoming POTS dial-peer and whilst doing so specify the direction the translation-profile will take effect. Note this is the hurdle where most candidates will fall. If you are familiar with voice translation-profile’s you will understand that to invoke a voice translation-profile you use the following syntax:

BR1-RTR(cfg-translation-profile)#voice-port 0/0/0:23
BR1-RTR(config-voiceport)#translation-profile incoming BLOCK-CALLING

This is the correct command to use to invoke the translation-profile in any instance other rejecting a call. So if you wanted to manipulate some digits and allow the call to proceed onto dial-peer matching then this would work. In this example we are blocking the call and do not want to continue with processing the call. There is another method to apply the voice translation-profile in order to reject the call and this is shown below.

BR1-RTR(config-voiceport)#dial-peer voice 1 pots
BR1-RTR(config-dial-peer)#incoming called-number .
BR1-RTR(config-dial-peer)#direct-inward-dial
BR1-RTR(config-dial-peer)#call-block translation-profile incoming BLOCK-CALLING

The command is fairly intuitive obvious in what it achieves. There are two points worth mentioning. The first is that this profile can only ever be invoked on an inbound dial-peer whether it be POTS or VOIP. So this block profile would be active for all calls coming in from POTS interfaces since “incoming called-number .” will match for the Called Number for any call arriving to the gateway and this is applied to a POTS dial-peer. The second point is that the call-block profile cannot be applied to the voice-port in the same way the voice translation-profile is used earlier in this post.

It must be stressed that any incoming call that does not match on any one of the three rules (ANI beginning with “800”, null ANI and International caller) will proceed as normal.

If there is an additional requirement to only block calls that apply the voice translation-rule for a specific number (let’s say extension 1000) then this can be done by using the following configuration.

BR1-RTR(config-voiceport)#dial-peer voice 1 pots
BR1-RTR(config-dial-peer)#incoming called-number 1000
BR1-RTR(config-dial-peer)#direct-inward-dial
BR1-RTR(config-dial-peer)#call-block translation-profile incoming BLOCK-CALLING

BR1-RTR(config-voiceport)#dial-peer voice 2 pots
BR1-RTR(config-dial-peer)#incoming called-number .
BR1-RTR(config-dial-peer)#direct-inward-dial

Print FriendlyPrint Friendly

Tags: block ani, call-block translation-profile, h323, translation-profile, voice translation-rule
No Comments

Additional Classes and Online Boot Camps Announced

VN:F [1.9.6_1107]
Rating: 0.0/5 (0 votes cast)
By Wayne Lawson II on March 19th, 2009
Tweet

Followers,

Within the next week we’ll be launching an updated website with some additional announcements and courses.  We’ve added quite a few additional dates to our highly-acclaimed CCIE lab boot camp schedule (R&S, Security, Voice and SP) and some additional online CCIE R&S, Security  (3.0) and Voice (3.0) classes as well.  In the meantime, pleaase be  sure to ask a Training Advisor about our additional dates if you don’t see one that fits your schedule.

Also – I’d like to personally congratulate Brandon Carroll for his CCIE Security lab achievement.  Brandon is a well-known blogger and a Sr. Instructor at Ascolta.  Be sure to check out his blog if you’re interested in hearing about his journey or passing on a “congrats” message!

Happy Studying! – Wayne

Print FriendlyPrint Friendly

Tags: ccie lab, CCIE lab training, CCIE Security, ccie voice, ipexpert, Online CCIE Classes
No Comments

« Older Entries
 
Avatars by Sterling Adventures
  • Terms & Conditions
  • Sitemap
  • Communities
  • Client Testimonials
  • Blog
© 2000-2010 IPexpert Inc. All rights reserved