network mask

Syntax

network mask mask

undo network mask

View

DHCP extended address pool view

Default level

2: System level

Parameters

mask: Specifies a network mask, in dotted decimal notation.

Description

Use network mask to specify the IP address mask for dynamic allocation in an extended address pool.

Use undo network mask to remove the specified IP address mask.

No IP address mask is specified by default.

Only the extended address pools support this command.

If you specify an IP address range for an extended address pool without an IP address mask, the extended address pool is not valid, and therefore the system cannot assign IP addresses from the extended address pool.

Related commands: dhcp server ip-pool, display dhcp server tree, and network ip range.

Examples

# Specify 255.255.255.0 as the IP address mask for dynamic allocation in extended address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0 extended
[Sysname-dhcp-pool-0] network mask 255.255.255.0