Community string – HP e-CommerceXML Accelerator sa7150 User Manual

Page 137

Advertising
background image

C H A P T E R 6

SNMP

127

You can also configure SNMP information elements

individually

using the following commands:

setsnmp snmp_port sets the SNMP port

setsnmp trap_port sets the SNMP trap port

setsnmp sys_contact sets the contact person

setsnmp sys_name sets the system name

setsnmp sys_location sets the system location

Correspondingly, the values set with the above commands are
displayed using the commands:

showsnmp snmp_port

showsnmp trap_port

showsnmp sys_contact

showsnmp sys_name

showsnmp sys_location.

Community String

Use CLI commands

setsnmp snmp_community, list

snmp_community and delete snmp_community to set, list, and
delete SNMP community strings.

HP SA7150> setsnmp snmp_community

SNMP Community String(s) Setting.

Enter a SNMP Community IP (q to quit): 1.1.1.1

Enter a SNMP Community String (q to quit): cstring

Enter a SNMP Community IP (q to quit): q

HP SA7150> list snmp_community

SNMP Community String(s) information.

<1> Current SNMP Community String(s):

1.) IP: 1.1.1.1 => String: cstring => Rights: read

HP SA7150> delete snmp_community

SNMP Community String(s) Deletion.

<1> Current Available SNMP Community String(s):

1.) IP: 1.1.1.1 => String: cstring => Rights: read

Enter number (1) to delete (q to quit) [1]: 1

Enter number (1) to delete (q to quit) [1]: q

Advertising