> # Copying an Active Database to the Config Database

> ## Detailed Steps

> To copy the active database to the config database, follow these steps:

> 1. Expand a VSAN and select Port Security in the Logical Domains pane.

> You see the port security configuration for that VSAN in the Information pane.

> 2. Click the Actions tab.

> You see the switches for that VSAN.

> 3. Check the CopyActive ToConfig check box next to the switch for which you want to copy the database.

> The active database is copied to the config database when the security setting is activated.

> 4. Uncheck the CopyActive ToConfig check box if you do not want the database copied when the security setting is activated.
> 5. Click the CFS tab and set the command column to commit on all participating switches in the VSAN.
> 6. Click Apply Changes to save these changes or click Undo Changes to discard any unsaved changes.

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