Dhcp Server Voice-Config - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

client-identifier: Client ID of a static binding, a string of 4 to 160 characters in the format H-H-H..., each
H indicates 4 hex digits except the last H that indicates 2 or 4 hex digits. For example, aabb-cccc-dd is
a valid ID, while aabb-c-dddd and aabb-cc-dddd are both invalid.
mac-address: MAC address to which the IP address is statically bound.
Description
Use the dhcp server static-bind command to statically bind an IP address of the current DHCP
interface address pool to a MAC address. When the client with the MAC address or ID requests an IP
address, the DHCP server will find the IP address from the binding in the interface address pool for the
client.
Use the undo dhcp server static-bind command to cancel an IP-MAC address binding.
By default, no IP address in an address pool is statically bound.
It should be noted that:
An IP address can be statically bound to only one MAC address or one client ID. A MAC address or
client ID can be bound with only one IP address statically.
The IP address to be statically bound cannot be an interface IP address of the device. Otherwise
the static binding does not take effect; the bound MAC address can still obtain another IP address.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Statically bind the client ID aaaa-bbbb to the IP address 10.1.1.1 (Assume that the DHCP interface
address pool of VLAN-interface 1 already exists and the IP address belongs to the address pool).
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server static-bind ip-address 10.1.1.1 client-identifier
aaaa-bbbb
# Statically bind the IP address 10.1.1.2 to the MAC address 0000-e03f-0305. (Assume that the DHCP
interface address pool of VLAN-interface 1 already exists and the IP address belongs to the address
pool.)
[Sysname-Vlan-interface1]
0000-e03f-0305

dhcp server voice-config

Syntax
In VLAN interface view, use the following commands to configure specified Option 184 and its
sub-options in the current DHCP interface address pool for the client:
dhcp server voice-config { ncp-ip ip-address | as-ip ip-address | voice-vlan vlan-id { enable |
disable } | fail-over ip-address dialer-string }
undo dhcp server voice-config [ ncp-ip | as-ip | voice-vlan | fail-over ]
In system view, use the following commands to configure specified Option 184 and its sub-options in
multiple DHCP interface address pools for the client:
dhcp
server
static-bind
1-18
ip-address
10.1.1.2
mac-address

Advertisement

Table of Contents
loading

Table of Contents