The snmp-agent community command configures an SNMPv1 or SNMPv2c read/write community name (either in ciphertext or simple text) and specifies a MIB view and an ACL.
The undo snmp-agent community command deletes the community name configuration.
By default, no community name is configured.
snmp-agent community { read | write } community-name [ mib-view security-string-cipher | acl { acl-number | acl-name } | alias alias-name ] *
snmp-agent community { read | write } cipher host-string [ mib-view security-string-cipher | acl { acl-number | acl-name } | alias alias-name ] *
undo snmp-agent community { read | write } community-name
undo snmp-agent community { read | write } cipher host-string
undo snmp-agent community host-string