HPE MSA2040 – How to set static IP over CLI
If you want to set static IP over CLI for your HPE MSA 2040 please do following steps:
Preparing a Linux computer before cabling to the CLI port although Linux operating systems do not require installation of a device driver, certain parameters must beprovided during driver loading to enable recognition of the MSA 2040 controller enclosures. To load the Linux device driver with the correct parameters, the following command is required:
modprobe usbserial vendor=0x210c product=0xa4a7 use_acm=1
Optionally, the information can be incorporated into the /etc/modules.conf file
Downloading a device driver for Windows computers
After the host has been prepared, the following steps must be followed:
- Connect to the MSA CLI interface over the USB serial port using teraterm or your preferred serial terminal emulator (see HPE documentation).
- Hit enter to display to the MSA welcome banner and login prompt proceed to login with username:
- UN: manage PW: !manage
- At the prompt, type the following command to set the values you obtained in port, first for controller A and then for controller B:
- set network-parameters “ip address” “netmask” “gateway” “controller a|b”
where:
address – is the IP address of the controller
netmask – is the subnet mask
gateway – is the IP address of the subnet router
a|b – specifies the controller whose network parameters you are setting
For example:
set network-parameters ip 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1 controller a
set network-parameters ip 192.168.0.11 netmask 255.255.255.0 gateway 192.168.0.1 controller b
Type the following command to verify the new IP addresses:
show network-parameters
Network parameters, including the IP address, subnet mask, and gateway address are displayed for each controller.
And thats it – If you have any questions or feedback, feel free to leave a comment. 🙂