Niagara 9100 Series User Guide
ViewCast 201
Use UDP Port Other Than 161 for SNMP
Requests
The default UDP port used for SNMP requests sent from SNMP manager to SNMP agent is 161. The
ViewCast SNMP agent supports the use of a different UDP port. To make this change, perform the
following steps:
After ViewCast SNMP Service Agent is installed, go to the default installation directory
C:\Program Files (x86)\ViewCast\ViewCast SNMP Agent\
Make a copy of file vcst_snmp_agent_cfg_example.xml and save it to
vcst_snmp_agent_cfg.xml.
In vcst_snmp_agent_cfg.xml , keep the default setting unchanged as shown below.
<snmp_setting_flags>
<permitted_managers_option use_win_snmp_settings =
"true" />
<valid_communities_option use_win_snmp_settings =
"true" />
<trap_configuration_option use_win_snmp_settings =
"true" />
</snmp_setting_flags>
In vcst_snmp_agent_cfg.xml, for element udp_port_to_snmp_manager, set the port
attribute to the desired port other than 161, e.g. 4071 as shown below:
<udp_port_to_snmp_manager port = "4071" />
In vcst_snmp_agent_cfg.xml, keep all the other settings unchanged and save.
Restart (or stop then start) ViewCast SNMP agent service by running Windows service
management tool services.msc
Right click on ViewCast SNMP Agent.
Click Restart or Stop then Start.
Configure the SNMP manager to use the same UDP port for SNMP requests. To revert to
the use of UDP port 161, simply rename the file vcst_snmp_agent_cfg.xml or remove it
or set the above port to 161.
Save and then restart the ViewCast SNMP agent.
ViewCast SNMP Agent Logging
By default, all ViewCast SNMP Agent related files are installed into the following directory:
C:\Program Files (x86)\ViewCast\ViewCast SNMP Agent\
The ViewCast SNMP agent log files are generated under the following directory:
C:\Program Files (x86)\ViewCast\ViewCast SNMP Agent\log
These log files may be collected for trouble-shooting purposes. They are kept for up to seven days in the
system. The ViewCast SNMP agent automatically deletes outdated log files.