service dhcp-server shared-network-name <name> subnet <ipv4net> default-router <ipv4>
Specifies the address of the default router for DHCP clients on a subnet.
- name
- Mandatory. A DHCP address pool.
- ipv4net
- Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
- ipv4
- Optional. The address of the default router for DHCP clients on this subnet. The default router should be on the same subnet as the client. The format is an IP address.
Configuration mode
service {
dhcp-server {
shared-network-name name {
subnet ipv4net {
default-router ipv4
}
}
}
}
Use this command to specify the address of the default router for DHCP clients on a subnet.
Use the set form of this command to specify the address of the default router for DHCP clients on a subnet.
Use the delete form of this command to remove the default-router configuration.
Use the show form of this command to view the default-router configuration.