Configure the Station ID
- Last UpdatedSep 03, 2024
- 2 minute read
Configure the Station ID
-
Configure the Station.
The Station field cannot be empty. The syntax of the Station depends on the SNMP version.
-
For SNMP version 1 and version 2, use the following syntax:
<IP Address>:<Port>:<SNMP Version>:<ReadCommunity>:<WriteCommunity>
-
For SNMP version 3, use the following syntax:
<IP Address>:<Port>:3
The IP address is required. Other syntax elements are optional.
Parameter
Default Value
Description
IP Address
none
The IP network address of the target device where the agent is configured.
Required.
Port
161
The port number used by the driver for performing GET and SET operations to the OIDs.
Optional. If not specified, the default value is used.
Version
1
The version of SNMP used. Possible values are 1, 2 or 3, for SNMP versions 1, 2 or 3 respectively.
Optional. If not specified, the default value is used.
Read Community
public
The read community name.
Case sensitive.
Optional. If not specified, the default value is used.
Write Community
public
The write and read community name.
Case sensitive.
Optional. If not specified, the default value is used.
Communities configured in the OCMC must match the communities configured in the SNMP agent. Typically, the PLC will have the settings. Refer to your PLC documentation for SNMP configuration in the specific PLC.
Examples:
192.186.0.1
192.186.0.1:161
192.186.0.1:161:1
192.186.0.1:161:3
192.186.0.1:166:2:public:private
Many PLCs support SNMP version 1. By default the Read and Read/Write communities are public. You can use this configuration if you want to test if your PLC or device supports SNMP. If it doesn't work, contact your device manufacturer. For a sample list of PLCs that support SNMP, see Supported software environments and devices.
Note: The minimum required parameter in the Station field is the IP address. If only IP address is specified, the other parameters will use the following default values: However, we recommend specifying all parameters as in the example 192.186.0.1:161:2:public:private.
Connection tips
-
The minimum entry parameter is the <IP Address>. If only IP address is specified, the other parameters will use the following default values: <IP Address>:161:1:Public:Public. You must ensure these parameters match the device that you are connecting to.
-
The connection port specified for regular connection to SNMP devices is different than the trap port used. The typical port for read/write operations is 161.