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 E11 ENABLE NONE NONE DISABLE 0 Not Configured12 ENABLE NONE NONE DISABLE 0 Not Configured13 ENABLE NONE NONE DISABLE 0 Not Configured14 ENABLE NONE NONE DISABLE 0 Not Configured15 ENABLE NONE NONE DISABLE 0 Not Configured16 ENABLE NONE NONE DISABLE 0 Not ConfiguredMagnum6K25(port-security)##FIGURE 60 – Viewing port security settings on a switch. On port 9, learning is enabled. This port has 6stations connected to it with the MAC addresses as shown. Other ports have learning disabled and theMAC addresses are not configured on those portsMagnum6K25(port-security)## learn port=11 enablePort Learning Enabled on selected port(s)Magnum6K25(port-security)## show port-securityPORT STATE SIGNAL ACTION LEARN COUNT MAC ADDRESS-------- ---------- ----------- ----------- ---------- ---------- ----------------------9 ENABLE LOG NONE ENABLE 6 00:e0:29:2a:f1:bd00:01:03:e2:27:8900:07:50:ef:31:4000:e0:29:22:15:8500:03:47:ca:ac:4500:30:48:70:71:2310 ENABLE NONE NONE DISABLE 0 Not Configured11 ENABLE NONE NONE ENABLE 0 Not Configured12 ENABLE NONE NONE DISABLE 0 Not Configured13 ENABLE NONE NONE DISABLE 0 Not Configured14 ENABLE NONE NONE DISABLE 0 Not Configured15 ENABLE NONE NONE DISABLE 0 Not Configured16 ENABLE NONE NONE DISABLE 0 Not ConfiguredMagnum6K25(port-security)##FIGURE 61 – Enabling learning on a port. Note – after the learning is enabled, the port security can bequeried to find the status of MAC addresses learnt. If there were machines connected to this port, theMAC address would be shown on port 11 as they are shown on port 9Magnum6K25(port-security)## allow mac=00:c1:00:7f:ec:00 port=9,11,13Specified MAC address(es) allowed on selected port(s)Magnum6K25(port-security)## show port-security port=9,11,13PORT STATE SIGNAL ACTION LEARN COUNT MAC ADDRESS-------- ---------- ----------- ----------- ---------- ---------- ----------------------9 ENABLE LOG NONE ENABLE 6 00:e0:29:2a:f1:bd00:01:03:e2:27:8993