3com 8807 Guia De Referência

Página de 1099
OSPF Configuration Commands
453
Description
Use the preference command to configure the preference of an OSPF protocol 
route. Use the undo preference command to restore the default value of the 
OSPF protocol route.
By default, the preference of an OSPF protocol internal route is 10 and the 
preference of an external route is 150.
Because multiple dynamic routing protocols could be running on a router, there is 
the problem of routing information sharing among routing protocols and 
selection. Therefore, a default preference is specified for each routing protocol. 
When a route is identified by different protocols, the protocol with a high 
preference will play a decisive role.
Example
# Specify the preference of an imported external route of the AS as 160.
[3Com-ospf-1] preference ase 160 
reset ospf
Syntax
reset ospf [ statistics ] { all | process-id }
View
User view
Parameter
statistics: Resets OSPF statistics.
all: Resets all OSPF processes.
process-id: ID of an OSPF process. If no OSPF process is specified, all OSPF 
processes are reset.
Description
Use the reset ospf all command to reset all OSPF processes.
Use the reset ospf process-id command to reset the corresponding OSPF process.
The following are the benefits of the reset ospf all command:
Clear invalid LSA immediately without waiting for LSA timeout.
If the Router ID changes, a new Router ID will take effect by executing the 
command.
Re-elect DR and BDR conveniently.
OSPF configuration before the restart will not lose.
The system will require the user to confirm whether to re-enable the OSPF 
protocol after execution of the command.
Example
# Reset all the OSPF processes.