cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
247
Views
0
Helpful
0
Replies

How to configure port based address allocation

Can anyone help me to configure the port based address allocation feature on SG350 - 28 (Firmware version is 2.5.0.83)  series switch.

Description of requirement : I have several devices to test one by one. whenever, I connect the new device to be tested on port number 1, it will always get the same ip from dhcp i.e 192.168.0.130. (Please note that Mac address will always change with new device so allocation can not be made based on hardware address.) I have executed the following command so far:

 

> ip dhcp server

> ip dhcp pool network duts

> address low 192.168.0.1 high 192.168.0.255 255.255.255.0

> ip dhcp pool host dut

> address 192.168.0.130 255.255.255.0 client-identifier 0001

> ip dhcp excluded-address 192.168.0.1 192.168.0.1

> ip dhcp excluded-address 192.168.0.120 192.168.0.120

> interface vlan 1

> ip address 192.168.0.120 255.255.255.0

> no ip address dhcp

 

 

I am not able to figure out , how can i link the client-identifier to port number 1 so that client connected to it always get same ip address based on client-identifier 

 

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X
Recognize Your Peers