dhcp_macro_mod.html revision 7c478bd95313f5f23a4c958a745db2134aa03244
<!--
-- ident "%W% %E% SMI"
--
CDDL HEADER START
The contents of this file are subject to the terms of the
Common Development and Distribution License, Version 1.0 only
(the "License"). You may not use this file except in compliance
with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]
CDDL HEADER END
-- Copyright (c) 2000-2001 by Sun Microsystems, Inc.
-- All rights reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>DHCP Manager Help: Modify Macro</title>
<meta NAME="AUTHOR" CONTENT="smorgan">
<meta NAME="KEYWORDS" CONTENT="DHCP">
</head>
<body bgcolor="#FFFFFF">
<a name="top"></a>
<table border=0 cellspacing=0 cellpadding=0 width=615>
<!-- Start navigation banner -->
<tr><td colspan=4 WIDTH="615" align="center" valign="top"><IMG SRC="art/bannersmc.gif" WIDTH=615 BORDER=0 ALT="DHCP Manager Help">
</td>
</tr>
<!-- End navigation banner -->
<tr>
<!-- Start contents block -->
<td colspan=1 valign="top" width=105>
<P>&nbsp;</P>
<A HREF="dhcp_main_top.html"><STRONG>Overview</STRONG></A><P>
<A HREF="dhcp_relay_ref.html"><STRONG>Servers and Relays</STRONG></A><P>
<A HREF="dhcp_addr_ref.html"><STRONG>IP Addresses</STRONG></A><P>
<A HREF="dhcp_macro_ref.html"><STRONG>Macros</STRONG></A><BR>
&nbsp;&nbsp;<A HREF="dhcp_macro_create.html">Create</A><BR>
&nbsp;&nbsp;<A HREF="dhcp_macro_dup.html">Duplicate</A><BR>
<IMG SRC="art/tip2.gif" WIDTH=12 HEIGHT=10 BORDER=0 ALT="">Modify<BR>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#name"><EM>Name</EM></a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#option"><EM>Option</EM></a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#order"><EM>Up/Down</EM></a><BR>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#del"><EM>Delete</EM></A><BR>
&nbsp;&nbsp;<A HREF="dhcp_macro_del.html">Delete</A><P>
<A HREF="dhcp_option_ref.html"><STRONG>Options</STRONG></A><P>
<A HREF="dhcp_main_how.html"><STRONG>How To..</STRONG></A><P>
<A HREF="dhcp_main_menus.html"><STRONG>Menus</STRONG></A><P>
<A HREF="dhcp_main_idx.html"><STRONG>Index</STRONG></A>
</td>
<!-- End contents block -->
<!-- Start column rule -->
<td colspan=1 width=5 bgcolor="#CCCCCC">&nbsp;</td>
<!-- End column spacer -->
<!-- Start column spacer -->
<td colspan=1 width=10 bgcolor="#FFFFFF">&nbsp;</td>
<!-- End column spacer -->
<!-- Start topic block -->
<td colspan=1 valign="top" bgcolor="#ffffff">
<P>&nbsp;</P>
<h1>Modify Macro</h1>
The Macro Properties dialog box displays the current settings for a macro, and lets you modify these settings in the <tt>dhcptab</tt> on the selected DHCP server. <p>
<p>
To modify an entry, double-click the entry, enter the new value, and then press Enter.
To display a list of defined options, right-click in the Options or Values field. Options are listed by category and type.<P>
The settings in the Macro Properties menu are described below.
<P><HR NOSHADE><P>
<table border=0 cellspacing=4 cellpadding=3>
<tr>
<td width=105 valign="top"><a name="name"><STRONG>Name</STRONG></a></td>
<td valign="top">The macro name; specify a new name, if
desired. Remember, the name you choose determines the <a
href="dhcp_macros_about.html#using">macro category</a>. Macro names can be
a maximum of 128 alphanumeric characters.<P>
The important thing to remember when naming your macro is to give
it the same name as the resource or device in the category you want
to control. For example, to create a Client Class macro for
configuring a Ultra-5<small><sup>TM</sup></small> (which has the client class name
<tt>SUNW,Ultra5_10</tt>), name your macro <tt>SUNW.Ultra5_10</tt>.
</td>
</tr>
<tr>
<td width=105 valign="top"><A NAME="option"><STRONG>Option</STRONG></A></td>
<td valign="top">The options and/or other macros included in the macro. You can add or delete options, and change the order of options in the list.<P>
To browse a list of defined options, right-click in the
Options column. Options are displayed by category and type.<P>
To include a nested macro, enter Include in the Option column
and then enter the name of the macro in the Value column.<P>
To specify an option, enter the name of the option in the Option
column, and the value of the option in the Value column. <P></td>
</tr>
<tr>
<td width=105 valign="top"><A NAME="order"><STRONG>Move Up/Move Down</STRONG></A></td>
<td valign="top">Click Move Up or Move Down to change the processing order of
options and nested macros. The processing order is significant, as options and
macros processed last supersede conflicting values in those that are
processed first. </td>
</tr>
<tr>
<td width=105 valign="top"><A NAME="del"><STRONG>Delete</STRONG></A></td>
<td valign="top">Select an option and click Delete to remove it from the macro. </td>
</tr>
</table>
<p>&nbsp;</p>
<strong>Notify DHCP Server of Change:</STRONG> Check the box if
you want the DHCP server to reload the <tt>dhcptab</tt> after
the changed macro information is written. Normally, you want
the server to reload the <tt>dhcptab</tt> so that clients
start receiving the new configuration data immediately.
However, in some cases, you may want to delay this reload.
For example, you may need to modify several macros in order for
configurations to be correct. <P>
&nbsp;&nbsp;&nbsp;<A HREF="#top"><small>return to top</small></A>
<p>&nbsp;</p>
<!-- Don't go past this line! -->
</td>
<!-- End topic block -->
</tr>
</table>
<!-- End topic table -->
</body>
</html>