Peer Preferred-Value - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip routing
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] bgp 200
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 10.1.100.1 password simple aabbcc

peer preferred-value

Use peer preferred-value to specify a preferred value for routes received from a peer or peer group.
Use undo peer preferred-value to restore the default.
Syntax
In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view:
peer { group-name | ip-address } preferred-value value
undo peer { group-name | ip-address } preferred-value
In BGP IPv6 unicast instance view:
peer { group-name | ipv6-address } preferred-value value
undo peer { group-name | ipv6-address } preferred-value
In BGP-VPN IPv6 unicast instance view:
peer { group-name | ipv6-address } preferred-value value
undo peer { group-name | ipv6-address } preferred-value
Default
The preferred value is 0.
Views
BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view,
BGP-VPN IPv6 unicast instance view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created.
value: Specifies the preferred value in the range of 0 to 65535.
Usage guidelines
If multiple routes that have the same destination are learned from different peers, you can specify
different preferred values for the routes as needed to control BGP path selection. The one with the
greatest preferred value is selected as the optimal route to the destination.
The preferred value is used for route selection on the local router and is not advertised to the peer. It has
only local significance.
293

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents