Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • rttMonCtrlOperState
  • rttMonCtrlAdminStatus

Testing SNMP set actions

One can use the snmpset function (already installed on Opmantek VM) to test the configuration.  The example below uses the shell to first set some variables relevant to your environment and then uses a multi line command for snmpset.

## Your READWRITE community

community=Exampl3RWcomm 

##  the router to configure via SNMP
host=192.168.100.1 

## hex version of IP address the RTT service will use as a responder
node=c0b23ac8    

## A random number for a table entry

entry=576 


snmpset -m ALL -M /usr/local/nmis8/mibs/traps -v 2c -c $community $host \
rttMonCtrlAdminStatus.$entry i 4 \
rttMonCtrlAdminRttType.$entry i 1 \
rttMonEchoAdminProtocol.$entry i 2 \
rttMonEchoAdminTargetAddress.$entry x $node \
rttMonCtrlAdminFrequency.$entry i 30 \
rttMonCtrlAdminTimeout.$entry i 5000 \
rttMonEchoAdminTOS.$entry i 64 \
rttMonCtrlAdminVerifyData.$entry i 2 \
rttMonHistoryAdminNumBuckets.$entry i 30 \
rttMonHistoryAdminNumLives.$entry i 1 \
rttMonHistoryAdminFilter.$entry i 2 \
rttMonScheduleAdminRttStartTime.$entry t 1 \
rttMonScheduleAdminRttLife.$entry i 2147483647