Network <address> [<subnet mask> or <prefix length – ADTRAN 1000R Series User Manual

Page 1340

Advertising
background image

Command Reference Guide

DHCP Pool Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

1340

network <address> [<subnet mask> or <prefix length>]

Use the network command to specify the subnet number and mask for an AOS Dynamic Host
Configuration Protocol (DHCP) server address pool. Use the no form of this command to remove a
configured subnet.

Syntax Description

<ip address>

Specifies the IP address (in dotted decimal notation) of the DHCP address pool.

<subnet mask>

Optional. Specifies the network mask (subnet) for the address pool. If the subnet
mask is left unspecified, the DHCP server uses the Class A, B, or C natural mask.

<prefix length>

Optional. Alternately, the prefix length may be used to specify the number of bits
that comprise the network address. The prefix length must be preceded by a
forward slash ( / ). For example, to specify an IP address with a subnet mask of
255.255.0.0, enter /16 after the address.

Default Values

By default, there are no configured DHCP address pools.

Applicable Platforms

This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.

Command History

Release 2.1

Command was introduced.

Usage Examples

The following examples show two different ways to configure an address pool subnet of 192.34.0.0 with a
16-bit subnet mask:

(config)#ip dhcp-server pool MyPool

(config-dhcp)#network 192.34.0.0 255.255.0.0

or

(config)#ip dhcp-server pool MyPool

(config-dhcp)#network 192.34.0.0 /16

Advertising