APIs in Category: snmp | Vserver API version 1.20

snmp-community-add snmp-community-delete snmp-community-delete-all | A note on snmp-community-* ZAPI: The snmp-community-* ZAPI must be executed on the Cluster LIF. Vserver tunneling must be used to add/delete an SNMP community for a Vserver. If Vserver tunneling is not used while executing these ZAPI, then it will default to Cserver.

NetApp Manage ONTAP

snmp-community-add | [top]

> Adds a community to the list of communities.

> Input Name | Range | Type | Description
> access-control |  | string | Access control for the community. Possible values are "ro" (read-only) and "rw" (read-write). But, only "ro" (read-only) communities are supported.
> community |  | string | Community name to be added.

> Errno | Description
> EONTAPI_EINVAL |  |

snmp-community-delete | [top]

> Deletes a community from the list of communities.

> Input Name | Range | Type | Description
> access-control |  | string | Access control for the community. Possible values are "ro" (read-only) and "rw" (read-write). But, only "ro" (read-only) communities are supported.
> community |  | string | Community name to be deleted.

> Errno | Description
> EONTAPI_EINVAL |  |

snmp-community-delete-all | [top]

> Deletes all the communities.

> Errno | Description
> EONTAPI_EINVAL |  |