Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

sunilkumar19
Occasional Contributor

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

we have created 4 vlans in the switch i want to bind one particular mac address to one specific IP for one vlan which is not in DHCP range.

Please help me...Thanks id advance.

 

 

4 REPLIES
GuruP
Valued Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Creating a dhcp-server static-bind pool in 2920 : and enabling dhcp-server in that vlan should bind IP-to-MAC , config below

dhcp-server pool "test"
   lease infinite
   static-bind ip 192.168.100.10 255.255.255.0 mac 001871-80b914
   exit

vlan 1
   name "DEFAULT_VLAN"
   no untagged 1/1
   untagged 1/2-1/48,2/1-2/48
   ip address 192.168.100.2 255.255.255.0
   dhcp-server
   exit

 

Hope this helps!

 

sunilkumar19
Occasional Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Thanks For your reply.

when i ran the first line commane getting below message ?


DHCP server should be disabled before changing the configuration.

Do i really need to disable the DHCP pool before changing the confguration.

 

 

GuruP
Valued Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Yes, If the DHCP-server is running then it needs to be disabled before making any changes in DHCP. To check the DHCP server status:->

HP-Stack-2920# sh dhcp-server

 Configuration and Status - DHCP Server

  DHCP Server Enabled       : No 
  DHCPv4 Operational Status : Disabled     
  Traps Enabled             : Yes
  Persistent Lease Database : No   
  Conflict Logging Enabled  : No 
  DHCP VLAN Interfaces      :          

HP-Stack-2920#

sunilkumar19
Occasional Contributor

Re: How to Bind mac address in HP 2920-24G-PoE+ Switch (J9727A)

Getting below error while trying the bind command.

Cannot configure static bind address when network address or range is configured.

can someone help on this?