General operation for port security

On a per-port basis, you can configure security measures to block unauthorized devices, and to send notice of security violations. Once port security is configured, you can then monitor the network for security violations through one or more of the following:
  • Alert flags captured by network management tools.

  • Alert Log entries in the WebAgent

  • Event Log entries in the console interface

For any port, you can configure the following:
  • Action—Used when a port detects an intruder. Specifies whether to send an SNMP trap to a network management station and whether to disable the port.

  • Address limit—Sets the number of authorized MAC addresses allowed on the port.

  • Address learn mode—Specify how the port acquires authorized MAC addresses. After configuring the maximum secure MAC address limit (64), the MAC address can be learned by one of the following ways:
    • Configure all MAC addresses by using the mac-address command.

    • Allow the port to dynamically learn all MAC addresses.

    • Configure some MAC addresses and allow the rest to be learned dynamically.

  • Static—Enables you to set a fixed limit on the number of MAC addresses authorized for the port and to specify some or all the authorized addresses. (If you specify only some of the authorized addresses, the port learns the remaining authorized addresses from the traffic it receives from connected devices.)

  • Configured—Requires that you specify all MAC addresses authorized for the port. The port is not allowed to learn addresses from inbound traffic.

  • Authorized (MAC) Addresses—Specify up to eight devices (MAC addresses) that are allowed to send inbound traffic through the port. This feature:
    • Closes the port to inbound traffic from any unauthorized devices that are connected to the port.

    • Provides the option for sending an SNMP trap notifying of an attempted security violation to a network management station and, optionally, disables the port.

  • Port Access—Allows only the MAC address of a device authenticated through the switch 802.1X Port-Based access control.