SNMP Commands
OmniSwitch 6250 CLI Reference Guide November 2009 page 10-7
snmp community map
Configures and enables a community string on the switch and maps it to an existing user account name.
snmp community map community_string {[user useraccount_name] | {enable | disable}}
no snmp community map community_string
Syntax Definitions
community_string A community string in the form of a text string. This string must be
between 1 and 32 characters.
useraccount_name A user name in the form of a text string. This name must match a user
login account name already configured on the switch or configured
remotely on an external AAA server. This user name must be between 1
and 32 characters.
enable Enables SNMP community string mapping.
disable Disables SNMP community string mapping.
Defaults
By default, SNMP community map authentication is enabled.
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Community strings configured on the switch are used for v1 and v2c SNMP managers only.
• The user account name must be a current user account recognized by the switch. For a list of current
user names use the show user command. To create a new user account, use the user command.
• There is one to one mapping between each community string and a user account name.
• Privileges attached to the community string are the ones inherited from the user account name that
created it.
Examples
-> snmp community map community1 user testname1
-> snmp community map community1 enable
Release History
Release 6.6.1; command was introduced.