F3215-HP Load Balancing Module Network Management Command Reference-6PW101
438
[Sysname-ospfv3-1] filter-policy 3000 import
import-route (OSPFv3 view)
Use import-route to redistribute routes.
Use undo import-route to disable routes redistribution.
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost value | route-policy route-policy-name | type
type ] *
undo import-route protocol [ process-id ]
Default
OSPFv3 does not redistribute routes from other protocols.
Views
OSPFv3 view
Default command level
2: System level
Parameters
protocol: Redistributes routes from a specified routing protocol, which can be bgp4+, direct, ospfv3,
ripng, or static.
process-id: Process ID of the routing protocol, in the range of 1 to 65536. It defaults to 1. This argument
takes effect only when the protocol is ospfv3 or ripng.
allow-ibgp: Allows redistributing IBGP routes. This keyword takes effect only the protocol is bgp4+.
cost value: Specifies a cost for redistributed routes, ranging from 1 to 16777214. The default is 1.
route-policy route-policy-name: Redistributes only the routes that match the specified routing policy.
route-policy-name is a case-sensitive string of 1 to 63 characters.
type type: Specifies the type for redistributed routes, 1 or 2. It defaults to 2.
Usage guidelines
The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp
command redistributes both EBGP and IBGP routes.
Examples
# Configure to redistribute routes from RIPng and specify the type as type 2 and cost as 50.
<Sysname> system-view
[Sysname] ospfv3
[Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50
# Configure OSPFv3 process 100 to redistribute the routes found by OSPFv3 process 160.
<Sysname> system-view
[Sysname] ospfv3 100
[Sysname-ospfv3-100] import-route ospfv3 160