Configuring OSPF network management
This task involves the following configurations:
Bind an OSPF process to MIB so that you can use network management software to manage the specified OSPF process.
Enable SNMP notifications for OSPF to report important events.
Configure the SNMP notification output interval and the maximum number of SNMP notifications that can be output at each interval.
SNMP notifications are sent to the SNMP module, which outputs SNMP notifications according to the configured output rules. For more information about SNMP notifications, see Network Management and Monitoring Configuration Guide.
To configure OSPF network management:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Bind OSPF MIB to an OSPF process. | ospf mib-binding process-id | By default, OSPF MIB is bound to the process with the smallest process ID. |
3. Enable SNMP notifications for OSPF. | snmp-agent trap enable ospf [ authentication-failure | bad-packet | config-error | grhelper-status-change | grrestarter-status-change | if-state-change | lsa-maxage | lsa-originate | lsdb-approaching-overflow | lsdb-overflow | neighbor-state-change | nssatranslator-status-change | retransmit | virt-authentication-failure | virt-bad-packet | virt-config-error | virt-retransmit | virtgrhelper-status-change | virtif-state-change | virtneighbor-state-change ] * | By default, SNMP notifications for OSPF are enabled. |
4. Enter OSPF view. | ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] * | N/A |
5. Configure the SNMP notification output interval and the maximum number of SNMP notifications that can be output at each interval. | snmp trap rate-limit interval trap-interval count trap-number | By default, OSPF outputs a maximum of seven SNMP notifications within 10 seconds. |