Enterasys Networks XSR CLI Router User Manual


 
DHCP Commands
15-88 Configuring DHCP
Mode
Anyofthefollowingcommandmodesareavailable:
DHCPpoolconfiguration:
XSR(config-dhcp-pool)#
DHCPhostconfiguration:XSR(config-dhcp-host)#
DHCPclientclassconfiguration:XSR(config-dhcp-class)#
Example
Thefollowingexamplesets14.12.1.99astheIPaddressofthedefaultrouterforanyclientinthe
subnetwiththreeotherroutersindescendingorderofpreference:
XSR(config-dhcp-pool)#default-router 14.12.1.99 14.13.1.66 14.12.1.56 14.12.1.57
Thefollowingexamplespecifies 1 4.12.1.1astheIPaddressofthedefaultrouterforthehostwith
MACaddress0010.a4f5.28a1:
XSR(config-dhcp-pool)#hardware-address 0010.a4f5.28a1
XSR(config-dhcp-host)#default-router 14.12.1.1
Thefollowingexamplespecifies 1 4.12.1.99astheIPaddressofthedefaultrouterforanyclientin
theclientclasseng:
XSR(config-dhcp-pool)#client-class eng
XSR(config-dhcp-class)#default-router 14.12.1.99
dns-server
ThiscommandspecifiestheDNSIPserversavailabletoaDHCPclient.ItisavailablefromDHCP
pool,host,orclientclassmode.Dependingontheclientconfigurationinheritance,thecommand
shouldbeusedfromthepropermode.Ifitisspecifiedfrommultiplemodes,anoverride
mechanismchoosestheinnermost
configvalue,withhostasinnermost,thenclientclassandpoolas
themostgeneral.
Syntax
dns-server address [address2...address8]
Syntax of the “no” Form
UsethenoformofthiscommandtoremovetheDNSserverlist:
no dns-server
Mode
Anyofthefollowingcommandmodesareavailable:
DHCPpoolconfiguration:
XSR(config-dhcp-pool)#
DHCPhostconfiguration:XSR(config-dhcp-host)#
DHCPclientclassconfiguration:XSR(config-dhcp-class)#
address IP address of a DNS server. One IP address is required.
address2 ...
address8
You can list up to 8 addresses at the prompt line by order of preference (DNS
server address is highest priority, then server address2, etc.).