Filter-Policy Export - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

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
Parameters
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
There are two methods to configure BGP FRR:
Method 1—Execute the pic command in BGP address family view. BGP calculates a backup next
hop for a BGP route in the address family if there are two or more unequal-cost routes to reach the
destination.
Method 2—Execute the fast-reroute route-policy command to reference a routing policy in which a
backup next hop is specified by using the command apply [ ipv6 ] fast-reroute backup-nexthop.
The backup next hop calculated by BGP must be the same as the specified backup next hop.
Otherwise, BGP does not generate a backup next hop for the primary route. You can also configure
if-match clauses in the routing policy to identify the routes protected by FRR.
If both methods are configured, Method 2 takes precedence over Method 1.
Examples
# Reference the routing policy frr-policy to specify a backup next hop for FRR in BGP IPv4 unicast
address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4
[Sysname-bgp-ipv4] fast-reroute route-policy frr-policy
Related commands
apply fast-reroute (Routing policy commands)
apply ipv6 fast-reroute (Routing policy commands)
pic
route-policy (Routing policy commands)

filter-policy export

Use filter-policy export to filter advertised BGP routes.
Use undo filter-policy export to remove the route filter.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view:
filter-policy { acl-number | prefix-list prefix-list-name } export [ protocol process-id ]
undo filter-policy export [ protocol process-id ]
324

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents