User Guide
OmniAccess SafeGuard OS Administration Guide
179
Chapter 5: Setting Up SafeGuard Switches
The following example restores the maximum number of statically locked MAC
addresses to the default (20):
(SafeGuardOS) (interface 0/1)#no port-security max-static
(SafeGuardOS) (interface 0/1)#show port-security 0/1
Admin Dynamic Static Violation
Intf Mode Limit Limit Trap Mode
------ ------- ---------- --------- ----------
0/1 Disabled 600 20 Disabled
(SafeGuardOS) (interface 0/1)#
Adding a MAC Address to the Statically Locked List
To add a MAC address to the list of statically locked MAC address, use the port-security
mac-address command in Interface Configuration mode. To remove a MAC address from
the list, use the
no version of the command.
port-security mac-address mac-address vid
no port-security mac-address mac-address vid
The following example adds MAC address 01:02:03:04:05:06 to the list with the VLAN ID
of 1:
(SafeGuardOS) #show port-security static 0/1
There are no dynamically learned MAC addresses.
(SafeGuardOS) #configure terminal
(SafeGuardOS) (config) #interface 0/1
(SafeGuardOS) (interface 0/1)#port-security mac-address 01:02:03:04:05:06 1
(SafeGuardOS) (interface 0/1)#exit
(SafeGuardOS) (config) #exit
(SafeGuardOS) #show port-security static 0/1
Number of static MAC addresses configured: 1
Statically configured MAC Address VLAN ID
--------------------------------- -------
01:02:03:04:05:06 1
(SafeGuardOS) #
Syntax Description mac-address The address to add or remove.
vid The VLAN ID.










