4-48
View
OSPF view
Parameters
silent-interface-type: Interface type
silent-interface-number: Interface number.
Description
Use the silent-interface command to disable an interface from transmitting OSPF packet.
Use the undo silent-interface command to restore the default.
By default, the interface is enabled to transmit OSPF packet.
To prevent the router on some network from receiving the OSPF routing information, you can use this
command to disable this interface from transmitting OSPF packet. On the switch, this command can be
used to enable/disable OSPF packet transmission through the specified VLAN interface.
Examples
# Disable interface VLAN-interface 20 from transmitting OSPF packet.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ospf 1
[Sysname-ospf-1] silent-interface Vlan-interface 20
snmp-agent trap enable ospf
Syntax
snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange |
iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange | originatelsa
| virifauthfail | virifcfgerror | virifrxbadpkt | virifstatechange | viriftxretransmit |
virnbrstatechange ] *
undo snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange
| iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange |
originatelsa | virifauthfail | virifcfgerror | virifrxbadpkt | virifstatechange | viriftxretransmit |
virnbrstatechange ] *
View
System view