Chapter 4: Commands for CLI configuration
hardware-address
Client hardware address
<MAC>
Client MAC address
Default:
None
Usage Guide:
To configure
MAC address
of
DHCP Server
while the pool is in the
host
type.
Example:
To configure
MAC address
(00:11:22:33:44:55)
of
DHCP Server
for
pool
“
IFSbestswitch
”
while the pool is in the
host
type.
Switch# configure terminal
Switch (config)#
ip dhcp pool IFSbestswitch
Switch (config-dhcp-pool)#
hardware-address 00:11:22:33:44:55
host
Command:
host <IP: A.B.C.D> <Subnet: A.B.C.D>
host
Client IP address and mask
<IP: A.B.C.D>
Network number
<Subnet: A.B.C.D>
Network mask in dotted-decimal notation, excluding
255.255.255.255
Default:
None
Usage Guide:
To configure
Host IP address
of
DHCP Server
.
Example:
To configure
Host IP address
(192.168.1.10/24)
of
DHCP Server
for
pool
“
IFSbestswitch
”
.
Switch# configure terminal
Switch (config)#
ip dhcp pool IFSbestswitch
Switch (config-dhcp-pool)#
host 192.168.1.10 255.255.255.0
lease
Command:
lease
<0-365> <0-23> <0-59> | infinite
lease
Address lease time
<0-365>
Days
<0-23>
Hours
<0-59>
Minutes
infinite
Infinite lease
Default:
1 day
Usage Guide:
To configure
Lease Time
of
DHCP Server
.
136
NS3500-24T-4C Managed Switch Command Guide