Docsity

BGP Configuration and Troubleshooting, Exams of Advanced Data Analysis

Toggle sidebar
bg1
CCIE - BGP Exam with complete solution
2024/2025
What does the ORIGIN attribute tell you? - ANSWER-Whether the router was
originated via redistribution or the network statement
what is the private ASN range? - ANSWER-64512-65535
what is the new ASN type byte number? - ANSWER-4 (4 OCTET)
a 4 byte number, as an example, is denoted by what? - ANSWER-1.1 (=256)
What port does BGP use for transport? - ANSWER-TCP 179
what tells you what address a BGP router is listening for BGP requests on? -
ANSWER-show control-plane host open-ports
where there is a multiple connections to a neighbour, what interface would be the
easiest to peer against? - ANSWER-the loopback
what is the TTL value of a eBGP peering? - ANSWER-1
what is the TTL value of an iBGP peering? - ANSWER-255
what determines becomes the TCP client? - ANSWER-The higher router-id
Do you have to set the update-source on both sides? - ANSWER-No, but you
should. If you dont you are forcing what is the TCP client
What is the driving motivation to use a loopback for iBGP peering? - ANSWER-To
be able to route around interface failures
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download BGP Configuration and Troubleshooting and more Exams Advanced Data Analysis in PDF only on Docsity!

CCIE - BGP Exam with complete solution

What does the ORIGIN attribute tell you? - ANSWER-Whether the router was originated via redistribution or the network statement what is the private ASN range? - ANSWER-64512- what is the new ASN type byte number? - ANSWER-4 (4 OCTET) a 4 byte number, as an example, is denoted by what? - ANSWER-1.1 (=256) What port does BGP use for transport? - ANSWER-TCP 179 what tells you what address a BGP router is listening for BGP requests on? - ANSWER-show control-plane host open-ports where there is a multiple connections to a neighbour, what interface would be the easiest to peer against? - ANSWER-the loopback what is the TTL value of a eBGP peering? - ANSWER- what is the TTL value of an iBGP peering? - ANSWER- what determines becomes the TCP client? - ANSWER-The higher router-id Do you have to set the update-source on both sides? - ANSWER-No, but you should. If you dont you are forcing what is the TCP client What is the driving motivation to use a loopback for iBGP peering? - ANSWER-To be able to route around interface failures

What is the iBGP loop prevention mechanism? - ANSWER-iBGP learned routes are not advertised to another iBGP peer What is the eBGP llop prevention mechanism? - ANSWER-It checks the AS_PATH and if its AS_PATH is in the path it drops it For iBGP peers, what are two mechnisms to allow iBGP learned routes to be shared with other iBGP peers? - ANSWER-either route reflectors / confederations or a full mesh of iBGP peers. what 3 things does the BGP NLRI information contain? - ANSWER-Prefix, Attributes, Next-hop What is a consequence of BGP not knowing the outgoing interface to the next- hop? - ANSWER-Its able to route to it, and therefore there is no best path selection, and therefore the next hop cannot be installed in the routing table Does iBGP processing updates change the next-hop value? - ANSWER-No What does eBGP have by default for the next hop value? - ANSWER-the local update-source for the neighbour (e.g. loopback) what one tool can we use to make full mesh config quicker? - ANSWER-peer groups What is the main disadvantage of full iBGP meshing? - ANSWER-The control plane scaling what best path does a route reflector reflect to its peers? - ANSWER-Its own best path What does a route reflector do when it recieves routes in with its own cluster-id in it? - ANSWER-It drops the routes as this is a loop prevention mechnism What does the RR set the Originator-ID to? - ANSWER-The route reflector client Can a reflector reflect the non-client routes from non-client to non-clients? - ANSWER-No What two attributes in confederations prevent loops? - ANSWER- AS_CONFED_SEQUENCE and AS_CONFED_SET

WHy do we use next-hop tracking? - ANSWER-Next-hop tracking makes BGP convergence a function of IGP convergence, otherwise a failure of the nexthop would take 3 mins to converge while BGP keepalives withdraw the next-hop What is ways to provide NLRI origination? - ANSWER-Using the network statement, redistribution, aggregation, bgp inject-map Can you redistribute OSPF external routes? - ANSWER-No What weight and ORIGIN code does the network set the NLRI to? - ANSWER- 32768 and Origin of i What ORIGIN code does BGP create if the redistribute command is used? - ANSWER-INCOMPLETE (?) If you use the network statement and I use the redistribute statement what path will win? - ANSWER-I will due to the locally generated In BGP redistrubtion what is automatically copied to BGP MED? - ANSWER-The IGP metric What routes are redistributed by default into the IGP? - ANSWER-External routes

  • internal routes have to be specifically stated What command does a conditional advertisement use? - ANSWER-neighbor advertise-map What problem is conditional advertisement was supposed to solve? - ANSWER- control over inbound traffic flows what does a conditional inject-map allow you to do? - ANSWER-Allows a shorter match to be lengthened to enable traffic engineering for traffic over one link over another allow-as in allows what? - ANSWER-allows NLRI with out own AS number in the AS PATH permitted in What does bgp enforce-first-as command do? - ANSWER-check the route NLRI to ensure the first AS in the path it the AS of my neighbour whats preferred, a smaller med, or a larger med? - ANSWER-smaller

Is MED is most used when there is one, ISP, or two ISPs? - ANSWER-Its used for influence when there is 2 links to the same ISP to tell them which link to use Whats preferred, a EBGP or iBGP prefix? - ANSWER-eBGP in path selection Is the IGP Metric used in the best path selection? - ANSWER-Yes, but nearly right at the end What are the best path tie breakers? - ANSWER-Oldest route, Lowest RID, Shortest Cluster List, Lowest Neighbour Address Can you turn off some of the best path selection options? - ANSWER-Yes, e.g. IGP metric, can be turned off with bgp bestpath igp-ignore, bgp bestpath as-path ignore, bgp bestpath compare-routerid, and a number of MED options. what do you use to effect the outbound traffic path? - ANSWER-weight and local_pref what do you use to effect the inbound traffic path? - ANSWER-AS_PATH and MED What direction do you use weight in, in or out? - ANSWER-in Before you change the bestpath, what must you understand first? - ANSWER-The reason why its choosing its current best route Is MED non-transitive or transitive? - ANSWER-Non-transitive When the MED is used in the best path to compare two routes, what rule applies to when this is compared by default? - ANSWER-When the route comes from the same AS Where should the MED really be applied? - ANSWER-on the edge facing the peering AS What gets copied from the IGP when MED is applied? - ANSWER-The IGP metric. Why would you set the local_pref with communities, rather than just using AS_PATH, or MED? - ANSWER-Because LOCAL_PREF is higher in the decision making process and this means its more likely to be used, and not overwritten by their decision on AS_PATH or prepending

if you aggregate the path and before this was done you had two paths to the aggregated routes, whose attributes are copied into the aggregate route? - ANSWER-The original path that had the best routes when you generate a aggregate what keyword allows you to configure a attribute (like community membership for example) on the aggregate? - ANSWER-the keyword attribute map. When aggregating, specific attributes need be set on a unsupressed prefix, do you need to apply the attributes to the specifics, or the aggregate? - ANSWER-To the specifics Are communities optional transitive or mandatory transitive? - ANSWER-optional transitive Are communities exchange between peers between iBGP or EBGP by default - ANSWER-Only iBGP by default. You have to turn it on in eBGP How do you turn on exchanging of communities between eBGP peers? - ANSWER-with the command: neighbor xxxx send-communities What well known communities are most importanat - ANSWER-no-export, no- advertise, local-as what does no-export mean? - ANSWER-dont advertise the prefix to eBGP peers what does local-as mean? - ANSWER-Dont advertise the route to engp peers or to confederation ebgp peers what does -no-advertise mean? - ANSWER-Dont advertise the prefix to anyone either iBGP peers, or eBGP peers setting the community happen in what with what? - ANSWER-route-map wit hthe set community command match command in a route-map calls what to apply a community? - ANSWER-a community list name Does the no_export prevent the export of the route to an eBGP peer if the no_export is applied in a route map against the peer? - ANSWER-No - you would

need to set this when you originate the route. All it would do is just tag the NLRI with the no_export community what does the community GSHUT do? - ANSWER-Takes the restarting peer out if the data-path by modifying local preference. what 4 ways could we filter out prefixes - ANSWER-Any either or distribute-list, filter-list, prefix-list or route-map against the neighbor statements What is preferred in terms of filtering from the 4 different methods? - ANSWER- Using route-maps Whats better to use for filtering, ACL or a prefix in BGP? - ANSWER-Prefix-list In the documentation where would I find details abut the regular expressions? - ANSWER-under terminal services in config guides, in the appendix what command will put in place a maximum number of prefixes that I will recieve from you as a neighbour? - ANSWER-neighbour xxxx maximum-prefix Are filters normally applied outbound or inbound? - ANSWER-Outbound to save having to send everything What can you use to configure inbound route filtering? - ANSWER-ORF What does ORF do? - ANSWER-It signals the upstream provider for what view (routes) they want to save having to accept all the routes. How do you configure ORF? - ANSWER-neighbor x.x.x.x capability orf prefix-list [options] for ORF does either side have to have this configured? - ANSWER-Yes, for example, one side has to be configured as send and the other recieve what does soft reconfiguration inbound feature do? - ANSWER-it saves unfiltered routes and stores, and applies the filters locally and applies it and makes troubleshooting easier (you can see recieved-routes) what is route refresh capability? - ANSWER-a negotiated capability that tells the peer they can send an update without having to do a hard clear on BGP

True or False. More than one service can register againstthe same BFD instance at the same time. - ANSWER-True What command allows you to run BFD on all interfaces in one command? - ANSWER-bfd all-interfaces What command enables you to see the BFD setup detail - ANSWER-show bfd detail Do BFD neighbours need to be directly connected or adjacent? - ANSWER-No, but this is platform dependant What three things optimise EIGRPs propogation time? - ANSWER-configured FS, Stub routing, summarization What is incremental OSPF? - ANSWER-It enables a OSPF router to only run SPF when an updates comes in based on the topology of the network - configured with ispf command What 4 things can help with OSPF porogation time? - ANSWER-Areas and stub areas, iSPF, Prefix Suppression, SPF and LSA Throttling Pacing Timers To optimise BGp what needs to be optimised really? - ANSWER-TCP, including Jumbo MTU, Large TCP MSS, Large TCP Window Size, and TCP Selective ACK What does EIGRP FRR stand for? - ANSWER-Fast Re-Route What does OSPF LFA stand for? - ANSWER-Loop Free Alternate What does EIGRP actually do? - ANSWER-It downloads the FS prewritten into the hardware to save the time it takes to get this done How do you configure EIGRP FRR? - ANSWER-under topology named mode use the command fast-reoute per-prefix [all|route-map] What prefixes are the most important to be configured for EIGRP FRR? - ANSWER-The loopback for MPLS VPN PE routers Is EIGRP FRR used for equal cost load balancing or for backup paths? - ANSWER-Backup paths

How do you see if FRR is configured for a FS? - ANSWER-Under show ip route for the prefix, look for the "Repair Path" detail What things effect the time it takes to converge? - ANSWER-How long is it to Detect failure, Detect the change, Recalculate the route, Install in the FIB What command allows you to see your BFD neighbours? - ANSWER-sh bfd neighbors What does OSPF LFA try to achieve - ANSWER-calculate a backup path for the primary OSPF nromally run SPF from its own perspective, i.e. with the router itself as the root of the tree. How does OSPF calculate the LFA path to find a backup path? - ANSWER-Its runs SPF again using the toipolygoy that everyone has. The router runs SPF from your perspective, and figure out if they have alternative loop free path. How do you confugre OSPF LFA? - ANSWER-fast-reroute per-prefix What should we configure along with OSPF LFA and EIGRP FRR to ensure that we take full advantage of the fast-reroute command for convergence speed? - ANSWER-BFD Is fast-reroute documented under M&T or S trains? - ANSWER-S Train Is load balancing supported in both iBGP and EBGP? - ANSWER-no, EBGP only using the maximum-paths command What is the default CISCO BGP keepalive value? - ANSWER-60secs How many keepalives pass before a neighbour is declared down? - ANSWER- (so default is 180secs) What are the 4 BGP message types? - ANSWER-Open, Keepalive, Update and Notification What data does the Open message contain? - ANSWER-BGP version number (normally v4), AS number, Hold time, BGP ID, Optional parameters (capabilities etc)

List the well known Mandatory PA's - ANSWER-Origin, AS_PATH, NEXT_HOP List the Well Known Discretionary - ANSWER-LOCAL_PREF, ATOMIC_AGGREGATOR List the Optional Transitive PAs - ANSWER-AGGREGATOR, COMMUNITY List the Optional nontransitive - ANSWER-MED, ORIGINATOR_ID, CLUSTER_List What are the 3 origins used in PA? - ANSWER-IGP (network command), EGP, Incomplete (redistribution) Whats the next_hop of a route when its advertised by a eBGP peer? - ANSWER- The interface of that peer Whats the next_hop of a route when the peers are in the same AS and the route is in that AS - ANSWER-The address of the neighbour that advertised the route Whats the next_hop of a route when the peers are in the same AS, but the route is in a different AS? - ANSWER-Its the address of the interface of the peer in the external AS. By Changing the update-source - do both ends have to have this configured? - ANSWER-No, but the one without this will ALWAYS be the server. What command enables eBGP peering to a loopback of the peering router without using ebgp-multihop? - ANSWER-neighbor disable-connected-check When is a disable-connected-check in ebgp used generally? - ANSWER-When you want to avoid routing through another path which is what happens with the ebgp-multihop option instead. It only is used when your peering with the loopback of the peer to avoid this. With route reflectors, do they reflect routes to peers in other confederations? - ANSWER-Yes as they are seen as eBGP peers. Describe the ORIGINATOR_ID - ANSWER-Its the RID of the router that originated a route in a route reflector and is added as a attribute by the route reflector What is the role of the ORIGINATOR_ID? - ANSWER-It serves as additional loop prevention

Describe the CLUSTER_ID? - ANSWER-It is a list of Route Reflector that the route has passed through and is the RID (by default) of the reflectors What is the role of the CLUSTER_ID? - ANSWER-It is a loop prevention mechanism How do you change the CLUSTER_ID? - ANSWER-Either change the RR router ID or using the bgp cluster-id command When there is more than one RR in a AS should these be clients of each other or just fully meshed? - ANSWER-Fully meshed Can routes learned from RR non-client peers be advertised to other non-client peers? - ANSWER-No - this would violate the iBGP loop prevention rules What is clustering? - ANSWER-Its another name for a RR and its clients When a RR client group still need to be fully-meshed, what command enables this? - ANSWER-no bgp client-to-client reflection When would you use:no bgp client-to-client reflection - ANSWER-When the RR clients need to be fully meash but the RR still needs to peer with another RR what two commands are key to setup confederations? - ANSWER-bgp confederation identifier # and bgp confederation peers # #... What kind of BGP is run between AS's in a confederation? - ANSWER- confederation eBGP what command tells the router that the eBGP peering is a confederation peer? - ANSWER-bgp confederation peer # # Are MED (metric) values preserved when advertised into a confederation? - ANSWER-Yes Do LOCAL_PREF values get propagated throughout the whole confed, or just the confed AS they were originated in? - ANSWER-The whole confed

What are three ways to ensure a route to the BGP destination is accessible through a border BGP router by iBGP peers - ANSWER-Redistribute the link to IGP, network statement of the link or next-hop-self BGP auto-summary is not supported under which advertisement types? - ANSWER-Advertisements from iBGP, or eBGP. You can have a NULL0 route, advertise via redist / network command to apply a auto-summary to it Whats an alternaive to the aggregate command if the routes to be agregated land on a classful boundary - ANSWER-auto-summary What prefix attributes are checked before the best path process is run? - ANSWER-next hop is reachable, igp synchronisation is enabled and the prefix is not in the IGP table, or there is anAS_PATH loop Whats a good mnemonic for BGP best path selection? - ANSWER-We Love Oranges As Oranges Mean Pure Light Refreshment What are the details of the BGP Best Path selection attributes? - ANSWER-Weight (Highest is better) LOCAL_PREF (Highest is better) Originated Locally (with either network / redistribution) AS_PATH (shortest) ORIGIN Type (IGP is lower than EGP and EGP is lower than Incomplete) MED (lowest is better) Paths (External > Internal) Lowest IGP Metric RID (Router ID - lowest is better) What command do you use to change the BGP default local pref value? - ANSWER-bgp default local-preference Whats the difference between Rule 3 and Rule 5 of the Best Path (using the ORIGIN attribute) - ANSWER-Rule 3 determines what is originated locally on that router, and Rule 5 determines what is originated by a neighbour Before a MED is used in the best path rules, what HAS to be true? - ANSWER-The first AS in both paths MUST be the same What command applies a MED of max if the MED = NULL - ANSWER-bgp bestpath med missing-as-worst

What, by default is the MED set to if the MED is NULL? - ANSWER- How does deterministic-med command in bgp work? - ANSWER-If its not enabled, the route can be determined by the order the routes are recieved Ii.e. oldest is best). If enabled, then the bestpath is always the same. What command enables you to skip (ignore) the AS-path is BGP path selection? - ANSWER-bgp bestpath as-path ignore (this is a hidden command) what must be true in order to enable equal cost load balancing in BGP? - ANSWER-the IGPs must have equal costs to the destination what determines BGP hot potatoe routing? - ANSWER-the IGP metric bestpath What determines BGP cold potatoe routing? - ANSWER-the MED What attributes must be the same for the prefix to be load balanced in BGP? - ANSWER-Local_Pref, MED, ORIGIN, AS_PATH (exact path), type (iBGP or eBGP), and same IGP to the next_hop What command enables you to relax the strict rules for the AS_PATH to be equal for load-balancing in BGP? - ANSWER-bgp bestpath as-path multipath-relax What 3 commands enable you to use multipathing across two links and consider the bandwidths configured on the interfaces for load sharing? - ANSWER-bgp maximum-paths, bgp dmzlink-bw and neighbor x.x.x.x dmzlink-bw is dmzlink-bw possible in eBGP or iBGP or both? - ANSWER-Both, but for iBGP you have set send communities extended and the maximum-paths 2 ibgp commands AND the load-balancing rules for the prefix must apply. What command allows you to load balance between a iBGP path and a eBGP path? - ANSWER-maximum-path 2 eiBGP whats the default AD of a backdoor link? - ANSWER- What does the command network x.x.x.x backdoor enable? - ANSWER-The ability to route through an IGP by increasing the AD of the eBGP route

What does the community attribute NO_ADVERTISE do? - ANSWER-It tells iBGP peers not to advertise to any of its other PEERS whether they are iBGP or eBGP peers Does NO_ADVERTISE get sent to eBGP peers? - ANSWER-No this only applies to iBGP What does the community NO_EXPORT do? - ANSWER-prevents the prefix from getting advertised outside this AS to eBGP peers. How does the LOCAL_AS community work? - ANSWER-It keeps the prefixes tagged with this community to within the confederation only. It only advertises to peers in it own confed AS, or to eBGP peers What type of community list allows you to use regular expression in them, standard, or extended? - ANSWER-extended If you wanted to delete a community from a list, what command can you use to do this? - ANSWER-under the route-map you can use set comm-list XX delete What is a BGP conditional advertisement? - ANSWER-CA advertises an AS or a prefix (advertise-map) to s epecified neighbour if a prefix exists or doesnt exist in a exist-map/no-exist-map Whats the format of a BGP Conditional Advertisement? - ANSWER-neighbor x.x.x.x advertise-map exist-map|no-exist-map YYY What is a BGP conditional route injection? - ANSWER-CRI will inject a more specific prefix of a aggregate anywhere in the network depending on the state of tracking the aggregate Whats the format of the BGP CRI? - ANSWER-bgp inject-map exist-map For BGP CRI is the inject-map using a set, or match command in the route-map? - ANSWER-set to specify the prefix to inject (must come from the aggregate range) For BGP CRI, in the exits map what two things MUST you match on? - ANSWER- The aggregate prefix itself, and the neighbor interface address that sourced the route to you (using match ip route-source)

Whats the difference between a distribute-list and a filter-list? - ANSWER-A filter- list is applied to AS-PATHs only and a distribute-list allows you to apply this to prefixes When using prefix-lists to filter routes, what two methods can you apply the filter to the neighbor? - ANSWER-Directly thorugh neighbor x.x.x.x prefix-list, or via a route-map through neighbor x.x.x.x route-map What does a distribute-list use, an access-list or a prefix-list? - ANSWER-ACL what command enables security on the router by applying a limit on the number of prefixes being learned by it? - ANSWER-neighbor X maximum-prefix What is the default percentage of prefixes learned that BGP has for maximum- prefix? - ANSWER-75% when advertising a default, what can you use to make the advertisement conditional? - ANSWER-Use a route map after the neighbor X default info command and specify the "tracked" route (or interface) what is the neighbor X local-as command meant to be used for? - ANSWER- Appearing to the eBGP as a different AS for the purposes of changing AS numbers (migration) When using local-as what do you need to be careful of in iBGP peering and how do you prevent this? - ANSWER-That you dont create a routing loop and cause iBGP peers to drop routes because they see their own AS in the AS_path. you prevent this with no as-prepend. What command allows you to use more than one AS to peer if you are merging to another AS number? - ANSWER-neigh X local-as Y dual-as what does the command neigh X local-as Y replace-as do? - ANSWER-It will replace the new AS with the old AS Y when sending updates to eBGP peers Can private as be used in Public internet? - ANSWER-No How can you remove the private as number if a neighor AS has this? - ANSWER- By using neighbour X remove-private-as