CCNP Route FAQ: Internal BGP and BGP Route Filtering
Q1. R1 in ASN 1 with loopback1 address 1.1.1.1 needs to be configured with an iBGP connection to R2 with loopback2 IP address 2.2.2.2. The connection should use the loopbacks. Which of the following commands is required on R1?
a. neighbor 1.1.1.1 remote-as 1
b. neighbor 2.2.2.2 remote-as 2
c. neighbor 2.2.2.2 update-source loopback1
d. neighbor 2.2.2.2 ibgp-multihop 2
e. neighbor 2.2.2.2 ibgp-mode
Q2. The following output occurred as a result of the show ip bgp command on Router R1. The output shows all BGP table entries on R1. How many iBGP-learned routes exist on this router?
*>i181.0.0.0/8 10.100.1.1 0 100 0 1 2 111 112 i *>i182.0.0.0/8 10.100.1.1 0 100 0 1 2 222 i *>i183.0.0.0/8 10.100.1.1 0 100 0 1 2 i *>i184.0.0.0/8 10.100.1.1 0 100 0 1 2 i *> 192.135.250.0/28 192.168.1.6 0 3 4 i
a. 1
b. 2
c. 3
d. 4
e. 5
Q3. The following output on Router R1 lists details of a BGP route for 190.1.0.0/16. Which of the following is true based on this output? (Choose 2)
R1# show ip bgp 190.1.0.0/16 BGP routing table entry for 190.1.0.0/16, version 121 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to update-groups: 1 1 2 3 4 1.1.1.1 from 2.2.2.2 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal, best
a. R1 has a neighbor 1.1.1.1 command configured.
b. R1 has a neighbor 2.2.2.2 command configured.
c. The show ip bgp command lists a line for 190.1.0.0/16 with both an > and an i on the left.
d. R1 is in ASN 1.
Q4. A company uses Routers R1 and R2 to connect to ISP1 and ISP2, respectively, with Routers I1 and I2 used at the ISPs. R1 peers with I1 and R2; R2 peers with I2 and R1. Assuming as many default settings as possible are used on all four routers, which of the following is true about the next-hop IP address for routes R1 learns over its iBGP connection to R2?
a. The next hop is I2’s BGP RID.
b. The next hop is I2’s IP address used on the R2-I2 neighbor relationship.
c. The next hop is R2’s BGP RID.
d. The next hop is R2’s IP address used on the R1–R2 neighbor relationship.
Q5. A company uses Routers R1 and R2 to connect to ISP1 and ISP2, respectively, with Routers I1 and I2 used at the ISPs. R1 peers with I1 and R2; R2 peers with I2 and R1. R1 and R2 do not share a common subnet, relying on other routers internal to the Enterprise for IP connectivity between the two routers. Which of the following could be used to prevent potential routing loops in this design? (Choose 2)
a. Using an iBGP mesh inside the Enterprise core
b. Configuring default routes in the Enterprise pointing to both R1 and R2
c. Redistributing BGP routes into the Enterprise IGP
d. Tunneling the packets for the iBGP connection between R1 and R2
Q6. R1 is currently advertising prefixes 1.0.0.0/8, 2.0.0.0/8, and 3.0.0.0/8 over its eBGP connection to neighbor 2.2.2.2 (R2). An engineer configures a prefix list (fred) on R1 that permits only 2.0.0.0/8 and then enables the filter with the neighbor R2 prefix-list fred out command. Upon exiting configuration mode, the engineer uses some show commands on R1, but no other commands. Which of the following is true in this case?
a. The show ip bgp neighbor 2.2.2.2 received-routes command lists the three original prefixes.
b. The show ip bgp neighbor 2.2.2.2 advertised-routes command lists the three original prefixes.
c. The show ip bgp neighbor 2.2.2.2 routes command lists the three original prefixes.
d. The show ip bgp neighbor 2.2.2.2 routes command lists only 2.0.0.0/8.
e. The show ip bgp neighbor 2.2.2.2 advertised-routes command lists only 2.0.0.0/8.
Q7. Which of the following three BGP filtering methods enabled with the neighbor command will filter BGP prefixes based on the prefix and prefix length? (Choose 3)
a. A neighbor distribute-list out command, referencing a standard ACL
b. A neighbor prefix-list out command
c. A neighbor filter-list out command
d. A neighbor distribute-list out command, referencing an extended ACL
e. A neighbor route-map out command
Figure: The Need for Enterprise BGP Filtering
Q8. Which of the following commands causes a router to bring down BGP neighbor relationships?
a. clear ip bgp *
b. clear ip bgp 1.1.1.1
c. clear ip bgp * soft
d. clear ip bgp 1.1.1.1 out