Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Uncategorized / CCNP Route FAQ: Internal BGP and BGP Route Filtering

CCNP Route FAQ: Internal BGP and BGP Route Filtering

March 17, 2020 by James Palmer

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

Answer: C. R1 needs to be configured with router bgp 1, neighbor 2.2.2.2 remote-as 1, and neighbor 2.2.2.2 update-source loopback1. The neighbor 2.2.2.2 ibgp-multihop 2 and neighbor 2.2.2.2 ibgp-mode commands are simply unsupported commands. The neighbor 1.1.1.1 remote-as 1 command has correct syntax and is used as a command in R2’s configuration but not on R1. The neighbor 2.2.2.2 remote-as 2 command has correct syntax but with the wrong ASN (2 instead of 1).

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

Answer: D. The small letter “i” in the third character position implies the route was learned with iBGP. Of the five lines, four have an “i” in the third column.

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.

Answer: B and C. The line reading “1.1.1.1 from 2.2.2.2…” implies the BGP RID of the neighbor is 1.1.1.1, with neighbor ID–the IP address on the local router’s neighbor command–of 2.2.2.2. The end of the output shows that the route is internal (iBGP learned) and is best, so both the > and i will be displayed for this route by the show ip bgp command. Finally, the output does not identify the local ASN, although it does list the AS_Path of the route (1, 2, 3, 4).

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.

Answer: B. By default, when a router advertises an iBGP route, it leaves the Next-Hop PA unchanged. By default, R2’s next hop for routes learned from I2 will be I2’s IP address used on the R2–I2 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

Answer: A and C. The Enterprise core routers need to know which exit point (R1 or R2) is best; the correct answers supply those routes to the routers internal to the company. Note that redistribution from BGP into the IGP is not recommended, but it does defeat this particular problem.

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.

Answer: B. The show ip bgp neighbors 2.2.2.2 advertised-routes command does list the postoutbound-filter BGP Update; however, the user did not issue a clear command, so the filter has not yet taken effect. As such, the output still lists the original three prefixes as if the filter had not yet been applied.

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

Answer: B, D, and E. The neighbor distribute-list out command refers to an ACL, but for the ACL to match on both prefix and prefix length, the ACL must be an extended ACL. The neighbor filter-list command refers to an AS-path filter and cannot match based on prefix/length.


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

Answer: A and B. The router resets the BGP neighborship when performing a hard reset of the peer. See Table 14-3 in the chapter for a list of several variations of the clear command and whether they perform a hard or soft reset.

Related

Filed Under: Uncategorized

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in