384
import-route (IPv6 MBGP address family view)
Syntax
import-route
protocol
[
process-id
[
med
med-value
|
route-policy
route-policy-name
] * ]
undo import-route
protocol
[
process-id
]
View
IPv6 MBGP address family view
Default level
2: System level
Parameters
protocol
: Redistributes routes from the protocol, which can be
direct
,
ospfv3
,
ripng
or
static
at present.
process-id
: Specifies a process ID, in the range of 1 to 65535. This argument is available when the
protocol is
ospfv3
or
ripng
.
med-value
: Specifies the default MED value, in the range of 0 to 4294967295. If no MED is specified, the
cost of a redistributed route will be 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 redistribute routes from another routing protocol.
Use
undo import-route
to disable route redistribution from a routing protocol.
By default, IPv6 MBGP does not redistribute routes from any routing protocol.
The ORIGIN attribute of routes redistributed through the
import-route
command is incomplete.
Examples
# Redistribute routes from RIPng 1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] import-route ripng 1
ipv6-family multicast
Syntax
ipv6-family multicast
undo ipv6-family multicast
View
BGP view
Default level
2: System level
Parameters
None