ip

Syntax

ip [ dhcp | address ]
ip dhcp
ip address ip-address/mask gw gw-ip-address
no ip dhcp
no ip address ip-address/mask gw gw-ip-address

Parameters

dhcp

The IP address of the BMC Management Interface is assigned by an external DHCP server.

address ip-address / mask
The IP address of the BMC Management Interface is assigned manually by assigning an IPv4 address and a netmask.
gw gw-ip-address
The gateway IP address for the BMC Management Interface is assigned manually. This is an IPv4 address.

Modes

BMC Interface Configuration mode

Usage Guidelines

The no format of this command resets the interface to the following IPv4 address and gateway configuration. IPv4 address 192.168.11.1/24 is assigned with the default gateway IPv4 address of 0.0.0.0.

This preconfigured ip-address/mask and gateway-ip-address is assigned for both the no ip dhcp and no ip address <ip-address>/<mask> gw <gw-ip-address> commands.

Examples

This example shows the manual configuration of an IPv4 address to the BMC Management Interface with ID 0.

SLX # configure terminal
SLX (config)# bmc
SLX (config-bmc)# interface management 0
SLX (config-bmc-mgmt-0)# ip address 10.9.9.10/24 gw 10.9.9.2
SLX (config-bmc-mgmt-0)# do show running-config bmc interface 0
bmc
 interface management 0
  no shutdown
  ip address 10.9.9.23/24 gw 10.9.9.2
 !
!
SLX (config-bmc-mgmt-0)# 

This example shows how to disable a manually configured IPv4 address for the BMC Management Interface.

SLX # configure terminal
SLX (config)# bmc
SLX (config-bmc)# interface management 0
SLX (config-bmc-mgmt-0)# no ip address 10.9.9.10/24 gw 10.9.9.2
SLX (config-bmc-mgmt-0)# do show running-config bmc interface 0
bmc
 interface management 0
  shutdown
 !
!
SLX (config-bmc-mgmt-0)# 

This example shows how to configure the BMC Management Interface to receive its IPv4 address from an external DHCP server.

SLX # configure terminal
SLX (config)# bmc
SLX (config-bmc)# interface management 0
SLX (config-bmc-mgmt-0)# ip dhcp