F3215-HP Load Balancing Module Network Management Command Reference-6PW101
401
[Sysname-ripng-100] filter-policy 3000 import
import-route
Use import-route to redistribute routes from another routing protocol.
Use undo import-route to disable redistributing routes from another routing protocol.
Syntax
import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | route-policy route-policy-name ] *
undo import-route protocol [ process-id ]
Default
RIPng does not redistribute routes from other routing protocols.
Views
RIPng view
Default command level
2: System level
Parameters
protocol: Specifies a routing protocol from which to redistribute routes. It can be bgp4+, direct, ospfv3,
ripng, or static.
process-id: Process ID, in the range of 1 to 65535. The default is 1. This argument is available only when
the protocol is ospfv3 or ripng.
cost: Routing metric of redistributed routes, in the range of 0 to 16. If cost value is not specified, the metric
is the default metric specified by the default cost command.
route-policy route-policy-name: Specifies a routing policy by its name with 1 to 63 case-sensitive
characters.
allow-ibgp: Optional keyword when the specified protocol is bgp4+.
Usage guidelines
The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp
command redistributes additional IBGP routes.
Examples
# Redistribute OSPFv3 routes (process 7) and specify the metric as 7.
<Sysname> system-view
[Sysname] ripng 100
[Sysname-ripng-100] import-route ospfv3 7 cost 7
Related commands
default cost
maximum load-balancing (RIPng view)
Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for
load balancing.
Use undo maximum load-balancing to restore the default.