Service dhcp-relay, Comman, Service dhcp – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1719
Dynamic Host Configuration Protocol (DHCP) Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
64.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 variant of this command disables the DHCP Relay Agent on the device for all
interfaces.
Syntax
service dhcp-relay
no service dhcp-relay
Mode
Global Configuration
Usage
A maximum number of 400 DHCP Relay Agents (one per interface) can be configured on
the device. Once this limit has been reached, any further attempts to configure DHCP
Relay Agents will not be successful.
Default
The DHCP-relay service is enabled by default.
Examples
To enable the DHCP relay global function, use the commands:
To disable the DHCP relay global function, use the commands:
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
awplus#
configure terminal
awplus(config)#
service dhcp-relay
awplus#
configure terminal
awplus(config)#
no service dhcp-relay