cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9465
Views
0
Helpful
7
Replies

Renaming a Alias name and Zone name in MDS switch Switch

hutamit
Level 1
Level 1

Hello!

I currently have MDS9148 SAN Switch. Zoning is already completed and Host can able to see the LUN. Due to some requirement, Host name is changed and the same changes I have to make in SAN Switch (Device-Alias and Zone name). Is there any way to make the changes without any impact to the host?

 

Thank you in advance for help with this issue!

7 Replies 7

jaton
Level 1
Level 1

RENAME ALIAS FOR HOSTS (vsan id of 10):

switch(config)# fcalias rename old-AliasName new-AliasName vsan 10

 

Ref:

https://davidring.ie/2013/06/28/cisco-mds-zoning-rename/

Hi Jaton,

 

Thanks for reply. The link is related to fcalias rename however In the switch, "show fcalias" is not giving any output.

The command "show device-alias database", is showing the device alias name I have to rename. 

jaton
Level 1
Level 1

So you are running on device-alias and not fcalias.

https://community.cisco.com/t5/storage-networking/what-is-the-difference-between-quot-fcalias-quot-quot-device/td-p/1080710

 

So you want to rename a device-alias:

switch(config-device-alias-db)#

 

device-alias rename Renames an existing device alias with a new name.

old-device-name new-device-name

I already tried this option "device-alias rename old-device-name new-device-name", however the new name is not reflecting in Zone name. For example, host name is host_HBA1 and the Zone name is host_HBA1_SAN3S. After changing the host name with above command from host_HBA1 to host2_HBA1, the same is not reflecting in Zone name (From host_HBA1_SAN3S to host2_HBA1_SAN3S). Do I have to remove the zone from zoneset and create a new zone with new name?

hutamit
Level 1
Level 1

Any help will be highly appreciated.

jaton
Level 1
Level 1

You will have to rename zones with its own command.

https://community.cisco.com/t5/storage-networking/how-to-rename-zones-on-mds9513/td-p/2244828

 

Like:

zone rename ...