3.4
ip address
This command sets the IP address of an interface. The no form of the command resets the IP Address for
the given Interface.
ip address <ip-address> <subnet-mask> [secondary]
no ip address [<ip_addr>]
Syntax Description
ip-address - IP address
subnet-mask - Subnet mask for the associated IP subnet
secondary - Additional IP address that can be configured for the Interface
Mode
Interface Configuration Mode
•
This command is applicable in Physical Interface Mode / VLAN Interface Mode/OOB Interface
Mode
Defaults
IP Address specified in issnvram.txt is taken as default.
Example
smis(config-if)# ip address 10.0.0.3 255.255.255.0 secondary
The interface must be shutdown prior to execution of this command.
If the user deletes / modifies the IP interface that he is connected on, then the
connection to the switch is lost.
When the no ip address command is executed without the optional parameter
<ip_addr>, all the IP addresses configured over the interface are deleted.
Related Command
show ip interface - Displays the IP interface statistics and configuration
Release :
1.0
33 / 913