port-access port-security

Syntax

port-access port-security {enable | disable}

Description

Enables or disables port security globally or at the port level.

Command context

config

config-if

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling port security globally:

switch(config)# port-access port-security enable

Disabling port security globally:

switch(config)# port-access port-security disable

Enabling port security on a port:

switch(config-if)# port-access port-security enable

Disabling port security on a port:

switch(config-if)# port-access port-security disable