Igure, Between specified mac addresses), 48 – enabling and disabling port security – GarrettCom Magnum MNS-6K User Manual
Page 68
M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E
Note 1: There is a limitation of 200 MAC addresses per port
and 500 MAC addresses per Switch for Port Security.
Note 2: All the commands listed above have to be executed
under the port-security configuration mode.
Syntax clear
information – most notably clear addr – clears the addresses learnt
Let’s look at a few examples.
Magnum6K25(port-security)##
allow mac=00:c1:00:7f:ec:00,00:60:b0:88:9e:00
port=18
F
IGURE
46 – Port security – allowing specific MAC addresses on a specified port. (No spaces between
specified MAC addresses)
Magnum6K25(port-security)##
action port=9,10 none
Magnum6K25(port-security)##
learn port=9,10 enable
F
IGURE
47 – Port security - the port learns the MAC addresses. Note – a maximum of 200 MAC
addresses can be learnt per port and a maximum of 500 per switch. Also, the ‘action’ on the port must be
set to none before the port ‘learns’ the MAC address information.
Magnum6K25(port-security)##
ps enable
Port Security is already enabled
Magnum6K25(port-security)##
ps disable
Port Security Disabled
Magnum6K25(port-security)##
ps enable
Port Security Enabled
F
IGURE
48 – Enabling and disabling port security
Magnum6K25(port-security)##
show port-security
PORT
STATE SIGNAL
ACTION LEARN COUNT MAC ADDRESS
--------
---------- -----------
------------ ---------- ---------- ----------------------
9
ENABLE LOG
NONE
ENABLE
6
00:e0:29:2a:f1:bd
00:01:03:e2:27:89
00:07:50:ef:31:40
00:e0:29:22:15:85
00:03:47:ca:ac:45
00:30:48:70:71:23
67