Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


origin-autonomous-system (Origin Validation for BGP)


Hierarchy Level


Configure the legitimate originator autonomous system (AS). This is a required statement.



Configure a legitimate originator AS number.

validation-state (invalid | valid)

Configure the validation state for a route validation record.

  • Values: Configure one of two mutually exclusive validation states:

    • invalid—A negative (invalid) validation state. Indicates that the prefix is found, but either the corresponding AS received from the EBGP peer is not the AS that appears in the database, or the prefix length in the BGP update message is longer than the maximum length permitted in the database.

    • valid—A positive (valid) validation state. Indicates that the prefix and AS pair are found in the database.

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.