SNMP Community

snmp-community-create

This command is used to create SNMP communities to support SNMPv1

Syntax   snmp-community-create [community-string community-string-string] [community-type read-only|read-write]

community-string community-string-string

Specify the name for the community string.

community-type read-only|read-write

Specify the access type for the community.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 2.0.

Usage   Communities are used in SNMPv1 as a method of controlling access to information. Use this command to create a community for SNMPv1.

Examples  To create a community, snmp-reader, for read-only access, use the following command:

CLI network-admin@switch > snmp-community-create community-string snmp-reader community-type read-only

See Also