Import-Route (Mbgp Address Family View) - HP 3600 v2 Series Command Reference Manual

Ip multicast
Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] filter-policy 2000 import

import-route (MBGP address family view)

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 ]
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
protocol: Redistributes routes from the routing protocol, which can be direct, isis, ospf, rip, or static at
present.
process-id: Specifies a process by its 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.
allow-direct: Redistributes direct routes from the specified routing protocol. This keyword is available only
when the specified routing protocol is OSPF. Without this keyword, BGP does not redistribute direct
routes from OSPF. If you specify the route-policy route-policy-name keyword together with the
allow-direct keyword, make sure that no rule in the routing policy conflicts with any direct route. For
example, do not configure the if-match route-type command for the routing policy to filter OSPF routes.
Otherwise, the allow-direct keyword does not take effect.
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: Specifies the name of a routing policy used to filter redistributed routes, a
case-sensitive string of 1 to 63 characters.
Description
Use import-route to enable route redistribution from a specified routing protocol.
Use undo import-route to disable route redistribution from a routing protocol.
By default, MBGP does not redistribute routes from other protocols.
The ORIGIN attribute of routes redistributed through the import-route command is incomplete.
The undo import-route protocol all-processes command can cancel only the configuration that you make
by using the import-route protocol all-processes command. To cancel the configuration that you make by
using the import-route protocol process-id command, you must use the undo import-route protocol
process-id command.
Examples
# In IPv4 MBGP address family view, enable route redistribution from RIP.
232

Advertisement

Table of Contents
loading

Table of Contents