July 29

V7000: Modifying the clustered system IP addresses using the CLI

Excerpt from the V3500 – Use these commands on the V7000 at your own risk.

You can use the command-line interface (CLI) to change the IP addresses that are associated with a clustered system (system).

About this task

Attention: When you specify a new IP address for a system, the existing communication with the system is broken. You must reconnect to the system with the new IP address.

Perform these steps to change the system IP address:

Procedure

  1. Issue the lssystemip command to list the current IP addresses that are used by the system.
  2. Record the current IP addresses for future reference.
  3. To change an Internet Protocol Version 4 (IPv4) system IP address, issue this command:
    chsystemip -clusterip cluster_ip_address -port cluster_port 

    where cluster_ip_address is the new IP address for the cluster and cluster_port specifies which port (1 or 2) to apply changes to.

  4. To change an IPv4 system IP address to an IPv6 system IP address, issue this command:
    chsystemip -clusterip_6 cluster_ip_address -port cluster_port

    where cluster_ip_address is the new Internet Protocol Version 6 (IPv6) address for the cluster and cluster_port specifies which port (1 or 2) to apply changes to.

  5. To change an IPv4 default gateway IP address, issue this command:
    chsystemip -gw cluster_gateway_address -port cluster_port

    where cluster_gateway_address is the new gateway address for the cluster and cluster_port specifies which port (1 or 2) to apply changes to.

  6. To change an IPv6 default gateway address, issue this command:
    chsystemip -gw_6 cluster_gateway_address -port cluster_port

    where cluster_gateway_address is the new gateway address for the cluster and cluster_port specifies which port (1 or 2) to apply changes to.

  7. Issue this command to change an IPv4 system subnet mask
    chsystemip -mask cluster_subnet_mask -port cluster_port

    where cluster_subnet_mask is the new subnet mask for the cluster and cluster_port specifies which port (1 or 2) to apply changes to.

  8. For IPv6 addresses, you can issue this command to set the prefix for the system:
    chsystemip -prefix_6 -port cluster_port 

    where cluster_port specifies which port (1 or 2) to apply changes to.

  9. Optionally, if you want to delete all of the IPv4 addresses in the system after you have changed all addresses to IPv6, issue this command:
    chsystem -noip 
  10. Optionally, if you want to delete all of the IPv6 addresses in the system after you have changed all addresses to IPv4, issue this command:
    chsystem -noip_6 
  11. The IP routing table provides details of the gateway that is used for IP traffic to a range of IP addresses for each Ethernet port. This information can be used to diagnose configuration node accessibility problems. To display the IP routing table, enter this CLI command:
    lsroute
  12. The ping command can be used to diagnose IP configuration problems by checking whether a given IP address is accessible from the configuration node. The command can be useful for diagnosing problems where the configuration node cannot be reached from a specific management server. For example, enter this CLI command:
    ping ipv4_address | ipv6_address 

    where ipv4_address | ipv6_address is either the IPv4 address or the IPv6 address.

By: IBM


Copyright 2021. All rights reserved.

Posted July 29, 2014 by Timothy Conrad in category "SAN

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B