it is quite simple, below sequence will do
Prior to running the commands, needs to have the static-bindings file at the tftp server location with the mapping information like this below
*time* Sep 27 2022 03:52 PM
*version* 2
!IP address Type Hardware address Lease expiration
10.89.197.7 /21 1 d4ad.71c2.f990 Infinite
*end*
Now can run the below on the device.
enable
configure terminal
ip dhcp pool cemautomation
origin file tftp://<tftp server ip>/static-bindings
end
show ip dhcp binding
references:
https://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpsv.html#wp1093993
No comments:
Post a Comment