snmp-server host ipv4-host

Specify IPV4 hosts to receive SNMP traps

ipv4-host Specification

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

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/snmp-server/host/ipv4-host/

ipv4-host Attributes

Create List

POST

/axapi/v3/snmp-server/host/ipv4-host/

ipv4-host Attributes

Get Object

GET

/axapi/v3/snmp-server/host/ipv4-host/{ipv4-addr}+{version}

ipv4-host Attributes

Get List

GET

/axapi/v3/snmp-server/host/ipv4-host/

ipv4-host-list

Modify Object

POST

/axapi/v3/snmp-server/host/ipv4-host/{ipv4-addr}+{version}

ipv4-host Attributes

Replace Object

PUT

/axapi/v3/snmp-server/host/ipv4-host/{ipv4-addr}+{version}

ipv4-host Attributes

Replace List

PUT

/axapi/v3/snmp-server/host/ipv4-host/

ipv4-host-list

Delete Object

DELETE

/axapi/v3/snmp-server/host/ipv4-host/{ipv4-addr}+{version}

ipv4-host Attributes

ipv4-host-list

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

ipv4-host-list : [

ipv4-host Attributes

ipv4-addr

Description: help IPV4 address of SNMP trap host

Type: string

Format: ipv4-address

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