Configuring ospf network management, Enabling message logging – H3C Technologies H3C SR8800 User Manual
Page 114
98
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
3.
Enable the logging of
neighbor state changes.
log-peer-change
Optional
Enabled by default
Configuring OSPF network management
With trap generation enabled, OSPF generates traps to report important events. Traps fall into the
following levels.
•
Level-3—Fault traps
•
Level-4—Alarm traps
•
Level-5—Normal but important traps
•
Level-6—Notification traps
The generated traps are sent to the information center of the router. The output rules of the traps such as
whether to output the traps and the output direction are determined according to the information center
configuration. (For information center configuration, 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
Optional.
The OSPF process with the smallest
process-id is bound with OSPF MIB
by default.
3.
Enable OSPF trap
generation.
snmp-agent trap enable ospf [ process-id ]
[ ifauthfail | ifcfgerror | ifrxbadpkt |
ifstatechange | iftxretransmit |
lsdbapproachoverflow | lsdboverflow |
maxagelsa | nbrstatechange | originatelsa
| vifcfgerror | virifauthfail | virifrxbadpkt
| virifstatechange | viriftxretransmit |
virnbrstatechange ] *
Optional.
Enabled by default.
Enabling message logging
To enable message logging:
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
- H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module