Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

origin-autonomous-system (Origin Validation for BGP)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
origin-autonomous-system as-number {
    validation-state (invalid | valid);
}

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name routing-instances instance-name routing-options validation static record destination maximum-length prefix-length],
[edit logical-systems logical-system-name routing-options validation static record destination maximum-length prefix-length],
[edit routing-instances instance-name routing-options validation static record destination maximum-length prefix-length],
[edit routing-options validation static record destination maximum-length prefix-length]

Description

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

Options

as-number

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.

footer-navigation