static (Origin Validation for BGP)
Syntax
static { record destination { maximum-length prefix-length { origin-autonomous-system as-number { validation-state (invalid | valid); } } } }
Hierarchy Level
[edit logical-systems logical-system-name routing-instances instance-name routing-options validation], [edit logical-systems logical-system-name routing-options validation], [edit routing-instances instance-name routing-options validation], [edit routing-options validation]
Description
Configure a static route validation (RV) record.
RV records are received from the RPKI cache server using the protocol defined in Internet draft draft-ietf-sidr-rpki-rtr-19, The RPKI/Router Protocol, and can also be configured statically, as shown here.
Static records are useful for overwriting the information received from an RPKI cache server.
An RV record matches any route whose prefix matches the RV prefix record, whose prefix length does not exceed the maximum-length given in the RV record, and whose origin AS equals the origin-autonomous-system number given in the RV record.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 12.2.