Technical data

SET CONFIGURATION SNMP
If you specify two options, they are appended when sent to a client in response to
an SNMP request for
syslocation
. For example, if FIRST is abc and SECOND
is def, the value of the location is abcdef with no spaces. The total number of
characters must not exceed 215.
/TYPE= {[NO]READ | [NO]TRAP | [NO]WRITE}
Optional. Default: READ.
Sets the type of access (to your local MIB data) to allow for a specified community.
Type READ allows the master agent to accept GET, GETNEXT, and
GETBULK commands from clients (management stations).
Type TRAP allows the local master agent to issue traps to members of a
specified community. Members of a trap community receive SNMP Trap-
PDUs for significant events, including
coldStart
traps when the agent is
initialized, and
authenticationFailure
traps when the agent receives an
SNMP request that specifies an unauthorized community string.
Type WRITE allows the master agent to accept SET commands from clients
(management stations).
READ access is present by default when specifying TRAP or WRITE. Also, you
can remove the read access without affecting the way the agent responds to a
read request. For example:
$ SET CONFIGURATION SNMP /COMMUNITY="name" /TYPE=NOREAD
Examples
1.
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="public" -
_TCPIP> /CONTACT="Sam Spade" -
_TCPIP> /LOCATION=(FIRST="Falcon Building",SECOND="Los Angeles,
California")
Configures SNMP with the standard public community, taking the default
type (READ) and address (0.0.0.0) for that community. Both contact and
location are specified.
The first and second parts of the location text are concatenated when
displayed by an SNMP client. For example:
Falcon BuildingLos Angeles, California
If no update to the location text is done by an SNMP client, the display
produced by SHOW CONFIGURATION SNMP is as follows:
Location
First: Falcon Building
Second: Los Angeles, California
If the text is updated by an SNMP client (for example, to change "Falcon" to
"Falconi"), the original formatting is not preserved and the display produced
by SHOW CONFIGURATION SNMP is as follows:
Location
First: Falconi BuildingLos Angeles, California
2–116 Command Descriptions