daily pastebin goal
45%
SHARE
TWEET

Flow Cloner Enable/Disable

sweenig Dec 12th, 2014 (edited) 2,083 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. if "%2"=="" goto:skip
  3. echo Building configuration...
  4. echo /use defaults ; > D:\NetQoS\Netflow\bin\flowclonedef.ini
  5. echo /dest ip=%2; send cloned flows >> D:\NetQoS\Netflow\bin\flowclonedef.ini
  6. :skip
  7. echo Setting FlowCloner status to %1...
  8. mysql -P 3308 -D harvester -e "update parameter_descriptions set defaultvalue='%1' where parameter='EnableFlowCloner';
  9. net stop "NetQoS Harvester"
  10. net start "NetQoS Harvester"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top