Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> parameters default local-pref <pref>

Sets default routing behaviors on the system.

set protocols bgp asn parameters default local-pref pref
delete protocols bgp asn parameters default local-pref
show protocols bgp asn parameters default

The value of the local-pref attribute is 100. IPv4 unicast is the default address family.

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.
local-pref pref
Specifies the degree of preference that iBGP peers are to give local routes during BGP best path selection. The higher the value, the more the route is to be preferred. The numbers range from 0 through 4294967295. The default is 100.

Configuration mode


protocols {
    bgp asn {
        parameters {
            default {
                local-pref pref
            }
        }
    }
}

Use the set form of this command to override default local route preferences and automatic address family exchanges.

Use the delete form of this command to reset the route preferences and address family exchanges to the default.

Use the show form of this command to view BGP default routing configuration settings.