3com S7906E Guida Di Riferimento
1-30
Description
Use the filter-policy import command to configure the filtering of incoming routing information.
Use the undo filter-policy import command to disable the filtering.
By default, incoming routing information is not filtered.
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 family view)
Syntax
import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ]
undo import-route protocol [ process-id ]
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
protocol: Redistributes routes from the routing protocol, which can be direct, isis, nat, ospf, rip or
static at present.
process-id: Process ID, in the range 1 to 65535. It is available only when the protocol is isis, ospf or rip.
med-value: Specifies a MED value for redistributed routes, ranging from 0 to 4294967295. If the
argument is not specified, the cost of a redistributed route is used as its MED in the BGP routing
domain.
route-policy-name: Name of a route policy used to filter redistributed routes, a string of 1 to 19
characters.
Description
Use the import-route command to enable route redistribution from a specified routing protocol.
Use the undo import-route command to disable route redistribution from a routing protocol.
By default, MBGP does not redistribute routes from other protocols.
The origin attribute of routes redistributed with the import-route command is incomplete.
Examples
# In IPv4 MBGP address family view, enable route redistribution from RIP.
<Sysname> system-view
[Sysname]bgp 100