.. _snmp_server_host_host_name: snmp-server host host-name ========================== Specify IPV6 hosts to receive SNMP traps host-name Specification ----------------------- ===================================== ======================================================================================== **Parameter** **Value** ===================================== ======================================================================================== **Type** *Collection* **Object Key(s)** *hostname, version* **Collection Name** :ref:`3109_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 **Partition Visibility** shared **Schema** :download:`host-name schema ` ===================================== ======================================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/host/host-name .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/host/host-name .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/snmp-server/host/host-name/{hostname}+{version} .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/snmp-server/host/host-name .. raw:: html :ref:`3109_host-name_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/snmp-server/host/host-name/{hostname}+{version} .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/snmp-server/host/host-name/{hostname}+{version} .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/snmp-server/host/host-name .. raw:: html :ref:`3109_host-name_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/snmp-server/host/host-name/{hostname}+{version} .. raw:: html :ref:`3109_host-name_attributes` .. raw:: html
.. _3109_host-name_list: host-name-list -------------- host-name-list is **JSON List** of :ref:`3109_host-name_attributes` host-name-list : [ { :ref:`3109_host-name_attributes` }, { :ref:`3109_host-name_attributes` }, ... ] .. _3109_host-name_attributes: host-name attributes -------------------- **hostname** **Description** Hostname of SNMP trap host **Type:** string **Maximum Length:** 31 characters **Maximum Length:** 1 characters **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 **Maximum Length:** 31 characters **Maximum Length:** 1 characters **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **v1-v2c-comm** **Description** SNMPv1/v2c community string **Type:** string **Format:** string-rlx **Maximum Length:** 31 characters **Maximum Length:** 1 characters **version** **Description** 'v1': Use SNMPv1; 'v2c': Use SNMPv2c; 'v3': User SNMPv3; **Type:** string **Supported Values:** v1, v2c, v3 **Default:** v2c