125
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 the sending of SNMP traps for a specific OSPF process.
Use
undo snmp-agent trap enable ospf
to disable the feature.
Syntax
snmp-agent
trap
enable ospf
[
authentication-failure
|
bad-packet
|
config-error
|
grhelper-status-change
|
grrestarter-status-change
|
if-state-change
|
lsa-maxage
|
lsa-originate
|
lsdb-approaching-overflow
|
lsdb-overflow
|
neighbor-state-change
|
nssatranslator-status-change
|
retransmit
|
virt-authentication-failure
|
virt-bad-packet
|
virt-config-error
|
virt-retransmit
|
virtgrhelper-status-change
|
virtif-state-change
|
virtneighbor-state-change
] *