1550
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
D
YNAMIC
H
OST
C
ONFIGURATION
P
ROTOCOL
(DHCP) C
OMMANDS
HOST
host
Overview
This command adds a static host address to the DHCP address pool you are
configuring. The client with the matching MAC address is permanently assigned
this IP address. No other clients can request it.
The
no
variant of this command removes the specified host address from the
DHCP pool. Use the
no host all
command to remove all static host addresses from
the DHCP pool.
Syntax
host <
ip-addr
ess> <
mac-address
>
no host <
ip-address
>
no host all
Mode
DHCP Configuration
Usage
Note that a network/mask must be configured using a
network
command before
issuing a
host
command. Also note that a host address must match a network to
add a static host address.
Examples
To add the host at
192.168.1.5
with the MAC address
000a.451d.6e34
to
DHCP pool
1
, use the commands:
awplus#
configure terminal
awplus(config)#
ip dhcp pool 1
awplus(dhcp-config)#
network 192.168.1.0/24
awplus(dhcp-config)#
host 192.168.1.5 000a.451d.6e34
To remove the host at
192.168.1.5
with the MAC address
000a.451d.6e34
from DHCP pool
1
, use the commands:
awplus#
configure terminal
awplus(config)#
ip dhcp pool 1
awplus(dhcp-config)#
no host 192.168.1.5 000a.451d.6e34
Related
Commands
lease
range
show ip dhcp pool
Parameter
Description
<ip-address>
IPv4 address of the DHCP client, in dotted decimal notation in
the format A.B.C.D
<mac-address>
MAC address of the DHCP client, in hexadecimal notation in
the format HHHH.HHHH.HHHH