Technical data

SET CONFIGURATION SNMP
SET CONFIGURATION SNMP
Configures SNMP on an individual host.
SET CONFIGURATION NOSNMP does not require any qualifiers.
After making changes to the SNMP configuration, shut down and restart the
master agent and any subagents. Issue the following commands:
$ @SYS$STARTUP:TCPIP$SNMP_SHUTDOWN
$ @SYS$STARTUP:TCPIP$SNMP_STARTUP
Related command: SHOW CONFIGURATION SNMP
Format
SET CONFIGURATION [NO]SNMP [ /[NO]ADDRESS=host ]
[ /[NO]COMMUNITY="name" ]
[ /[NO]CONFIRM ]
[ /CONTACT=name ]
[ /FLAGS=options]
[ /LOCATION=options ]
[ /TYPE=options ]
Restrictions
Requires SYSPRV or BYPASS privilege.
If you add a new community and do not specify the /TYPE qualifier, the value of
/TYPE defaults to read only.
If you add a new community and do not specify the /ADDRESS qualifier, the
default address is 0.0.0.0.
Qualifiers
/ADDRESS=(IP_address)
/NOADDRESS=(IP_address)
Optional. Default: 0.0.0.0
Specifies hosts that belong to a particular community. You can specify multiple
addresses.
This qualifier is meaningful only if you include the /COMMUNITY qualifier. A
remote host cannot access information from this host unless its address appears
in one or more communities of type READ or WRITE. For communities of type
TRAP, the addresses specify the hosts that receive trap messages. For more
information, see the /TYPE qualifier.
If you add a new community and do not specify this qualifier, the new entry’s
address is 0.0.0.0.
If you use the /ADDRESS qualifier with a community that already exists, these
addresses are added to the existing address list.
/NOADDRESS deletes addresses from an existing list. If the deleted address is
the only address listed for the community name, this qualifier also deletes the
community.
2–114 Command Descriptions