Courseiva
mediumMultiple Choice

CCNP Practice Question: Consider the following configuration snippet:…

Consider the following configuration snippet:

router bgp 65000

bgp router-id 192.168.1.1

neighbor 10.0.0.2 remote-as 65001
 neighbor 10.0.0.2 timers 10 30

!

What is the effect of the 'timers 10 30' command under the BGP neighbor?

⚠ Common exam trap

Cisco often tests the distinction between global and per-neighbor BGP timer configuration, and the trap here is that candidates confuse the 'timers' command under neighbor with the global 'timers bgp' command, or misorder the keepalive and hold time values.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

It sets the keepalive interval to 10 seconds and the hold time to 30 seconds for neighbor 10.0.0.2 only.

The 'timers 10 30' command under the BGP neighbor configuration mode sets the keepalive interval to 10 seconds and the hold time to 30 seconds specifically for that neighbor (10.0.0.2). This per-neighbor timer configuration overrides any global BGP timers set under the router bgp process, allowing granular control over individual BGP sessions.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    It sets the keepalive interval to 10 seconds and the hold time to 30 seconds for all BGP neighbors.

    Why it's wrong here

    BGP timer configuration entered under the neighbor address-family or neighbor context, such as 'neighbor 10.0.0.2 timers 10 30', affects only that specific neighbor. Global BGP timers applied to all neighbors are set with the 'timers bgp keepalive holdtime' command at the router configuration mode. Therefore, issuing a 'neighbor' timers command does not propagate to other BGP sessions; it is a per-peer override of the global values.

  • ✓

    It sets the keepalive interval to 10 seconds and the hold time to 30 seconds for neighbor 10.0.0.2 only.

    Why this is correct

    This is the correct interpretation of the 'neighbor 10.0.0.2 timers 10 30' command. The syntax explicitly places the timers within the neighbor address family, meaning the keepalive interval of 10 seconds and hold time of 30 seconds are applied only to that BGP peer. This per-neighbor timer configuration overrides any global 'timers bgp' settings for this neighbor, and it does not affect other neighboring devices.

  • ✗

    It sets the BGP keepalive interval to 30 seconds and the hold time to 10 seconds for neighbor 10.0.0.2.

    Why it's wrong here

    This option reverses the order of the timer values. The BGP timer command uses the format 'timers keepalive holdtime', so the first value (10) is always the keepalive interval and the second value (30) is always the hold time. If a configuration pair were written as 30 and 10, it would set a keepalive of 30 seconds and a hold time of 10 seconds, which is the opposite of what the actual command configures. Thus, the retained value order in the command is mandatory and cannot be swapped.

  • ✗

    It configures the BGP session to use a keepalive of 10 seconds and a hold time of 30 seconds, but only if the neighbor supports it.

    Why it's wrong here

    This option is misleading because BGP timers are configured locally on the router and are not dependent on whether the neighbor supports or advertises the same values. When a BGP session is established, the hold time is negotiated to the lower of the two configured hold times, and the keepalive interval is derived locally from that negotiated hold time. The 'neighbor timers' command will always be applied to the local BGP process; it does not wait for or require a neighbor capability. The neighbor's own timer settings are irrelevant to the local configuration being accepted.

About these practice questions

One of 1,923 original 350-401 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.