CCNP BGP Questions
CCNP BGP Questions
Refer to the exhibit. Router RIP is attempting to establish BGP neighbor relationships with routers RT1
and RT3. On the basis of the information that is presented in the exhibit, which two statements are
true? (Choose two)
A – RTR has a BGP password set but neighbor 10.0.0.1 does not
B – RTR has a BGP password set but neighbor 10.0.0.5 does not
C – RTR has a BGP password set but neighbor 10.0.0.1 has an incorrect password set
D – RTR has a BGP password set but neighbor 10.0.0.5 has an incorrect password set
E – Neighbor 10.0.0.1 has a BGP password set but RTR does not
F – Neighbor 10.0.0.5 has a BGP password set but RTR does not
Answer: A D
Explanation:
You can configure MD5 authentication between two BGP peers, MD5 authentication must be
configured with the same password on both BGP peers; otherwise, the connection between them will
Similarly, if the two routers have different passwords configured, a message “Invalid MD5 digest
from…” will appear on the screen.
Question 2
Refer to the exhibit diagram and configuration. RTB is summarizing its networks from AS 64100 with
the aggregate-address command. However, the show ip route command on RTA reveals the RTB
individual networks as well as its summary route. Which option would ensure that only the summary
route would appear in the routing table of RTA?
A – Delete the four network statements and leave only the aggregate-address statement in the BGP
configuration
B – Add the keyword summary-only to the aggregate-address command
C – Add a static route with a prefix of 192.168.24.0 255.255.252.0 pointing to the null interface
D – Create a route map permitting only the summary address
Answer: B
Explanation
When the aggregate-address command is used within BGP routing, the aggregated address is
advertised, along with the more specific routes. The exception to this rule is through the use of the
summary-only command. The “summary-only” keyword suppresses the more specific routes and
announces only the summarized route.
Question 3
A – Router A will prefer the path through router B for network 172.20.0.0
B – Router A will prefer the path through router C for network 172.20.0.0
C – Packets from router D will prefer the path through router B for networks advertised by router A
D – Packets from router D will prefer the path through router C for networks advertised by router A
Answer: A
Explanation
The weight attribute is a special Cisco attribute that is used in the path selection process when there is
more than one route to the same destination. The higher the weight value, the better the path. The
default weight is 0. Therefore, by configuring weight 200 to the neighbor 10.1.1.1, router A will prefer
the path through router B for network 172.20.0.0 then the path through router C.
The weight attribute is local to the router and not propagated to other routers. In this case the weight
is local to router A so it has no effect on the decision of transferring packets from router D.
Question 4
Based on the show ip bgp summary output. which two statements are true? (Choose two)
Answer: A F
Explanation
The main point of this question is the “State/PfxRcd” column, which shows the BGP states. Below is
the list of BGP states in order, from startup to peering:
1 – Idle: the initial state of a BGP connection. In this state, the BGP speaker is waiting for a BGP start
event, generally either the establishment of a TCP connection or the re-establishment of a previous
connection. Once the connection is established, BGP moves to the next state.
2 – Connect: In this state, BGP is waiting for the TCP connection to be formed. If the TCP connection
completes, BGP will move to the OpenSent stage; if the connection cannot complete, BGP goes to
Active
3 – Active: In the Active state, the BGP speaker is attempting to initiate a TCP session with the BGP
speaker it wants to peer with. If this can be done, the BGP state goes to OpenSent state.
4 – OpenSent: the BGP speaker is waiting to receive an OPEN message from the remote BGP speaker
5 – OpenConfirm: Once the BGP speaker receives the OPEN message and no error is detected, the
BGP speaker sends a KEEPALIVE message to the remote BGP speaker
6 – Established: All of the neighbor negotiations are complete. You will see a number (2 in this
case), which tells us the number of prefixes the router has received from a neighbor or peer group.
Question 5
Which command displays the IBGP and EBGP neighbors that are configured?
A – show ip bgp
B – show ip bgp paths
C – show ip bgp peers
D – show ip bgp summary
Answer: D
Explanation
The picture below shows the output of the show ip bgp summary
Notice that the “show ip bgp” command to display BGP topology database. Below is the output of the
“show ip bgp” command:
BGP contains two paths to a destination. Assuming both routes were originated locally and have an
equal weight. what will be the next determining factor in choosing the best path?
A – lowest MED
B – highest local preference
C – lowest neighbor IP address
D – lowest origin code
E – shortest AS-path
Answer: B
Explanation
Memorizing the BGP decision process steps is very useful and you should remember them. The table
below lists the complete path selection process:
Question 7
A. weight
B. MED
C. local preference
D. origin
E. next-hop
F. AS-path
Answer: A
Explanation
The weight attribute is a Cisco proprietary technology. This attribute is local to a router and is not
advertised to neighboring routers. If the router learns about more than one route to the same
destination, the route with the highest weight will be preferred and will be installed in the routing
table. By default, the value of weight is 0 and the range is from 0 to 65535.
The route with the highest weight will be installed in the IP routing table.
Question 8
A. LOCAL_PREF
B. AGGREGATOR
C. AS_Path
D. Weight
Answer: C
Explanation
Origin, AS_Path, Next_Hop are well-known mandatory BGP attributes that all BGP Updates must
include.
Note:
+ Well-known Mandatory: recognized by all implementations of BGP and must appear in a BGP
update message. If missing, a notification error will be generated.
+ Well-Known Discretionary: recognized by all implementations of BGP but may not be sent in the
BGP update message (include LOCAL_PREF, ATOMIC_AGGREGATOR).
+ Optional Transitive: may or may not be recognized by all BGP implementations. Because the
attribute is transitive, BGP accepts and advertises the attribute even if it is not recognized (include
Community attribte).
+ Optional Nontransitive: may or may not be recognized by all BGP implementations. Whether or
not the receiving BGP router recognizes the attribute, it is nontransitive and is not passed along to
other BGP peers (include MED).
Question 9
A. local preference
B. MED
C. weight
D. origin
E. next-hop
F. AS-path
Answer: C
Explanation
Weight is the first attribute BGP uses in the route selection process. Route with a higher weight is
preferred when multiple routes exist to the same destination.
Question 10
Which BGP attribute will not be advertised in routing updates to its neighboring routers?
A. weight
B. local preference
C. origin
D. AS_path
E. next hop
Answer: A
Study the configuration presented in the exhibit carefully. What is the objective of the route map
named test?
A. marks all prefixes received from the 10.1.1.1 neighbor with a MED of 200
B. marks the 10.0.0.0/8 prefix received from the 10.1.1.1 neighbor with a MED of 200
C. marks the 10.0.0.0/8 prefix advertised to the 10.1.1.1 neighbor with a MED of 200
D. marks all prefixes advertised to the 10.1.1.1 neighbor with a MED of 200
Answer: C
Explanation
From the command “neighbor 10.1.1.1 route-map test out” we learn the “test” route map is applied
on the outbound direction to the neighbor 10.1.1.1. In the “test” route map, we see 3 statements:
They mean “if the access list 1 is matched, set the Multi Exit Discriminator (MED) of that route to
200″.
Question 12
What technique should be used on BGP edge routers to prevent a multi-homed autonomous system
from becoming a transit system?
A. Advertise with a high MED value all networks that are discovered via external BGP.
B. Remove the AS-Path information on all routes in the BGP table prior to advertising externally.
C. Only advertise networks externally if they have been discovered via internal BGP.
D. Use an outgoing distribution list to filter all networks not originating from inside the autonomous
system.
E. Set the no-export community attribute on all networks that are advertised externally.
F. Set the origin code to incomplete for all networks that are discovered via external BGP.
Explanation
A transit AS is an AS that routes traffic from one external AS to another external AS. Let’s see an
example below:
Suppose your company has 2 internet links to 2 different ISPs. If one connection to the ISP goes
down, your traffic can be sent through the other ISP. It is a good way to make sure your company can
access the internet any time. But if your routers are not configured carefully, your company AS may
become a transit AS. For example, AS 65002 learned the route 10.10.10.0/24 from ISP1. If R2
advertises that route to ISP2 then ISP2 may use it to send traffic to that network -> your company
becomes a transit AS.
There are two popular ways to prevent a multi-homed autonomous system from becoming a transit
system:
+ Use a distribute-list or filter-list to filter all networks not originating from inside the autonomous
system.
+ Use the no-export community attribute on all networks not originating from inside the autonomous
system.
Answer E seems to be correct but in fact it is not because “all networks that are advertised externally”
include networks originating from inside and outside our AS. We should only filter networks originating
from outside our AS. In some cases, the routers in our company may advertise some internal
networks (for remote access, for example).
Refer to the exhibit. By default, when RTB passes BGP advertisements from RTA about network
192.168.2.0 to RTC, what address will be listed as the next-hop address?
A. 10.1.1.1
B. 10.1.1.2
C. 192.168.1.49
D. 192.168.1.50
Answer: D
Explanation
“For EBGP, the next hop is always the IP address of the neighbor specified in the neighbor
command. For IBGP, the protocol states that the next hop advertised by EBGP should be
carried into IBGP“.
In this case, when RTA (in AS 65000, which is an EBGP for RTB) advertises a route to RTB, it specifies
its interface (192.168.1.50) as the next-hop. But when RTB passes this advertisement to RTC, it
specifies RTA interface (also 192.168.1.50) as the next-hop (IBGP). This can cause some routing
failures because if RTC does not know a way to reach RTA interface via IGP (OSPF, EIGRP…), it will
drop that packet. To fix this problem, add the “neighbor 10.1.1.2 next-hop-self” command under BGP
mode in RTB.
Question 14
What are the two reasons for the appearance of 0.0.0.0 as the next hop for a network in the show ip
bgp command output? (Choose two)
A. The network was originated via redistribution of an interior gateway protocol into BGP.
B. The network was defined by a static route.
C. The network was originated via a network or aggregate command.
D. The network was learned via EBGP.
E. The network was learned via IBGP.
Explanation
About redistribution please refer to the Understanding Redistribution of OSPF Routes into
BGP:http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml you
will see after the network 2.0.0.0 has been redistributed in BGP it has the next hop of 0.0.0.0.
Question 15
A. AS-path
B. next-hop
C. MED
D. weight
E. local preference
F. origin
Answer: A
Explanation
The AS-PATH attribute is used to prevent BGP routing loops. When receiving an BGP advertisement,
the router checks the AS-PATH attribute, if it see it’s own AS number in the AS-Path then it is a
routing loop so the router will not install this route in its BGP table.
Refer to the exhibit. It is desired to set up a BGP neighbor relationship between routers R1 and R4.
BGP packets between them could travel through R2 or R3. What is the simplest configuration that will
allow for failover?
Answer: C
Explanation
Then if R1 sends BGP packets to R4 via R3, the source IP address of the packets is 192.168.2.2. But
R4 does not recognize this IP address because 192.168.2.2 is not configured in the “neighbor”
command of R4. Therefore the IBGP session between R1 & R4 is not established -> these packets will
be dropped.
(In which 1.1.1.1 is the loopback interface of R1). In practical, we should establish neighborship with
the loopback interface rather than the physical interface because if the physical interface goes down,
the neighborship would be lost while a loopback interface never goes down.
Also, when configuring “1.1.1.1″ as the neighbor, you must configure on R1 the “neighbor 4.4.4.4
update-source loopback0” command so that the source IP address of packets sent from R1
(loopback0 – 1.1.1.1) will be matched with the neighbor command configured on R4.
Question 17
Refer to the exhibit. Network 10.0.0.0/8 is being advertised to autonomous system 65550 via both
external links. Which statement about the preferred path to the 10.0.0.0/8 network is true?
Answer: F
Explanation
Local preference is an indication to the AS about which path has preference to exit the AS in order to
reach a certain network. A path with a higher local preference is preferred more. The default value for
local preference is 100.
Unlike the weight attribute, which is only relevant to the local router, local preference is an attribute
that routers exchange in the same AS. The local preference is set with the “bgp default local-
preference value” command.
In this case, both R1 & R2 learn about the network 10.0.0.0/8 but R2 has higher local-preference so
R2 will be chosen as the preferred exit point from AS 65550.
(Reference: http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.sht
ml#localpref)
Question 18
During BGP configuration on a router that has peered with other BGP speakers, the BGP
command aggregate-address 172.32.0.0 255.255.252.0 is issued. However, the peers do not
receive this aggregate network in BGP advertisements. Also, the router does not have this aggregate
network in its BGP table. Which option indicates a possible reason this command did not cause the
router to advertise the aggregate network to its peers?
Answer: D
Explanation
A rule of aggregation is “Aggregation applies only to routes that exist in the BGP routing table. An
aggregated route is forwarded if at least one more specific route of the aggregation exists in the BGP
routing table.
Question 19
Which two methods advertise internal networks to external ISPs via BGP? (Choose two)
Answer: A D
Question 20
Which BGP command provides the router ID, local preference, next hop, and BGP path in its output?
Answer: B
Explanation
The “show ip bgp” command is used to display entries in the BGP routing table. An example of the
“show ip bgp” output is shown below:
In the output you can see the router ID, local preference, next hop, and BGP path.
Question 21
A. Do not use or internally advertise a route until the route is learned from a source other than BGP.
B. Do not use or advertise a route until the route is learned from a BGP peer.
C. Do not use or advertise routes marked PARTIAL.
D. Wait until a CONFIRM message is received before using routes from BGP neighbors.
Answer: A
Explanation
The complete synchronization rule is “A BGP router should not use, or advertise to an external
neighbor, a route learned by IBGP, unless that route is local or is learned from the IGP.”
The “synchronization” here means “synchronization between iBGP with its IGP (such as OSPF,
EIGRP…)
Note: BGP synchronization is disabled by default in Cisco IOS Software Release 12.2(8)T and later.
For more information about BGP Synchronization please read the explanation of Question 5 in this
page. Also another good resource is :http://docwiki.cisco.com/wiki/Internetworking_Case_Studies_–
_Using_the_Border_Gateway_Protocol_for_Interdomain_Routing#Synchronization
Question 22
Refer to the exhibit. Router RT-1 and router RT-2 both advertise network 131.25.0.0/16 to router RT-
3 via internal BGP. What is the reason that router RT-3 chose router RT-1 as its best path to network
131.25.0.0/16.
Answer: E
Explanation
Consider only (synchronized) routes with no AS loops and a valid next hop, and then:
Prefer highest local preference (global within AS) same local preference of 100
Prefer route originated by the local router (next both routes are from IBGP
hop = 0.0.0.0)
Prefer lowest origin code (IGP < EGP ) both are incomplete (EGP > IGP >
Incomplete)
Prefer the path through the closest IGP neighbor not used because IBGPs are used
(IGP cost)
Prefer the path with the lowest neighbor BGP the router-id 162.105.11.1 is lower than
router ID. 165.105.3.2
Refer to the exhibit. Router RT-1 chooses one path to network 198.133.219.0/24. Indicate the reason
Router RT-1 chooses this “best” path.
A. In making its decision about the best path, RT-1 gives precedence to the origin code.
B. In making its decision about the best path, RT-1 gives precedence to the BGP MED values.
C. IP address 128.107.2.2 is lower than 128.107.255.2.
D. In making its decision about the best path, RT-1 prefers the IGP metrics.
E. RT-1 prefers internal BGP routes.
F. IP address 128.107.254.2 is lower than 128.107.255.2.
Answer: A
Explanation
The Border Gateway Protocol (BGP) is the core routing protocol of the Internet. Refer to the exhibit.
Routers A and B are running BGP but the session is active. What command needs to be added to
establish the BGP session?
hostname A
!
interface loopback 0
ip address 10.10.10.2 255.255.255.255
!
interface serial 0/0
ip address 172.16.10.2 255.255.255.252
!
interface serial 0/1
ip address 172.16.10.5 255.255.255.252
!
router bgp 65444
neighbor 10.10.10.1 remote-as 65111
neighbor 10.10.10.1 update-source loopback 0
neighbor 10.10.10.1 ebgp-multihop
Answer: A
Explanation
In this case we want to achieve load balancing so the loopback interface must be used to establish
neighborship.
If we check the routing table of router A, we will see that there is no entry for the remote network
1.1.1.1/32 -> router A does not know how to reach the loopback interface on router B -> a TCP
session can’t be established to router B. Therefore we need to tell router A a way to reach router B.
Refer to the exhibit. Autonomous systems 200 and 300 have EBGP sessions established with their
directly connected routers in autonomous system 100. IGP has been configured on all routers in
autonomous system 100 and they successfully exchange routing updates. Traffic originated in
autonomous system 200 cannot reach the destination autonomous system 300. What configuration
should be done on the routers in autonomous system 100 in order for the traffic coming from
autonomous system 200 to be forwarded to autonomous system 300?
A. IBGP session must be established between routers R1 and R3, and the synchronization must be
turned on.
B. IBGP session must be established between routers R1 and R3, and the synchronization must be
turned off.
C. IBGP session must be established between routers R1 R2 and R2 R3. and the synchronization must
be turned on.
D. IBGP session must be established between routers R1 R2 and R2 R3, and the synchronization must
be turned off.
E. IBGP speakers within autonomous 100 must be fully meshed, and the synchronization must be
turned on.
F. IBGP speakers within autonomous 100 must be fully meshed, and the synchronization must be
turned off.
Answer: F
Explanation
The synchronization rule states that if an AS provides transit service to another AS, BGP should not
advertise a route until all of the routers within the AS have learned about the route via an IGP. To
understand why this rule exists, let’s take an example if this rule is not there.
Now Rt-B really wants to send traffic to 1.1.1.0 so it will send to R3. R3 does a look up and sees that
the network can be reachable via R1. It then does a lookup for R1′s IP address and sees that it is
reachable via R2 -> so it forwards packets to R2. But R2, running IGP (like OSPF), does not find an
entry for 1.1.1.0 so R2 drops all the packets for that network – a black-hole is created!
That is why the BGP synchronization rule is born. With this rule, when R3 receives an advertisement
for 1.1.1.0 from R1, it adds that route to its BGP table and before sending advertisement to RT-B, it
first checks its IGP routing table to see whether an entry exists for that route. In this example, R3′s
IGP routing table does not know how to reach 1.1.1.0 so R3 will not advertise this network to RT-B.
This route is only advertised to RT-B when IGP makes an entry in the routing table for 1.1.1.0.
Well, now you understand the importance of BGP Synchronization rule but now I wish to explain why
this rule causes trouble in fully-meshed IBGP!
Note: A “fully-meshed” can be a physical fully-meshed topology or a topology where all routers in the
same AS established IBGP connections with each other (although they do not need to be directly
connected). So in the topology above, the connection between R1 & R3 is represented by a dashed
line, which means it can be physically connected or not (but an IBGP connection must be established
on both routers).
Therefore if all routers in AS 100 is fully-meshed, the synchronization rule must be turned off -> F is
correct.
Question 26
Answer: E
Explanation
An underlying connection between two BGP speakers is established before any routing information is
exchanged. This connection takes place on TCP port 179.
Question 27
Which BGP option is required when load sharing over multiple equal-bandwidth parallel links from a
single CE router to a single ISP router over eBGP?
A. eBGP Multipath
B. eBGP Multihop
C. BGP Synchronization
D. Public AS numbers
Answer: B
Explanation
The eBGP multihop allows a neighbor connection between two external peers that do not have direct
connection. The multihop is only for eBGP and not for iBGP. For example, in the topology below router
A wants to establish neighbor relationship with the loopback0 of router B (to allow load balancing),
which does not have direct connection so it must use “ebgp-multihop”
For your reference, the full configurations of both router A & B are shown below:
Note: If router B wants to establish neighbor relationship with the directly connected interface of
router A, it only needs these commands:
B#
router bgp 2
neighbor 172.16.10.2 remote-as 1
(Reference: http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.sht
ml)
Question 28
Answer: D
Refer to the exhibit. On the basis of the configuration that is provided, how would the BGP updates
that come from router R1 be replicated inside autonomous system 65200?
A. All BGP updates that are received on router R2 will be sent to routers R3 and R4. Routers R3 and
R4 will then forward those BGP updates to router R5.
B. All BGP updates that are received on router R2 will not be sent to routers R3 and R4.
C. All BGP updates that are received on router R2 will be sent directly to router R5.
D. None of the BGP updates that are received on router R2 will ever be received by router R5.
Answer: D
Explanation
The BGP updates received on router R2 will be sent to R3 and R4 without violating the BGP split-
horizon rule because R2 receives updates from an EBGP (R1), not IBGP -> B is not correct.
From the configuration of R2, we learn that R2 did not establish neighbor relationship with R5 so they
are not neighbors -> no BGP updates will be sent from R2 to R5 -> C is not correct.
The BGP split-horizon rule prevents updates received on R2 from being sent to R5 -> D is correct.
Question 30
The 192.168.0.0 network is not being propagated throughout the network. Observe the BGP
configuration commands from the advertising router. What is the reason the 192.168.0.0 route is not
being advertised?
Answer: A
Explanation
The “network” statement in other routing protocols (EIGRP, OSPF, RIP…) is used to enable routing
protocol on the interfaces within that “network” statement. But in BGP, the function of a network
statement is to tell the router to search the IP routing table for a particular network, and if that
network is found, originate it into the BGP database. But notice that you must have an exact match in
the IP routing table to appear the network in the BGP routing table (in this case we don’t see the auto-
summary command so we suppose it is disabled in this case). For example:
+ network 10.10.10.0/8 will appear in BGP if network 10.10.10.0/8 appears in the IP routing table.
+ network 10.10.10.0/24 will appear in BGP if network 10.10.10.0/24 appears in the IP routing table.
Therefore, in this question the static route “ip route 192.168.0.0 255.255.0.0 null0″ was used to put a
route to 192.168.0.0/16 into the routing table (although it points to Null0 but this command really
makes that route appears in the routing table). But the “network 192.168.0.0″ statement tells the
router to lookup network 192.168.0.0/24 (if the network statement under BGP-mode does not specify
a subnet mask, the default subnet mask of that class will be used). The router only finds network
192.168.0.0/16 -> The network 192.168.0.0 is not being propagated throughout the network because
of the mismatch of the subnet mask -> A is correct.
Question 31
Which two conditions can cause BGP neighbor establishment to fail? (Choose two)
A. There is an access list blocking all TCP traffic between the two BGP neighbors.
B. The IBGP neighbor is not directly connected.
C. BGP synchronization is enabled in a transit autonomous system with fully-meshed IBGP neighbors.
D. The BGP update interval is different between the two BGP neighbors.
E. The BGP neighbor is referencing an incorrect autonomous system number in its neighbor
statement.
Answer: A E
Explanation
An underlying connection between two BGP speakers must be established before any routing
information is exchanged. This connection takes place on TCP port 179 so if an access list blocks all
TCP traffic between the two BGP neighbors, BGP neighbor relationship cannot be established -> A is
correct.
The IBGP neighbors don’t need to be directly connected -> B is not correct.
BGP synchronization only prevents routes sent to other EBGP neighbors before that route exists in the
routing table. It doesn’t prevent BGP neighbor relationship -> C is not correct.
After the first initial exchange (which exchanges routes and synchronize their tables), a BGP speaker
will only send further updates upon a change in the network topology -> BGP does not have a fixed
update interval -> D is not correct.
BGP neighbor relationship is established when both ends (routers) are manually configured with the
“neighbor neighbor-IP remote-as neighbor-AS” command on both sides of the connection. If the
neighbor-AS is wrong, the neighbor relationship cannot be established -> E is correct.
Question 32
Explanation
When two EBGP neighbors want to establish neighbor relationship without using the directly connected
interfaces (for example, use loopback interface), they must tell each other how to reach their
interfaces. A static route is the most simple way to do this, especially when they are in different ASs.
Question 33
Answer: D
Explanation
BGP split-horizon rule states that a route learned from one IBGP neighbor will not be advertised to
another IBGP neighbor so IBGP sessions should be fully meshed. For example in the topology below,
routes learned from R1 about AS 200 will be advertised to R2. For R2, the route learned from R1 is
a route learned from one IBGP neighbor so R2 will not advertise this route to R3 and AS 100 can
never be a transit AS -> IBGP sessions should be fully meshed within a transit AS -> D is correct.
Which BGP feature should be used to avoid high memory utilization on a router?
A. soft-reconfiguration
B. route refresh
C. BGP communities
D. full-mesh BGP peering
Answer: B
Explanation
BGP routers have enormous routing tables so it uses much memory to proceed these routes. When a
BGP policy is changed, the BGP session needs to be reset for the policy to take effect. But the
resetting results in route churn and route flapping. There are two ways to clear a BGP session without
resetting the TCP session between them (this is often called “soft reset”):
Soft-reconfiguration: stores all received (inbound) routing policy updates without modification in a
table so that when a new filter is applied, the router will use this table to calculate the changes
without resetting the TCP session between the two BGP peers . This is a memory-intensive (high
memory utilization) method and is not recommended.
Route-refresh: allows a BGP router to request a remote peer resend its BGP Adj-RIB-Out. This allows
the BGP router to reapply the inbound policy. The route-refresh capability requires no extra memory
on the local router
Question 35
For the accompanying router output, which of the following statements describes the state that
neighbor 172.16.254.3 is in?
Answer: C
Explanation
Question 36
A router has two paths to reach another network in a different autonomous system. Neither route was
generated by the local router and both routes have the same default weight and local preference
values. Which statement is true about how BGP would select the best path?
A. If the command bgp always-compare-med has been given, then the router will prefer the route
with the highest MED.
B. The router will prefer the route with the lower MED.
C. The router will prefer the shortest autonomous system path.
D. To influence one route to be preferred, its default local preference value will be changed via the use
of the command bgp default local-preference 50.
Answer: C
Explanation
In the Route selection decision process, if the weight, local preference & route originated are the same
then the shortest AS path will be chosen.
Refer to the exhibit. Which two statements are correct? (Choose two)
Answer: C D
Explanation
Only the valid & best routes (represented by *>) will be installed into the routing table -> C is correct.
All the routes were redistributed into BGP from an IGP so we will see a next hop of 0.0.0.0 -> D is
correct. For more information about this type of redistribution please
read http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.shtml
Question 38
Which two statements are true about IBGP neighbor relationships? (Choose two)
Answer: B E
Refer to the exhibit. Which two statements are true about the partial configuration that is provided.
(Choose two)
Answer: A B
Explanation
This is an IBGP peer group because the AS numbers in “router bgp {AS number}” and “neighbor
internal remote-as {AS number} are the same -> A is correct.
A BGP peer group reduces the load on system resources by allowing the routing table to be checked
only once, and updates to be replicated to all peer group members instead of being done individually
for each peer in the peer group. In addition, a BGP peer group also simplifies the BGP configuration ->
B is correct.
neighbor internal remote-as 100 Configure needed commands for the peer-group
neighbor internal update-source loopback 0
neighbor internal route-map set-med out
neighbor internal filter-list 1 out
neighbor internal filter-list 2 in
neighbor 171.69.232.53 peer-group internal Assign BGP neighbor into a peer group
neighbor 171.69.232.54 peer-group internal
neighbor 171.69.232.55 peer-group internal
Question 40
Observe the diagram. RTC is the hub router and RTA and RTB are the spokes. There are no virtual
circuits between the spoke locations. What is needed to successfully route traffic to the 11.11.11.0/24
network from RTA?
Answer: C
Explanation
The next-hop-self command must be used on RTC to specify RTC’s IP address as the source address in
the packets sent to RTB (and RTB knows how to reach RTC but it does not know how to reach RTA).
Question 41
A router is running BGP and receives more than one route for a particular prefix. Assume all the
routes for this prefix have the same attributes. Which three path features would be reasons be for the
router to ignore some of the routes and not consider them as candidates for the best path? (Choose
three)
Explanation
Only synchronized routes (answer B) with no AS loops (answer E) and a valid next hop (answer D) will
be considered as candidates for the best path route selection decision process.
Question 42
Above is the output from show ip bgp neighbors command. What is line 21 stating about the BGP
connection?
Answer: B
According
to http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_s2g.html#wp1040913
Question 43
Refer to the exhibit. Routing updates for the 192.168.1.0 network are being received from all three
neighbors. Which statement is correct regarding the result of the configuration shown?
A. The router will prefer the next hop of 172.16.1.1 for packets destined for the 192.168.1.0 network.
B. The router will prefer the next hop of 172.26.1.1 for packets destined for the 192.168.1.0 network.
C. The router will advertise the 192.168.1.0 network only to 172.30.1.1.
D. The router will advertise the 192.168.1.0 network only to 172.26.1.1.
E. The router will prefer the next hop of 172.26.1.1 for packets except those destined for the
Answer: B
Explanation
The local-preference of the next hop 172.26.1.1 is set to 200, which is higher than the default value
(100) so this path is preferred for packets destined to the 192.168.1.0 network.
Refer to the exhibit. Which statement is true about the 6.6.6.0/24 prefix?
A. If another path advertises the 6.6.6.0/24 path and has the default local preference, that path is
more preferred.
B. The command neighbor send-community is configured on BGP neighbor 10.10.23.3.
C. The route 10.10.23.3 is not being advertised to other BGP neighbors.
D. Route 6.6.6.0/24 is learned by an IBGP peer.
Answer: B
Explanation
By default, the community attributes are not advertised to BGP neighbors. But in the output we see
the “Community: 100:250″ which means the command “neighbor … send-community” was used to
send community attributes of the local router to the neighbor.
Question 45
Refer to the exhibit. Currently the two eBGP links between AS100 and AS200 have an average
inbound load of 65% and 20% respectively. After further investigation, traffic to 10.10.1.16/28
accounts for 45%, and traffic to 10.10.1.32/28 and to 10.10.1.48/28 each account for 20% of the
inbound load. The BGP attributes are currently set at their default values in both autonomous
systems.
If you want to influence how AS200 sends traffic to AS100, which eBGP configurations would you
configure in AS100 to influence AS200 to use the eBGP links more evenly? (Choose two.)
Answer: B D
Explanation
Note: The wildcard masks in the access-list are not correct, they should be 0.0.0.15 instead of
0.0.0.240.
First let’s recall about MED. If you want to influence external neighbors about the path it sends traffic
then MED, also called the metric, should be used. A lower MED value is preferred over a higher value.
The default MED value is 0.
Also, an important point I wish to notice in this question is: there is a “deny all” statement at the end
of each access-list. In other words, all the routes that do not match the access-list used by the
route-map will be filtered out. For example in answer C, only network 10.10.1.16/28 is matched
by the access-list and all other networks will be dropped (not advertised to EBGP).
If answer D is applied for router A, the MED for 10.10.1.32 set to 150 would make traffic for this route
go through router B (because the MED default value is 0, which is lower than 150). So router A will be
responsible for 45% traffic and router B will receive 40% traffic -> D is correct.
Question 46
Refer to the exhibit. A client has asked you to consult on an eBGP loading question. Currently the AS
100 eBGP links have an average outbound load of 65% and 20% respectively. On further
investigation, traffic from 10.10.24.0 accounts for 45%, and 10.10.25.0 and 10.10.32.0 accounts for
20% each of the outbound load. The customer wants to spread the load between the two eBGP links
more evenly. The BGP attributes are currently set at their default values.
If you are located at AS 100 and want to influence how AS 100 sends traffic to AS 200, what BGP
attribute could you configure to cause AS 100 outbound traffic to load the eBGP links more evenly?
Answer: C
To make the eBGP links more evenly we should use the link B-F for network 10.10.25.0/24 so that the
total traffic going through B-F link is about 40%. In this case we should apply a route map on B to set
the local preference of 10.10.25.0/24 to a higher value than 100. But notice that we must use a
second clause to permit other traffic if not they will be filtered out.
Note: The default value for local preference is 100. A path with higher local preference is preferred.
Question 47
Refer to the exhibit. AS 65500 is not advertising the prefix 192.168.12.0/22 to its provider. AS 65500
is running OSPF as its IGP.
Which of the following additions to the configuration is most likely to solve the problem?
A. RouterA(config)#ip cef
B. RouterA(config)#ip route 192.168.12.0 255.255.255.252 null 0
C. RouterA(config-router)#ebgp multihop 1
D. RouterA(config-router)#redistribute ospf 1
E. RouterA(config-router)#neighbor 192.168.14.253 next-hop-self
F. RouterA(config-router)#neighbor 192.168.14.253 local-as 65500
Answer: B
Explanation
The synchronization rule states “A BGP router should not use, or advertise to an external neighbor, a
route learned by IBGP, unless that route is local or is learned from the IGP”. Notice that IGP here can
be a static route.
In this case, unless there is an entry about network 192.168.12.0 in the routing table of RouterA,
RouterA will not advertise this network to its EBGP -> B is correct (even if this static route points to
Null0).
Note: Although this question states that OSPF is being used as IGP but for some reasons, network
192.168.12.0/22 is not advertised to RouterA -> RouterA does not have this route in its routing table.