Previous Topic

Next Topic

Book Contents

Book Index

Configuring Port Security

Port Security can be enabled on a per-port basis. When a port is locked, only packets with allowable source MAC addresses can be forwarded. All other packets are discarded. A MAC address can be defined as allowable by one of two methods: dynamically or statically. Note that both methods are used concurrently when a port is locked.

Dynamic locking implements a “first arrival” mechanism for Port Security. You specify how many addresses can be learned on the locked port. If the limit has not been reached, a packet with an unknown source MAC address is learned and forwarded normally. Once the limit is reached, no more addresses are learned on the port. Any packets with source MAC addresses that were not already learned are discarded. Note that you can effectively disable dynamic locking by setting the number of allowable dynamic entries to zero.

Static locking allows you to specify a list of MAC addresses that are allowed on a port. The behavior of packets is the same as for dynamic locking: only packets with an allowable source MAC address can be forwarded.

Disabled ports can only be activated from the Configuring Ports page.

Port Security Administration

Use the Port Security Administration page to enable or disable the port security feature on your switch.

To access the Port Security Administration page, click Switching > Port Security > Port Security Administration in the navigation menu.

Port Security Administration

Select Enable or Disable from the Port Security Mode list and click Submit.

Port Security Interface Configuration

Use this page to configure the port security feature on a selected interface.

To access the Port Security Interface Configuration page, click Switching > Port Security > Port Security Interface Configuration in the navigation menu.

Port Security Interface Configuration

Port Security Interface Configuration Fields

Field

Description

Interface

Select the physical interface or the LAG on which to configure port security information.

Port Security

Determines whether port security is enabled. The default mode is Disable.

  • Enable: Locks the port so that only packets with allowable source MAC addresses can be forwarded. All other packets are discarded.
  • Disable: The port is not locked, so no port security restrictions are applied.

Maximum Number of Dynamically Learned MAC Addresses Allowed

Sets the maximum number of dynamically learned MAC addresses on the selected interface. Once the limit is reached, no more addresses are learned on the port. Any packets with source MAC addresses that were not already learned are discarded. You can effectively disable dynamic locking by setting the number of allowable dynamic entries to zero.

Maximum Number of Statically Locked MAC Addresses Allowed

Sets the maximum number of statically locked MAC addresses on the selected interface.

Add a Static MAC Address

Adds a MAC address to the list of statically locked MAC addresses for the selected interface. Only packets with an allowable source MAC address can be forwarded.

VLAN ID

Adds a corresponding VLAN ID for the MAC Address being added to the list of statically locked MAC addresses for the selected interface.

Enable Violation Traps

Enables or disables the sending of new violation traps designating when a packet with a disallowed MAC address is received on a locked port. Value is No by default.

If you make any changes to the page, click Submit to apply the new settings to the system.

Port Security Statically Configured MAC Addresses

Use the Port Security Statically Configured MAC Addresses page to view static MAC addresses configured on an interface. From this page, you can delete statically configured MAC addresses.

To access the Port Security Static page, click Switching > Port Security > Statically Configured MAC Addresses in the navigation menu.

Port Security Statically Configured MAC Addresses

Port Security Statically Configured MAC Address Fields

Field

Description

Interface

Select the physical interface or the LAG on which to view the dynamically learned MAC addresses.

MAC Address

This column lists the static MAC addresses, if any, configured on the selected port.

VLAN ID

Displays the VLAN ID corresponding to the statically configured MAC address.

Delete a static MAC Address

Enter the address of the statically configured MAC address to delete. All MAC addresses that are available to be deleted appear in the MAC Address – VLAN ID table.

VLAN ID

Enter the VLAN ID that corresponds to the statically configured MAC address to delete.

After you enter the MAC address and VLAN ID of the statically configured MAC address to delete, click Submit to remove the MAC address from the port and apply the new settings to the system. The screen refreshes, and the MAC address no longer appears in the table on the page.

Port Security Dynamically Learned MAC Addresses

Use the Port Security Dynamically Learned MAC Addresses page to view a table with the dynamically learned MAC addresses on an interface. With dynamic locking, MAC addresses are learned on a “first arrival” basis. You specify how many addresses can be learned on the locked port.

To access the Port Security Dynamic page, click Switching > Port Security > Dynamically Learned MAC Addresses in the navigation menu.

Port Security Dynamic

Port Security Dynamic Fields

Field

Description

Interface

Select the physical interface or the LAG on which to view the dynamically learned MAC addresses.

MAC Address

This column lists the dynamically learned MAC addresses, if any, on the selected port.

VLAN ID

Displays the VLAN ID corresponding to the dynamically learned MAC address.

Port Security Violation Status

Use the Port Security Violation Status page to enable or disable the port security feature on your switch.

To access the Port Security Violation Status page, click Switching > Port Security > Violation Status in the navigation menu.

Port Security Violation Status

Port Security Violation Status Fields

Field

Description

Interface

Select the physical interface or the LAG on which to view security violation information.

Last Violation MAC Address

Displays the source MAC address of the last packet that was discarded at a locked port.

VLAN ID

Displays the VLAN ID corresponding to the Last Violation MAC address.

See Also

Configuring Switching Information

Configuring DHCP Snooping

Managing VLANs

Private VLANs

Double VLAN (DVLAN) Tunneling

Configuring Protected Ports

Managing Protocol-Based VLANs

Managing IP Subnet-Based VLANs

Managing MAC-Based VLANs

Voice VLAN Configuration

Creating MAC Filters

Configuring GARP

Configuring Dynamic ARP Inspection

Configuring IGMP Snooping

Configuring IGMP Snooping Queriers

Configuring MLD Snooping

Configuring MLD Snooping Queriers

Creating Port Channels

Viewing Multicast Forwarding Database Information

Configuring Spanning Tree Protocol

Mapping 802.1p Priority

Managing LLDP

Dot1ad Provider Bridging

Dot1ag Connectivity Fault Management (CFM)

Operations and Management

Priority-Based Flow Control

802.1AS

Multiple Registration Protocol Configuration