Command Line Reference Guide

1288 | SNMP and Syslog
www.dell.com | support.dell.com
snmp-server community
c e s
Configure a new community string access for SNMPv1, v2, and v3.
Syntax
snmp-server community community-name {ro | rw} [ipv6 ipv6-access-list-name [ipv6
ipv6-access-list-name | access-list-name | security-name name] | security-name name [ipv6
ipv6-access-list-name | access-list-name | security-name name] | access-list-name [ipv6
ipv6-access-list-name | access-list-name | security-name name]]]
To remove access to a community, use the no snmp-server community community-string {ro | rw}
[security-name name [access-list-name | ipv6 access-list-name | access-list-name ipv6
access-list-name]] command.
Parameters
Defaults
No default behavior or values
Command Modes
CONFIGURATION
Command
History
Usage
Information
The example below configures a community named public that is mapped to the security named
guestuser with Read Only (ro) permissions.
Example 1 FTOS#config
FTOS(conf)# snmp-server community public ro
FTOS(conf)# snmp-server community guest ro security-name guestuser
FTOS(conf)#
The security-name parameter maps the community string to an SNMPv3 user/security name as
defined by the community MIB.
If a community string is configured without a security-name (for example, snmp-server community
public ro), the community is mapped to a default security-name/group:
v1v2creadu / v1v2creadg — maps to a community with ro permissions
v1v2cwriteu/ v1v2cwriteg — maps to a community with rw permissions
This command is indexed by the community-name parameter.
If the snmp-server community is not configured, you cannot interact with the switch through SNMP.
Only Standard IPv4 ACL and IPv6 ACL is supported in the optional access-list-name.
community-name
Enter a text string (up to 20 characters long) to act as a password for SNMP.
ro Enter the keyword ro to specify read-only permission.
rw Enter the keyword rw to specify read-write permission.
ipv6 access-list-name (Optional) Enter the keyword ipv6 followed by a an IPv6 ACL name (a
string up to 16 characters long).
security-name name
(Optional) Enter the keyword security-name followed by the security name
as defined by the community MIB.
access-list-name
(Optional) Enter a standard IPv4 access list name (a string up to 16 characters
long).
Version 7.6.1.0 Support added for S-Series
Version 7.5.1.0 Support added for C-Series
pre-Version. 6.2.1.1 Introduced on E-Series