Technical data

Configuring SNMP
13.4 Configuring SNMP
Community address
The address associated with the community. One community name can
have multiple addresses in its entry. For example:
TCPIP> SET CONFIGURATION SNMP /ADDRESS=(6.10.1.2,100.2.2.1)
Specifying address 0.0.0.0 for READ and WRITE allows any host the type
of access specified. To allow any network manager to monitor your system
remotely, specify the standard community name (
public
, in lowercase
letters) with address 0.0.0.0. For example:
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="public" /ADDRESS=0.0.0.0
Traps are sent to UDP port 162 on hosts for all trap addresses regardless
of community name. The use of address 0.0.0.0 on a trap means that
traps are not sent unless another address is also specified.
Types of access
The types of access associated with the community are described in the
following table:
Access
Type Allows the Master Agent and Subagent to...
READ Respond to a client’s read requests (gets) for network information.
Default. Members of a read-only community do not have write access
to the SNMP MIB objects.
TRAP Send alert messages (traps) to a client as a result of unusual events.
For example, a trap message is sent to the client as a result of
a
get
request that specifies an unauthorized community string
(
authenticationFailure
).
WRITE Process client write requests (sets) on your host’s MIB data items.
For example, to allow the master agent to respond to client
get
requests, enter:
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="public" /TYPE=READ
To configure your host to allow client
set
requests, use the /FLAGS=SETS
qualifier. For example:
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="public" /FLAGS=SETS
13.4.2 Displaying the Current SNMP Configuration
To display configuration information in the SNMP configuration database, use the
SHOW CONFIGURATION SNMP command. Use the /FULL qualifier if you want
to display the addresses that the agent recognizes as members of the community.
For example, enter:
TCPIP> SHOW CONFIGURATION SNMP /FULL
SNMP Configuration
Flags: AuthenTraps Sets
Contact: Sam Spade
Location
First: Falcon Building
Second: Los Angeles, CA
Community Type address_list
public Read 0.0.0.0
13–8 Configuring SNMP