EasyManua.ls Logo

Allied Telesis AT-9000 Series - DHCP Server Configuration Example

Allied Telesis AT-9000 Series
1526 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT-9000 Switch Command Line User’s Guide
331
This example enables DHCP service to assign IP address 192.168.1.100
on switch port 1.0.1.
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# dhcp-offer ip 192.168.1.100
This example enables DHCP service to assign an IP address range of
192.168.1.101 to 192.168.1.110 on switch port 1.0.10.
awplus# configure terminal
awplus(config)# interface port1.0.10
awplus(config-if)# dhcp-offer ip 192.168.1.101 192.168.1.110
DHCP Server
Configuration
Example
The following is an example of configuring a DHCP server.
awplus> enable
Enter the Privileged Executive
mode from User Exec mode.
awplus# configure terminal
Enter Global Configuration mode.
awplus(config)# service dhcp-server
Enable DHCP service on the
switch.
awplus(config)# ip dhcp pool P1
Use the IP DHCP POOL
command to create a DHCP pool
named P1 and enter DHCP
Configuration mode.
awplus(dhcp-config)# network 192.168.100.0
255.255.255.0
Use the NETWORK command to
configure a network for DHCP
pool P1, where the subnet is
192.168.100.0, and the mask is
255.255.255.0.
Note: A VLAN interface must exist
with an IP address in the same
subnet as the IP address that is
being offered via DHCP service.
awplus(dhcp-config)# range 192.168.100.2
192.168.100.20
Use the RANGE command to add
an address range of
192.168.100.2 to 192.168.100.20
to DHCP pool P1.
awplus(dhcp-config)# lease 0 0 35
Use the LEASE command to set
the lease expiration time for DHCP
pool P1 to 35 minutes.

Table of Contents

Related product manuals