Zhone 5100 参照マニュアル
DHCP commands
Vpacket 5100/6100 Series Reference Manual
109
Setting the DHCP mode
You can set the DHCP mode for the 5100/6100 VDR by issuing the set dhcp mode command.
Syntax: set dhcp mode <none | server>
Argument:
Syntax: set dhcp mode <none | server>
Argument:
none | server
none disables DHCP; server enables DHCP in server mode
Example:
In this example, DHCP is enabled.
Setting a DHCP default lease time-out value
You can set a time-out value for the DHCP default lease by issuing the set dhcp pool <pool>
default_lease command. Every hour by default the 5100/6100 VDR flushes the leases, which
stops the data traffic and causes FTP and telnet sessions to time-out. Vpacket recommends that
you set the default lease time-out to a large number.
Syntax: set dhcp pool <pool> default_lease <day hour | infinite>
Arguments:
Syntax: set dhcp pool <pool> default_lease <day hour | infinite>
Arguments:
pool
name of the pool that you want to configure
day hour | infinite 0-365 days and 0-23 for hours; default = one hour
Caution. If you configure the DHCP lease time to any other time, you must stop all
traffic to make the change. If you do not stop traffic, over time the data traffic will
become corrupt.
Example:
In this example, the default lease for the DHCP pool named “vpacket” is set to the default value
of one hour (zero days, one hour).
VPacket# set dhcp mode server
VPacket#
VPacket# set dhcp pool vpacket default_lease 0 1
VPacket#
!