I know how to create alias' for new host/wwn attachments to our cisco 9513 directors but I don't know how to "change" the alias name for an existing wwn alias.
the only commands I can find in the manuals refer to setting alias on a new wwn:
the sequence of commands to set the initial alias/:
config t
device-alias database
device-alias name alias_name pwwn 10:00:00:00:c9:73:a1:34
device-alias commit
if I try to enter in a new alias for a wwn that already has an alias present, I get the error 'alias already present' and it doesn't take the new alias name I want to assign.
Hello. Since you are doing the "device-alias", you can run the following commands to change the name of your device alias:
Example:
MDS9506-01# show device-alias database device-alias name x335-1 pwwn 21:01:00:e0:8b:b0:72:17
Total number of entries = 1 MDS9506-01# config terminal Enter configuration commands, one per line. End with CNTL/Z. MDS9506-01(config)# device-alias database MDS9506-01(config-device-alias-db)# device-alias rename x335-1 x335-1-new MDS9506-01(config-device-alias-db)# exit MDS9506-01(config)# device-alias commit MDS9506-01(config)# end MDS9506-01# sho device-alias database device-alias name x335-1-new pwwn 21:01:00:e0:8b:b0:72:17
I'm not really sure it will specfically say anywhere that its non-disruptive. The logic on why this is the case is because zones contain WWNs and NOT device-aliases. The GUI and CLI simply display the device-alias instead of the WWN as a reference. Therefore changing the device-alias doesn't change the zoning and thus no outage.
Smiley6
5 Posts
3976
0
Posted April 30th, 2008 06:00
Example:
MDS9506-01# show device-alias database
device-alias name x335-1 pwwn 21:01:00:e0:8b:b0:72:17
Total number of entries = 1
MDS9506-01# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
MDS9506-01(config)# device-alias database
MDS9506-01(config-device-alias-db)# device-alias rename x335-1 x335-1-new
MDS9506-01(config-device-alias-db)# exit
MDS9506-01(config)# device-alias commit
MDS9506-01(config)# end
MDS9506-01# sho device-alias database
device-alias name x335-1-new pwwn 21:01:00:e0:8b:b0:72:17
Total number of entries = 1
MDS9506-01#