Chapter 16: DHCP Server with Port-Based IP Assignment Commands
346
NETWORK
Syntax
network {<ip-subnet-address/prefix-length>|<ip-subnet-
address/mask>}
Parameters
ip-subnet-address/prefix-length
IPv4 subnet address in dotted decimal notation followed by the
prefix length in CIDR slash notation.
ip-subnet-address/mask
IPv4 subnet address in dotted decimal notation followed by the
subnet mask in dotted decimal notation.
Mode
DHCP Configuration
Description
Use this command to configure a network to which the DHCP pool applies.
This command fails if it makes existing ranges invalid, for example, if they
are not within the new network you are configuring.
Example
This example configures a network for the DHCP pool P1, where the
subnet is 192.168.100.0, and the mask is 255.255.255.0.
awplus# configure terminal
awplus(config)# ip dhcp pool P1
awplus(dhcp-config)# network 192.168.100.0 255.255.255.0