OcNOS-SP : System Management Guide : System Management Command Reference : DHCP Server Commands : network A.B.C.D netmask A.B.C.D
network A.B.C.D netmask A.B.C.D
Use this command to specify a network and netmask in the IPv4 DHCP server pool.
Use the no form of this command to delete the network and netmask from the IPv4 DHCP server pool.
Command Syntax
network A.B.C.D netmask A.B.C.D
no network A.B.C.D netmask A.B.C.D
Parameters
A.B.C.D
Network part of the subnet to use to assign IPv4 addresses to hosts
A.B.C.D
Mask part of the subnet to use to assign IPv4 addresses to host
Default
No default value is specified
Command Mode
DHCP configure mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Examples
#configure terminal
(config)#ip dhcp server pool test-pool
(dhcp-config)#network 3.3.3.0 netmask 255.255.255.0
 
#configure terminal
(config)#ip vrf vrf1
(config-vrf)#ip dhcp server pool test-pool
(dhcp-config)#network 3.3.3.0 netmask 255.255.255.0
Last modified date: 10/19/2023