Community string, Trap community string – HP e-Commerce Server Accelerator sa7120 User Manual

Page 119

Advertising
background image

C H A P T E R 6

SNMP

109

Community String

Use CLI commands

setsnmp snmp_community, list

snmp_community and

delete snmp_community to set, list, and

delete SNMP community strings.

HP SA7120> setsnmp snmp_community

SNMP Community String(s) Setting.

<2> Current SNMP Community String(s):

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

2.) IP: 1.1.1.3 => String: 1.1.1.4 => Rights: read

Enter a SNMP Community IP (q to quit) [1.1.1.4]:

1.1.1.5

Enter a SNMP Community String (q to quit)

[1.1.1.5]: 1.1.1.6

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

HP SA7120>

HP SA7120> list snmp_community

SNMP Community String(s) information.

<2> Current SNMP Community String(s):

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

2.) IP: 1.1.1.3 => String: 1.1.1.4 => Rights: read

3.) IP: 1.1.1.5 => String: 1.1.1.6 => Rights: read

HP SA7120>

HP SA7120> delete snmp_community

SNMP Community String(s) Deletion.

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

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

2.) IP: 1.1.1.3 => String: 1.1.1.4 => Rights: read

3.) IP: 1.1.1.5 => String: 1.1.1.6 => Rights: read

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

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

HP SA7120>

Trap Community String

Use CLI commands

setsnmp trap_community, list

trap_community and delete trap_community to set, display, and
delete trap community strings.

HP SA7120> setsnmp trap_community

SNMP Trap Community String(s) Setting.

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

Enter a SNMP Trap Community String (q to quit): private

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

Advertising
This manual is related to the following products: