DELL 8132 ユーザーズマニュアル

ページ / 1818
1628
SNMP Commands
The community name may include any printable characters except a double 
quote or question mark. Enclose the string in double quotes to include spaces 
within the name. The surrounding quotes are not used as part of the name. 
The CLI does not filter illegal characters and may accept entries up to the 
first illegal character or reject the entry entirely.
Example
The following example configures community access string public to permit 
administrative access to SNMP at an administrative station with IP address 
192.168.1.20.
console(config)# snmp-server community public su ipaddress 192.168.1.20
snmp-server community-group
Use the snmp-server community-group command in Global Configuration 
mode to map the internal security name for SNMP v1 and SNMP v2 security 
models to the group name. To remove the specified community string, use 
the no form of this command. 
Syntax
snmp-server community-group
 community-string group-name [ipaddress ip-
address]
• community-string — Community string that acts like a password and 
permits access to the SNMP protocol. (Range: 1-20 characters)
group-name — Name of a previously defined group. The group defines the 
objects available to the community. (Range: 1-30 characters)
• ip-address — Management station IP address. Default is all IP addresses.
Default Configuration
No community group is defined.
Command Mode
Global Configuration mode
2CSPC4.X8100-SWUM102.book  Page 1628  Friday, March 15, 2013  8:56 AM