OSPF Configuration
253
Perform the following configuration in System View.
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
undo ospf
command is executed on a router and then the
ospf
command is
used to restart the OSPF process, the previous OSPF configuration is lost. With the
reset ospf
command, you can restart the OSPF process without losing the previous
OSPF configuration.
Perform the following configuration in User View.
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
Debugging OSPF
After the above configuration, execute
display
command in any view to display the
operation of the OSPF configuration, and to verify the effect of the configuration.
Execute the
debugging
command in User View to debug the OSPF module.
Table 250
Enabling/disabling 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
|
txretransmit
|
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
|
txretransmit
|
viriftxretransmit
|
originatelsa
|
maxagelsa
|
lsdboverflow
|
lsdbapproachoverflow
]
Table 251
Resetting the OSPF process
Operation
Command
Reset the OSPF process
reset ospf
[ statistics ] { all |
process_id
}
Table 252
Displaying and debugging OSPF
Operation
Command
Display the brief information of the
OSPF routing process
display ospf
[
process_id
]
brief
Display OSPF statistics
display ospf
[
process_id
]
cumulative
Display LSDB information of OSPF
display ospf
[
process_id
]
[
area_id
]
lsdb
[
brief
| [
asbr
|
ase
|
network
|
nssa
|
router
|
summary
]
[
ip_address
] [
originate-router ip_address
|
self-originate
] ]
Display OSPF peer information
display ospf
[
process_id
]
peer
[
brief
]
Display OSPF next hop information
display ospf
[
process_id
]
nexthop
Summary of Contents for 5500 SI - Switch - Stackable
Page 24: ...24 ABOUT THIS GUIDE...
Page 50: ...50 CHAPTER 1 GETTING STARTED...
Page 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Page 78: ...78 CHAPTER 3 PORT OPERATION...
Page 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Page 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Page 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Page 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Page 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Page 349: ...349...
Page 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Page 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Page 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Page 614: ...614 CHAPTER 32 CLUSTERING...
Page 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...