bestpath prefix-validation disable

This command disables the validation of prefixes that are received from BGP peers when calculating best path. The default behavior is to allow using all prefixes for best path calculation.

Syntax

bestpath prefix-validation disable
[no] bestpath prefix-validation disable

Modes

BGP address-family IPv4 unicast configuration mode

BGP address-family IPv6 unicast configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast VRF configuration mode

Usage Guidelines

The default behavior is to allow the use of all prefixes for best path calculation.

The [no] format of this command enables the default behavior.

Examples

This example shows the commands to disable validation of prefixes while calculating best path, irrespective of the prefix validation state received from the RPKI cache server.

SLX(config)#router bgp
SLX(config-bgp-router)# address-family ipv4 unicast
SLX(config-bgp-ipv4u)# bestpath prefix-validation disable
SLX(config-bgp-ipv4u)#