Enterasys Networks XSR CLI Router User Manual


 
DHCP Commands
XSR CLI Reference Guide 15-95
Mode
Globalconfiguration:XSR(config)#
Next Mode
DHCPpoolconfiguration:XSR(config-dhcp-pool)#
Example
ThefollowingexampleaddsIPlocalpoolsaleswithspecifiedsubnetworksanddefinessalesasthe
nameoftheDHCPserverIPaddresspool:
XSR(config)#ip local pool sales 192.168.57.0/24
XSR(config)#ip dhcp pool sales
XSR(config-dhcp-pool)#
ip dhcp server
ThiscommandenablestheDHCPServerfeaturesontheXSR.Bydefault,DHCPserverservices
aredisabledonallXSRinterfaces,whichmeansthattheDHCPserverwillnotrespondtoclient
requestsreceivedonanyXSRports.DHCPServercanbeenabledonaFastEthernet/GigabitEthernet
primaryinterfaceandVLAN
subinterface.Secondaryinterfaceassignmentisnotsupported.
Syntax
ip dhcp server
Syntax of the “no” Form
UsethenoformofthiscommandtodisableDHCPserverfeatures:
no ip dhcp
Default
Disabled
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
ThefollowingexampleenablesDHCPserveronFastEthernetport1:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip dhcp server
Note: If either DHCP/BOOTP Relay (using ip helper-address) or DHCP Server is enabled on
one FastEthernet/GigabitEthernet port, you cannot also configure the other service on the second
Fast/GigabitEthernet port. The XSR permits either one or the other service to operate, not both.
server Enables/disables a DHCP server on a FastEthernet/GigabitEthernet port.