JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

DHCP Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

Protocol Description

DHCP Server

DHCP Client

DHCP Relay Agent

Configuring DHCP

Two-Switch Configuration

Multiple-Switch Configuration

Configuration Guidelines

Default Configurations

Enabling and Disabling the DHCP Server

Enable the DHCP Server

Disable the DHCP Server

Enable ICMP Echo

Specify the Amount of Time After Which an IP Address Is Made Available

Configure the Next Server

Configure the Boot File Name

Configuring DHCP Global Options

Configure DHCP Global Options

Delete DHCP Global Options

Configuring Address Pools

Configure DHCP Address Pools

Configure the End IP for the Address Pool

Configure the Lease Time

Configure the Utilization Threshold

Create an Excluded Address in the Pool

Configuring Pool-Specific Options

Configure a Domain Name Option

Configure the DNS Option

Configure the NetBIOS Name Server

Configure the NetBIOS Node Type

Configure the Default Router

Remove a Configured Default Router Subnet Option

Configure Options Specific to Address Pools

Configure Host-Specific Options

Enabling and Disabling Debug Traces for the DHCP Server

Enable Debug Traces for the DHCP Server

Disable Debug Traces for the DHCP Server

Configuring an Interface to Acquire or Use an IP Address

Configure an Interface to Acquire a Dynamic IP Address

Delete a Binding Entry From the Server

Configure an Interface to Use a Manual IP Address

Enable DHCP Relay

Configure a DHCP Server Address

Configuring Relay Agent Options

Enable the Relay Agent Information

Configure Relay Agent Suboptions

Enable Traces for the DHCP Relay Agent

Acquire an IP Address From a Server Residing Outside the Client Network

Configure the Lease Time

You can specify the amount of time the client can use (or lease) the IP address assigned by the server. This parameter is specific to each IP address pool. Every IP address allocated from a pool will be returned to the pool if the client does not renew the address before the lease-time expire interval.

In this example, the address pool is pool 1, and the lease time is specified as one day, two hours, and thirty minutes.

  1. Create the address pool.
    SEFOS# configure terminal
    SEFOS(config)# ip dhcp pool 1
  2. Specify the amount of time the client will use the IP address assigned to it by the server.
    SEFOS(dhcp-config)# lease 1 2 30
    SEFOS(dhcp-config)# end
  3. View the lease time for address pools.
    SEFOS# show ip dhcp server pools

    The output in switch 1 is:

    Pool Id                      : 1
    -------------------------------------------
    Subnet                        : 12.0.0.0
    Subnet Mask                   : 255.0.0.0
    Lease time                    : 95400 secs
    Utilization threshold         : 75%
    Start Ip                      : 12.0.0.1
    End Ip                        : 12.0.0.100