authentication static

This command defines a MAC address to allow access to one of the device's interfaces.

Syntax

# authentication static [mac <MAC address as xx:xx:xx:xx:xx:xx>|auto] 
# no authentication static [mac <MAC address as xx:xx:xx:xx:xx:xx>|auto] 

Command

Description

auto

Enables the device to authorize the first MAC address to access the Ethernet port.

Note

This command is applicable only to data-router functionality.

Command Mode

Privileged User

Example

This example defines a MAC address to allow access to one of the device's interfaces:

(config-data)# interface GigabitEthernet 0/1
(config-if-GE 0/1)# authentication static mac 01:23:45:67:89:ab