86
•
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 is 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 up to
seven SNMP notifications
within 10 seconds.
Configuring the LSU transmit rate
Sending large numbers of LSU packets affects router performance and consumes too much network
bandwidth. You can configure the router to send LSU packets at a proper interval and limit the maximum
number of LSU packets sent out of an OSPF interface each time.
To configure the LSU transmit rate:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPF view.
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
N/A