1*0Sstevel@tonic-gate<!-- 2*0Sstevel@tonic-gate -- ident "%W% %E% SMI" 3*0Sstevel@tonic-gate -- 4*0Sstevel@tonic-gate CDDL HEADER START 5*0Sstevel@tonic-gate 6*0Sstevel@tonic-gate The contents of this file are subject to the terms of the 7*0Sstevel@tonic-gate Common Development and Distribution License, Version 1.0 only 8*0Sstevel@tonic-gate (the "License"). You may not use this file except in compliance 9*0Sstevel@tonic-gate with the License. 10*0Sstevel@tonic-gate 11*0Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 12*0Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 13*0Sstevel@tonic-gate See the License for the specific language governing permissions 14*0Sstevel@tonic-gate and limitations under the License. 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 17*0Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 18*0Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 19*0Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 20*0Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 21*0Sstevel@tonic-gate 22*0Sstevel@tonic-gate CDDL HEADER END 23*0Sstevel@tonic-gate 24*0Sstevel@tonic-gate -- Copyright (c) 2000-2001 by Sun Microsystems, Inc. 25*0Sstevel@tonic-gate -- All rights reserved. 26*0Sstevel@tonic-gate --> 27*0Sstevel@tonic-gate<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> 28*0Sstevel@tonic-gate<html> 29*0Sstevel@tonic-gate 30*0Sstevel@tonic-gate<head> 31*0Sstevel@tonic-gate<title>DHCP Manager Help: Create Macro</title> 32*0Sstevel@tonic-gate<meta NAME="AUTHOR" CONTENT="smorgan"> 33*0Sstevel@tonic-gate<meta NAME="KEYWORDS" CONTENT="DHCP"> 34*0Sstevel@tonic-gate 35*0Sstevel@tonic-gate</head> 36*0Sstevel@tonic-gate 37*0Sstevel@tonic-gate<body bgcolor="#FFFFFF"> 38*0Sstevel@tonic-gate 39*0Sstevel@tonic-gate<a name="top"></a> 40*0Sstevel@tonic-gate 41*0Sstevel@tonic-gate<table border=0 cellspacing=0 cellpadding=0 width=615> 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gate<!-- Start navigation banner --> 44*0Sstevel@tonic-gate 45*0Sstevel@tonic-gate<tr><td colspan=4 WIDTH="615" align="center" valign="top"><IMG SRC="art/bannersmc.gif" WIDTH=615 BORDER=0 ALT="DHCP Manager Help"> 46*0Sstevel@tonic-gate 47*0Sstevel@tonic-gate </td> 48*0Sstevel@tonic-gate </tr> 49*0Sstevel@tonic-gate 50*0Sstevel@tonic-gate<!-- End navigation banner --> 51*0Sstevel@tonic-gate 52*0Sstevel@tonic-gate 53*0Sstevel@tonic-gate<tr> 54*0Sstevel@tonic-gate 55*0Sstevel@tonic-gate<!-- Start contents block --> 56*0Sstevel@tonic-gate 57*0Sstevel@tonic-gate <td colspan=1 valign="top" width=105> 58*0Sstevel@tonic-gate <P> </P> 59*0Sstevel@tonic-gate 60*0Sstevel@tonic-gate <A HREF="dhcp_main_top.html"><STRONG>Overview</STRONG></A><P> 61*0Sstevel@tonic-gate <A HREF="dhcp_relay_ref.html"><STRONG>Servers and Relays</STRONG></A><P> 62*0Sstevel@tonic-gate <A HREF="dhcp_addr_ref.html"><STRONG>IP Addresses</STRONG></A><P> 63*0Sstevel@tonic-gate 64*0Sstevel@tonic-gate 65*0Sstevel@tonic-gate<A HREF="dhcp_macro_ref.html"><STRONG>Macros</STRONG></A><BR> 66*0Sstevel@tonic-gate<IMG SRC="art/tip2.gif" WIDTH=12 HEIGHT=10 BORDER=0 ALT="">Create<BR> 67*0Sstevel@tonic-gate <a href="#name"><EM>Name</EM></a><BR> 68*0Sstevel@tonic-gate <a href="#option"><EM>Option</EM></a><BR> 69*0Sstevel@tonic-gate <a href="#order"><EM>Up/Down</EM></a><BR> 70*0Sstevel@tonic-gate <a href="#del"><EM>Delete</EM></A><BR> 71*0Sstevel@tonic-gate <A HREF="dhcp_macro_dup.html">Duplicate</A><BR> 72*0Sstevel@tonic-gate <A HREF="dhcp_macro_mod.html">Modify</A><BR> 73*0Sstevel@tonic-gate <A HREF="dhcp_macro_del.html">Delete</A><P> 74*0Sstevel@tonic-gate 75*0Sstevel@tonic-gate<A HREF="dhcp_option_ref.html"><STRONG>Options</STRONG></A><P> 76*0Sstevel@tonic-gate 77*0Sstevel@tonic-gate<A HREF="dhcp_main_how.html"><STRONG>How To..</STRONG></A><P> 78*0Sstevel@tonic-gate<A HREF="dhcp_main_menus.html"><STRONG>Menus</STRONG></A><P> 79*0Sstevel@tonic-gate<A HREF="dhcp_main_idx.html"><STRONG>Index</STRONG></A> 80*0Sstevel@tonic-gate 81*0Sstevel@tonic-gate 82*0Sstevel@tonic-gate </td> 83*0Sstevel@tonic-gate 84*0Sstevel@tonic-gate 85*0Sstevel@tonic-gate 86*0Sstevel@tonic-gate<!-- End contents block --> 87*0Sstevel@tonic-gate 88*0Sstevel@tonic-gate<!-- Start column rule --> 89*0Sstevel@tonic-gate 90*0Sstevel@tonic-gate <td colspan=1 width=5 bgcolor="#CCCCCC"> </td> 91*0Sstevel@tonic-gate 92*0Sstevel@tonic-gate<!-- End column spacer --> 93*0Sstevel@tonic-gate 94*0Sstevel@tonic-gate<!-- Start column spacer --> 95*0Sstevel@tonic-gate 96*0Sstevel@tonic-gate <td colspan=1 width=10 bgcolor="#FFFFFF"> </td> 97*0Sstevel@tonic-gate 98*0Sstevel@tonic-gate<!-- End column spacer --> 99*0Sstevel@tonic-gate 100*0Sstevel@tonic-gate 101*0Sstevel@tonic-gate 102*0Sstevel@tonic-gate<!-- Start topic block --> 103*0Sstevel@tonic-gate 104*0Sstevel@tonic-gate 105*0Sstevel@tonic-gate <td colspan=1 valign="top" bgcolor="#ffffff"> 106*0Sstevel@tonic-gate <P> </P> 107*0Sstevel@tonic-gate 108*0Sstevel@tonic-gate 109*0Sstevel@tonic-gate<h1>Create Macro</h1> 110*0Sstevel@tonic-gate 111*0Sstevel@tonic-gateThe Create Macro dialog box lets you to define a new macro in the <tt>dhcptab</tt> on the selected DHCP server. <p> 112*0Sstevel@tonic-gateSee <a href="dhcp_macros_about.html#using">Using Macros and Options 113*0Sstevel@tonic-gate</a> for more information about defining DHCP macros.<P> 114*0Sstevel@tonic-gate 115*0Sstevel@tonic-gate 116*0Sstevel@tonic-gateThe settings available in the Create Macro dialog box are described below.<p> 117*0Sstevel@tonic-gate<P><HR NOSHADE><P> 118*0Sstevel@tonic-gate 119*0Sstevel@tonic-gate 120*0Sstevel@tonic-gate <table border=0 cellspacing=4 cellpadding=3> 121*0Sstevel@tonic-gate 122*0Sstevel@tonic-gate <tr> 123*0Sstevel@tonic-gate <td width=105 valign="top"><A NAME="name"><STRONG>Name</STRONG></A></td> 124*0Sstevel@tonic-gate <td valign="top">Specify the name of the new macro. Remember, the name you choose determines the <A HREF="dhcp_macros_about.html#macrocat">macro category</a>. Macro names can be 125*0Sstevel@tonic-gate a maximum of 128 alphanumeric characters.<P> 126*0Sstevel@tonic-gate 127*0Sstevel@tonic-gate The important thing to remember when naming your macro is to give 128*0Sstevel@tonic-gate it the same name as the resource or device in the category you want 129*0Sstevel@tonic-gate to control. For example, to create a Client Class macro for 130*0Sstevel@tonic-gate configuring an Ultra-5<small><sup>TM</sup></small> (which has the client class name 131*0Sstevel@tonic-gate <tt>SUNW,Ultra5_10</tt>), name your macro <tt>SUNW.Ultra5_10</tt>. 132*0Sstevel@tonic-gate </td> 133*0Sstevel@tonic-gate </tr> 134*0Sstevel@tonic-gate 135*0Sstevel@tonic-gate <tr> 136*0Sstevel@tonic-gate <td width=105 valign="top"><A NAME="option"><STRONG>Option</STRONG></A></td> 137*0Sstevel@tonic-gate <td valign="top">Specify the names of options and/or macros to include in the macro. The options or macros must 138*0Sstevel@tonic-gatealready exist in the <tt>dhcptab</tt>. If the option does not exist, you 139*0Sstevel@tonic-gatecan create it using the <A HREF="dhcp_option_create.html">Create Option</A> dialog box. 140*0Sstevel@tonic-gateTo browse a list of defined options, right-click in the 141*0Sstevel@tonic-gateOptions column. Options are displayed by category and type. 142*0Sstevel@tonic-gateTo view the list of standard options, see <A HREF="dhcp_option_tags.html">Standard Options</A>.<P> 143*0Sstevel@tonic-gate 144*0Sstevel@tonic-gateTo include a nested macro, enter Include in the Option column 145*0Sstevel@tonic-gateand then enter the name of the macro in the Value column.<P> 146*0Sstevel@tonic-gateTo specify an option, enter the name of the option in the Option 147*0Sstevel@tonic-gatecolumn, and the value of the option in the Value column. <P></TD> 148*0Sstevel@tonic-gate </tr> 149*0Sstevel@tonic-gate 150*0Sstevel@tonic-gate <tr> 151*0Sstevel@tonic-gate <td width=125 valign="top"><A NAME="order"><STRONG>Move Up/Move Down</STRONG></A></td> 152*0Sstevel@tonic-gate <td valign="top">Click Move Up or Move Down to change the processing order of 153*0Sstevel@tonic-gate options and nested macros. The processing order is significant, as options and 154*0Sstevel@tonic-gate macros processed last supersede conflicting values in those that are 155*0Sstevel@tonic-gate processed first. </td> 156*0Sstevel@tonic-gate </tr> 157*0Sstevel@tonic-gate 158*0Sstevel@tonic-gate <tr> 159*0Sstevel@tonic-gate <td width=125 valign="top"><A NAME="del"><STRONG>Delete</STRONG></A></td> 160*0Sstevel@tonic-gate <td valign="top">Select an option and click Delete to remove it from the macro. </td> 161*0Sstevel@tonic-gate </tr> 162*0Sstevel@tonic-gate 163*0Sstevel@tonic-gate 164*0Sstevel@tonic-gate </table> 165*0Sstevel@tonic-gate 166*0Sstevel@tonic-gate 167*0Sstevel@tonic-gate 168*0Sstevel@tonic-gate<p> 169*0Sstevel@tonic-gate<strong>Notify DHCP Server of Change:</STRONG> Check the box if 170*0Sstevel@tonic-gateyou want the DHCP server to reload the <tt>dhcptab</tt> after 171*0Sstevel@tonic-gatethe changed macro information is written. Normally, you will want 172*0Sstevel@tonic-gatethe server to reload the <tt>dhcptab</tt> so that clients will 173*0Sstevel@tonic-gatestart receiving the new configuration data immediately. 174*0Sstevel@tonic-gateHowever, in some cases, you may wish to delay this reload. 175*0Sstevel@tonic-gateFor example, you may need to modify several macros in order for 176*0Sstevel@tonic-gateconfigurations to be correct. <P> 177*0Sstevel@tonic-gate 178*0Sstevel@tonic-gate <A HREF="#top"><small>return to top</small></A> 179*0Sstevel@tonic-gate 180*0Sstevel@tonic-gate 181*0Sstevel@tonic-gate<p> </p> 182*0Sstevel@tonic-gate 183*0Sstevel@tonic-gate<!-- Don't go past this line! --> 184*0Sstevel@tonic-gate 185*0Sstevel@tonic-gate </td> 186*0Sstevel@tonic-gate 187*0Sstevel@tonic-gate<!-- End topic block --> 188*0Sstevel@tonic-gate 189*0Sstevel@tonic-gate</tr> 190*0Sstevel@tonic-gate 191*0Sstevel@tonic-gate</table> 192*0Sstevel@tonic-gate 193*0Sstevel@tonic-gate<!-- End topic table --> 194*0Sstevel@tonic-gate 195*0Sstevel@tonic-gate</body> 196*0Sstevel@tonic-gate</html> 197