Default Gateway; Ip Lease Time - SMC Networks 7824M/VSW - annexe 1 Manual

Extended ethernet switch
Hide thumbs Also See for 7824M/VSW - annexe 1:
Table of Contents

Advertisement

Management Guide
TigerAccess™ EE
i
!
8.6.1.4
8.6.1.5
SMC7824M/VSW
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.
CLI
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tigeraccess smc7824m/vsw

Table of Contents