-- Exhibit --
[edit protocols bgp]
user@router# show
group external {
neighbor 10.0.21.2;
}
The exhibit shows a partial configuration for an external BGP session.
What must be added to complete the configuration?
Click on the arrows to vote for the correct answer
A. B. C. D.B
Based on the exhibit, you need to add the peer-as statement. Adding this statement is necessary to indicate that the peer's AS value is different from that of the local device.
The partial configuration in the exhibit is specifying a BGP group named "external" and a neighbor IP address of 10.0.21.2. To complete the configuration, one of the following statements must be added:
A. The "type external" statement is not required as it is already implied by the name of the BGP group ("external").
B. The "peer-as" statement is required to specify the autonomous system (AS) number of the BGP neighbor. For example, if the neighbor at 10.0.21.2 is in AS 65001, the configuration should be:
sql[edit protocols bgp] user@router# show group external { neighbor 10.0.21.2 { peer-as 65001; } }
C. The "multi-hop" statement is not required in this case as the neighbor is directly connected.
D. The "next-hop-self" statement is optional and depends on the specific requirements of the BGP peering. It is used to modify the next-hop attribute of routes advertised to the neighbor so that the next-hop IP address is the local router's IP address. If this behavior is required, the configuration should include:
sql[edit protocols bgp] user@router# show group external { neighbor 10.0.21.2 { next-hop-self; } }
Overall, the correct answer is B, as the "peer-as" statement is required in most cases to specify the AS number of the BGP neighbor.