NET.CFG Options Reference

Desktop SNMP Option

For example, if you disable the control community, no one can use Desktop SNMP to do SET operations against the data it manages.

For examples of complete files, see “Example of NET.CFG Files Using the Community Name and Types.”

Desktop SNMP reads the community name definition as follows, depending on the enable community_type community line:

Table 2-3

Desktop SNMP Option Values for Community Type Parameters

 

 

 

 

Value

Explanation

 

 

 

 

Any

If enable community_type community is set to

 

 

“any” for a community type, any community

 

 

string can be used to gain access. The line defining

 

 

the community name can be omitted. If it is

 

 

present, Desktop SNMP ignores it.

 

 

For trap community strings, the “any” option is not

 

 

applicable. If you specify enable trap community

 

 

any, Desktop SNMP interprets the line as if the

 

 

community type were specified.

 

 

 

 

Off

If enable community_type community is set to

 

 

“off” for a community type, access for that

 

 

community type is disabled. The line defining the

 

 

community name can be omitted. If the line is

 

 

present, Desktop SNMP ignores it.

 

 

 

 

Omitted

If enable community_type community is set to

 

 

“omitted” for a specific community type, Desktop

 

 

SNMP defaults to “specified” for that community

 

 

type and looks for a line defining a community

 

 

name for the community type. If no community

 

 

name is specified, Desktop SNMP defaults to

 

 

“public.”

 

 

 

 

Specified

If enable community_type community is set to

 

 

“specified” for a community type, Desktop SNMP

 

 

uses only the specified community name for that

 

 

community type. If none is specified, Desktop

 

 

SNMP defaults to “public.”

 

 

 

2-19