cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4873
Views
10
Helpful
3
Replies

renaming a switch whilst in production

Hi There,

Can i rename a switch whilst it's in Production?We have Cisco MDS 9513 director with SANOS 3.02(b)..If we can then what are the steps to be followed.

1 Accepted Solution

Accepted Solutions

Nikhil Sharma
Cisco Employee
Cisco Employee

Hello,

Yes you may rename a switch non-disruptively.

Example:

rtp9513-1-23A-01# conf t

Enter configuration commands, one per line. End with CNTL/Z.

rtp9513-1-23A-01(config)# switchname Test-Name

Test-Name(config)# switchname rtp9513-1-23A-01

rtp9513-1-23A-01(config)# exit

rtp9513-1-23A-01# copy run start

[########################################] 100%

rtp9513-1-23A-01#

Thanks,

Nikhil

View solution in original post

3 Replies 3

Nikhil Sharma
Cisco Employee
Cisco Employee

Hello,

Yes you may rename a switch non-disruptively.

Example:

rtp9513-1-23A-01# conf t

Enter configuration commands, one per line. End with CNTL/Z.

rtp9513-1-23A-01(config)# switchname Test-Name

Test-Name(config)# switchname rtp9513-1-23A-01

rtp9513-1-23A-01(config)# exit

rtp9513-1-23A-01# copy run start

[########################################] 100%

rtp9513-1-23A-01#

Thanks,

Nikhil

Be advised that renaming a switch does generate an RSCN, unless the switch is configured to not do so. By design, the RSCN being generated should cause no impact.

Aijaz Rehman
Level 1
Level 1

Hello Dear All

I have recently done changes ( which is called hostname) there will be no effect while the switches are in production. I would recommend just backup first the switches, then keep record of precious names to be on safe side, if any program is using the name of the switch:

the command is easy for example previous switch name is SWITCH and new name you want Accoutns-2ndFL-SW

the command will be as below

SWITCH# config terminal

SWITCH# hostname Accoutns-2ndFL-SW

Accounts-2ndFL-SW# wr

wr will write means save the configuration if you are on privilege mode command is "wr"  and if you are in configuration mode command is "do wr" 

this way your name is changed

and if you want to save this in flash file if switch restart your configuration will not go then do below command

Accounts-2ndFL-SW # copy running-config startup-config