340
Switch(Config)#ip dhcp pool 1
Switch(dhcp-1-config)#
11.2.2.12 loghost dhcp
Command:loghost dhcp <ip-address> <port>
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:
<ip-address>
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
SMC Networks
can be a DHCP log host.
Example:
Enable the DHCP logging, the log host is 192.168.1.101, port 45.
Switch(Config)#loghost dhcp 192.168.1.101 45
11.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:
<days>
is number of days from 0 to 365;
<hours
is number of hours from 0
to 23;
<minutes>
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 ES4700 series is 1 day.
Example:
Setting the lease of DHCP pool “1” to 3 days 12 hours and 30 minutes.
Switch(dhcp-1-config)#lease 3 12 30
11.2.2.14 netbios-name-server
Command:netbios-name-server <address1>[<address2>[…<address8>]]
no netbios-name-server
Function:
Configures WINS servers’ address; the “
no netbios-name-server
” command