
Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.21
service dhcp-relay
This command enables the DHCP relay agent on the device. However, on a given IP interface,
no DHCP forwarding takes place until at least one DHCP server is specified to forward/relay all
clients’ DHCP packets to.
The
no
parameter disables the DHCP relay agent on the device for all interfaces.
Syntax
service dhcp-relay
no service dhcp-relay
Mode
Configure mode
Examples
To enable the DHCP relay global function, use the command:
awplus(config)#
service dhcp-relay
To disable the DHCP relay global function, use the command:
awplus(config)#
no service dhcp-relay
Related Commands
ip dhcp-relay agent-option
ip dhcp-relay agent-option checking
ip dhcp-relay information policy
ip dhcp-relay maxhops
ip dhcp-relay server-address
service dhcp-server
This command enables the DHCP server on your device. The server then listens for DHCP
requests on all IP interfaces. It will not run if there are no IP interfaces configured.
The
no
parameter disables the DHCP server.
Syntax
service dhcp-server
no service dhcp-server
Mode
Configure mode
Examples
To enable the DHCP server, use the command:
awplus(config)#
service dhcp-server
Related Commands
ip dhcp pool
show ip dhcp server summary