4-62
Examples
# Disable making RFC 1583 routing rules compatible.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] undo rfc1583 compatible
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
: Disables the specified interface from sending OSPF packets
all
: Disables all interfaces from sending OSPF packets.
Description
Use the
silent-interface
command to disable an interface or all interfaces from sending OSPF
packets.
Use the
undo
silent-interface
command to restore the default.
By default, an interface sends OSPF packets.
A disabled interface is a passive interface, which cannot 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 sending OSPF packets.
Examples
# Disable an interface from sending OSPF packets.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] silent-interface vlan-interface 10
snmp-agent trap enable ospf
Syntax
snmp-agent trap enable ospf
[
process-id
] [
ifauthfail
|
ifcfgerror
|
ifrxbadpkt
|
ifstatechange
|
iftxretransmit
|
lsdbapproachoverflow
|
lsdboverflow
|
maxagelsa
|
nbrstatechange
|
originatelsa
|
vifcfgerror
|
virifauthfail
|
virifrxbadpkt
|
virifstatechange
|
viriftxretransmit
|
virnbrstatechange
] *
undo snmp-agent trap enable ospf
[
process-id
] [
ifauthfail
|
ifcfgerror
|
ifrxbadpkt
|
ifstatechange
|
iftxretransmit
|
lsdbapproachoverflow
|
lsdboverflow
|
maxagelsa
|
nbrstatechange
|
originatelsa
|
vifcfgerror
|
virifauthfail
|
virifrxbadpkt
|
virifstatechange
|
viriftxretransmit
|
virnbrstatechange
] *