ip address
Sets the local IPv4 address.
Input format
To set or change information:
ip address
To delete information:
no ip address
Input mode
(config-if)
Parameters
<IP address>
Sets the local IPv4 address.
1.
2.
<Subnet-Mask>
Sets the subnet mask.
1.
2.
Default behavior
None
Impact on communication
If an interface that is up is changed by using this command, it first goes down and then
comes up again.
Accordingly, the following might occur:
If communication is in progress on the applicable interface, it stops.
Dynamic ARP entries generated for the applicable interface are deleted.
When the change is applied
The change is applied immediately after setting values are changed.
<IP address> <Subnet-Mask>
<IP address>
Default value when this parameter is omitted:
This parameter cannot be omitted.
Range of values:
1.0.0.0-126.255.255.255, 128.0.0.0-223.255.255.255
Default value when this parameter is omitted:
This parameter cannot be omitted.
Range of values:
Subnet mask: 128.0.0.0 to 255.255.255.252 (bits must be contiguous)
ip address
263