C613-50100-01 REV C Command Reference for x930 Series 2720
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) COMMANDS
LEASE
To set the lease expiration time for the address pool Nerv_Office to 1 day, 5
hours, and 30 minutes, use the commands:
awplus# configure terminal
awplus(config)# ip dhcp pool Nerv_Office
awplus(dhcp-config)# lease 1 5 30
To set the lease expiration time for the address pool P3 to 20 seconds, use the
commands:
awplus# configure terminal
awplus(config)# ip dhcp pool P3
awplus(dhcp-config)# lease 0 0 0 20
To set the lease expiration time for the pool to never expire, use the command:
awplus(dhcp-config)# lease infinite
To return the lease expiration time to the default of one day, use the command:
awplus(dhcp-config)# no lease
Related
Commands
option
service dhcp-server