SROS Command Line Interface Reference Guide

DHCP Pool Command Set

 

 

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

Use the network command to specify the subnet number and mask for an Secure Router OS 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.

Command Modes

Any Configuration Mode

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

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

368

Page 368
Image 368
HP 7000 dl Router manual Network address subnet mask or prefix length