
Brocade Virtual ADX Switch and Router Guide 135
53-1003246-01
Configuring OSPF
6
To later re-enable the trap feature, enter snmp-server trap ospf.
To disable a specific OSPF trap, enter the command as no snmp-server trap ospf ospf-trap.
These commands are at the OSPF router Level of the CLI.
Here is a summary of OSPF traps supported on Brocade routers, their corresponding CLI
commands, and their associated MIB objects from RFC 1850:
• interface-state-change-trap – [MIB object: OspfIfstateChange]
• virtual-interface-state-change-trap – [MIB object: OspfVirtIfStateChange
• neighbor-state-change-trap – [MIB object:ospfNbrStateChange]
• virtual-neighbor-state-change-trap – [MIB object: ospfVirtNbrStateChange]
• interface-config-error-trap – [MIB object: ospfIfConfigError]
• virtual-interface-config-error-trap – [MIB object: ospfVirtIfConfigError]
• interface-authentication-failure-trap – [MIB object: ospfIfAuthFailure]
• virtual-interface-authentication-failure-trap – [MIB object: ospfVirtIfAuthFailure]
• interface-receive-bad-packet-trap – [MIB object: ospfIfrxBadPacket]
• virtual-interface-receive-bad-packet-trap – [MIB object: ospfVirtIfRxBadPacket]
• interface-retransmit-packet-trap – [MIB object: ospfTxRetransmit]
• virtual-interface-retransmit-packet-trap – [MIB object: ospfVirtIfTxRetransmit]
• originate-lsa-trap – [MIB object: ospfOriginateLsa]
• originate-maxage-lsa-trap – [MIB object: ospfMaxAgeLsa]
• link-state-database-overflow-trap – [MIB object: ospfLsdbOverflow]
• link-state-database-approaching-overflow-trap – [MIB object: ospfLsdbApproachingOverflow
Example
To stop an OSPF trap from being collected, use the CLI command: no trap ospf-trap, at the Router
OSPF level of the CLI. To disable reporting of the neighbor-state-change-trap, enter the following
command.
Virtual ADX(config-ospf-router)# no trap neighbor-state-change-trap
Example
To reinstate the trap, enter the following command.
Virtual ADX(config-ospf-router)# trap neighbor-state-change-trap
Syntax: [no] snmp-server trap ospf ospf-trap
Modify OSPF standard compliance setting
Brocade routers are configured, by default, to be compliant with the RFC 1583 OSPF V2
specification.
To configure a router to operate with the latest OSPF standard, RFC 2178, enter the following
commands.
Virtual ADX(config)# router ospf
Virtual ADX(config-ospf-router)# no rfc1583-compatibility
Syntax: [no] rfc1583-compatibility
Komentáře k této Příručce