Alcatel-Lucent 6850-48 参照ガイド
SNMP Commands
page 10-8
OmniSwitch CLI Reference Guide
September 2009
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.
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.
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 6400, 6850, 6855, 9000, 9000E
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
command. To create a new user account, use the
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.1; command was introduced.