home

Supported platforms

Vyatta documentation

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

protocols bgp <asn> neighbor <id> address-family ipv6-unicast weight <weight>

Defines a default weight for routes from this neighbor.

set protocols bgp asn neighbor id address-family ipv6-unicast weight weight
delete protocols bgp asn neighbor id address-family ipv6-unicast weight weight
show protocols bgp asn neighbor id address-family ipv6-unicast weight

Routes learned from a BGP neighbor have a weight of 0. Routes sourced by the local router have a weight of 32768.

asn
The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
id
The IPv4 or IPv6 address of a BGP neighbor.
weight
The weight to be assigned to routes from this neighbor. The numbers range from 0 through 65535.

Configuration mode


protocols {
    bgp asn {
        neighbor id {
            address-family {
                ipv6-unicast {
                    weight weight
                }
            }
        }
    }
}

Use the set form of this command to set the default weights for routes learned from a BGP neighbor.

Use the delete form of this command to restore routes weighting to the default. Existing route weights are not changed.

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