cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22448
Views
0
Helpful
2
Replies

Device-alias replace MDS Switch

NaliatoMD
Level 1
Level 1

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.

2 Replies 2

NaliatoMD
Level 1
Level 1

up-up

nobody?

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: