Description
With this command, you specify the interface via which the IPv4 addresses are dynamically
assigned.
Note
Assignment of IP addresses
When assigning IP addresses from a local address band, the IPv4 address of the interface
must be located within the IPv4 address band. If this is not the case, the interface does not
assign any IPv4 addresses.
The IP address does not need to be within the IPv4 address band if relay agent information is
configured for the address band.
Requirement
You are in the DHCPPOOL configuration mode.
The command prompt is as follows:
cli(config-dhcp-pool-<ID>)#
Syntax
Call up the command with the following parameters:
set-interface {vlan <vlan-id (1-4094)> | <interface-type> <interface-
id> }
The parameters have the following meaning:
Parameter
Description
Range of values / note
vlan
Keyword for a VLAN connection.
-
vlan-id
Number of the
addressed VLAN
1 ... 4094
interface-type
Type or speed of the interface
Enter a valid interface
interface-id
Module no. and port no. of the interface
For information on identifiers of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 29)".
Result
The interface is assigned. Before the IPv4 address band can be used, it still needs to be
activated.
Further notes
You display the setting with the
show ip dhcp-server pools
command.
You enable the IPv4 address band with the
pool-enable
command.
Network protocols
8.5 DHCP server
SCALANCE W770/W730 acc. to IEEE 802.11n Command Line Interface
Configuration Manual, 09/2017, C79000-G8976-C324-08
403