Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols bgp <asn> parameters bestpath as-path <action>

Directs the router to compare the AS paths during best path selection.

set protocols bgp asn parameters bestpath as-path { confed | ignore }
delete protocols bgp asn parameters bestpath as-path [ confed | ignore ]
show protocols bgp asn parameters bestpath

By default, when making the best-path selection, the router does not compare AS_PATHs within a confederation and does not ignore the AS_PATH.

asn
The number of the AS in which this router resides. The numbers range from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for private AS.
confed
Directs the router to compare the AS paths within a confederation during best path selection.
ignore
Directs the router to ignore AS_PATH during best path selection.

Configuration mode


protocols {
    bgp asn {
        parameters {
            bestpath {
                as-path {
                    confed
                    ignore
                }
            }
        }
    }
}

Use the set form of this command to direct the router to compare the AS paths during best path selection.

Use the delete form of this command to restore the default best-path selection behavior.

Use the show form of this command to view BGP best path selection configuration settings.