Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Community for SNMP (CHGCOMSNMP) command changes an SNMP community profile in the SNMP agent community list. An SNMP agent uses a community profile to determine whether or not to honor a request sent by an SNMP manager. The community profile consists of a community name, an object access specification, and a list of the SNMP managers that are part of the community. The community name combined with the ASCII community (ASCIICOM) parameter defines a community.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
COM | Community name | Character value | Required, Key, Positional 1 |
ASCIICOM | Translate community name | *YES, *NO | Optional, Key |
INTNETADR | Manager internet address | Single values: *SAME, *ANY Other values (up to 300 repetitions): Character value |
Optional |
OBJACC | Object access | *SAME, *SNMPATR, *READ, *WRITE, *NONE | Optional |
LOGSET | Log set requests | *SAME, *SNMPATR, *YES, *NO | Optional |
LOGGET | Log get requests | *SAME, *SNMPATR, *YES, *NO | Optional |
Top |
Specifies the name of the SNMP community being changed. The community must already exist in the SNMP agent community list. You can define an SNMP community using the Add Community for SNMP (ADDCOMSNMP) command.
The possible values are:
Top |
Specifies whether the community name is translated to ASCII characters before it is compared with the community name specified in a request from an SNMP manager. This parameter is used in combination with the community name to determine the community to be changed.
The possible values are:
Top |
The internet addresses of the SNMP managers that are part of this community.
The possible values are:
Top |
Specifies the object access for the community.
The possible values are:
Top |
Specifies whether Set requests from SNMP managers in this community are logged in journal QSNMP in library QUSRSYS.
The possible values are:
Top |
Specifies whether get requests and get-next requests from SNMP managers in this community are logged in journal QSNMP in library QUSRSYS.
The possible values are:
Top |
CHGCOMSNMP COM(ENDICOTT) INTNETADR(*ANY) OBJACC(*READ)
This command changes community ENDICOTT to have an object access of read and to allow any SNMP manager to read the MIB objects on this system. All of the other community values are unchanged.
Top |
*ESCAPE Messages
Top |