7.1.3.3
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.
If a static IP address was specified explicitly, this address is deleted from this interface.
Note
Effectiveness of the command
The command is effective immediately.
If you configure the interface via which you access the device, you can lose the connection!
Further notes
You assign an IP address with the
ip address
or
ip address dhcp
command.
Network protocols
7.1 IPv4 protocol
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
280
Configuration Manual, 07/2017, C79000-G8976-C361-06