CHAPTER 6: ACCESS CONSIDERATIONS
CONFIGURING PORT SECURITY THROUGH THE COMMAND LINE INTERFACE
MULTILINK ML1600 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL
6–5
Example 6-1 views port security settings on a switch. Learning is enabled on port 9. This
port has 6 stations connected to it with the MAC addresses as shown. Other ports have
learning disabled and the MAC addresses are not configured on those ports.
Example 6-2 shows how to enable learning on a port. After the learning is enabled, the
port security can be queried to find the status of MAC addresses learnt. If there were
machines connected to this port, the MAC address would be shown on port 11 as they are
shown on port 9.
Example 6-1: Viewing the port security settings
ML1600#
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
10
ENABLE
NONE
NONE
DISABLE
0
Not Configured
11
ENABLE
NONE
NONE
DISABLE
0
Not Configured
12
ENABLE
NONE
NONE
DISABLE
0
Not Configured
13
ENABLE
NONE
NONE
DISABLE
0
Not Configured
14
ENABLE
NONE
NONE
DISABLE
0
Not Configured
15
ENABLE
NONE
NONE
DISABLE
0
Not Configured
16
ENABLE
NONE
NONE
DISABLE
0
Not Configured
ML1600(port-security)##
Example 6-2: Enabling learning on a port
ML1600(port-security)##
learn port=11 enable
Port Learning Enabled on selected port(s)
ML1600(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
10
ENABLE
NONE
NONE
DISABLE
0
Not Configured
11
ENABLE
NONE
NONE
ENABLE
0
Not Configured
12
ENABLE
NONE
NONE
DISABLE
0
Not Configured
13
ENABLE
NONE
NONE
DISABLE
0
Not Configured
14
ENABLE
NONE
NONE
DISABLE
0
Not Configured
15
ENABLE
NONE
NONE
DISABLE
0
Not Configured
16
ENABLE
NONE
NONE
DISABLE
0
Not Configured
ML1600(port-security)##