EasyManuals Logo

HPE FlexNetwork 5510 HI Series User Manual

HPE FlexNetwork 5510 HI Series
572 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #255 background imageLoading...
Page #255 background image
243
Configuring preferences for BGP routes
Routing protocols each have a default preference. If they find multiple routes destined for the same
network, the route found by the routing protocol with the highest preference is selected as the
optimal route.
You can use the preference command to modify preferences for EBGP, IBGP, and local BGP routes,
or use a routing policy to set a preference for matching routes. For routes not matching the routing
policy, the default preference applies.
If a device has an EBGP route and a local BGP route to reach the same destination, it does not select
the EBGP route because the EBGP route has a lower preference than the local BGP route by
default. You can use the network short-cut command to configure the EBGP route as a shortcut
route that has the same preference as the local BGP route. The EBGP route will more likely become
the optimal route.
To configure preferences for BGP routes (IPv4 unicast/multicast address family):
Step
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or BGP
IPv4 multicast address family
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
N/A
3. Configure preferences for
EBGP, IBGP, and local BGP
routes.
preference
{ external-preference
internal-preference
local-preference |
route-policy
route-policy-name }
The default preferences for
EBGP, IBGP, and local BGP
routes are 255, 255, and 130.
4. Configure an EBGP route as
a shortcut route.
network
ipv4-address
[ mask-length | mask ]
short-cut
By default, an EBGP route has a
preference of 255.
To configure preferences for BGP routes (IPv6 unicast/multicast address family):
Step
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP IPv6 unicast
• Enter BGP IPv6 unicast
N/A

Table of Contents

Other manuals for HPE FlexNetwork 5510 HI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5510 HI Series and is the answer not in the manual?

HPE FlexNetwork 5510 HI Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5510 HI Series
CategorySwitch
LanguageEnglish

Related product manuals