service dhcp-server static-mapping <mapname> ip-address <ipv4>
Specifies a static IP address for a DHCP client.
- mapname
- Multinode. Allows you to statically map an IP address within an address pool to the MAC address of a device on the network.
You can define multiple static mappings of this type by creating multiple static-mapping configuration nodes.
- ipv4
- Mandatory. The IP address to be statically assigned to the device.
Configuration mode
service {
dhcp-server {
static-mapping mapname {
ip-address ipv4
}
}
}
Use this command to specify a static IP address for a DHCP client, based on its MAC address.
Use the set form of this command to specify a static IP address for a DHCP client, based on its MAC address.
Use the delete form of this command to remove the static mapping configuration.
Use the show form of this command to view the static mapping configuration.