User Tools

Site Tools


3850:manualbinding

__Manual Binding Configuration on 3850__

An address binding is the mapping between the client's IP and hardware addresses. Automatic binding are IP addresses that have been automatically mapped to the MAC addresses of hosts that are found in the DHCP database. Automatic bindings are stored on a remote host or a local host called the database agent.

__Database agent configuration on flash__

The objective is to configure manual binding for a future supervision of Access Point.

1.Run a TFTP server on your laptop. TFTP32 is an adequate tool http://tftpd32.jounin.net/
2.Create DHCP database “static” on the 3850. This action create a file with a specific format and syntax in the flash.

3850(config)#service dhcp
3850(config)#ip dhcp database flash:/static
3850(config)#no service dhcp
3850(config)#service dhcp
3850(config)#no service dhcp

Note that you need to reload the dhcp service, to generate the file into the flash

3.Copy the static file to look inside the syntax.

3850#copy flash:/static tftp://1.1.1.1/table.txt

4.Open table.txt file to configure the manual binding.

*time* Dec 24 2014 03:52 PM
*version* 2
!IP address    Type    Hardware address     Lease expiration
10.0.0.4 /24   1       0090.bff6.081e       Infinite
10.0.0.5 /28   id      01b7.0813.88f1.66    Infinite

*time*, this field allows DHCP server to differentiate between the new and old database versions when multiple agents are configured.
*version*, specifies the database version number.
*type*, specifies the hardware type. For example, type “1” indicates Ethernet. The type “id” indicates that the field is a DHCP client identifier.

4.Push table.txt file into 3850' flash.

3850#copy tftp://1.1.1.1/table.txt flash:/table

5.Create DHCP pool

3850(config)#ip dhcp pool AP
3850(dhcp-config)#import all
3850(dhcp-config)#origin file flash:/table
3850(dhcp-config)#default-router x.x.x.x
3850(dhcp-config)#exit
3850(config)#service dhcp

__Troubleshooting commands__

3850/manualbinding.txt · Last modified: 2014/12/30 11:17 by starzzz