Command Reference Guide
Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 573
HP Moonshot Switch Module CLI Command Reference
trapflags (OSPF)
Use this command to enable individual OSPF traps, enable a group of trap flags at a time, or enable all the trap
flags at a time. The different groups of trapflags, and each group’s specific trapflags to enable or disable, are
listed in Table 11.
Table 11: Trapflags Groups
• To enable the individual flag, enter the
group name followed by that particular flag.
• To enable all the flags in that group, give the group name followed by
all.
• To enable all the flags, give the command as
trapflags all.
Group Flags
errors • authentication-failure
•bad-packet
•config-error
• virt-authentication-failure
• virt-bad-packet
•virt-config-error
lsa • lsa-maxage
•lsa-originate
overflow • lsdb-overflow
• lsdb-approaching-overflow
retransmit •packets
•virt-packets
state-change • if-state-change
• neighbor-state-change
• virtif-state-change
• virtneighbor-state-change
Default disabled
Format
trapflags {
all | errors {all | authentication-failure | bad-packet | config-error |
virt-authentication-failure | virt-bad-packet | virt-config-error} |
lsa {all | lsa-maxage | lsa-originate} |
overflow {all | lsdb-overflow | lsdb-approaching-overflow} |
retransmit {all | packets | virt-packets} |
state-change {all | if-state-change | neighbor-state-change | virtif-state-change |
virtneighbor-state-change}
}
Mode Router OSPF Config