Controlling Bgp Path Selection; Setting A Preferred Value For Routes Received - HP HPE FlexNetwork 7500 series Configuration Manual

Table of Contents

Advertisement

Controlling BGP path selection

By configuring BGP path attributes, you can control BGP path selection.

Setting a preferred value for routes received

Perform this task to set a preferred value for specific routes to control BGP path selection.
Among multiple routes that have the same destination/mask and are learned from different peers,
the one with the greatest preferred value is selected as the optimal route.
To set a preferred value for routes from a peer or peer group (IPv4 unicast/multicast address family):
Step
1.
Enter system view.
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or BGP
IPv4 multicast address family
view.
3.
Set a preferred value for
routes received from a peer
or peer group.
To set a preferred value for routes from a peer or peer group (IPv6 unicast/multicast address family):
Step
1.
Enter system view.
Command
system-view
Enter BGP IPv4 unicast
address family view:
a. bgp as-number
[ instance
instance-name ]
b. address-family ipv4
[ unicast ]
Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
[ instance
instance-name ]
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[ unicast ]
Enter BGP IPv4 multicast
address family view:
f. bgp as-number
[ instance
instance-name ]
g. address-family ipv4
multicast
peer { group-name | ipv4-address
[ mask-length ] } preferred-value
value
Command
system-view
251
Remarks
N/A
N/A
The default preferred value is 0.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents