D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-29
4.2.19.2 Configuring the OSPFv2 TRAP
Message
The OSPFv2 protocol defines several types of the OSPF TRAP messages, which
are used to send the TRAP message to the SNMP server when part of the
network configuration changes and some OPSF event occurs for the network
management. Sending OSPFv2 TRAP messages is not limited by binding the
OSPFv2 process and OSPFv2 MIB. The TRAP switch can be enabled by different
processes at the same time.
In the global configuration mode, execute the following command:
Command Function
DES-7200 # configure terminal Enter the global configuration mode.
DES-7200 (config)# snmp-server
host host-ip version version-no string
[ospf]
Configure the SNMP server to receive the
TRAP. host-ip: the address corresponding
to the SNMP server.
version-no: the SNMP version corresponding
to the SNMP server.
string: the communication authentication
code of SNMP, which is generally public. The
optional parameter ospf means that the
SNMP server receives the OSPF TRAP
message (by default, the SNMP server
receives all types of TRAP messages).
DES-7200 (config)# snmp-server
enable traps ospf
Enable the OSPF TRAP sending switch.
DES-7200 (config)#router ospf
process_id [vrf vrf-name]
Enable OSPF, enter the OSPF configuration
mode.
DES-7200 (config-router)# enable
traps [error [ifauthfailure |
ifconfigerror | ifrxbadpacket |
virtifauthfailure | virtifconfigerror |
virtifrxbadpacket] | lsa
[lsdbapproachoverflow |
lsdboverflow | maxagelsa |
originatelsa] | retransmit
[iftxretransmit | virtiftxretransmit] |
state-change [ifstatechange |
nbrstatechange | virtifstatechange |
virtnbrstatechange]]
Enable the specified OSPF TRAP switch.