Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1001776.1
Update Date:2009-09-25
Keywords:

Solution Type  Problem Resolution Sure

Solution  1001776.1 :   Setting/Resetting the IP address of a Sun StorEdge[TM] FC switch  


Related Items
  • Sun Storage A3500 SCSI Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - Other
  •  

PreviouslyPublishedAs
202428


Symptoms

While you are configuring this switch in your San, you need to set its IP address as per your local network requirements. In other cases, you may just want to change them as per the new requirements or if something happened that corrupted the IP address to make it unknown.

So, the three situations are :

  • The switch is at its default IP address of 10.0.0.1 and you would like to set it up to a different address.

  • The IP address is not known, or you don't wish to access it with the default IP address (10.0.0.1) to set it for the first time.

  • The IP address is known, you can access it through the SanSurfer GUI and just would like to change the IP to another one.



Resolution

If you know the IP address of your switch and it's a working configuration, all you need to do is to bring up your SanSurfer GUI ( /usr/opt/SUNWsmgr/bin/esm_smgr ), double click on the IP field of the switch that you want to work on, and then click on the network port icon in the picture of the switch that appears. This will take you to the 'Network Configuration' window that contains the fields for configuring the ethernet connection to this selected switch.

If you are setting the IP for the first time from the default switch IP of 10.0.0.1, then do following:

(a) Put the 'test mode switch' to the 5 o'clock position [ Note: 'test mode switch' is directly below the last port and is a small ten-position rotary switch that is only used for maintenance situations. The tiny notch on the switch indicates your position]

(b) Add the virtual IP address (10.0.0.x, netmask 255.0.0.0) to the existing Network card as follows:

# ifconfig hme0:1 plumb

# ifconfig hme0:1 10.0.0.2 netmask 255.0.0.0 up [make sure that 10.0.0.1 or 10.0.0.2 are not in use already in this network or use a crossover cable to connect the management station directly to the switch ethernet port. Put the ethernet cable back in place after you are done setting up the IP by this process]

# ifconfig -a [ To verify that above change has been made ]

(c) Perform the connect operation as follows and get the config file to your local machine:

# tftp <Return>

tftp> connect 10.0.0.1 <Return>

tftp> ascii <Return>

tftp> get config <Return>

tftp> quit <Return>

(d) Using vi editor, change the net address, netmask and gateway address in the config file to the desired settings.

(e) Perform the tftp connect again as in (c) above, and put the config file back on the switch.

(f) Turn the power switch OFF, and using a small screwdriver, rotate the 'test mode switch' counterclockwise to the Normal position (12 o'clock position), and now turn the power back ON to reset the switch chassis and have the new IP address take affect.

[Don't forget to replace the crossover cable with ethernet cable if used it as described in step (b)]

The other method is through RARP as described below: (throughout this process, the 'test mode switch' is in the 12 o'clock position)

(a) Include the ethernet address of your switch and the name that you want to give it in the /etc/ethers file of your local host.

(b) List the IP address that you want to assign to your switch and its name in the /etc/hosts file of the local host.

(c) Restart the rarpd daemon on the local host ( kill and restart /usr/sbin/in.rarpd -a ).

Note: As it looks, the rarp method is easier, but if it does not work, the tftp method should be tried instead.



Product
Sun StorageTek A3500 FC Array

Internal Comments






SAN, fabric, Python, Fibre, Channel
Previously Published As
43060

Change History
Date: 2003-05-20
User Name: Administrator
Action: Migration from KMSCreator
Comment: updated by : George Bolduc
comment : Changed title to reflect Sun's branding of the SAN switch
Also clarified rotary switch setting description.
date : Mar 18, 2002



updated by : Curtis DeCotis
comment : This is described in the internal SAN class, and makes sense.
Switches other than the Ancor switch of the Python config
may have a tip connection for this setting, as well.
date : Feb 28, 2002



updated by : Susheel Chawla
comment : No comment
date : Feb 21, 2002



updated by : Susheel Chawla
comment : Article created.
date : Feb 18, 2002



updated by : Susheel Chawla
comment : No comment
date : Feb 18, 2002



updated by : Susheel Chawla
comment : No comment
date : Feb 18, 2002
Version: 0
Product_uuid
b648cdf0-efb8-4d4f-93d4-b17c1baf1935|Sun StorageTek A3500 FC Array

Attachments

This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback