beautypg.com

12 loghost dhcp, 13 lease – Accton Technology ES4626 User Manual

Page 327

background image

327

Command mode:

Global Mode

Usage Guide:

This command is used to configure a DHCP address pool under Global

Mode and enter the DHCP address configuration mode.

Example:

Defining an address pool named “1”.

Switch(Config)#ip dhcp pool 1

Switch(dhcp-1-config)#

10.2.2.12 loghost dhcp

Command: loghost dhcp

no loghost dhcp

Function:

Enables DHCP logging and specify the IP address and port number for the

DHCP logging host; the “no loghost dhcp” command disables the DHCP logging

function.

Parameters:

is the DHCP log host IP address in decimal format. <port> is

the port number, valid values range from 0 -65535.

Default:

DHCP logging is disabled by default.

Command mode:

Global Mode

Usage Guide:

The user can check information about DHCP address assignment from

the log host when this command is configured. Any host running logtest.exe provided by

Edge-Core can be a DHCP log host.

Example:

Enabling the DHCP logging, the log host is 192.168.1.101, port 45.

Switch(Config)#loghost dhcp 192.168.1.101 45

10.2.2.13 lease

Command: lease (infinite | <0-365>days (<0-23>hours (<0-59>minutes|)|))

no lease

Function:

Sets the lease time for addresses in the address pool; the “no lease

command restores the default setting.

Parameters:

is number of days from 0 to 365; is number of hours from

0 to 23; is number of minutes from 0 to 59; infinite means perpetual use.

Default:

The default lease duration is 1 day.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

DHCP is the protocol to assign network addresses dynamically instead of

permanently, hence the introduction of ease duration. Lease settings should be decided

based on network conditions: too long lease duration offsets the flexibility of DHCP, while

too short duration results in increased network traffic and overhead. The default lease

duration of ES4624-SFP/ES4626-SFP switch is 1 day.

Example:

Setting the lease of DHCP pool “1” to 3 days 12 hours and 30 minutes.

This manual is related to the following products: