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 Relay Agent Suboptions

In this example, circuit-id is 500, and remote-id is hello.

  1. Configure the circuit-id and remote-id relay agent information options in switch 2.
    SEFOS# configure terminal
    SEFOS(config)# interface vlan 1
    SEFOS(config-if)# ip dhcp relay circuit-id 500
    SEFOS(config-if)# ip dhcp relay remote-id hello
    SEFOS(config-if)# end
  2. View the relay agent information.
    SEFOS# show ip dhcp relay information

    The output in the switch is:

    Dhcp Relay                                   : Enabled
    Dhcp Relay Servers only                  : Enabled
     
    DHCP server                                 : 20.0.0.1
     
    Dhcp Relay RAI option                    : Enabled
    Default Circuit Id information             : router-index
    Debug Level                                  : 0x1
     
    No of Packets inserted RAI option               : 0
    No of Packets inserted circuit ID suboption     : 0
    No of Packets inserted remote ID suboption      : 0
    No of Packets inserted subnet mask suboption    : 0
    No of Packets dropped                           : 0
    No of Packets which did not inserted RAI option : 0
     
    Interface  vlan1
    Circuit ID : 500
    Remote  ID : hello
    • Alternatively, if you want to view just the information specified for VLAN 1, use the following command:
      SEFOS# show ip dhcp relay information vlan 1
       
      Interface    vlan1
      Circuit ID : 500
      Remote  ID : hello

    Note - Configuration of the DHCP relay circuit ID should be greater than the value of the macro DHRL_MAX_L3_IF_INDEX. The value of the macro DHRL_MAX_L3_IF_INDEX is different for SEFOS packages. For the METRO package the value of the macro is 1136 and for the enterprise package the value of macro is 160.