Chapter 4: Commands for CLI configuration
NS4750-24S-4T-4X-V2 Managed Switch Command Guide
115
To exit current mode
Example:
To exit current mode
.
Switch# configure terminal
Switch (config)#
ip dhcp pool IFSbestswitch
Switch (config-dhcp-pool)#
exit
Switch (config)#
hardware-address
Command:
hardware-address <MAC>
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