這是本文件的舊版!


Peakflow SP Reset to Default

  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 data.  This could take a while................done.
    Rebuilding alert 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 data.  This could take a while................done.
    Rebuilding alert 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:/#