service dhcp-server shared-network-name <name> subnet <ipv4net> static-route router <ipv4>
Specifies the router for the destination of a static route that clients can store in their routing cache.
- 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
- The IP address of the router for the destination of a static route for clients to store in their routing cache.
Configuration mode
service {
dhcp-server {
shared-network-name name {
subnet ipv4net {
static-route {
router ipv4
}
}
}
}
Use this command to specify the router for the destination of a static route that clients can store in their routing cache. The other part of the static route is defined by using service dhcp-server shared-network-name name subnet ipv4net static-route destination-subnet ipv4net.
Use the set form of this command to specify the router for the destination of a static route that clients can store in their routing cache.
Use the delete form of this command to remove the router configuration.
Use the show form of this command to view the router configuration.