Professional Documents
Culture Documents
1|Page
What is the difference between the hard reset and soft reset in BGP?
In case of hard reset the local router brings down the neighborship, brings down the underlying
TCP connection and all the BGP table entries learned from that neighbor are removed. #clear ip
bgp * command is used for hard reset.
In case of a soft reset, the router does not bring down the BGP neighborship or the underlying
TCP connection. However, the local router resends outgoing Updates and reprocesses incoming
Updates adjusting the BGP table based on the current configuration. #clear ip bgp * soft
command is used for soft reset.
2|Page
Explain BGP Path Attributes?
BGP supports a wide variety of Path Attributes. BGP use these path attributes to examine the
competing BGP paths (routes) in the BGP table to choose the best path(route).
1. Next Hop - It lists the next-hop IP address used to reach a prefix. If Next hop is reachable? If
no route to reach Next Hop, the router cannot use this route.
2. Weight - It is a numeric value set by a router when receiving updates to influence the route
for a prefix. It is not advertised to any BGP peers. Bigger is preferred
3. Local Preference - It is a numeric value set and communicated within a single AS for the
purpose of choosing the best route for all routers in that AS to reach a certain network. Bigger
is preferred
4. Locally injected routes - Locally injected routes (routes injected using network command) are
better than iBGP/eBGP learned.
5. AS Path - It is the number of ASNs in the AS Path. Smaller is preferred.
6. Origin - Preferred I over E & E over? It implies that the route was injected into BGP as I (IGP),
E (EGP) or? (incomplete information).
7. Multi-Exit Discriminator (MED) - Allows an AS to tell a neighboring AS the best path to
forward packets into the first AS. Smaller is preferred.
8. Neighbor type - eBGP is preferred over iBGP.
9. IGP metric - Route with nearest IGP neighbor (lowest IGP metric) is preferred.
10. eBGP route - Oldest (longest known) route is preferred.
11. Neighbor Router ID - Lowest is preferred.
12. Neighbor IP address - Lowest is preferred.
3|Page
What is Recursive Lookup?
The router looks up the BGP route and the next hop to reach a destination in the remote AS.
Then the router looks up the route to reach the next hop. In this way router has to perform
lookup twice to reach to a destination, this process is called recursive lookup.
4|Page
What is the use of confederation in BGP?
This is feature is used to split an autonomous system into smaller autonomous systems or the
reverse which is to combine several autonomous systems into one.
What are the two methods for reducing the number of IBGP connection in a network?
These are confederation and route reflector.
5|Page