Perform the following configuration in System View.
Table 160 Enabling/disabling OSPF TRAP function
By default, OSPF TRAP function is disabled, so the switch does not send TRAP
packets when any OSPF process is abnormal. The configuration is valid to all OSPF
processes if you do not specify a process ID.
For detailed configuration of SNMP TRAP, refer to "System Management" on .
Resetting the OSPF Process
If the
is used to restart the OSPF process, the previous OSPF configuration is lost. With
the
previous OSPF configuration.
Perform the following configuration in User View.
Table 161 Resetting the OSPF process
Resetting the OSPF process can immediately clear the invalid LSAs, make the
modified Router ID effective or re-elect the DR and BDR.
Displaying and
After the above configuration, execute
Debugging OSPF
the operation of the OSPF configuration, and to verify the effect of the
Operation
Command
Enable OSPF
snmp-agent trap enable ospf [
TRAP function
ifstatechange | virifstatechange | nbrstatechange |
virnbrstatechange | ifcfgerror | virifcfgerror |
ifauthfail | virifauthfail | ifrxbadpkt |
virifrxbadpkt | txretransmit | viriftxretransmit |
originatelsa | maxagelsa | lsdboverflow |
lsdbapproachoverflow ]
Disable OSPF
undo snmp-agent trap enable ospf [
TRAP function
ifstatechange | virifstatechange | nbrstatechange |
virnbrstatechange | ifcfgerror | virifcfgerror |
ifauthfail | virifauthfail | ifrxbadpkt |
virifrxbadpkt | txretransmit | viriftxretransmit |
originatelsa | maxagelsa | lsdboverflow |
lsdbapproachoverflow ]
command is executed on a router and then the
undo ospf
command, you can restart the OSPF process without losing the
reset ospf
Operation
Reset the OSPF process
Command
reset ospf [ statistics ] { all |
command in any view to display
display
OSPF Configuration
process_id
] [
process_id
] [
command
ospf
process_id
149
}
Need help?
Do you have a question about the SuperStack 4 and is the answer not in the manual?
Questions and answers