snmp-server host host-name

Specify IPV6 hosts to receive SNMP traps

host-name Specification

Type Collection
Object Key(s) hostname, version
Collection Name host-name-list
Collection URI /axapi/v3/snmp-server/host/host-name/
Element Name host-name
Element URI /axapi/v3/snmp-server/host/host-name/{hostname}+{version}
Element Attributes host-name_attributes
Schema host-name schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/snmp-server/host/host-name/

host-name Attributes

Create List

POST

/axapi/v3/snmp-server/host/host-name/

host-name Attributes

Get Object

GET

/axapi/v3/snmp-server/host/host-name/{hostname}+{version}

host-name Attributes

Get List

GET

/axapi/v3/snmp-server/host/host-name/

host-name-list

Modify Object

POST

/axapi/v3/snmp-server/host/host-name/{hostname}+{version}

host-name Attributes

Replace Object

PUT

/axapi/v3/snmp-server/host/host-name/{hostname}+{version}

host-name Attributes

Replace List

PUT

/axapi/v3/snmp-server/host/host-name/

host-name-list

Delete Object

DELETE

/axapi/v3/snmp-server/host/host-name/{hostname}+{version}

host-name Attributes

host-name-list

host-name-list is JSON List of host-name Attributes

host-name-list : [

host-name Attributes

hostname

Description: Hostname of SNMP trap host

Type: string

Required: Yes

udp-port

Description: The trap host’s UDP port number(default: 162)

Type: number

Range: 1-65535

Default: 162

user

Description: SNMPv3 user to send traps (User Name)

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

v1-v2c-comm

Description: SNMPv1/v2c community string

Type: string

Format: string-rlx

version

Description: ‘v1’: Use SNMPv1; ‘v2c’: Use SNMPv2c; ‘v3’: User SNMPv3;

Type: string

Supported Values: v1, v2c, v3

Default: v2c

Required: Yes