384
pic
Use pic to enable BGP FRR for a BGP address family.
Use undo pic to disable BGP FRR for a BGP address family.
Syntax
pic
undo pic
Default
BGP FRR is disabled.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view, BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin
Usage guidelines
FRR is used in a dual-homing network to protect a primary route with a backup route. It uses echo-mode
BFD (for IPv4) or ND (for IPv6) to detect the connectivity of the primary route. When the primary route
fails, BGP directs packets to the backup route.
After you enable FRR, BGP calculates a backup route for a BGP route in the address family if there are
two or more unequal-cost routes to reach the destination.
You can also configure BGP FRR by using the fast-reroute route-policy command, which takes
precedence over the pic command. For more information about routing policies, see Layer 3—IP Routing
Configuration Guide.
Use the pic command with caution because it might cause routing loops in specific scenarios.
Examples
# Enable BGP FRR in BGP IPv4 unicast address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4 unicast
[Sysname-bgp-ipv4] pic
Related commands
fast-reroute route-policy
preference
Use preference to configure preferences for BGP routes.
Use undo preference to restore the default.
Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference