port-access port-security mac-address

Syntax

port-access port-security mac-address <MAC-ADDRESS>

no port-access port-security mac-address <MAC-ADDRESS>

Description

Configures the MAC addresses of static clients.

The no form of this command removes an authorized static client from the port.

Command context

config-if

Parameters

<MAC-ADDRESS>

Specifies the MAC addresses of the static clients.

Authority

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

Examples

Configuring a static client on a port:

switch(config-if)# port-access port-security
switch(config-if-port-security)# mac-address aa:bb:cc:dd:ee:ff

Deleting a static client on a port:

switch(config-if)# port-access port-security
switch(config-if-port-security)# no mac-address aa:bb:cc:dd:ee:ff