Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

lease-time

vpn interface dhcp-server lease-time—Configure the time period for which a DHCP-assigned IP address is valid (on vEdge routers only).

vManage Feature Template

For vEdge routers only:

Configuration ► Templates ► DHCP Server

Command Hierarchy

vpn vpn-id
  interface geslot/port
    dhcp-server
      lease-time seconds

Options

Lease Time
seconds
How long DHCP-assigned addresses are valid.
Range: 60 through 4294967295 seconds

Example

Set the DHCP lease time to 2 hours:

vEdge# config
Entering configuration mode terminal
vEdge(config)# vpn 1 interface ge0/4
vEdge(config-interface-ge0/4)# dhcp-server address-pool 10.0.100.0/24
vEdge(config-dhcp-server)# exclude 10.0.100.2
vEdge(config-dhcp-server)# lease-time 7200
vEdge(config-dhcp-server)# show full-configuration
vpn 1
 interface ge0/4
  dhcp-server
   address-pool 10.0.100.0/24
   exclude      10.0.100.2
   lease-time   7200
  !
 !
!

Release Information

Command introduced in Viptela Software Release 14.3.​

Additional Information

See the Configuring Interfaces article for your software release.

  • Was this article helpful?