Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
304 Configuration Manual, 06/2016, C79000-G8976-C252-11
no ip address
Description
With this command, you delete the assignment of an IPv4 address to an interface and
disable DHCP.
You are in the Interface configuration mode of VLAN or a router port.
The command prompt is as follows:
cli(config-if-vlan-$$$)#
or with a router port:
cli(config-RPort-if-Int$-$)
Call up the command without parameters or with the following parameter assignment:
no ip address [<ip-address> | dhcp]
The parameter has the following meaning:
IPv4 address of the interface that will
Enter a valid IPv4 address
Specify this parameter if you want to
disable the DHCP function explicitly.
-
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
If DHCP was enabled on this interface, DHCP is now disabled. Any existing dynamically
learned IPv4 address will be automatically converted to a static IPv4 address.
If static IPv4 addresses were configured and if no explicit IPv4 address was transferred as a
parameter, all static IPv4 addresses will be deleted from this interface.
If a static IPv4 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!