3com S7906E Manuel De Montage

Page de 2621
 
1-43 
Configuring OSPF Network Management 
After trap generation is enabled for OSPF, OSPF generates traps to report important events. Traps fall 
into the following levels: 
Level-3, for fault traps  
Level-4, for alarm traps  
Level-5, for normal but important traps 
Level-6, for notification traps 
The generated traps are sent to the Information Center of the device. The output rules of the traps, 
namely, whether to output the traps and the output direction, are determined according to the 
Information Center configuration. (For Information Center configuration, refer to "Information Center 
Configuration" in the System Volume.) 
Follow these steps to configure OSPF network management: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
 
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. 
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 
Follow these steps to enable message logging: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
 
Enter OSPF view 
ospf [ process-id | router-id router-id | 
vpn-instance instance-name ] * 
— 
Enable message 
logging 
enable log [ config error | state ] 
Required 
Not enabled by default.