guys just a quick one......can someone please tell me why would you use as orgin attribute (like does it control traffic coming in or going out)??? and what abt MED.....i know abt local preference and weight is for going out???thnaks in advance guys
The mentioned attributes are used in the BGP path selection process.
When a BGP router has more than one route in the BGP table, it has to decide which one is the best to offer to the routing table.
1. First it will choose a route with the highest weight.
2. If the routes are with the same weight, it will choose the route with the highest local preference value.
3. If the routes are with the same local preference, then it will chose the route originated by the local router (by itself). You can see this by the next-hop 0.0.0.0
4. If no paths can be selected in step 4. the it wiil choose the path with the shotest AS-path attribute.
5. If no path can be selected in step 4. it will choose the path with the lowest origin code.
To answer your question: the router prefers routes that were introduced into BGP with the "network" command over redistributed routes. Redistributed routes are considered less reliable or stable. So this controls outgoing traffic.
Just think with your common sense: you have two paths to the same destination: one is originated in BGP, the other is redistributed to BGP from RIP, OSPF, EIGRP or IS-IS.
Which is more likely to be the best route?
6. When no path can be selected in step 5., then the router will choose the path with the lowest MED value (this value may come from the neighboring autonomous system (AS)).
This way the neighboring AS can exert some degree of control on my outgoing traffic, which is the incoming traffic from the viewpoint of the neighboring AS.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...