A10E/A28E/A28F Configuration Guide
Port security MAC and MAC address number limit based on interface+VLAN are
mutually exclusive. We do not suggest configuring them concurrently.
Configure basic functions of secure MAC address for the A10E/A28E as below.
Enter global configuration mode.
Alpha-
A28E(config)#interface
port
port-id
Enter physical layer interface
configuration mode.
Alpha-A28E(config-
port)#switchport port-
security
Enable port security MAC.
Alpha-A28E(config-
port)#switchport port-
security maximum
maximum
(Optional) configure the maximum
number of secure MAC address.
Alpha-A28E(config-
port)#switchport port-
security violation
{ protect | restrict |
shutdown }
(Optional) configure secure MAC
violation mode.
Alpha-A28E(config-
port)#no port-security
shutdown
(Optional) re-enable the interface which
is shut down due to violating the secure
MAC address.
When secure MAC violation policy is in Shutdown mode, you can use this command
to re-enable this interface which is shut down due to violating secure MAC address.
When the interface is Up, the configured secure MAC violation mode will continue to
be valid.
6.2.5 Configuring static secure MAC address
Configure static secure MAC address for the A10E/A28E as below.
Enter global configuration mode.
Alpha-
A28E(config)#interface port
port-id
Enter physical layer interface
configuration mode.
Alpha-A28E(config-
port)#switchport port-
security mac-address
mac-
address
vlan
vlan-id
Enable static port security MAC.
Alpha-A28E(config-
port)#switchport port-
security
Configure secure MAC address.