R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

366
filter-policy { acl6-number | prefix-list ipv6-prefix-name } export [ protocol process-id ]
undo filter-policy export [ protocol process-id ]
Default
Advertised BGP routes are not filtered.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address
family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP
VPNv6 address family view, BGP IPv4 multicast address family view, BGP IPv6 multicast address family
view
Predefined user roles
network-admin
Parameters
acl-number: Specifies an IPv4 ACL by its number in the range of 2000 to 3999, to match routes by
destination.
acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999, to match routes by
destination.
prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63
characters, to match routes by destination.
prefix-list ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63
characters, to match routes by destination.
protocol: Filters routes redistributed from the routing protocol.
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view, it can be direct, isis, ospf, rip, or static.
In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view/BGP VPNv6
address family view, it can be direct, isisv6, ospfv3, ripng, or static.
process-id: Specifies a routing protocol by its ID in the range of 1 to 65535.
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view, it is available only when the protocol is isis, ospf, or rip.
In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view/BGP VPNv6
address family view, it is available only when the protocol is isisv6, ospfv3, or ripng.
Usage guidelines
If a protocol is specified, this command filters only routes redistributed from the specified protocol. If no
protocol is specified, this command filters all advertised routes, including the following routes:
Redistributed from IGP.
Injected by the network command.
Learned from BGP peers.
The following guidelines apply when you use an ACL in the command:
To filter routes with a specific destination address, use one of the following:
{ A basic ACL (2000 to 2999).
{ An advanced ACL that contain rules defined with the rule [ rule-id ] { deny | permit } ip source
sour-addr sour-wildcard command.