1-36
static-bind mac-address
Syntax
static-bind mac-address mac-address
undo static-bind mac-address
View
DHCP address pool view
Parameters
mac-address: MAC address of the host to which the IP address is to be bound. You need to provide this
argument in the form of H-H-H.
Description
Use the static-bind mac-address command to specify a MAC address to which an IP address will be
bound statically in a DHCP global address pool.
Use the undo static-bind mac-address command to remove such a MAC address.
By default, no such MAC address is specified.
Note that:
z The static-bind ip-address command must be used together with the static-bind mac-address
command, to respectively specify a statically bound IP address and MAC address in a DHCP
global address pool.
z If you execute the static-bind mac-address command or the static-bind client-identifier
command repeatedly, the new configuration overwrites the previous one.
Related commands: dhcp server ip-pool, static-bind ip-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
voice-config
Syntax
voice-config { ncp-ip ip-address | as-ip ip-address | voice-vlan vlan-id { disable | enable } | fail-over
ip-address dialer-string }
undo voice-config [ ncp-ip | as-ip | voice-vlan | fail-over ]