3com 9100 User Manual

Page of 184
Using SNMP
53
Displaying SNMP
Settings
To display the SNMP settings configured on the switch, enter the 
following command:
show management
This command displays the following information:
Enable/disable state for Telnet, SNMP, and Web access
SNMP community strings
Authorized SNMP station list
SNMP trap receiver list
RMON polling configuration
config snmp access-profile [readonly | 
readwrite] {<access_profile> | none}
Applies an access profile for SNMP access. 
You can create different access profiles for 
readonly and readwrite access to the switch. 
The 
none
 option removes any previously 
configured access profile assignment. 
config snmp add trapreceiver 
<ipaddress> community <string>
Adds the IP address of a specified trap 
receiver. The IP address can be a unicast, 
multicast, or broadcast. A maximum of six 
trap receivers is allowed.
config snmp community [readonly | 
readwrite] <string>
Adds an SNMP read or read/write community 
string. The default 
readonly
 community 
string is 
public
. The default 
readwrite
 
community string is 
private
. Each 
community string can have a maximum of 
126 characters, and can be enclosed by 
double quotation marks. 
config snmp delete trapreceiver 
[<ip_address> community <string> | all]
Deletes the IP address of a specified trap 
receiver or all authorized trap receivers.
config snmp syscontact <string>
Configures the name of the system contact. 
A maximum of 255 characters is allowed.
config snmp sysname <string>
Configures the name of the switch. A 
maximum of 32 characters is allowed. The 
default sysname is the model name of the 
device (for example, 
3C17705)
. The 
sysname
 appears in the switch prompt.
config snmp syslocation <string>
Configures the location of the switch. A 
maximum of 255 characters is allowed.
Table 13   SNMP Configuration Commands (continued)
Command
Description