Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

mac authentication on port

imdad ali khan
Occasional Contributor

mac authentication on port

how do i configure the port security to allow only one workstation having the mac XXXXXXXX to connect to the network.
1 REPLY
Natasha Samoylenko
Trusted Contributor

Re: mac authentication on port

This example configures port A1 to automatically accept the first device (MAC address) it detects as the only authorized device for that port. (The default device limit is 1.) It also configures the port to send an alarm to a network management station if an intruder is detected on the port.
ProCurve(config)# port-security a1 learn-mode static action send-alarm

The next example does the same as the preceding example, except that it specifies a MAC address of 0c0090-123456 as the authorized device instead of allowing the port to automatically assign the first device it detects as an authorized device. It also configures the port to disable itself if an intruder is detected on the port.
ProCurve(config)# port-security a1 learn-mode static mac-address 0c0090-123456 action send-disable.

You say that you need to allow only one workstation having the mac XXXXXXXX to connect to the network. Network, not port.
So, may be you need to look at MAC Lockdown feature also.

Differences Between MAC Lockdown and Port Security:
Port security maintains a list of allowed MAC addresses on a per-port basis. An address can exist on multiple ports of a switch. Port security deals with MAC addresses only while MAC Lockdown specifies both a MAC address and a VLAN for lockdown.
MAC Lockdown, on the other hand, is not a â list.â It is a global parameter on the switch that takes precedence over any other security mechanism. The MAC Address will only be allowed to communicate using one specific port on the switch.

Configuring MAC Lockdown:
switch(config)# static-mac [vlan ] interface

You need to read Access Security Guide for your switch, Chapter Configuring and Monitoring Port Security.