Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-50
Description
Use the
reset ospf all
command to reset all OSPF processes.
Use the
reset ospf process-id
command to reset the specified OSPF process and
clear the statistics.
After you use this command to reset an OSPF process:
z
Invalid LSA is cleared immediately before LSA times out.
z
A new Router ID takes effect if the Router ID changes.
z
DR and BDR are re-elected conveniently.
z
OSPF configuration before the restart will not lose.
After this command is issued, the system will prompt you to confirm whether to
re-enable OSPF.
Example
# Reset all the OSPF processes.
<Quidway> reset ospf all
# Reset OSPF process 200.
<Quidway> reset ospf 200
3.1.48 router id
Syntax
router id router-id
undo router id
View
System view
Parameter
router-id
: Router ID, in dotted decimal notation.
Description
Use the
router id
command to configure the ID of a router running the OSPF protocol.
Use the
undo router id
command to cancel the router ID that has been set.
By default, if a LoopBack interface address exists, the system chooses the LoopBack
address with the greatest IP address value as the router ID. If no LoopBack interface is
configured, the address of the physical interface with the greatest IP address value will
be the router ID.
Router ID is a 32-bit unsigned integer that uniquely identifies a router in an OSPF
autonomous system. You can specify the ID for a router. If you do not specify a router