3com 8807 User Guide

Page of 883
Configuring OSPF
329
Perform the following configuration in system view.
By default, MIB is bound to the first enabled OSPF process.
Configuring OSPF TRAP
The OSPF Trap function enables the switch to send multiple types of SNMP Trap 
packets in case of OSPF process exceptions. In addition, you can specify an OSPF 
process ID so that this functions works only on that process. If no process ID is 
specified, this function works on all OSPF processes.
Perform the following configuration in system view.
By default, OSPF TRAP function is disabled. That is, the switch does not send TRAP 
packets when any OSPF process is abnormal.
For detailed configuration of SNMP TRAP, refer to the module "System 
Management" in this manual.
Configuring OSPF GR
Configuring GR method as RFC3623
Table 302   Configure OSPF MIB binding
Operation 
Command 
Configure OSPF MIB binding 
ospf mib-binding process-id 
Restore the default OSPF MIB binding 
undo ospf mib-binding
Table 303   Enable/Disable OSPF TRAP function
Operation 
Command 
Enable OSPF TRAP 
function 
snmp-agent trap enable ospf [ process-id ] [ ifstatechange | 
virifstatechange | nbrstatechange | virnbrstatechange | 
ifcfgerror | virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt | 
virifrxbadpkt | iftxretransmit | viriftxretransmit | originatelsa | 
maxagelsa | lsdboverflow | lsdbapproachoverflow ] 
Disable OSPF TRAP 
function 
undo snmp-agent trap enable ospf [ process-id ] [ 
ifstatechange | virifstatechange | nbrstatechange | 
virnbrstatechange | ifcfgerror | virifcfgerror | ifauthfail | 
virifauthfail | ifrxbadpkt | virifrxbadpkt | iftxretransmit | 
viriftxretransmit | originatelsa | maxagelsa | lsdboverflow | 
lsdbapproachoverflow ]
Table 304   Configure OSPF GR
Operation 
Command 
Description 
Enter system view 
system-view 
Enter OSPF view 
ospf [ process-id [ [ router-id 
router-id ] vpn-instance 
vpn-instance-name ] ] 
Configure GR 
graceful-restart [ value ] 
Required
The time is 120 s by default