Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

Device-alias replace MDS Switch

Hi,

I would like to know:

How can I replace device-alias pWWN using command line?

How can I add a new pWWN to device-alias using command line?

Thanks.

Everyone's tags (2)
2 REPLIES
New Member

Re: Device-alias replace MDS Switch

up-up

nobody?

New Member

Re: Device-alias replace MDS Switch

Creating Device Aliases

To a create a device alias in the pending database, perform this task:

SUMMARY STEPS

1.

switch# configuration terminalswitch(config)# device-alias databaseswitch(config-device-alias-db)# device-alias name device-name pwwn pwwn-id

4.

switch(config-device-alias-db)# no device-alias name device-name

5.

switch(config-device-alias-db)# device-alias rename old-device-name new-device-name

DETAILED STEPS

Command or Action Purpose

Step 1

Step 2

device-alias name

device-name

pwwn pwwn-id

Step 3

simultaneously locks the fabric as this is the first-issued

device alias configuration command.

Removes the device name for the device that is identified by

its pWWN.

switch(config-device-alias-db)#

no device-alias name

device-name

Step 4

switch(config-device-alias-db)#

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

old-device-name new-device-name

Step 5

Example of Creating a Device Alias

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

switch(config)# device-alias database Enters the pending database configuration submode.

Specifies a device name for the device that is identified by

its pWWN. Starts writing to the pending database and

switch(config-device-alias-db)#

switch# configuration terminal Enters configuration mode.

2.

3.

10980
Views
0
Helpful
2
Replies
CreatePlease to create content