service dhcp-server shared-network-name <name> subnet <ipv4net> ip-forwarding enable <state>
Specifies whether a client configures its IP layer for packet forwarding.
The DHCP server does not direct a client to configure its IP layer for packet forwarding.
- name
- Mandatory. A DHCP address pool.
- ipv4net
- Mandatory. Multinode. The IPv4 network served by the DHCP address pool. The format is ip-addr/prefix.
- state
- Whether a client configures its IP layer for packet forwarding. The state is either of the following:
-
true —Indicates that a client does configure its IP layer for packet forwarding.
-
false —Indicates that a client does not configure its IP layer for packet forwarding.
The default state is false.
-
Configuration mode
service {
dhcp-server {
shared-network-name name {
subnet ipv4net {
ip-forwarding {
enable state
}
}
}
}
}
Use this command to specify whether the DHCP server directs a client to configure its IP layer for packet forwarding.
Use the set form of this command to specify whether a client configures its IP layer for packet forwarding.
Use the delete form of this command to restore the default configuration.
Use the show form of this command to view IP forwarding configuration.