R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
370
Examples
# Configure the GR restart interval for OSPFv3 process 1 as 100 seconds.
<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] graceful-restart interval 100
Related commands
ospfv3 timer dead
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, isisv6, ospf
v3, ripng, or static.
process-id: Specifies the process ID of a routing protocol, in the range of 1 to 65536. The default is 1. This
argument takes effect only when the protocol is isisv6, 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, in the range of 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










