> # Database Interaction

> Table 37-4 lists the differences and interaction between the active and configuration databases.

> Table 37-4 Active and Configuration Port Security Databases
> Active Database | Configuration Database
> --- | ---
> Read-only. | Read-write.
> Saving the configuration only saves the activated entries. Learned entries are not saved. | Saving the configuration saves all the entries in the configuration database.
> Once activated, all devices that have already logged into the VSAN are also learned and added to the active database. | Once activated, the configuration database can be modified without any effect on the active database.
> You can overwrite the active database with the configured database by activating the port security database. Forcing an activation may violate the entries already configured in the active database. | You can overwrite the configuration database with the active database.

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