Network protocols
7.5 DHCP server
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
359
Further notes
You display the setting with the
show ip dhcp-server pools
command.
You enable the setting with the
pool-enable
command.
7.5.3.8
ports
Description
With this command you enable the ports via which the IPv4 addresses of an address band in
the local subnet are assigned.
After you have created an IPv4 address band, all ports are selected that are currently
located in the corresponding VLAN. If you add ports to the VLAN later, these ports are not
automatically enabled.
With address assignments via a relay agent, you cannot restrict the ports.
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:
ports [<interface-type> <0/a-b, 0/c, ...>] [<interface-type> <0/a-b, 0/c, ...>][add]
The parameters have the following meaning:
Parameter
Description
Range of values / note
interface-type
Type or speed of the interface
Enter a valid interface
0/a-b,0/c,...
Port no. of the interface
add
Adds an interface to an existing configu-
ration.
-
For information on identifiers of addresses and interfaces, refer to the section "Auto-
Hotspot".
Result
The selected ports will be enabled. Before the IPv4 address band can be used, it still needs
to be activated.