Some routing protocols use a router ID to identify a device. You can configure a global router ID,
which is used by routing protocols that have no router ID configured.
If no global router ID is configured, the highest loopback interface IP address, if any, is used as the
router ID. If no loopback interface IP address is available, the highest physical interface IP address is
used, regardless of the interface status.
If the interface whose IP address is the router ID is removed or modified, a new router ID is selected.
Other events, (the interface goes down; after a physical interface address is selected as the router ID,
an IP address is configured for a loopback interface; a higher interface IP address is configured) will
not trigger a router ID re-selection.
After a router ID is changed, you need to use the
reset ospf process
command to make it effective.
Examples
# Configure a global router ID.
<Sysname> system-view
[Sysname] router id 1.1.1.1
silent-interface (OSPF view)
Syntax
silent-interface
{
interface-type interface-number
|
all
}
undo silent-interface
{
interface-type interface-number
|
all
}
View
OSPF view
Default level
2: System level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
all
: Specifies all interfaces.
Description
Use
silent-interface
to disable an interface or all interfaces from receiving and sending OSPF
packets.
Use
undo
silent-interface
to restore the default.
By default, an interface can receive send OSPF packets.
A disabled interface is a passive interface, which cannot receive and send any hello packet.
To make no routing information obtained by other routers on a network segment, you can use this
command to disable the interface from receiving and sending OSPF packets.
Examples
# Disable an interface from receiving and sending OSPF packets.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] silent-interface vlan-interface 10
119