Command Reference Guide Ethernet Interface Configuration Command Set
61200510L1-35E Copyright © 2005 ADTRAN 656

switchport port-security mac-address

Use the switchport port-security mac-address command to add a static secure MAC addre ss or sticky
secure MAC address associated with the interface and to enable sticky address learning. Variations of this
command include the following:
switchport port-security mac-address sticky
switchport port-security mac-address sticky <mac address>
switchport port-security mac-address <mac address>
Syntax Description
sticky Adds a sticky secure MAC address associated with this interface. Enables sticky
address learning if a MAC address is not specified.
Default Values
By default, sticky learning is disabled and there are no configured MAC addresses.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 8.1 Command was introduced.
Usage Examples
The following example adds a single static address and enables sticky address learning on interface
Ethernet interface 0/1:
(config)#interface eth 0/1
(config-eth 0/1)#switchport port-security mac-address 00:A0:C8:02:D0:30
(config-eth 0/1)#switchport port-security mac-address sticky