Correct way for lease time in static-mapping

Hi

What is the correct syntax to configure lease time for static dhcp lease? I tried with following but it doesnt commit

             static-mapping alpha {
                 ip-address 192.168.50.250
                 mac-address 14:ff:19:13:c4:83
+                static-mapping-parameters "option max-lease-time 2592000;"
+                static-mapping-parameters "option default-lease-time 2592000;"

Hello @panks21
max-lease-time and default-lease-time are not options. They are parameters.
Use

             static-mapping alpha {
                 ip-address 192.168.50.250
                 mac-address 14:ff:19:13:c4:83
                 static-mapping-parameters "max-lease-time 2592000;"
                 static-mapping-parameters "default-lease-time 2592000;"

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.