Network (Dhcp) - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

D
H
C
YNAMIC
OST
ONFIGURATION
(DHCP)
NETWORK

network (DHCP)

Overview
This command sets the network (subnet) that the DHCP address pool applies to.
The no variant of this command removes the network (subnet) from the DHCP
address pool.
Syntax
network
{<ip-subnet-address/prefix-length>|<ip-subnet-address/mask>}
no network
Mode
DHCP Configuration
Usage
This command will fail if it would make existing ranges invalid. For example, if they
do not lie within the new network you are configuring.
The no variant of this command will fail if ranges still exist in the pool. You must
remove all ranges in the pool before issuing a no network command to remove a
network from the pool.
To configure a network for the address pool P2, where the subnet is 192.0.2.5
Examples
and the mask is 255.255.255.0, use the commands:
awplus#
awplus(config)#
awplus(dhcp-config)#
or you can use dotted decimal notation instead of slash notation for the
subnet-mask:
awplus#
awplus(config)#
awplus(dhcp-config)#
Related
service dhcp-server
Commands
subnet-mask
C613-50170-01 Rev B
P
(DHCP) C
ROTOCOL
OMMANDS
Parameter
<ip-subnet-address/
prefix-length>
<ip-subnet-address/
mask>
configure terminal
ip dhcp pool P2
configure terminal
ip dhcp pool P2
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
The IPv4 subnet address in dotted decimal notation
followed by the prefix length in slash notation.
The IPv4 subnet address in dotted decimal notation
followed by the subnet mask in dotted decimal
notation.
network 192.0.2.5/24
network 192.0.2.5 255.255.255.0
2462

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents