Switch 7700 Command reference Guide, v2.0

Table Of Contents
OSPF Configuration Commands 157
Example
To configure the IP address of the neighboring router to 10.1.1.1, enter the
following:
[SW7700]peer 10.1.1.1.
preference Syntax
preference [ ase ] value
undo preference [ ase ]
View
OSPF view
Parameter
value Enter the OSPF protocol route preference, ranging from 1 to 255.
ase Enter to indicate the preference of an imported external route of the AS.
Description
Using the preference command, you can configure the OSPF protocol route
preference.
Using the undo preference command, you can 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 at any
one time, priority needs to be assigned to each protocol. Using this command, you
can set a default preference for each routing protocol. The protocol with the
higher preference has priority.
Example
To set the preference of an imported external route of the AS as 160, enter the
following:
[SW7700-ospf]preference ase 160
reset ospf all Syntax
reset ospf all
View
User view
Parameter
None
Description
Using the reset ospf all command, you can reset the OSPF process, as follows:
Invalid LSAs are cleared immediately without waiting for LSA timeout.