3com 8807 User Guide
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
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.
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.
packets when any OSPF process is abnormal.
For detailed configuration of SNMP TRAP, refer to the module "System
Management" in this manual.
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
function
snmp-agent trap enable ospf [ process-id ] [ ifstatechange |
virifstatechange | nbrstatechange | virnbrstatechange |
ifcfgerror | virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt |
virifrxbadpkt | iftxretransmit | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]
virifstatechange | nbrstatechange | virnbrstatechange |
ifcfgerror | virifcfgerror | ifauthfail | virifauthfail | ifrxbadpkt |
virifrxbadpkt | iftxretransmit | viriftxretransmit | originatelsa |
maxagelsa | lsdboverflow | lsdbapproachoverflow ]
Disable OSPF TRAP
function
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 ]
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 ] ]
router-id ] vpn-instance
vpn-instance-name ] ]
-
Configure GR
graceful-restart [ value ]
Required
The time is 120 s by default