Chapter 28 OSPF Routing Protocol Configuration DGS-3610 Series Configuration Guide
By default, all interfaces are allowed to receive/send the OSPF packets. To re-enable the
network interface to send the route information, you can use the no passive-interface
interface-id command. To set all network interfaces, use the keyword default.
28.2.17 OSPF TRAP Sending Configuration
The protocol defines several types of the OSPF TRAP, such TRAP information is used to
send the TRAP information to snmp-server when part of the network configuration changes
and some OPSF event occurs for the network management. In the global configuration
mode, you can enable the TRAP sending switch of OSPF by the following steps:
DGS-3610# configure terminal
Enter the global configuration mode.
DGS-3610(config)# snmp-server
host host-ip version
version-no string [ospf]
Configure the snmp-server to receive the TRAP.
host-ip refers to the address corresponding to
the server. version-no refers to the snmp version
corresponding to the server. String is usually the
communication authentication code of snmp,
which is generally public. The optional
parameter ospf refers to snmp-server receive
the OSPF TRAP (by default, the server receives
all types of TRAPs).
DGS-3610(config-router)#
snmp-server enable traps ospf
Enable the sending switch of OSPF TRAP
DGS-3610(config-router)# end
Return to the privileged EXEC mode.
By default, the device will not send the TRAP information to any snmp-server. At present, our
product can only control the sending condition of all OSPF TRAPs by this switch, but can not
accurately control whether it will send the specified type of the OSPF TRAP.
28.3 Monitoring and Maintaining
OSPF
You can show the data such as the routing table, cache, and database of the OSPF. The
following table lists some of that data that can be shown for your reference.
DGS-3610# show ip ospf [process-id]
Show the general information of the OSPF
protocol for corresponding processes. It will
display all processes if the process number is
not specified.