ADC CLI Commands

snmp-option

The following operations can be performed on “snmp-option”:

show unset set

show snmp option

Displays the settings for the following SNMP options: SNMP SET and SNMP trap Logging.

Synopsis

show snmp option

Arguments

Output

snmpset Accept SNMP SET requests sent to the Citrix ADC, and allow SNMP managers to write values to MIB objects that are configured for write access.

snmpTrapLogging Log any SNMP trap events (for SNMP alarms in which logging is enabled) even if no trap listeners are configured. With the default setting, SNMP trap events are logged if at least one trap listener is configured on the appliance.

partitionNameInTrap Send partition name as a varbind in traps. By default the partition names are not sent as a varbind.

snmpTrapLoggingLevel Audit log level of SNMP trap logs. The default value is INFORMATIONAL.

severityInfoInTrap By default, the severity level info of the trap is not mentioned in the trap message. Enable this option to send severity level of trap as one of the varbind in the trap message.

unset snmp option

Use this command to remove snmp option settings.Refer to the set snmp option command for meanings of the arguments.

Synopsis

unset snmp option [-snmpset] [-snmpTrapLogging] [-partitionNameInTrap] [-snmpTrapLoggingLevel] [-severityInfoInTrap]

set snmp option

Enables or disables SNMP options for SNMP SET and SNMP trap logging.

Synopsis

set snmp option [-snmpset ( ENABLED DISABLED )] [-snmpTrapLogging ( ENABLED DISABLED )] [-partitionNameInTrap ( ENABLED DISABLED )] [-snmpTrapLoggingLevel ] \[-severityInfoInTrap \( ENABLED DISABLED )]

Arguments

snmpset Accept SNMP SET requests sent to the Citrix ADC, and allow SNMP managers to write values to MIB objects that are configured for write access.

Possible values: ENABLED, DISABLED Default value: DISABLED

snmpTrapLogging Log any SNMP trap events (for SNMP alarms in which logging is enabled) even if no trap listeners are configured. With the default setting, SNMP trap events are logged if at least one trap listener is configured on the appliance.

Possible values: ENABLED, DISABLED Default value: DISABLED

partitionNameInTrap Send partition name as a varbind in traps. By default the partition names are not sent as a varbind.

Possible values: ENABLED, DISABLED Default value: DISABLED

snmpTrapLoggingLevel Audit log level of SNMP trap logs. The default value is INFORMATIONAL.

Possible values: EMERGENCY, ALERT, CRITICAL, ERROR, WARNING, NOTICE, INFORMATIONAL, DEBUG Default value: INFORMATIONAL

severityInfoInTrap By default, the severity level info of the trap is not mentioned in the trap message. Enable this option to send severity level of trap as one of the varbind in the trap message.

Possible values: ENABLED, DISABLED Default value: DISABLED

snmp-option