0 Replies Latest reply on Nov 15, 2017 9:17 AM by robertor6

    NCM add two numbers

    robertor6

      Hi ,

      I need add to fourth octect the value +1

       

      for example:

      with functions getoctet String @octectThisSitePop = getoctet (@Route.NextHop,4)  I find 4 octet

      the result of the variable  is     

      @octectThisSitePop=245

       

      now I add +1 to result

      @nextHop = @octectThisSitePop + 1

       

      the result is 2451, but I need 246

       

       

      Do you have an ideas?

       

       

      the part of the script that I need is necessary for setting the exactly route. In the all routers I have the first part is egual :
      ip route xxx.xxx.xxx.xxx 255.255.255.255 But_This_Different

       

       

       

      Thanks a lot

      Roberto