Ip dhcp server – Enterasys Networks X-Pedition XSR CLI User Manual
Page 605
DHCP Commands
XSR CLI Reference Guide 15-95
Mode
Global configuration:
XSR(config)#
Next Mode
DHCP pool configuration:
XSR(config-dhcp-pool)#
Example
The following example adds IP local pool sales with specified subnetworks and defines sales as the
name of the DHCP server IP address pool:
XSR(config)#ip local pool sales 192.168.57.0/24
XSR(config)#ip dhcp pool sales
XSR(config-dhcp-pool)#
ip dhcp server
This command enables the DHCP Server features on the XSR. By default, DHCP server services
are disabled on all XSR interfaces, which means that the DHCP server will not respond to client
requests received on any XSR ports. DHCP Server can be enabled on a FastEthernet/GigabitEthernet
primary interface and VLAN sub‐interface. Secondary interface assignment is not supported.
Syntax
ip dhcp server
Syntax of the “no” Form
Use the no form of this command to disable DHCP server features:
no ip dhcp
Default
Disabled
Mode
Interface configuration:
XSR(config-if<xx>)#
Example
The following example enables DHCP server on FastEthernet port 1:
XSR(config)#interface fastethernet 1
XSR(config-if
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.