Which command defines a peer router and activates a BGP session?

Master RIPE BGP Security with our comprehensive test. Understand the Border Gateway Protocol, explore multiple choice questions, and get ready for your exam with detailed hints and explanations.

Multiple Choice

Which command defines a peer router and activates a BGP session?

Explanation:
BGP peering is formed by telling your router which neighbor to connect to and what AS that neighbor belongs to. The command that does this directly defines the peer by its IP address and specifies the remote ASN, which is what allows the TCP session to be established and the BGP session to begin. In other words, you declare who you want to peer with and what AS they’re in, and the router uses that to initiate and manage the session. Other options have different roles: updating the source IP used for the BGP connection, which is needed in certain peering setups (like when peering to a loopback); advertising networks into BGP so they are learned by others; and applying policy to BGP routes with a route-map. None of these define the peer or trigger the initial BGP peering in the same direct way.

BGP peering is formed by telling your router which neighbor to connect to and what AS that neighbor belongs to. The command that does this directly defines the peer by its IP address and specifies the remote ASN, which is what allows the TCP session to be established and the BGP session to begin. In other words, you declare who you want to peer with and what AS they’re in, and the router uses that to initiate and manage the session.

Other options have different roles: updating the source IP used for the BGP connection, which is needed in certain peering setups (like when peering to a loopback); advertising networks into BGP so they are learned by others; and applying policy to BGP routes with a route-map. None of these define the peer or trigger the initial BGP peering in the same direct way.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy