> # Cleaning the Port Security Database

> ## Detailed Steps

> To clear all existing statistics from the port security database for a specified VSAN, follow these steps:

> 1. Expand a Fabric, expand a VSAN, and then select Port Security in the Logical Domains pane.

> You see the Port Security information in the Information pane.

> 2. Click the Statistics tab.

> You see all the configuration databases.

> 3. Select the appropriate configuration database and check the Clear option.
> 4. Click the Apply Changes icon to save your changes.

> To clear any learned entries in the active database for a specified interface within a VSAN, follow these steps:

> 1. Expand a Fabric, expand a VSAN, and then select Port Security in the Logical Domains pane.

> You see the Port Security information in the Information pane.

> 2. Select the Actions tab. You see all the configuration databases.
> 3. Select the appropriate configuration database and check the AutoLearn option.
> 4. Click the Apply Changes icon to save your changes.

> Note You can clear the Statistics and the AutoLearn option only for switches that are local and do not acquire locks. Also, learned entries are only local to the switch and do not participate in distribution.

> Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.