Cisco Systems 32369 network DHCP, network network-number mask /prefix-length, no network, Defaults

Models: 32369

1 52
Download 52 pages 12.05 Kb
Page 38
Image 38
network (DHCP)

Command Reference

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

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 (/).

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-addresscommand.

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

38Release 12.0(1)T

Page 38
Image 38
Cisco Systems 32369 network DHCP, network network-number mask /prefix-length, no network, which part refers to the host