ValidCommunity (Standard 8 Module Reference)

7/8/2014

Review the applicable Feature modules and any examples for the ValidCommunity setting in Windows Embedded 8 Standard (Standard 8).

This setting specifies information about the community from which the device running Simple Network Management Protocol (SNMP) can accept SNMP requests. You can enter multiple valid communities.

You can use the Action setting attribute to specify the action to take when you use the configuration file to create or modify an image. The following table shows the possible values.

Value

Description

AddListItem

Adds the item or items to an image.

ModifyListItem

Modifies the value or the item as specified in Key or Value in an image.

RemoveListItem

Removes the item or items in an image.

You use Key and Value attributes to specify a unique identifier for an SNMP community.

Key contains a string that specifies a unique identifier for an SNMP community.

Value specifies the permission level for the community. The following table shows the possible values:

Value

Description

1

The community has no permissions.

2

The community has notify permissions.

4

The community has read-only permissions.

8

The community has read/write permissions.

16

The community has read/create permissions.

Modules

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Simple Network Management Protocol (SNMP)

Features/Networking/Network Protocols/Simple Network Management Protocol (SNMP)/ValidCommunities/ValidCommunity

XML Example

The following example shows how to create two communities and assign them permissions.

<ValidCommunities>
    <ValidCommunity wcm:action="add" wcm:keyValue="Community1">2</ValidCommunity>
    <ValidCommunity wcm:action="add" wcm:keyValue="Community2">4</ValidCommunity>
</ValidCommunities>

See Also

Concepts

Feature Module Settings