set protocols dhcp server pool default-router
The set protocols dhcp server pool default-router command configures a default gateway address for the DHCP clients.
Command Syntax
set protocols dhcp server pool <pool-name> default-router <router-ip address>
Parameter
Parameter | Description |
pool <pool-name> | Specifies an address pool name. The value is a string of case-sensitive characters, spaces are not supported. |
default-router <router-ip address> | Specifies an egress gateway address. The value is in dotted decimal notation. |
Usage Guidelines
In order to allow the DHCP client to access the network normally, the default gateway can be configured for the DHCP clients to send and receive user data.
Example
- Configure a default gateway address for the DHCP clients.
admin@Xorplus# set protocols dhcp server pool pool1 default-router 10.10.10.1 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.