Configures how an IPv4 address is assigned to a BMC's ethernet interface. IPv4 address can be assigned dynamically using DHCP or manually configured.
None
Use DHCP for assigning IP address to the BMC's ethernet interface.
Use manually assigned IP address for the BMC's ethernet interface.
Privileged EXEC Mode
To manually assign IP, first ipsrc
should be set to static and the assign
the ipaddr/netmask/gateway
.
Configure the static IP address for the ethernet interface when the ipsrc
is set as
static. If the ipsrc
is dhcp, configuring IP address with this command will not
produce any warning/error
, nor the IP is set.
The BMC configuration commands may take between 9 to 70 seconds to complete.
IPv6 addresses cannot be assigned.
The following example configures DHCP as the method for assigning IP address to the BMC's ethernet interface.
SLX# bmc lan ipsrc dhcp SLX#
The following example sets the IP address as manually configured and then configures it.
SLX# bmc lan ipsrc static SLX# bmc lan ipaddr 10.10.10.10 SLX# bmc lan netmask 255.255.255.0 SLX# BMC lan gateway 10.10.10.125 SLX#