Peakflow SP Reset to Default

Command

  1. Change interface ip
    admin@CP5500:/#ip interfaces ifconfig eth0 10.0.0.1 255.255.255.0 up
  2. Stop sp service
    admin@CP5500:/# service sp stop
    Stoping Peakflow SP services......done.
    admin@CP5500:/#
  3. Change bootstrap leader
    admin@CP5500:/# services sp bootstrap leader 10.0.0.1 arbor
    Existing Alert and Mitigation database detected.
     
    The Alert and Mitigation database contains alert information collected
    by this device for the deployment which it is a part of.
    If this device was last used in a different deployment, then you should
    delete the existing database.
     
    Would you like to delete the existing Alert and Mitigation database? [n] y
    Configuring CP5500
    Leader IP:         10.0.0.1
    Zone secret hash:  80849306a81e8f4745711a73f5f4f45c
    Existing database: delete
     
    Commit (and activate) configuration? [n] y
    Deleting existing Alert and Mitigation database
    Deleting alert and mitigation data.  This could take a while................done.
    Rebuilding alert and mitigation database..................//................done.
    Saving ArbOS configuration...
    Saving SP configuration...
    Boot-strap configuration committed
    admin@CP5500:/#
  4. Reset all database
    admin@CP5500:/# services sp data database reset
      alert            Reset the alert database
      autoconfig       Reset the auto-configuration database
      baseline         Reset the baseline database
      report           Reset the reports database
      traffic          Reset the traffic database
      <cr>
     
    admin@CP5500:/# services sp data database reset
      Reset databases? (This operation cannot be undone) [n] y
    Deleting baseline data.  This could take a while...done.
    Deleting traffic data.  This could take a while..............done.
    Deleting alert and mitigation data.  This could take a while...................done.
    Rebuilding alert and mitigation database.....................//................done.
    Deleting autoconfig data.  This could take a while....done.
    Please reset the alert database on all SP devices from the CLI.
    admin@CP5500:/# 
  5. Start sp service
    admin@CP5500:/# service sp start
    Starting Peakflow SP services......done.
    admin@CP5500:/#
arbor/sp/reset-to-default.txt · 上一次變更: 2015/03/02 09:45 由 jal
上一頁 | 下一頁 | 回首頁 | RSS Feed | Facebook