Citrix Systems Network Router NETSCALER 9.3 User Manual

Page of 195
2. In the details pane, do one of the following:
• To create a new trap, click Add.
• To modify an existing trap, select the trap, and then click Open.
3. In the Create SNMP Trap Destination or Configure SNMP Trap dialog box, set the
following parameters:
• Type*—trapClass
• Version—version
• Destination IP Address*—trapDestination
• Destination Port—destPort
• Source IP Address—srcIP
• Minimum Severity—severity
• Community Name—communityName
*A required parameter
4. Click Create or OK, and then click Close.
A message appears in the status bar, stating that the trap has been configured
successfully.
Enabling Unconditional SNMP Trap Logging
By default, the NetScaler appliance logs any SNMP trap messages (for SNMP alarms in
which logging is enabled) when at least one trap listener is specified on the NetScaler
appliance. However, you can specify that SNMP trap messages be logged even when no
trap listeners are configured.
To enable or disable unconditional SNMP trap logging by
using the NetScaler command line
At a NetScaler command prompt, type:
w
set snmp option -snmpTrapLogging ( ENABLED | DISABLED )
w
show snmp option
Example
> set snmp option -snmpset ENABLED
 Done
> show snmp option
        Snmpset:  DISABLED      SnmpTrapLogging:  
ENABLED
 Done
>
Citrix NetScaler Administration Guide
53