HP StorageWorks 2/140 CLI reference guide for directors and edge switches - Page 69
Syntax, Purpose, Parameters
![]() |
View all HP StorageWorks 2/140 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 69 highlights
CLI Commands config.snmp.addCommunity Syntax addCommunity commIndex "commName" writeAuthorization trapRecipient udpPortNum Purpose This command adds an SNMP community to the SNMP configuration. Parameters This command has five parameters. Up to six community names and trap recipients may be defined. commIndex Specifies the community to be created or edited. commName Valid values are integers in the range 1-6. Specifies the community name of the community specified by commIndex. The community name must not exceed 32 characters in length. Valid characters include all those in the ISO Latin-1 character set. Duplicate community names are allowed, but the corresponding writeAuthorization values must match. writeAuthorization Specifies the write authorization state of the community. trapRecipient udpPortNum Valid values are enabled and disabled. Boolean 1 and 0 may be substituted as values. Specifies the trap recipient. Values must be 4 bytes in dotted-decimal format. Specifies the user datagram protocol (UDP) port number to which the Director sends traps for each recipient. The value can be a decimal number or the default, which 162. Valid values include all legal UDP port numbers. CLI reference guide for directors and edge switches 2-39
![](/manual_guide/products/hewlettpackard-316095b21-cli-reference-guide-directors-edge-switches-4b9015e/69.png)