Juniper JN0-360: Complete Configuration for Internal BGP Session

Adding Statements for Internal BGP Configuration

Prev Question Next Question

Question

-- Exhibit --

[edit protocols bgp]

user@router# show

group internal {

neighbor 10.0.16.2;

}

The exhibit shows a partial configuration fo an internal BGP session.

Which two statements must be added to complete the configuration? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

AD

Based on the scenario, you would need to add the local-address and type internal statements. A configuration error will occur if these statements are not added.

The exhibited configuration shows the configuration for a BGP group named "internal", with a single neighbor specified as 10.0.16.2. To complete the configuration, two additional statements need to be added. We need to select the two statements that are required to establish an internal BGP (iBGP) session with the specified neighbor.

A. The local-address statement is used to specify the IP address that BGP uses as the source IP address for TCP connections with the neighbor. This statement is optional in iBGP configuration, as the local IP address is automatically chosen based on the outgoing interface.

B. The type ibgp statement is required to specify that the neighbor is an iBGP neighbor. This statement is necessary to distinguish the neighbor from an eBGP neighbor.

C. The next-hop-self statement is used to configure BGP to advertise the local router's IP address as the next-hop for prefixes learned from the neighbor. This is required in iBGP configuration, as iBGP peers do not modify the next-hop attribute when propagating prefixes.

D. The type internal statement is not a valid statement in Juniper BGP configuration. The correct statement to specify an iBGP session is type internal.

Therefore, the correct answers are B and C. To complete the configuration, the following statements should be added:

python
group internal { neighbor 10.0.16.2 { type ibgp; next-hop-self; } }

This will configure the neighbor as an iBGP neighbor, and will ensure that the local router's IP address is advertised as the next-hop for prefixes learned from the neighbor.