The BPDUs communicate and compute the spanning-tree topology. Each configuration BPDU contains this information:
- The unique bridge ID of the switch that the sending switch identifies as the root switch
- The spanning-tree path cost to the root
- The bridge ID of the sending switch
- Message age
- The identifier of the sending interface
- Values for the hello, forward delay, and max-age protocol timers
Monthly Archives: January 2011
Port Fast on Trunk port? Yes!
Port Fast immediately brings an interface configured as an access or trunk port to the forwarding state from a blocking state, bypassing the listening and learning states. You can use Port Fast on interfaces connected to a single workstation or server, as shown in Figure 18-1, to allow those devices to immediately connect to the network, rather than waiting for the spanning tree to converge.
Interfaces connected to a single workstation or server should not receive bridge protocol data units (BPDUs). An interface with Port Fast enabled goes through the normal cycle of spanning-tree status changes when the switch is restarted. – Understanding Portfast
ABR Translates LSA Type 7 to LSA Type 5
An NSSA autonomous system boundary router (ASBR) generates the Type 7 LSA so that the routes can be redistributed, and an NSSA area border router (ABR) translates the Type 7 LSA into a Type 5 LSA, which can be flooded throughout the whole OSPF routing domain. – Configuring OSPF NSSA
Narbik + Scott 12-day CCIE RS Bootcamp in Sydney
Considering that the Lab exam date is approaching and I’m having difficulty to cram all of those information in one brain (and keeping it there), I’m planning to join a bootcamp. The good news is, Narbik Kocharians and Scott Morris are coming to Sydney on April 11 – 22, 2011 to teach CCIE RS 12-day bootcamp. At least, based on this announcement by Eman.
This is still a plan considering few things that I need to clarify with CCIE Flyer and Narbik. Hopefully, this training can boost my study to gain the tech level I need on the 31 May 2011.
Anyone joining this Sydney Bootcamp? feel free to email me – davidsudjiman (at) gmail (dot) com
Cisco IOS BGP Path Selection
Specifically in Cisco IOS, BGP chooses the best routes available using these few steps.
1. Next Hop.
NEXT_HOP attribute is a BGP well-known mandatory attribute. This attribute is included in any BGP updates. When seeing a route the router checks whether the NEXT_HOP attribute is reachable. This NEXT_HOP is not necessarily a directly connection but can also be several hops away which can be reach via IGP. If the NEXT_HOP is not reachable, then the route will not be considered to be the best route candidate.
2. Highest WEIGHT.
This attribute is Cisco-specific BGP Parameter and is not advertised to other peering.
If 1 router has two exit points for the same route, the router will check which one of these exit points has the highest WEIGHT. The WEIGHT number is between 0 – 65535. By default, all routes learned from a peer will have WEIGHT of 0 and all routes generated by local router have a WEIGHT of 32,768
3. Highest LOCAL PREFERENCE.
LOCAL_PREF is short for LOCAL PREFERENCE. This is a BGP well-known discretionary attribute and used only in updates between internal BGP peers. It is not passed to other autonomous systems. The routers in the same autonomous system will get all of the routes with LOCAL_PREF attribute value and choose one of the highest LOCAL_PREF attribute value to the best route. A path without LOCAL_PREF is considered to have had the value set with the bgp default local-preference command, or to have a value of 100 by default. LOCAL_PREF attribute affects only for traffic leaving the AS
4. Locally originated prefixes.
The router will look for route that is locally generated. That is, prefer the route that was learned from an IGP on the same router using network, aggregate, or redistribute. In Cisco, locally generated routes have WEIGHT of 32,768. Therefore making this selection superfluous.
5. Shorter AS_PATH.
AS_PATH is a BGP well-know mandatory attribute that uses a sequence os AS numbers to describe the inter-AS path, or route, to the destination . This attribute is included in all BGP updates. The router checks the routes which has the shorter AS_PATH sequence and use it as the best path.
6. Lowest numerical value of the Origin code (IGP<EGP<Imcomplete).
The router chosses the route with the lowest origin code. That is, IGP has lower (better) value than EGP, EGP has lower (better) value than INCOMPLETE.
IGP means the routes are generated using network or aggregate command. This appears as “i” in BGP table output.
EGP means the routes were received from EGP peers.
“INCOMPLETE” means the source could not be determined
7. Lowest MED.
MED, also know as MULTI_EXIT_DISC (Multi Exit Discriminator) is a BGP optional-nontransitive attribute. This attribute is not necesarrily known by peers. BGP peers can ignore the update in which it is included and not advertise the path to its other peers.
To influence incoming traffic, the MED is used to inform another AS of its preferred ingress point. MED works by modifying the outgoing updates to another AS. Once received, the next AS will see that there is a recommended path based on its MED. This MED would only be included in the local receiving AS and would not go beyond its AS.
Router will choose to use the lowest MED value (also known as METRIC) between available routes.
8. Prefer eBGP over iBGP.
Router will choose eBGP routes over iBGP. If there are more than one eBGP routes then go to step 8b. However, if non eBGP routes were available and there are more than one iBGP routes then go to step 8a.
8a. Smallest IGP metric to reach the NEXT_HOP IP Addr
8b. When more than 1 routes are external, prefer the oldest path
9. Path originated from the routers with the lowest BGP Router ID
Note about path attributes.
Well-known mandatory attribute. Must be included in all BGP updates.
Well-know discretionary attribute. May or may not be sent in a specific updates.
Optional transitive. BGP implementation is not required to support this attribute. a BGP process should accept the path in which it is included, even if ti doesn’t support the attribute, and it should pass the path on to its peers.
Optional nontransitive. BGP implementation is not required to support this attribute. a BGP process that doesn not recognize the attribute can quitely ignore the Update in which it is included and not advertise the path to its other peers.
ORIGIN – Well-known mandatory
AS_PATH – Well-known mandatory
NEXT_HOP – Well-known mandatory
LOCAL_PREF – Well-known discretionary
ATOMIC_AGGREGATE – Well-known discretionary
AGGREGATOR – Optional transitive
COMMUNITY – Optional transitive
MULTI_EXIT_DISC (MED) – Optional nontransitive
ORIGINATOR_ID – Optional nontransitive
CLUSTER_LIST – Optional nontransitive
Resources.
BGP Best Path Selection Algorithm
Routing TCP/IP, Volume II (CCIE Professional Development)
How BGP Selects Paths
OER/PfR Video Training.
For all of those mere mortal like we who’s spent several nights understanding OER/PfR, this video training can give a bit of information on how OER/PfR works. No fancy configuration yet but at least it can give a slight good impression on how OEF/PfR works.
Thank you very much to Malick Ndiaye for the awesome work!
Lab Exam Date, Booked!
It is really surprising to feel the difference given that I’ve booked my CCIE RS Lab exam for 31 May 2011. This is the 18th month since I passed my CCIE RS Written and I cannot postpone this anymore.
Previously I kept saying that I would take my exam, one day. That’s actually the sign that I was not really ready to tackle this. Having the lab date set makes you cannot back off anymore for any reason.
Spending my Christmas and Year-end 2010 was really giving the traction to get this thing out of my way. There was actually some moments that I doubted myself and question the purpose of this long and dreading journey.
I was so frustrated to start INE WB2 lab1 and spend a week to finish that. What the hell was wrong with me, this lab was the easiest and I had to finish that in less than 8 hours. Hence my WB1 preparation that took 2 years didn’t actually give me the technical confidence as I keep forgetting things, or did it?
I was wrong! I was quite surprised that I could do my 30 OSPF labs within 3 days while it took me months just to make those OSPF labs sane. I do remember, not the most of it, but I do remember.
Yeah, been there done that. I’ve done enough excuses to justify why I should not move on and given up. Hey, CCIE is just not for anybody. I guess I just need to do it and give all my best to it. There’s just too much at stake and I’ve invested a lot of money and time. I would be a fool If I gave up knowing that I’m not that far behind. Everybody who passed this exam have the story of their life and I need to have my own story. I will have my own story.
I’m starting to enjoy my rhythm by spending at least 6 hours for study each day and taking a break every now and then spending time with my wife.
From this point forward, I’ll try my best to keep the rhythm steady and would need to advertise to all of my friends for the 100th times that I need to skip that dinner. Well, sorry mate!
This time, I’m following INE suggestion and see whether I can advancing more.
Nothing fancy, I just need to do it. No questions asked!
All right! This is it! Now you all know me, so I’m going to say this as simply as I can. If it’s our time to die, it’s our time. All I ask is, if we have to give these bastards our lives… WE GIVE ‘EM HELL BEFORE WE DO! – Matrix Revolutions