next-server

Syntax

next-server ip-address

undo next-server

View

DHCP address pool view

Default level

2: System level

Parameters

ip-address: Specifies the IP address of a server.

Description

Use next-server to specify the IP address of a server for DHCP clients.

Use undo next-server to remove the server’s IP address from the DHCP address pool.

By default, no server's IP address is specified in the address pool on the DHCP server.

If you repeatedly execute this command, the new configuration overwrites the previous one.

Related commands: dhcp server ip-pool and display dhcp server tree.

Examples

# Specify a server’s IP address 1.1.1.1 in DHCP address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] next-server 1.1.1.1