Result
The IP address is assigned.
Note
Effectiveness of the command
The command is effective immediately. If you configure the interface via which you access the
device, the connection will be lost!
Further notes
You delete the setting with the
no ip address
command.
6.1.7.2
no ip address
Description
With this command, you delete the assignment of an IP address and disable DHCP.
Requirement
You are in the Interface Configuration mode of VLAN.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
Syntax
Call up the command with the following parameters:
no ip address [{ <ucast_addr> | dhcp }]
The parameter has the following meaning:
Parameter
Description
Range of values / note
ucast-addr
Value for an IPv4 unicast address
Enter a valid IPv4 unicast address.
dhcp
Specify this parameter if you want to
disable the DHCP function explicitly.
-
For information on names of addresses and interfaces, refer to the section "Addresses and
Result
If DHCP was enabled on this interface, DHCP is now disabled. Any existing dynamically
learned IP address will be automatically converted to a static IP address.
If static IP addresses were configured and if no explicit IP address was transferred as a
parameter, all static IP addresses will be deleted from this interface.
Network structures
6.1 VLAN
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
211