01. First You have to log on to the Hp pro-curve Switch using Putty Or Putty connection Manager.
With The IP Address and giving the Usernames and Password
02. After log in to the switch to configure the port security go to config by typing config in the command line inter face.
03.Following will display the all the switch ports by list. If you wand know the port security in a specific port you can add the port no or range at the end of the command
Command: (config)# show port
Eg:(config)# show port-security 1-3, 45, 8
04. Configuring Port-security
Note : Maximum 8 mac address can be attached to one port.
Command:
(config)# port-security (Port-List) learn-mode configured address-limit (No of Address bind to the port-list) Mac-address(MAC Address) Action send-disable.
Eg: (config)# port-security 28 learn-mode configured address-limit 3 mac-address 0016ea-834254 0017ea-834254 action send-disable
05. Removing MAC Address from the list
Command:
(config)# port-security (port-list) address-limit (Mac Address Limit After deleting the intended Mac’s)
(config)# no port-security (port-list) mac-address (MAC Address)
Eg: (config)# port-security 20 address-limit 2
(config)# no port-security 20 mac-address 001f3c-1d7adb
06. After assigning Port security if you plug any PC that the MAC address is not in the
Port list the network port will be locked and cannot access it until enabling that port
07.How to unlock the port
Command:
(config)# interface ethernet (Port-List)
(eth-Port no)# disable
(eth-Port no)# enable
Eg: (config)# interface ethernet 20
(eth-20)# disable
ES-HPSW48-01(eth-20)# enable
thank u for sharing this post
ReplyDeleteHP Switches
Meraki Switches
Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also. smart home surat
ReplyDelete