- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Array Setup and Networking
- >
- change mgmt mask and gateway on CLI
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2016 02:32 PM
тАО05-04-2016 02:32 PM
Hi , i accidentally configured configure the wrong MASK and gateway for my nimble management port , now i have to do it from console to reconfigure it since i lost access , is there a way to do it ? how?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2016 10:25 AM
тАО05-23-2016 10:25 AM
SolutionHi Marcos,
One of the ways I've done this in the past is to connect my laptop to the array using 1GbE hub I carry with me. I'll also connect to the serial port to verify IP address, netmask and then change the NIC adapter setting on my laptop to match whatever the network configuration is on the array. To access the GUI, you have to connect interface pairs together - ETH1 or 2 Controller A and ETH1 or 2 Controller B to the 1GbE hub. Once this is done, you can open a web browser from your laptop using the Management IP of the array and then change the networking by clicking Administration / Network Connections - Active Setting.
If that's not an option, you can make the changes in the CLI.
For editing the Gateway, refer to the following:
Edit a Static Route
Procedure
- Create a Draft network configuration profile from the Active profile.netconfig --create_draft_from active
- Edit an existing static route.route --edit network --netconfig draft [--network new_network] [--gateway gateway]
- (Optional) Repeat Step 2 to edit more routes.
- Validate the Draft network configuration profile.netconfig --validate draft. Nimble OS validates the configuration. If an error exists, Nimble OS returns an error message. Resolve all errors before proceeding to the next step.
- Activate the Draft network configuration profile.netconfig --activate draft
Example
Editing a static route network IP address and gateway IP address using the Draft network configuration profile:
Nimble OS $ netconfig --create_draft_from active Nimble OS $ route --edit 192.168.50.0 --netconfig draft --network 10.190.25.0 --gateway 10.190.25.101 Nimble OS $ netconfig --validate INFO: Configuration is valid. Nimble OS $ netconfig --activate
For changing the Netmask,
Edit a Subnet
Procedure
- Create a Draft network configuration profile from the Active profile.netconfig --create_draft_from active
- Edit an existing subnet.subnet --edit label [--new_label name] [--subnet_addr network_ipaddr/netmask] [--discovery_ipaddr ipaddr] [--type {mgmt | data | mgmt,data}] [--subtype {iscsi|group}] [--netzone_type {evenodd | bisect | single}] [--netconfigname] [--vlanid id] [--mtu mtu]
- (Optional) Repeat Step 2 to edit additional subnets.
- Validate the Draft network configuration profile.netconfig --validate draft. Nimble OS validates the configuration. If an error exists, Nimble OS returns an error message. Resolve all errors before proceeding to the next step.
- Activate the Draft network configuration profile.netconfig --activate draft
Example
Editing the data1 subnet using the Draft network configuration profile:
Nimble OS $ netconfig --create_draft_from active Nimble OS $ subnet --edit data1 --new_label data2 --subnet_addr 200.200.200.0/24 --netconfig draft Nimble OS $ netconfig --validate INFO: Configuration is valid. Nimble OS $ netconfig --activate
Good luck and hope this help!
- Guy