292
After the suboptimal route is flushed to the RIB on a network, BGP immediately switches traffic to the
suboptimal route when the optimal route fails.
For example, the device has a static route to the subnet 1.1.1.0/24 that has a higher priority than a
BGP route. BGP redistributes the static route and receives a route to 1.1.1.0/24 from a peer. After the
flush suboptimal-route
command is executed, BGP flushes the received BGP route to the RIB as
the suboptimal route. When the static route fails, BGP immediately switches traffic to the suboptimal
route if inter-protocol FRR is enabled. For more information about inter-protocol FRR, see
"
To flush the suboptimal BGP route to the RIB:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
[
instance
instance-name
]
N/A
3.
Flush the suboptimal BGP
route to the RIB.
flush suboptimal-route
By default, BGP is disabled from
flushing the suboptimal BGP route
to the RIB, and only the optimal
route is flushed to the RIB.
Setting a DSCP value for outgoing BGP packets
The DSCP value of an IP packet specifies the priority level of the packet and affects the transmission
priority of the packet.
To set a DSCP value for outgoing BGP packets:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view
or BGP-VPN instance
view.
•
Enter BGP instance view:
bgp as-number
[
instance
instance-name
]
•
Enter BGP-VPN instance view:
a. bgp as-number
[
instance
instance-name
]
b. ip vpn-instance
vpn-instance-name
N/A
3.
Set a DSCP value for
outgoing BGP packets.
peer
{
group-name
|
ipv4-address
[
mask-length
] |
ipv6-address
[
prefix-length
] }
dscp dscp-value
By default, the DSCP value for
outgoing BGP packets is 48.
Disabling route recursion policy control for routes received
from a peer or peer group
If you configure routing policy-based recursive lookup for BGP routes, this route recursion policy
applies to BGP routes learned from all peers. This task allows you to disable route recursion policy
control for routes learned from certain peers, for example, direct EBGP peers.
To disable route recursion policy control for routes received from a peer or peer group:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...