

If you try to enable 802.1X on a secure port, an error message appears, and 802.1X is not enabled.
#Port security on cisco 2950 switch mac#
set aging in minutes of the MAC Addresses registed.restrict the number of MAC-Addresses that can connect through a switchport.restrict the MAC-address or addresses that can connect through a switchport.A malicous attacker launching a Denial of Service attack using MAC Address floodingĬisco IOS has the port-security feature which can be used to restrict the MAC-Address of the devices that connects to each of the physical switchports.A malicious hacker or an intruder gaining access to the network.
#Port security on cisco 2950 switch Pc#

Any Network admins nightmare is an unauthorised device or a PC connecting to the network. Note: Port security can be configured on static access ports or trunk ports in Catalyst 3750 switches.Cisco Port Security is a features that can help secure access to the physical network. When port security is enabled on a port, the secure addresses on the port are deleted only if they are inactive for the specified aging time.You can issue the port security aging or switchport port-security aging time command to set the aging time for all dynamic and static secure addresses on a port.įor more information on port security, refer to Understanding Port Security section of the document Configuring Port-Based Traffic Control. Connecting a PC to the IP phone requires additional MAC addresses. When the port is connected to a Cisco IP phone, the IP phone requires two MAC addresses: one for the access VLAN and the other for the voice VLAN. When you enable port security on a voice VLAN port, you must set the maximum allowed secure addresses on the port to at least two. You cannot configure static secure MAC addresses in the voice VLAN.A secure port cannot be an 802.1X port.A secure port cannot belong to an EtherChannel port group.A secure port cannot be a destination port for Switch Port Analyzer (SPAN).A secure port cannot be a dynamic access port or a trunk port.Port security can only be configured on static access ports.These are some other guidelines for configuring port security:

An interface in the default mode (dynamic desirable) cannot be configured as a secure port. Set the interface mode as access by issuing the interface configuration switchport mode access command. An incorrect switchport mode configuration causes the inability to configure port security on a switch in the Catalyst 2950 or 3550 series.Ī port on a Catalyst 2950 or 3550 model must first be configured as an access port in order to configure port security.
