Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### DHCP Administration Guide

Search Scope:

- This Document
- Entire Library

## 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.

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |