724CHAPTER 51: DHCP SERVER CONFIGURATION COMMANDS

<Sysname>

system-view

 

[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-lengthmask mask ]

undo static-bind ip-address

View DHCP address pool view

Parameter ip-address: IP address of a static binding, if no mask and mask length is specified, the natural mask is used.

mask-length: Mask length of the IP address, that is, the number of digit 1 in the mask.

mask mask: Specifies the IP address mask.

Description Use the static-bindip-addresscommand to specify the IP address of a static binding in a DHCP address pool.

Use the undo static-bindip-addresscommand to remove the IP address of a static binding from a DHCP address pool.

By default, no IP address of a static binding in a DHCP address pool is specified.

Note that:

Use the static-bindip-addresscommand together with the static-bindmac-addressor static-bindclient-identifiercommand to accomplish a static binding configuration.

If the IP address of a static binding is an interface address of the DHCP server, the static binding does not take effect.

If you use the static-bindip-addresscommand repeatedly, the latest configuration will overwrite the previous one.

Related command: dhcp server ip-pool,static-bindclient-identifierand static-bindmac-address.

Example # Bind the client MAC address 0000-e03f-0305 to the IP address 10.1.1.1 with the mask 255.255.255.0 in DHCP address pool 0.

<Sysname>

system-view

 

[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

Page 724
Image 724
3Com MSR 30, MSR 50 manual Static-bind ip-address