300-510 · Question #24
In Cisco IOS-XR, the maximum-prefix command, to control the number of prefixes that can be installed from a BGP neighbor, is configured under which configuration mode?
The correct answer is D. RP/0/RSP0/CPU0:P2(config-bgp-nbr-af)#. In Cisco IOS-XR, the 'maximum-prefix' command that limits the number of prefixes accepted from a BGP neighbor is configured under the neighbor address-family configuration mode (config-bgp-nbr-af). This is because prefix limits are address-family specific-an IPv4 unicast neighbor
Question
In Cisco IOS-XR, the maximum-prefix command, to control the number of prefixes that can be installed from a BGP neighbor, is configured under which configuration mode?
Options
- ARP/0/RSP0/CPU0:P2(config-bgp)#
- BRP/0/RSP0/CPU0:P2(config-bgp-af)#
- CRP/0/RSP0/CPU0:P2(config-bgp-nbr)#
- DRP/0/RSP0/CPU0:P2(config-bgp-nbr-af)#
How the community answered
(46 responses)- A2% (1)
- B7% (3)
- C2% (1)
- D89% (41)
Explanation
In Cisco IOS-XR, the 'maximum-prefix' command that limits the number of prefixes accepted from a BGP neighbor is configured under the neighbor address-family configuration mode (config-bgp-nbr-af). This is because prefix limits are address-family specific-an IPv4 unicast neighbor may have a different prefix limit than an IPv6 unicast or VPNv4 neighbor relationship with the same peer. The hierarchy is: router bgp (config-bgp) → neighbor (config-bgp-nbr) → address-family (config-bgp-nbr-af), where the maximum-prefix command is placed. Option A (config-bgp) is the top-level BGP configuration mode. Option B (config-bgp-af) is the global address-family mode, not the per-neighbor address-family. Option C (config-bgp-nbr) is the neighbor configuration mode but lacks the address-family context required for this per-AF command.
Topics
Community Discussion
No community discussion yet for this question.