Static-Bind Ip-Address - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Bind the host aaaa-bbbb with the IP address 10.1.1.1. The mask is 255.255.255.0.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[Sysname-dhcp-pool-0] static-bind client-identifier aaaa-bbbb

static-bind ip-address

Syntax
static-bind ip-address ip-address [mask mask ]
undo static-bind ip-address
View
DHCP address pool view
Parameters
ip-address: IP address to be bound.
mask mask: Subnet mask of the specified IP address. If no mask is provided, the default natural mask
is used.
Description
Use the static-bind ip-address command to specify an IP address which will be bound statically to a
MAC address in a DHCP global address pool.
Use the undo static-bind ip-address command to remove a statically bound IP address.
By default, no IP address is statically bound.
Note that:
The static-bind ip-address command must be used together with the static-bind mac-address
command or the static-bind client-identifier command, to respectively specify a statically bound
IP address, MAC address, or client ID in a DHCP global address pool.
If you execute the static-bind ip-address command repeatedly, the new configuration overwrites
the previous one.
Related commands: dhcp server ip-pool, static-bind mac-address.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Bind the IP address 10.1.1.1 (with the subnet mask 255.255.255.0) to the MAC address
0000-e03f-0305.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[Sysname-dhcp-pool-0] static-bind mac-address 0000-e03f-0305
1-35

Advertisement

Table of Contents
loading

Table of Contents