HPE Aruba Networking & ProVision-based
1822845 Members
3882 Online
109645 Solutions
New Discussion

HP Procurve Switch assign port to specific mac address

 
dangeli
Occasional Visitor

HP Procurve Switch assign port to specific mac address

Hello ,

 

I've this HP Switch :

 

HP ProCurve J4904A 2848
HP ProCurve J9022A 2810-48G

 

I wanto to know if is possible to assign a port of switch to specific mac address in order to block some other pc/mac address to use this port .

 

It's possible , what is the command line ?

 

Thanks

 

 

P.S. This thread has been moevd from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. - Hp Forum Moderator

2 REPLIES 2
Vince_Whirlwind
Trusted Contributor

Re: HP Procurve Switch assign port to specific mac address

static-mac <mac-addr> vlan 123 interface A1

 

or

 

port-security A1 learn-mode static mac-address <mac-addr> action send-disable

 

 

dangeli
Occasional Visitor

Re: HP Procurve Switch assign port to specific mac address

I try :

 

# static-mac 00:1B:24:B9:15:CF vlan 3 interface 36

 

and pc with this mac address , connected on port 36 work

 

now ...

 

I test same command with other mac address (change with mac of other pc) , but pc connect on port 36 work .

In this case I've not assign specific mac address to specific port !?

 

I dont know why this !?