beautypg.com

3 dhcp relay configuration, 19 service dhcp – Accton Technology ES4710BD User Manual

Page 308

background image

307

E

ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Function: Sets the network parameter specified by the option code; the “no option

command cancels the setting for option.

Parameters: is the code for network parameters; is the ASCII string up to 255

characters; is a value in Hex that is no greater than 510 and must be of even length;

is the IP address in decimal format, up to 63 IP addresses can be configured.

Command Mode: DHCP Address Pool Mode

Usage Guide: The switch provides common commands for network parameter configuration as well

as various commands useful in network configuration to meet different user needs.

The definition of option code is described in detail in RFC2123.

Example: Setting the WWW server address as 10.1.128.240.

Switch(dhcp-1-config)#option 72 ip 10.1.128.240

14.2.2.19 service dhcp

Command: service dhcp

no service dhcp

Function: Enables DHCP server; the “no service dhcp” command disables the DHCP service.

Default: DHCP service is disabled by default.

Command mode: Global Mode

Usage Guide: Both DHCP server and DHCP relay are included in the DHCP service. When DHCP

services are enabled, both DHCP server and DHCP relay are enabled. ES4710BD

can only assign IP address for the DHCP clients and enable DHCP relay when

DHCP server function is enabled.

Example: Enabling DHCP server.

Switch(Config)#service dhcp

14.3 DHCP Relay Configuration

When the DHCP client and server are in different segments, DHCP relay is required to transfer

DHCP packets. Adding a DHCP relay makes it unnecessary to configure a DHCP server for each

segment, one DHCP server can provide the network configuration parameter for clients from

multiple segments, which is not only cost-effective but also management-effective.