beautypg.com

Network (dhcp), Syntax description, Defaults – Cisco 32369 User Manual

Page 38: Command modes, Usage guidelines, Examples, Related commands

background image

Command Reference

38

Release 12.0(1)T

network (DHCP)

To configure the subnet number and mask for a Dynamic Host Configuration Protocol (DHCP)
address pool on a Cisco IOS DHCP Server, use the network DHCP pool configuration command.
Use the no form of this command to remove the subnet number and mask.

network network-number [mask |

/

prefix-length]

no network

Syntax Description

Defaults

None

Command Modes

DHCP pool configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 12.0(1)T.

This command is valid for DHCP subnetwork address pools only. If the mask or prefix length is not
specified, the class A, B, or C natural mask is used. The DHCP server assumes that all host addresses
are available. The system administrator can exclude subsets of the address space by using the ip
dhcp excluded-address
command.

You can not configure manual bindings within the same pool that is configured with the network
command.

Examples

The following example configures 172.16.0.0/16 as the DHCP pool’s subnetwork number and mask:

network 172.16.0.0 /16

Related Commands

host
ip dhcp excluded-address
ip dhcp pool

network-number

The IP address of the DHCP address pool.

mask

(Optional) The bit combination that renders which portion of the
address of the DHCP address pool refers to the network or subnet and
which part refers to the host.

/

prefix-length

(Optional) Specifies the number of bits that comprise the address
prefix. The prefix is an alternative way of specifying the network mask
of the client. The prefix length must be preceded by a forward slash (/).