enable (MAC Port Security)

Enables MAC port security.
Syntax
enable
no enable
Command Default

By default, MAC port security is disabled on all interfaces.

Modes

Port security configuration mode

Port security interface configuration mode

Usage Guidelines

The no form of the command disables the MAC port security.

Examples

The following example enables MAC port security on all interfaces.

device(config)# port security 
device(config-port-security)# enable

The following example enables MAC port security on a specific interface.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# port security
device(config-port-security-e1000-1/1/1)# enable