Command Reference Guide

SNMP Commands
CLI Command Reference
September 2014 Page 114
HP Moonshot Switch Module CLI Command Reference
show trapflags
This command displays trap conditions. The command’s display shows all the enabled OSPFv2 and OSPFv3
trapflags. Configure which traps the switch should generate by enabling or disabling the trap condition. If a trap
condition is enabled and the condition is detected, the SNMP agent on the switch sends the trap to all enabled
trap receivers. You do not have to reset the switch to implement the changes. Cold and warm start traps are
always generated and cannot be disabled.
Format
show trapflags
Mode Privileged EXEC
Term Definition
Authentication
Flag
Can be enabled or disabled. The factory default is enabled. Indicates whether
authentication failure traps will be sent.
Link Up/Down
Flag
Can be enabled or disabled. The factory default is enabled. Indicates whether link status
traps will be sent.
Multiple Users
Flag
Can be enabled or disabled. The factory default is enabled. Indicates whether a trap will be
sent when the same user ID is logged into the switch more than once at the same time
(either through Telnet or the serial port).
Spanning Tree
Flag
Can be enabled or disabled. The factory default is enabled. Indicates whether spanning tree
traps are sent.
ACL Traps May be enabled or disabled. The factory default is disabled. Indicates whether ACL traps
are sent.
OSPFv2 Traps Can be enabled or disabled. The factory default is disabled. Indicates whether OSPF traps
are sent. If any of the OSPF trap flags are not enabled, then the command displays
disabled. Otherwise, the command shows all the enabled OSPF traps’ information.
Power Supply
Module state trap
May be enabled or disabled. The factory default is enabled. Indicates whether traps are
sent when the power supply module status changes.
Temperature trap May be enabled or disabled. The factory default is enabled. Indicates whether traps are
sent when the temperature exceeds the recommended operating level.
Fan trap May be enabled or disabled. The factory default is enabled. Indicates whether traps are
sent when a fan unit is down.