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, ...>]
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
For information on identifiers of addresses and interfaces, refer to the section "Addresses and
Result
The selected ports will be enabled. Before the IPv4 address band can be used, it still needs
to be activated.
Further notes
You disable the ports with the
no ports
command.
You display the setting with the
show ip dhcp-server pools
command.
You enable the IPv4 address band with the
pool-enable
command.
7.3.3.9
no ports
Description
With this command you disable the ports via which the IPv4 addresses of an address band in
the local subnet are assigned.
Network protocols
7.3 DHCP server
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
301