Network protocols
7.3 DHCP server
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
298
Configuration Manual, 11/2014, C79000-G8976-C351-03
7.3.4.9
set-interface
Note
The command is only available with the following device:
•
SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0
(US version))
Description
With this command, you specify the interface via which the IPv4 addresses are dynamically
assigned.
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 23)".
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.