CCIE Pursuit Blog

July 8, 2008

BGP Path Manipulation + Goofy Mnemonic

Filed under: BGP,Cisco,Cisco Certification,Personal — cciepursuit @ 12:12 pm
Tags: , , , , ,

When altering BGP path selection, it is a good idea to have the following table committed to memory:

Method Direction Applied Direction Affected Best Metric
Weight Inbound Outbound Highest
Local Preference Inbound Outbound Highest
AS Path Outbound Inbound Shortest
MED (metric) Outbound Inbound Lowest

This table shows the four most common BGP path manipulation attributes in order of preference (here’s a mnemonic to memorize all of the BGP attributes).  Whenever I am tasked with BGP path manipulation in the lab I quickly recreate the above table with the following mnemonic:

“When applying in London in April, make love.”

W = Weight
A = applied (April reminds me of showers which reminds me of London, so this helps recreate the mnemonic as well)
I = inbound
L = Local Preference
I = inbound
A = AS Path
M = MED (London makes me think of sex for reasons I’ll keep to myself 🙂 )
L = lowest

You’re probably thinking “Nice. But that doesn’t look like the entire table to me is represented in that stupid phrase.” And you’re right.  🙂

I write out the table first with the headers only:

Method Direction Applied Direction Affected Best Metric
       
       
       
       

Then I write ‘Weight’.  The “applying” bit just reminds me that the second header should be “Direction Applied” and not “Direction Affected“.  If you mix up those two headers, then you are in for a very bad experience.  🙂

Method Direction Applied Direction Affected Best Metric
Weight      
       
       
       

“In” means inbound (under Direction Applied).  With just this bit of information I can fill in the rest of the “Direction” fields because I know that the first two attributes are applied inbound.  That means the that the last two attributes are applied outbound.  Since the “Direction Affected” is the opposite of the “Direction Applied”, it’s a snap to fill in that information as well.

Method Direction Applied Direction Affected Best Metric
Weight Inbound Outbound  
  Inbound Outbound  
  Outbound Inbound  
  Outbound Inbound  

So we’re left with ‘London in April, make love’.  ‘London’ = local preference.  ‘in’ is another reminder that Local_Pref is applied inbound (and it makes the goofy sentence flow better).  ‘April’ = AS Path and ‘make’ = MED.

Method Direction Applied Direction Affected Best Metric
Weight Inbound Outbound  
Local Preference Inbound Outbound  
AS Path Outbound Inbound  
MED Outbound Inbound  

Now all we need is to fill in the ‘Best Metric’ column.  I assume that the highest metric is always the best metric except in the case of the last two attributes.  In this case, ‘love’ = lowest (for MED).  I know that the shortest AS Path is the best (no need to memorize that as it’s pretty logical). 

So now I have the whole table:

Method Direction Applied Direction Affected Best Metric
Weight Inbound Outbound Highest
Local Preference Inbound Outbound Highest
AS Path Outbound Inbound Shortest
MED Outbound Inbound Lowest

So thanks for crawling into my mind.  Pretty empty huh? The exit is through my ears.  🙂

You can create your own mnemonic (I’m sure that mine is not the best) and add more or less detail as needed.  After you are able to recreate this table a couple of times, you’ll find that you won’t need to use the mnemonic, but it’s nice to have it in case you need it.

February 27, 2008

Test/Quiz Creation Software: Looking For Suggestions

I’m making yet another pass through the IEATC and Routing TCP/IP books.  I’m trying to consolidate my notes into a streamlined set of documents for study.  One thing I am interested in doing is creating a set of questions so that I can take some time every day to quiz myself on stuff that I need to know by heart for the lab exam.

If anyone has any suggestions as to a program in which I can create test banks with multiple choice questions please leave a comment with the software name (and URL if possible, but I can always google that).  I’m looking for something simple.  I don’t need to share the tests out via the web or allow access to multiple users.  I am using Windows as my OS.  Ideally it would allow me to create questions and classify them by technology.  It would be great if it could score tests, but that’s not a deal breaker.  I would also like to be able to associate images (jpegs of network diagrams) with questions. I’m also looking for something under US $50 with freeware being my optimal price-point.  🙂  I’m not interested in any warez or cracks.

Thank you.

Create a free website or blog at WordPress.com.