R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
751
[Sysname-acl6-adv-3000] rule 100 deny ipv6
[Sysname-acl6-adv-3000] quit
[Sysname] ospfv3
[Sysname-ospfv3-1] filter-policy 3000 import
import-route (OSPFv3 view)
Syntax
import-route protocol [ process-id | allow-ibgp ] [ cost value | route-policy route-policy-name | type
type ] *
undo import-route protocol [ process-id ]
View
OSPFv3 view
Default 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: 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 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, 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.
Description
Use import-route to redistribute routes.
Use undo import-route to disable routes redistribution.
IPv6 OSPFv3 does not redistribute routes from other protocols by default.
The following matrix shows the argument and firewall compatibility:
Ar
g
ument F1000-A-EI/S-EI
F1000-E
F5000
Firewall module
protocol
Yes.
Excludes isisv6.
Yes.
Excludes isisv6.
Yes.
Includes isisv6.
Yes.
Excludes isisv6.
NOTE:
Using the import-route bgp4+ command redistributes only eBGP routes, and using 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