Option Steps
Create the backup configuration file by modifying the
file from another switch
1. Connect to your switch remotely using SSH as
shown in the following example:
ssh admin@<switch_IP_address
2. Enter Configuration mode as shown in the
following example:
switch > enable
switch # configure terminal
3. Upload a text-based configuration file from the
switch to an external server as shown in the
following example:
switch (config) #
switch (config) # configuration
text file my-filename upload
scp://root@my-
server/root/tmp/my-filename
4. Modify the following fields in the text file to match
the faulty switch:
## Network interface
configuration
##
no interface mgmt0 dhcp
Ê interface mgmt0 ip address
XX.XXX.XX.XXX /22
##
## Other IP configuration
##
Ê hostname oldhostname
Remove the faulty switch and install the replacement
Perform the steps to remove the faulty switch and the install the replacement.
Steps