Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-52
the switch, this command can be used to enable/disable OSPF packet transmission
through the specified VLAN interface.
Example
# Disable interface Vlan-interface 20 from transmitting OSPF packet.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] silent-interface Vlan-interface 20
3.1.50 snmp-agent trap enable ospf
Syntax
snmp-agent trap enable ospf [ process-id ] [ ifstatechange | iftxretransmit |
virifstatechange | nbrstatechange | virnbrstatechange | ifcfgerror | virifcfgerror |
ifauthfail | virifauthfail | ifrxbadpkt | virifrxbadpkt | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]
undo snmp-agent trap enable ospf [ process-id ] [ ifstatechange | iftxretransmit |
virifstatechange | nbrstatechange | virnbrstatechange | ifcfgerror | virifcfgerror |
ifauthfail | virifauthfail | ifrxbadpkt | virifrxbadpkt | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]*
View
System view
Parameter
process-id: OSPF Process ID. If you do not specify a process ID, this command applies
to all current OSPF processes.
ifstatechange, virifstatechange, nbrstatechange, virnbrstatechange, ifcfgerror,
virifcfgerror, ifauthfail, virifauthfail, ifrxbadpkt, virifrxbadpkt, iftxretransmit,
viriftxretransmit, originatelsa, maxagelsa, lsdboverflow, lsdbapproachoverflow:
Types of TRAP packets that the switch produces in case of OSPF anomalies.
Description
Use the snmp-agent trap enable ospf command to enable the OSPF TRAP function.
Use the undo snmp-agent trap enable ospf command to disable the OSPF TRAP
function.
This command does not apply to the OSPF processes that are started after the
command is executed.
By default, the switch does not send TRAP packets in case of OSPF anomalies.