3com S7906E 安装指导
1-11
To do…
Use the command…
Remarks
Configure a priority for
OSPFv3
OSPFv3
preference [ ase ]
[ route-policy
route-policy-name ]
preference
[ route-policy
route-policy-name ]
preference
Optional
By default, the priority of OSPFv3
internal routes is 10, and priority of
OSPFv3 external routes is 150.
internal routes is 10, and priority of
OSPFv3 external routes is 150.
Configuring OSPFv3 Route Redistribution
Follow these steps to configure OSPFv3 route redistribution:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPFv3 view
ospfv3 [ process-id ]
—
Specify a default cost for
redistributed routes
redistributed routes
default cost value
Optional
Defaults to 1
Redistribute routes from
another protocol, or another
OSPFv3 process
another protocol, or another
OSPFv3 process
import-route { isisv6 process-id | ospfv3
process-id | ripng process-id | bgp4+
[ allow-ibgp ] | direct | static } [ cost value
| type type | route-policy
route-policy-name ] *
process-id | ripng process-id | bgp4+
[ allow-ibgp ] | direct | static } [ cost value
| type type | route-policy
route-policy-name ] *
Required
Not configured by
default
default
Inject a default route
default-route-advertise [ always | cost
cost | type type | route-policy
route-policy-name ] *
cost | type type | route-policy
route-policy-name ] *
Optional
Not injected by
default
default
Filter redistributed routes
filter-policy { acl6-number | ipv6-prefix
ipv6-prefix-name } export [ isisv6
process-id | ospfv3 process-id | ripng
process-id | bgp4+ | direct | static ]
ipv6-prefix-name } export [ isisv6
process-id | ospfv3 process-id | ripng
process-id | bgp4+ | direct | static ]
Optional
Not configured by
default
default
z
Executing the import-route or default-route-advertise command on a router makes it become an
ASBR,.
z
You can only inject and advertise a default route using the default-route-advertise command.
z
Since OSPFv3 is a link state routing protocol, it cannot directly filter LSAs to be advertised.
Therefore, you need to filter redistributed routes first, and thus only routes that are not filtered out
can be advertised in LSAs into the routing domain.
z
Use of the filter-policy export command filters routes redistributed with the import-route
command. If the import-route command is not configured, executing the filter-policy export
command does not take effect.