R3303-HP HSR6800 Routers IP Multicast Command Reference

226
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id |
rip process-id | static ]
undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ]
Default
The filtering is not configured.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters.
direct: Filters direct routes.
isis process-id: Filters outgoing routes redistributed from an ISIS process. The process ID is in the range of
1 to 65535.
ospf process-id: Filters outgoing routes redistributed from the OSPF process with an ID from 1 to 65535.
rip process-id: Filters outgoing routes redistributed from a RIP process. The process ID is in the range of
1 to 65535.
static: Filters static routes.
Usage guidelines
If no routing protocol is specified, all redistributed routes are filtered.
Examples
# In IPv4 MBGP address family view, reference ACL 2000 to filter all outgoing routes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] filter-policy 2000 export
filter-policy import (MBGP address family view)
Use filter-policy import to configure the filtering of incoming routing information.
Use undo filter-policy import to disable the filtering.
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
Default
Incoming routing information is not filtered.