> # Activating Port Security

> ## Detailed Steps

> To activate port security, 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.

> 1. Click the Actions tab.
> 2. Click in the Action column under Activation, next to the switch or VSAN on which you want to activate port security. You see a drop-down menu with the following options:
> - activate—Valid port security settings are activated.
> - activate (TurnLearningOff)—Valid port security settings are activated and auto-learn turned off.
> - forceActivate—Activation is forced.
> - forceActivate(TurnLearningOff)—Activation is forced and auto-learn is turned off.
> - deactivate—All currently active port security settings are deactivated.
> - NoSelection— No action is taken.
> 3. Set the Action field you want for that switch.
> 4. Uncheck the AutoLearn check box for each switch in the VSAN to disable auto-learning.
> 5. Click the CFS tab and set the command column to commit on all participating switches in the VSAN.
> 6. Click Apply Changes in DCNM-SAN or Apply in Device Manager to save these changes.

> Note If required, you can disable auto-learning (see the "Disabling Auto-learning" topic).

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