Which command will display how long a BGP peering relationship has been up?

IT Exam Items RepositoryCategory: CCNP ENCOR v9Which command will display how long a BGP peering relationship has been up?

Which command will display how long a BGP peering relationship has been up?

  • show ip bgp
  • show ip bgp summary
  • show ip bgp peer
  • show ip bgp all

Explanation: The show ip bgp summary command is used to verify the state of BGP sessions. The output of this command displays a table with current neighbor statuses, where each line provides information for a specific neighbor.

Specifically, the column labeled Up/Down in the output indicates how long the neighbor has been in the current state. In BGP operation, if the relationship is "Established," the state name itself is not displayed; instead, the number of prefixes received from that neighbor is shown in the final column. Therefore, the time value in the Up/Down column reflects exactly how long the peering relationship has been up and running.

While the show ip bgp neighbors command (not listed as an option) also provides this information in a detailed per-neighbor format (e.g., "up for 00:01:16"), show ip bgp summary is the standard administrative command used to view the uptime of all peering relationships simultaneously. Other commands like show ip bgp are used to view the BGP routing table itself rather than session statistics.

Related exam: Modules 8 – 13: Checkpoint Exam: Network Routing Answers (CCNP ENCOR v9)