Configuring the ECN330-switch
144 1553-KDU 137 365 Uen D 2006-06-16
• Security Status – Enables or disables port security on the port.
(Default: Disabled)
• Max MAC Count – The maximum number of MAC addresses that can
be learned on a port. (Range: 0 - 1024)
This parameter is only display in the web interface:
• Trunk – Indicates if a port is configured as a trunk member (page 191
and 193) and cannot be enabled as a secure port.
Web – Click Security, Port Security. Set the action to take when an invalid
address is detected on a port, mark the checkbox in the Status column to enable
security for a port, set the maximum number of MAC addresses allowed on a
port, and click Apply.
Figure 48 Port Security
CLI – This example sets the command mode to Port 5, sets the port security
action to send a trap and disable the port, and specifies a maximum address
count. It then disables MAC address learning for Port 2.
Console(config)#interface ethernet 1/5
Console(config-if)#port security action trap-and-shutdown
Console(config-if)#port security max-mac-count 20
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#mac-learn disable
Console(config-if)#