after a physical interface address is selected as the router ID, or a higher interface IP address is
configured as the router ID.
After a router ID is changed, you must use the reset command to enable it.
Examples
# Configure a global router ID as 1.1.1.1.
<Sysname> system-view
[Sysname] router id 1.1.1.1
silent-interface (OSPF view)
Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets.
Use undo silent-interface to remove the configuration.
Syntax
silent-interface { interface-type interface-number | all }
undo silent-interface { interface-type interface-number | all }
Default
An interface can receive and send OSPF packets.
Views
OSPF view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
all: Specifies all interfaces.
Usage guidelines
A disabled interface is a passive interface that cannot receive or send any hello packets.
To disable a network from receiving and sending OSPF routes, issue the command on the interface
connected to the network.
Examples
# Disable VLAN-interface 10 from receiving and sending OSPF packets.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] silent-interface vlan-interface 10
snmp-agent trap enable ospf
Use snmp-agent trap enable ospf to enable SNMP notifications for OSPF.
Use undo snmp-agent trap enable ospf to disable the feature.
175