> # Configuring Port Security with Manual Database Configuration

> ## Detailed Steps

> To configure port security and manually configure the port security database, follow these steps:

> 1. Enable port security. See the "Enabling Port Security" topic.
> 2. Manually configure all port security entries into the configure database on each VSAN. See the "Configuring Port Security with Manual Database Configuration" topic.
> 3. Activate port security on each VSAN. This turns on auto-learning by default. See the "Activating Port Security" topic.
> 4. Disable auto-learn on each VSAN. See the "Disabling Auto-learning" topic.
> 5. Copy the running configuration to the startup configuration This saves the port security configure database to the startup configuration.
> 6. Repeat Step 1 through Step 5 for all switches in the fabric.

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