Problem
We need to see/verify the IP address and default gateway/route assigned to HPE 3PAR 7400.
Environment:
- HPE 3PAR Model: 7400
- HPE 3PAR OS version 3.2.1 (MU3)
Solution
- Login to HPE 3PAR Command Line Interface (CLI) using the credentials. Default login credentials (username/password) are 3paradm/3pardata.
- Run the shownet command to see the details as shown below:
EPS-7400-DC cli% shownet IP Address Netmask/PrefixLen Nodes Active Speed Duplex AutoNeg Status 172.10.2.100 255.255.255.0 01 0 1000 Full Yes Active Default route: 172.10.2.8
- You may use the setnet command to change the network configurations. You need to provide the arguments with the command as shown below:
EPS-7400-DC cli% setnet setnet: Incorrect number of arguments. SYNTAX The syntax for the setnet command can be one of the following: setnet startaddr | setnet startgateway setnet finish [-f] setnet abort setnet cleargateway [-f] setnet speed auto| setnet failoverping {|none} setnet ntp {none|} setnet changenode [] setnet addaddr {|} setnet removeaddr setnet dns {none | [-add|-remove] } setnet disableports {yes|no} SUBCOMMANDS startaddr Specifies that the system start switching the old IP address ( specifier) to the new IP address ( specifier) with the specified netmask ( specifier). startgateway Specifies that the gateway is immediately set to the specified IP address if no gateway is currently defined. If a gateway is currently defined, the system starts switching the old gateway to the new gateway. Only IPv4 gateways can be changed with this command. finish Specifies that outstanding changes from the startaddr and startgateway subcommands be completed. abort Specifies that any attempt to configure a new IP address or gateway fails. The system returns to its previous state. cleargateway Specifies that the existing system gateway is removed. speed Specifies that the network interface is set to the specified speed and duplex as indicated with the and specifiers. failoverping Specifies that on IP failover, a ping is sent to the specified IP address as indicated with the specifier. ntp none| Specifies the NTP server the system should use to synchronize its clocks. The server must be specified as an IP address. changenode Forces the system to change which node has an active Ethernet interface. If a node ID is specified, it switches to that node. Otherwise, any node with a connected Ethernet interface is chosen. addaddr Specifies that the new IP ( specifier)is added to the interface that is currently assigned the old_IP ( specifier). The old IP and new IP should be of different IP versions (IPv4 or IPv6). removeaddr Specifies that the old IP ( specifier) be de-configured. The old IP can only be an IPv6 address. dns {none | [-add|-remove] } Specifies the DNS server the system should use to resolve host names. The server must be specified as an IP address. disableports {yes|no} Specifies the network configuration functionality where if the option is specified as "yes" will disable the non-encrypted ports, if option "no" is specified, it will enable the non-encrypted ports. Disabling non-encrypted ports will also prevent the service processor from monitoring events, which will prevent the generation of email notifications about system issues. EPS-7400-DC cli%
Related Posts
- HP 3PAR SP Default Password
- How to reclaim space after removing virtual volume 3PAR
- HPE 3PAR Default Username and Password
- How to Find the Serial Number of HPE 3PAR SAN Storage from CLI
- How to check the status of the HPE 3PAR Remote Copy Group
- How to Check HPE 3PAR Battery Status
- How to Create a New Virtual Volume in 3PAR
- How to Download and Install HPE 3PAR StoreServ Management Console (SSMC) 3.0
- How to Download and Install HPE 3PAR Management Console (IMC) 4.7.3
- How to check HP 3PAR OS Version?
- HP 3PAR Storage System: How to generate and collect InSplore Logs?