Snmptrapreceiverconfig, Snmptrapsimplefilter – Brocade Virtual ADX XML API Programmer’s Guide (Supporting ADX v03.1.00) User Manual

Page 127

Advertising
background image

Brocade Virtual ADX XML API Programmer’s Guide

117

53-1003248-01

Data structures

3

SnmpTrapReceiverConfig

This structure is a high-level description of SNMP engine id along with associated informations.

SnmpTrapSimpleFilter

This structure is a high-level description of filter for SNMP trap receiver filter information.

TABLE 287

Attributes

Parameters

Type

Presence

Rules

Description

hostIPAddress

string

Mandatory

Specifies the IPv4/IPv6
host address.

version

snmpSecurityModelEnum

Optional

If this parameter is
empty, then version
“V1” will be used.

Specifies the SNMP version
or security model.

userAuthSecurity

Snmpv3UserAuthSecurity

Optional

This parameter is
mandatory when
snmpVersion is V3.

Specifies the SNMPv3
username and security
level.

portNumber

unsignedInt

Optional

If this parameter is
specified, then
either
“userAuthSecurity”
or
“communityString”
parameter must be
specified. If this
parameter is empty,
then 162 will be
used as default port
value. The range is
from 1-65534.

Specifies the trap
destination UDP port
number. The default port
number is 162.

communityString

string

Optional

This parameter is
considered only
when snmpVersion
is V1 or V2C. If this
parameter is
specified, then
“portNumber” must
be specified.

Specifies the SNMP
community string.

isEncrypted

twoWayToggleBoolEnum

Optional

Specifies whether the
community string is
encrypted or not.

TABLE 288

Attributes

Parameters

Type

Presence

Rules

Description

field

snmpTrapFilterFieldEnum

Mandatory

Filter field name.

operator

filterOperatorEnum

Mandatory

Filter operator type.

value

string

Optional

Ignored when “operator”
value is “RANGE”.

Value of the field for
filtering.

Advertising