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> peer-group <name> address-family ipv4-unicast weight <weight>

Defines a default weight for routes from this peer group.

set protocols bgp asn peer-group name address-family ipv4-unicast weight weight
delete protocols bgp asn peer-group name address-family ipv4-unicast weight [ weight ]
show protocols bgp asn peer-group name address-family ipv4-unicast

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.
name
The peer group name.
weight
The weight to be assigned to routes from this peer group. The numbers range from 0 through 65535.

Configuration mode


protocols {
    bgp asn {
        peer-group name {
            address-family {
                ipv4-unicast {
                    weight weight
                }
            }
        }
    }
}

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

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

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