DHCP Commands
XSR CLI Reference Guide 15-101
next-server
Thiscommandspecifiestheserverfromwhichtheinitialbootfilewillbeloaded.Theservercan
bedesignatedeitherbyIPaddressorhostname.
Syntax
next-server server [hostname | ip_address]
Syntax of the “no” Form
Usethenoformofthiscommandtoremovethenext‐server:
no next-server server [hostname | ip_address]
Mode
Anyofthefollowingcommandmodesareavailable:
DHCPpoolconfiguration:
XSR(config-dhcp-pool)#
DHCPhostconfiguration:XSR(config-dhcp-host)#
DHCPclientclassconfiguration:XSR(config-dhcp-class)#
Example
Thefollowingexamplespecifies theIPaddressofanext‐server:
XSR(config-dhcp-pool)next-server 192.168.57.4
option
ThiscommandconfiguresDHCPserveroptions/extensions.DHCPServerprovidesaframework
forpassingconfigurationdatatohostsonaTCP/IPnetwork.Configurationvaluesandother
controldataarecarriedintaggeddataitemsstoredintheoptionsfieldoftheDHCPmessage.
Thedataitemsarealsocalledoptionsorclient
extensions.ThecurrentsetofXSR‐supported
DHCPoptionsandBOOTPvendorextensionsaredescribedinTable 15‐1onpage 102and
generallyinRFC‐2132.DefaultvaluesaredefinedinRFC‐1122.
Dependingontheclientconfigurationinheritance,thecommandshouldbeusedfromtheproper
mode.Ifitisspecified
frommultiplemodes,anoverridemechanismchoosestheinnermostconfig
value,withhostasinnermost,thenclient‐classandpoolasthemostgeneral.
Syntax
option code {ascii string | hex string | ip address}
hostname Designation of the server by name.
ip_address Designation of the server by IP address.
code DHCP option code.
ascii string An ASCII character string. Strings containing space must be enclosed with quotes.
The following options are set with an ASCII string: 12, 14, 15, 17, 18, 40, 47, and 64.