Using SNMP 53

Table 13 SNMP Configuration Commands (continued)

Command

Description

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

Adds the IP address of a specified trap

<ipaddress>

community <string>

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 Deletes the IP address of a specified trap [<ip_address> community <string> all] 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.

 

 

Displaying SNMP To display the SNMP settings configured on the switch, enter the Settings 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

Page 53
Image 53
3Com 9100 manual Command