436
IMPORTANT:
The
import-route bgp4+
command redistributes only EBGP routes. Because the
import-route
bgp4+ allow-ibgp
command redistributes both EBGP and IBGP routes, and might cause routing
loops, use it with caution.
Redistributing routes from another routing protocol
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Configure OSPFv3 to
redistribute routes from other
routing protocols.
import-route
protocol
[
as-number
]
[
process-id
|
all-processes
|
allow-ibgp
] [
allow-direct
|
cost
cost-value
|
nssa-only
|
route-policy
route-policy-name
|
tag
tag
|
type
type
]
*
By default, route
redistribution is disabled.
4.
(Optional.) Configure
OSPFv3 to filter redistributed
routes.
filter-policy
{
ipv6
-
acl-number
|
prefix-list
prefix-list-name
}
export
[
protocol
[
process-id
] ]
By default, OSPFv3 accepts
all redistributed routes.
This command filters only
routes redistributed with the
import-route
command. If
the
import-route
command
is not configured, executing
this command does not take
effect.
Redistributing a default route
The
import-route
command cannot redistribute a default external route. Perform this task to
redistribute a default route.
To redistribute a default route:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Redistribute a default
route.
default-route-advertise
[ [
always
|
permit-calculate-other
] |
cost
cost-value
|
route-policy
route-policy-name
|
tag
tag
|
type
type
] *
By default, no default route is
redistributed.
Setting tags for redistributed routes
Perform this task to set tags for redistributed routes to identify information about protocols. For
example, when redistributing IPv6 BGP routes, OSPFv3 uses tags to identify AS IDs.
To set a tag for redistributed routes:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
|
vpn-instance
vpn-instance-name
] *
N/A
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...