160CHAPTER 6: IP SERVICES COMMANDS

 

See Also

 

„ clear ntp server on page 119

 

„ clear ntp update-intervalon page 120

 

„ display ntp on page 134

 

„ set ntp on page 158

 

„ set ntp server on page 158

 

 

set snmp

Configures a community string for SNMPv1 or SNMPv2c.

community

For SNMPv3, use the set snmp usm command to configure an SNMPv3

 

 

user. SNMPv3 does not use community strings.

 

Syntax — set snmp community name comm-string

 

access {read-only read-notify notify-only read-write

 

notify-read-write}

 

„ comm-string— Name of the SNMP community. Specify between 1

 

and 32 alphanumeric characters, with no spaces.

 

„ read-only— Allows an SNMP management application using the

 

string to get (read) object values on the switch but not to set (write)

 

them.

 

„ read-notify— Allows an SNMP management application using the

 

string to get object values on the switch but not to set them. The

 

switch can use the string to send notifications.

 

„ notify-only— Allows the switch to use the string to send

 

notifications.

 

„ read-write— Allows an SNMP management application using the

 

string to get and set object values on the switch.

 

„ notify-read-write— Allows an SNMP management application

 

using the string to get and set object values on the switch. The switch

 

also can use the string to send notifications.

 

Defaults — None.

 

Access — Enabled.

Page 160
Image 160
HP Manager Software manual Set snmp, User. SNMPv3 does not use community strings