115
To do…
Use the command…
Remarks
Step 1
Enter system
view
system-view —
Step 2
Enter OSPF
view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-
name
] *
—
Step 3
Configure a
priority for
OSPF
preference
[
ase
] [
route-policy
route-policy-
name
]
value
Optional
The priority of OSPF internal
routes defaults to 10.
The priority of OSPF external
routes defaults to 150.
Configuring OSPF route redistribution
Configure route redistribution into OSPF
If the router runs OSPF and other routing protocols, you can configure OSPF to redistribute RIP, IS-
IS, BGP, static, or direct routes and advertise these routes in Type-5 LSAs or Type-7 LSAs.
By filtering redistributed routes, OSPF translates only routes not filtered out into Type-5 LSAs or
Type-7 LSAs for advertisement.
To do…
Use the command…
Remarks
Step 1
Enter system view
system-view
—
Step 2
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
instance-
name
] *
—
Step 3
Configure OSPF to
redistribute routes
from another
protocol
import-route
protocol
[
process-id
|
all-processes
|
allow-ibgp
] [
cost
cost
|
type
type
|
tag
tag
|
route-policy
route-policy-name
] *
Required
Not configured
by default
Step 4
Configure OSPF to
filter redistributed
routes before
advertisement
filter-policy
{
acl-number
|
ip-
prefix
ip-prefix-name
}
export
[
protocol
[
process-id
] ]
Optional
Not configured
by default
Summary of Contents for S9500E Series
Page 435: ...435 ...