R2511-HP MSR Router Series IP Multicast Command Reference(V5)

222
Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy import
Default
Incoming routing information is not filtered.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
acl-number: Specifies an ACL 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.
Examples
# In IPv4 MBGP address family view, reference ACL 2000 to filter incoming routing information.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] filter-policy 2000 import
import-route (MBGP address family view)
Use import-route to enable route redistribution from a specified routing protocol.
Use undo import-route to disable route redistribution from a routing protocol.
Syntax
import-route protocol [ { process-id | all-processes } [ allow-direct | med med-value | route-policy
route-policy-name ] * ]
undo import-route protocol [ process-id | all-processes ]
Default
MBGP does not redistribute routes from other protocols.
Views
IPv4 MBGP address family view
Default command level
2: System level
Parameters
protocol: Redistributes routes from the routing protocol, which can be direct, isis, nat, ospf, rip, or static.
process-id: Specifies a process ID in the range of 1 to 65535. It is available only when the protocol is isis,
ospf, or rip.
all-processes: Redistributes routes from all the processes of the specified routing protocol. It is available
only when the specified protocol is isis, ospf, or rip.