---
title: "recalculate-spm command"
canonical: "https://docs.infoblox.com/space/NetMRI753/41945189/recalculate-spm%20command"
format: markdown
---
A command to allow re-population of all Switch Port Manager data tables with information from one day to 30 days in the past. The function is similar to selecting a date for re-populating a single SPM table from the calendar selector in the top left corner of the UI, but the **recalculate-spm** command repopulates the entire set of SPM tables.

> ⚠️ **Note**
> ⚠️ 
> ⚠️ Do not run the `recalculate-spm` command from your system without instructions from Infoblox Support.

# Syntax

The following is the command syntax:

`recalculate-spm <days>`

where `<days>` is the time period in days.

# Example

`corp100_west> recalculate-spm
  `

`Enter time period in days for SPM generation ( should be between 1 and 30 ): 1 `

`corp100_west>`