imc ip address default-gateway
To configure a static IP address for CIMC and the IP address of the default gateway router that CIMC must use, use the imc ip address default-gateway command in interface configuration mode. To remove the static IP address, use the no form of this command.
imc ip address ip-address subnet-mask default-gateway gateway-address
no imc ip address ip-address subnet-mask default-gateway gateway-address
Syntax Description
ip-address |
IP address of CIMC. |
subnet-mask |
Subnet mask to append to the IP address; must be in the same subnet as the host router. |
gateway-address |
IP address of the default gateway router. |
Command Modes
Interface configuration (config-if)
Command History
Release |
Modification |
---|---|
15.2(4)M |
This command was introduced. |
Usage Guidelines
If you do not enable DHCP, you must specify a static IP address and subnet mask.
The following example shows how to configure a static IP address for CIMC:
Router(config)# interface ucse 2/0
Router(config-if)# imc ip address 10.0.0.2 255.0.0.0 default-gateway 10.0.0.1