Network protocols
7.5 DHCP server
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
363
7.5.3.12
set-interface
Description
With this command, you specify the interface via which the IPv4 addresses are dynamically
assigned.
The requirement for the assignment is that the IPv4 address of the interface is located within
the IPv4 address band. If this is not the case, the interface does not assign any IPv4
addresses.
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 "Auto-
Hotspot".
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.
Summary of Contents for SCALANCE XM-400
Page 882: ......