Keep the IPv4 address, the Netmask, and the Gateway IPv4 address that is required to be configured, ready.
Note
SLX-OS configures the following static IP192.168.11.1/24
and default gateway 0.0.0.0
by default.
SLX # configure terminal SLX (config)# bmc SLX (config-bmc)#
Note
Only the BMC Management Interface with interface ID of 0 can be configured.
SLX (config-bmc)# interface management 0 SLX (config-bmc-mgmt-0)#
To configure the BMC Management Interface to receive the IPv4 address from a remote DHCP server, use the following command.
SLX (config-bmc-mgmt-0)# ip dhcp SLX (config-bmc-mgmt-0)#
To configure the BMC Management Interface's IPv4 address manually, execute the following command:
SLX (config-bmc-mgmt-0)# ip address 10.9.9.23/24 gw 10.9.9.2 SLX (config-bmc-mgmt-0)#
SLX (config-bmc)# do show bmc interface management 0 ip IP Address Source : Static Address IP Address : 10.9.9.23 Subnet Mask : 255.255.255.0 MAC Addres : 00:04:96:b8:41:b8 Default Gateway IP : 10.9.9.2 SLX (config-bmc-mgmt-0)#
This example shows the configuration of DHCP for the BMC Management Interface.
SLX # configure terminal SLX (config)# bmc SLX (config-bmc)# interface management 0 SLX (config-bmc-mgmt-0)# ip DHCP SLX (config-bmc-mgmt-0)# exit SLX (config-bmc)# do show bmc interface management 0 ip IP Address Source : DHCP Address IP Address : 192.168.0.120 Subnet Mask : 255.255.255.0 MAC Addres : 00:04:96:b8:41:b8 Default Gateway IP : 0.0.0.0 SLX (config-bmc-mgmt-0)#
This example shows the default configuration of a static IPv4 address. This IP address is assigned to the interface automatically and will be retained unless changed.
SLX # configure terminal SLX (config)# bmc SLX (config-bmc)# interface management 0 SLX (config-bmc-mgmt-0)# no ip DHCP SLX (config-bmc-mgmt-0)# exit SLX (config-bmc)# do show bmc interface management 0 ip IP Address Source : Static Address IP Address : 192.168.11.1 Subnet Mask : 255.255.255.0 MAC Addres : 00:04:96:b8:41:b8 Default Gateway IP : 0.0.0.0 SLX (config-bmc-mgmt-0)#