S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
24-3
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 24 Distributing Device Alias Services
Device Alias Databases
If you modify the device alias configuration, you need to commit or discard the changes as the fabric
remains locked during this period.
This section includes the following sections:
•
Creating Device Aliases, page 24-3
•
About Device Alias Distribution, page 24-3
•
Committing Changes, page 24-4
•
Discarding Changes, page 24-4
•
About Legacy Zone Alias Configuration You can import legacy zone alias configurations to use this
feature without loosing data, if they satisfy the following restrictions:, page 24-6
•
Disabling and Enabling Device Alias Distribution, page 24-5
Creating Device Aliases
To a create a device alias in the pending database, follow these steps:
To display the device alias configuration, use the
show device-alias name
command.
switch#
show device-alias name x
device-alias name x pwwn 21:01:00:e0:8b:2e:80:93
About Device Alias Distribution
By default, device alias distribution is enabled. The device alias feature uses the coordinated distribution
mechanism to distribute the modifications to all switches in a fabric.
If you have not committed the changes and you disable distribution, then a commit task will fail (See
Example 24-1
).
Example 24-1 Displays a Failed Status
switch#
show
device-alias status
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
device-alias database
switch(config-device-alias-db)#
Enters the pending database configuration
submode.
Step 3
switch(config-device-alias-db)#
device-alias
name Device1 pwwn 21:01:00:e0:8b:2e:80:93
Specifies a device name (Device1) for the
device that is identified by its pWWN. Starts
writing to the pending database and
simultaneously locks the fabric as this is the
first-issued device alias configuration
command.
switch(config-device-alias-db)#
no device-alias
name Device1
Removes the device name (Device1) for the
device that is identified by its pWWN.
switch(config-device-alias-db)#
device-alias
rename Device1 Device2
Renames an existing device alias (Device1)
with a new name (Device2).