454
C
25: OSPF C
C
HAPTER
ONFIGURATION
OMMANDS
<SW8800> reset ospf all
# Reset OSPF process 200.
<SW8800> reset ospf 200
router id
Syntax
router id router-id
undo router id
View
System view
Parameter
router-id: Router ID that is a 32-bit unsigned integer.
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 LoopBack interface addresses exist, the system chooses the LoopBack
address with the greatest IP address value as the router ID; if no LoopBack
interface is configured, then 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. The user can specify the ID for a router. If the user doesn't
specify router ID, the router will automatically select one from configured IP
address as the ID of this router. If no IP address is configured for any interface of
the router, the router ID must be configured in OSPF view. Otherwise, OSPF
protocol cannot be enabled.
When the router ID is configured manually, the IDs of any two routers cannot be
same in the autonomous system. So, the IP address of certain interface might as
well be selected as the ID of this router.
n
The modified router ID will not be valid unless OSPF is re-enabled.
Related command: ospf.
Example
# Set the router ID to 10.1.1.3.
[SW8800] router id 10.1.1.3
silent-interface
Syntax
silent-interface { default | Vlan-interface Vlan-interface-number }
undo silent-interface { default | Vlan-interface Vlan-interface-number }
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers