Default Gateway; Ip Lease Time - Siemens S223 User Manual

Siemens single-board fast ethernet switch operators user manual
Table of Contents

Advertisement

User Manual
SURPASS hiD 6615 S223/S323 R1.5
i
!
8.8.1.4
8.8.1.5
A50010-Y3-C150-2-7619
The following is an example for specifying the range of IP addresses.
SWITCH(config)# service dhcp
SWITCH(config)# ip dhcp pool sample
SWITCH(config-dhcp[sample])# network 100.1.1.0/24
SWITCH(config-dhcp[sample])# default-router 100.1.1.254
SWITCH(config-dhcp[sample])# range 100.1.1.1 100.1.1.100
SWITCH(config-dhcp[sample])#
You can also specify several inconsecutive ranges of IP addresses in a single DHCP pool,
e.g. 100.1.1.1 to 100.1.1.62 and 100.1.1.129 to 100.1.1.190.
When specifying a range of IP address, the start IP address must be prior to the end IP
address.

Default Gateway

To specify a default gateway of the DHCP pool, use the following command.
Command
default-router A.B.C.D1
[A.B.C.D2] ... [A.B.C.D8]
no default-router A.B.C.D1
[A.B.C.D2] ... [A.B.C.D8]
no default-router all
The following is an example of specifying the default gateway 100.1.1.254.
SWITCH(config)# service dhcp
SWITCH(config)# ip dhcp pool sample
SWITCH(config-dhcp[sample])# network 100.1.1.0/24
SWITCH(config-dhcp[sample])# default-router 100.1.1.254
SWITCH(config-dhcp[sample])#

IP Lease Time

Basically, the DHCP server leases an IP address in the DHCP pool to DHCP clients,
which will be automatically returned to the DHCP pool when it is no longer in use or ex-
pired by IP lease time.
To specify IP lease time, use the following command.
Command
lease-time default <120-2147483637>
lease-time max <120-2147483637>
no lease-time { default | max }
Mode
Specifies a default gateway of the DHCP pool.
A.B.C.D: default gateway IP address
DHCP Pool
Deletes a specified default gateway.
Deletes all the specified default gateways.
Mode
DHCP Pool
Description
Description
Sets default IP lease time in the unit of
second. (default: 3600)
Sets maximum IP lease time in the unit
of second. (default: 3600)
Deletes specified IP lease time.
UMN:CLI
241

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S323Surpass hid 6615 s223Surpass hid 6615 s323 r1.5

Table of Contents