AX2600S Series

Stack Operation Guide(Operation & Maintenance)

Edition 1
Document No. NTS-23-R-002

ALAXALA Networks Corporation

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

Preface
The purpose of this document is to help deepen your understanding of how to use the ALAXALA AX
series stack functionality from operation and maintenance perspective. Please use this document as atechnical supplement to product manuals when operating or maintaining a switch using the stack
functionality.

Related documents

・ AX2600S Series product manuals（https://www.alaxala.com/en/techinfo/manual/#AX2600S）

Notes on using this document
The information in this document is based on the basic operations verified under the environment
specified by ALAXALA Networks Corporation and does not guarantee the operation of functionality,
performance, or reliability under all environment requirements. Please use this document as a supplement
to product manuals. Unless otherwise stated, the OS software version as of the creation of this document
is as follows:
AX2630S
Ver. 2.4
Information in this document is subject to change without notice.

Export restrictions
In the event that any or all ALAXALA products (including technologies, programs and services)
described or contained herein are controlled under any of applicable export control laws and regulations(including the Foreign Exchange and Foreign Trade Law of Japan and United States export control laws
and regulations), such products shall not be exported without obtaining the required export licenses fromthe authorities concerned in accordance with the above laws.

Trademarks
・ The ALAXALA name and logo are trademarks or registered trademarks of ALAXALA Networks
Corporation.
・ Ethernet is a registered trademark of FUJIFILM Business Innovation Corp.
・ Other company and product names in this document are trademarks or registered trademarks of
their respective owners.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

2

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

Contents
1. OPERATION OF STACKS ......................................................................................4
1.1

STACK OPERATION COMMANDS....................................................................................................... 4

1.2

OPERATION COMMANDS ................................................................................................................. 5

1.3

NOTES ON STACK CONFIGURATION ................................................................................................. 5

1.4

CHECKING SWITCH STATUSES AND SWITCH NUMBERS ...................................................................... 6

1.5

SOFTWARE UPDATE PROCEDURES .................................................................................................. 8

1.6

RESTORING A BACKED-UP CONFIGURATION ONLINE ....................................................................... 12

2. STACK MAINTENANCE .....................................................................................14
2.1

BACKUP AND RESTORE OVERVIEW ................................................................................................ 14

2.2

REPLACING A SWITCH .................................................................................................................. 14

2.3

BACKUP AND RESTORE USING MC ............................................................................................... 15

2.3.1

Procedure using operation commands .............................................................................. 15

2.3.2

Using command-free maintenance functionality ............................................................... 18

2.4

CONFIGURATION SETTINGS FOR REPLACEMENT ............................................................................ 22

2.5

COLLECTING INFORMATION ON FAULTS ......................................................................................... 24

2.6

REVERTING TO STANDALONE MODE ............................................................................................. 26

3. REMOTE COMMAND ...........................................................................................27
3.1

WHAT’S REMOTE COMMAND? ....................................................................................................... 27

3.2

HOW TO USE THE REMOTE COMMAND............................................................................................ 27

3.3

COMMANDS SUPPORTING THE REMOTE COMMAND ......................................................................... 28

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

3

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

1. Operation of Stacks
1.1

Stack operation commands

The following table shows the stack operation commands. These operation commands are necessary tooperate stacks.
Commandshow switch [detail]Description
Displays information on a stack member switch or
the status summary of such a switch. To display
detailed information, add the option <detail>. This
command is valid for a member switch running in astack.
Changes the number of a stack member switch.
This command is used to change a switch mode
from standalone to stack, or vice versa. To apply
this mode change, restart the switch. If a switch isrestarted without specifying stack enable byconfiguration command, its number changes to 1.

set switch

Connects to the member switch you specified when
configuring a stack. You can edit configurations orexert operation commands by logging into themaster switch from the backup switch.

sessioncp <file 1> switch <switch no.> <file 2>
Copying a file from your switch to the specified switch

cp switch <switch no.> <file 1> <file 2>
Copying a file from the specified switch to your switch

remote command

Copies a file from internal flash memory to themember switch of a specified switch number, or fromthe member switch of a specified switch number tothe internal flash memory of your member switch.
This command is used to copy a software image fileor fault dump file.
In a stack configuration, this command executes anoperation command from the master switch to thespecified member switch.
You can also use this command to execute an
operation command for each member switch.
Outputs detailed event trace information andcontrol table information collected by stack
management program to a file. This command isused to collect dumps (e.g., fault dumps).
The storage directory and the name of the output
dump file are as follows:

dump stack

Storage directory: /usr/var/stack/ Output
file name: stack_dump.gz

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

4

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

1.2

Operation commands

The table below shows the major operation commands used in a stack.
Type
Show

Command

TargetRemarks

show version
show system

All member
switches(batch operation)

show interfaces
show port
Operation

reload switch <switch no.>A specified member
switch

ppupdate switch <switch no.>A specified member
switchactivate / inactivate
clear logging switch <switch no.>clear counters
MaintenanceA specified member
switchrestore switch <switch no.>A specified member
switchFile
operation

switch<switchNot possible to execute
this command from the
backup switch.

A specified physicalport
A specified member
switchAll member switches

backup switch <switch no.>show tech-support
no.>dump stack

Possible to specify aphysical port as an option.
Possible to specify aphysical port as an option.

Not possible to execute
this command from the
backup switch.
Not possible to execute
this command from the
backup switch.

A specified member
switchAll member switches
A specified member
switch
A local switch

cp
mv /rm , ls / dir# Basically, you must execute these commands from a master switch. If a member switch is not specified,commands are executed only on a local switch.

1.3

Notes on stack configuration

In a stack, all member switches operate using the same configuration. When configuring a stack, you
can edit or display a running configuration only on the master switch (not on the backup switch).
When editing or displaying a configuration from the backup switch, connect to the master switch by
the ”session” command.

Running configuration
Edit
Display

Copyright © 2023,

Master switch
Possible
Possible

ALAXALA Networks Corporation. All rights reserved.

Backup switch
Will be possible by using the“session” command.

5

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

1.4

Checking switch statuses and switch numbers

As shown below, there are two ways for checking switch statuses and switch numbers.

 Check on display panels
You can check the switch status by LED on the front panel. Note that the AX2600S Series switches
do not have a switch number on their display panels.

[LED status]

lit in green: running as a master,

lit in orange: a backup

You can check the status of a stack member switch by LED (ST2). When the LED is lit in green, theswitch is running as a master switch. When LED is lit in orange, the switch is running as a backup
switch. For a standalone switch, LED is in power-off state.
LED name
ST2

Switch status
Initial state (standalone)
MasterBackup

LED status
Powered off
Lit in green
Lit in orange# ST2 shows both the status of MC operation mode and the status of a stack member switch.
When MC is installed, ST2 shows the MC status instead of the switch status. For details, see the Hardware Installation
Guide.

 Check via a console
To check the status/number of a master switch via a console, you need to log into the switch. The login
procedure is shown below. To log in from a remote operation terminal using telnet, log into the masterswitch.

(1)Connect to the console and log into the switch.

Connect a cable to the console and log into the member switch.

(2)

From the command prompt, check the switch status (master/backup).

When you are logged into the member switch, the command prompt appears. From the commandprompt, you can check the member switch status (master/backup).
1． Log in. You will see the command prompt.
If the switch you logged into is the master: Only the host name is displayed.

hostname>
If the switch you logged into is the backup: The host name and switch number “02” are displayed
together with the identifier “B”.

hostname-02B>(3)

Use the stack operation command to check the switch number.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

6

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

Use the stack operation command show switch to check the switch number.
1． Use the stack operation command to check the switch number.
# show switch
Date 2023/08/23 10:50:12 JST
Stack status : Enable
Switch No : 1
System MAC Address : 0012.e203.aba0
No Switch status
Model
Machine ID
Priority Ver
1 Master
2630-24t4xw 0012.e203.aba0 10
1
2 Backup
2630-24t4xw 0012.e203.ab20 20
1

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

7

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

1.5

Software update procedures

To update software in a stack configuration, you need to transfer an update file to each member switch
and update the software on it.
The recommended procedure for software update is as follows.

 Recommended update procedure
Master switch(Switch No.1)
Operator

M

Stack link

Backup switch(Switch No.2)
B

k.img

k.img
FTP or MC

Master switch(Switch No.1)
M

Stack link

Backup switch(Switch No.2)

k.img

k.img

B

Automatically copied

UpdateMaster switch(Switch No.1)

Stack linkM

Backup switch(Switch No.2))
B

UpdateBackup switch(Switch No.1)

Stack link

B

Master switch(Switch No.2)
M(1) Prepare an update file in the master switch, and then transfer it to the backup switch.
Use FTP or MC to transfer the software update file to the master switch.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

8

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(2) Update the backup switch.
Execute the update command by specifying the switch number of the backup switch from the masterswitch. The backup switch will be updated after the update file specified is automatically copied tothe ”/usr/var/update” directory in the backup switch.
1． Update the backup switch. After the update confirmation message appears, enter y and then press theEnter key.
# ppupdate switch 2 /usr/var/update/k.img
File transmission start. Please wait.
Switch 2 (Backup)----------------Software update start
Broadcast message from operator@AX26STK (somewhere) (Fri Aug 25 14:32:27 2023):************************************************* UPDATE IS STARTED.
*************************************************
Current version is 2.3.A
New version is 2.4
Automatic reboot process will be run after installation process.
Do you wish to continue? (y/n) y
2． Update will be executed. After the update is successfully completed, the following message will appear. The
backup switch will automatically restart.
Update done.
Broadcast message from operator@AX26STK (somewhere) (Fri Aug 25 14:52:24 2023):************************************************* UPDATE IS FINISHED SUCCESSFULLY.
*************************************************
Connection to switch2 closed by remote host.

3． Use the operation command to confirm that a two-switch stack is established.
# show switch
Date 2023/08/25 15:00:50 JST
Stack status : Enable
Switch No : 1
System MAC Address : 0012.e203.ab20
No Switch status
Model
Machine ID
Priority Ver
1 Master
2630-24t4xw 0012.e203.ab20 10
1
2 Backup
2630-24t4xw 0012.e203.aba0 20
1

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

9AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(3) Update the master switch.
Use the commands shown below.
1． Update the master switch. After the update confirmation message appears, enter y and then press the Enter
key.
# ppupdate /usr/var/update/k.img
Software update start
Broadcast message from operator@AX26STK (somewhere) (Fri Aug 25 15:04:28 2023):************************************************* UPDATE IS STARTED.
*************************************************
Current version is 2.3.A
New version is 2.4
Automatic reboot process will be run after installation process.
Do you wish to continue? (y/n) y
2． Update will be executed. After the update is successfully completed, the following message will appear. The
master switch will automatically restart ( the backup switch will be the master switch).
Update done.
Broadcast message from operator@AX26STK (somewhere) (Fri Aug 25 15:08:15 2023):************************************************* UPDATE IS FINISHED SUCCESSFULLY.
*************************************************(4) Confirm the software version.
Use the operation command to confirm that the software version is updated.
The software update operation ends here.
1． Confirm that the software version is updated.
# show version
Switch 2 (Master)----------------Date 2023/08/25 15:31:05 JST
Model: AX2630S-24T4XW
S/W: OS-L2N Ver. 2.4
H/W: Main board
AX-2630-24T4XW-B [PA026324T4XWS0000LAY007]
Power slot 1 notconnect
Power slot 2 PS-I(AC)Switch 1 (Backup)----------------Date 2023/08/25 15:31:05 JST
Model: AX2630S-24T4XW
S/W: OS-L2N Ver. 2.4
H/W: Main board
AX-2630-24T4XW-B [PA026324T4XWS0000LAY005]
Power slot 1 notconnect
Power slot 2 PS-I(AC) If you do not want to change the location of the master switch

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

10

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

If you do not want to change the location of the master switch even after completing an update, update
the master switch first. In this case, switchover between the master and the backup will occur twice. The
procedure is shown below.
Master switch(Switch No.1)
Operator

M

Stack link

Backup switch(Switch No.2)
k.img

k.img

B

Copy
k.img
FTP or MC

Master switch(Switch No.1)

Stack link

Backup switch(Switch No.2)

M

B

UpdateMaster switch(Switch No.1)

Master / backup
switchover occurs
twice

Stack link

M

B

UpdateUpdate completes with thesame switch kept as themasterMaster switch(Switch No.1)

Stack linkM

Copyright © 2023,

Master switch(Switch No.2)

ALAXALA Networks Corporation. All rights reserved.

Backup switch(Switch No.2)
B

11

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

1.6

Restoring a backed-up configuration online

This section describes how to restore a backed-up configuration online. Since this procedure requires
the restart of all member switches, a temporary communication interruption occurs. The backed-up
configuration must meet the following prerequisites.

 Prerequisites
 No stack port has been changed.
 No switch number has been changed.
 No stack member model has been changed.

Master switch(Switch No.1)

Stack link

Copy the backed-up
configuration tostartup-config andrestart.

Master switch(Switch No.1)

Stack linkM

Backup switch(Switch No.2)
B

Master switch(Switch No.1)

Stack linkM

Backup switch(Switch No.2)
B

Restarted

Master switch(Switch No.1)

Automaticallyrestarted

Stack linkM

(1)

Change the master selection
priority of switch No.2 to 1.

B

M

Operator

Backup switch(Switch No.2)

Backup switch(Switch No.2)

Synchronized with the masterswitch config and restarts as the
backup.

B

Change the master selection priority of the backup switch.

Prepare the backup config file in the master switch, and temporarily change the master selection
priority of the backup switch to 1 by configuration setting.
1． Prepare the backup config file in the master switch.

2. Change the master selection priority of the backup switch (switch No. 2) to 1 and save the new
setting.
(config)# switch 2 priority 1(config)# save

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

12

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(2)

Copy the backed-up config to the startup config.
Copy the backed-up config to the startup config file. Apply this operation only to the master switch.

1． Copy the backup config file to the startup config file.
# copy backup-config.cnf startup-config
Configuration file copy to startup-config? (y/n) y(3)

Restart the master switch.

Use the operation command to restart the master switch. After the master switch restarts, the backup
switch with switch No. 2 will start automatically.
1． Restart the master switch. The backup switch will restart automatically.
# reload no-dump-image –f(4)

Check the stack status and running configuration.

The member switch with switch No. 2 is synchronized with the master switch configuration and restarts
as a backup switch. After the two member switches fully restart, check the status of the stack and its
running configuration.
1． Check the status of the stack and its running configuration.
# show switch# show running-config

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

13

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2. Stack MaintenanceThis chapter describes maintenance work, such as a hardware replacement, which is necessary if amember switch fails or if another problem occurs in a stack configuration.

2.1

Backup and restore overview

The AX series has a backup and restore functionality.
The backup functionality backs up the settings (including configurations), software, and license informationof a running switch. The restore functionality restores the backed-up device information to the switch.
In a stack configuration, the backup and restore functionality makes maintenance work easier by
eliminating the necessity of software version matching and configuration settings when you replace aswitch due to a hardware fault or other problem.
Therefore, when using a stack, you are recommended to save a backup file beforehand by using the
backup functionality.

2.2

Replacing a switch
Master switch(Switch No.1)

Backup switch(Switch No.2)

Stack link

FailureM

B

Replace
Spare switch

When you replace a stack member switch due to a hardware fault, follow the procedure below. Select anappropriate replacement method according to the workflow. The following description assumes replacing a
backup switch. When you replace a master switch due to a port fault or other problem, stop the masterswitch, and perform a master-to-backup switchover beforehand.
A switch goesdown(1) Replacing the switch by
backup/restore function

Yes

Is there a backup file for thefailed switch?

No(2) Replacing the switch byconfiguration setting.

(1) Replacing the switch by backup/restore function
On each member switch, use the MC for backup/restoration. This method is recommended because
it makes maintenance work easier. Command-free maintenance functionality is also available.
For details, see 2.3 Backup and Restore Using MC.

(2) Replacing the switch by configuration setting
If there is no backup file, it is necessary to match the software version between the spare switch andthe other member switches and to configure stack-related settings.
For details, see 2.4 Configuration Settings for Replacement.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

14

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2.3

Backup and Restore Using MC

2.3.1 Procedure using operation commands
This section describes how to back up and restore switch information using operation commands onan operation management terminal.
During operation
Master switch(Switch No.1)
Operator

Backup procedure
Stack link

Backup 1

M

Backup switch(Switch No.2)
Backup 2

1.
B

2.

Failure occurred
Master switch(Switch No.1)

Insert MC into the master andbackup switches.
Save a backup file to each MC.

Restore procedure
Stack link

Backup switch(Switch No.2)
Failure

M

1.
2.

B

Insert the faulty switch’s MC to aspare switch.
Perform restore operation on thespare switch.

Spare switch
Perform restore operation on thespare switch. At this stage, do notconnect stack cables to the spare
switch.

Operator

Switch replacement
Master switch(Switch No.1)

Stack link

Backup 2

Stacking procedure
1.

Spare switch
B

M
Restart the spare switch
after connecting stack
cables to it.

Replace2.
3.

After completing the restore, stop thespare switch.
Connect stack cables to the spare
switch.
Restart the spare switch.

 Backup procedure
In a stack configuration, when you perform the backup operation using operation commands, do thisfrom the master switch.

(1) Insert MC into the master and backup switches.
Insert MC into the master switch and the backup switch.

(2) Save a backup file to the master switch’s MC.
Use the operation command backup to save a backup file to the master switch’s MC.
1． Log into the master switch and use backup to save a backup image file to the master switch’s MC.
# backup mc sw1_backup.dat
2． After the backup completes, confirm that the backup file is in the MC.
# ls mc-dir

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

15

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(3) Save a backup file to the backup switch’s MC.
Use the operation command backup to save a backup file to the backup switch’s MC.
1． Log into the master switch and use backup switch to save a backup file to the backup switch’s MC.
# backup switch 2 mc sw2_backup.dat

2． After the backup completes, confirm that the backup file is in the MC.
# remote command 2 ls mc-dir

 Restore procedure(1) Save a backup file of the target switch number to MC.
Save a backup file of the switch you want to replace to MC.

(2) Insert the above MC to a spare switch and perform restore operation.
When the spare switch is up and running, insert the MC and perform restore operation by using theoperation command (see the below example). The command will restore operation information including
software and config information, and the switch will restart automatically.
1． Perform restore operation using a backup file of the target switch number by specifying MC in the operationcommand.
# restore mc sw2_backup.dat
Restore information from MC (sw2_backup.dat).
Copy file from MC...
Restore software.
***************************************************************
Warning: After restore software, it is rebooted automatically.
***************************************************************
Software update start
Broadcast message from operator@ (somewhere) (Tue Aug 29 07:55:50 2023):************************************************* UPDATE IS STARTED.
*************************************************
Current version is 2.4
New version is 2.4
100% |************************************************| 88399 KiB
00:00 ETA

1.99 MiB/s

Update done.
Broadcast message from operator@ (somewhere) (Tue Aug 29 07:56:34 2023):************************************************* UPDATE IS FINISHED SUCCESSFULLY.
*************************************************

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

16

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(3) Stop the spare switch, establish stack links, and restart the switch.
After the restart completes, stop the spare switch by powering it off. The purpose of this stop is toprevent switchover between the master switch and the backup switch.
1．

After the restart completes, stop the spare switch.
# reload stop –f no-dump-image

2． Establish stack links and restart the spare switch.
3． Confirm that the member switch No. 2 is running as the backup switch in a two-switch stack configuration.
# show switch

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

17

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2.3.2 Using command-free maintenance functionality
The command-free maintenance functionality allows you to perform maintenance simply by insertingan MC containing a maintenance script file# into the switch without using an operation terminal.
This command-free functionality can also be used in a stack configuration to back up and restore
switch information. This section describes the two procedures for using the command-freemaintenance functionality; that is, (1) using both a backup script and a restore script, and (2) using ascript that performs backup and restore alternately.
#: For information about how to use script files for the command-free maintenance functionality, contact your
distributor.

(1) Using both a backup script and a restore script
During operation
Backup procedure
Master switch(Switch No.1)

Stack link

Backup switch(Switch No.2)
B

M

ax_backup

1. Save the ax_backup script into an MC.
2. Insert the MC into a switch.
3. A backup file is created in the MC. Keep thisMC.

ax_backup

Failure occurred
Master switch(Switch No.1)

Stack link

Backup switch(Switch No.2)
FailureM

Restore procedureB

1. Save the ax_restore script into the above MC.
2. Insert the MC into a spare switch.

Spare switch
Restore is performed on thespare switch. At this stage, do
not connect stack cables to thespare switch.

Switch replacement
Master switch(Switch No.1)

ax_restore

Stack link

Stacking procedure
Spare switch
B

M
Restart the spare switch
after connecting stack
cables to it.

Restarts as a
backup switch

1.
2.
3.

After completing the restore, stop the spare
switch.
Connect stack cables to the spare switch.
Restart the spare switch.

 Backup procedure(1) Save a backup script into MC.
Save the backup script ax_backup into the /ax_mente directory of the MC. Do not place any otherscripts in the /ax_mente directory.

(2) Insert MC into each member switch and create a backup file in each MC.
Insert MC into each member switch. In a stack, each member switch has its own unique number.
Therefore, you need to create a backup file on each member switch.
After the ST2 status lamp of the switch’s LED turns off, remove the MC from the slot. A backup image
file is saved in the / directory of the MC as an MMMM_yyyymmdd_backup_n.dat (in which, MMMM:
host name, yyyy: year, mm: month, dd: day, and n: serial number within the MC).
# The backup image files created in the member switches all have the same file name. It is

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

18

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)
recommended that you attach a tab to each MC so that you can find a backup image file of thetarget switch more easily.

 Restore procedure(1) Save a restore script into MC.
Save the restore script ax_restore into the /ax_mente directory of the MC. Do not place any otherscripts in the /ax_mente directory.

(2) Change the name of a backup image file.
Change the name of the backup image file saved in MC from MMMM_yyyymmdd_backup_n.dat toax_backup.dat.

(3) Insert MC into a spare switch and perform restore operation.
When the spare switch is turned on and is up and running, insert the MC and perform restore operation.
After the ST2 status lamp of the switch’s LED turns off, remove the MC from the slot. The spare switch
restarts automatically to complete the restore.
1．

Before connecting a cable to the spare switch, insert MC into its slot.

2．

After the ST2 lamp of LED turns off, remove the MC from the slot.

3．

The spare switch automatically restarts in 30 to 60 seconds to complete the restore.

(4) Stop the spare switch, establish stack links, and restart the switch.
After the restart completes, stop the spare switch by powering it off. The purpose of this stop is toprevent switchover between the master switch and the backup switch.
1．

After the restart completes, stop the spare switch by powering it off. This prevents switchover between themaster and backup switches.

2． Establish stack links between the member and spare switches.
3．

Turn the spare switch on to recover the stack configuration.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

19

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(2) Using a backup / restore script
The script ax_bkrs performs backup and restore. When there is no backup image file, the script
performs backup operation. On the other hand, when there is a backup image file, the script performs
restore operation.

During operation
Backup procedure
Master switch(Switch No.1)

Stack link

Backup switch(Switch No.2)
BM

ax_bkrs

1.
2.
3.

Save the ax_bkrs script into an MC.
Insert the MC into a switch.
A backup file is created in the MC. Keepthis MC.

ax_bkrs

Failure occurred
Master switch(Switch No.1)

Restore procudure
Stack link

FailureM

Insert the above MC (make sure that the MCcontains the ax_bkrs script) into a spare
switch.

Backup switch(Switch No.2)
B

Spare switch
Restore is performed on thespare switch. At this stage,
do not connect stack cables
to the spare switch.

Switch replacement
Master switch(Switch No.1)

ax_bkrs

Stack link

Stacking procedure
Spare switch

1.
B

M
Restart the spare switch
after connecting stack
cables to it.

Replacement
completed

2.
3.

After the restore completes, stop the spare
switch.
Connect stack cables to the spare switch.
Restart the spare switch.

 Backup procedure(1) Save a backup / restore script into MC.
Save the backup / restore script ax_bkrs into the /ax_mente directory of the MC. Do not place anyother scripts in the /ax_mente directory.

(2) Insert MC into each member switch and create a backup file.
Insert MC into each member switch. In a stack, each member switch has its own unique number.
Therefore, you need to create a backup file on each member switch.
After the ST2 status lamp of the switch’s LED turns off, remove the MC from the slot. A backup image
file is saved in the / directory of the MC as a backup.dat.
# The backup image files created in the member switches all have the same file name. It is
recommended that you attach a tab to each MC so that you can find a backup image file of thetarget switch more easily.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

20

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

 Restore procedure(1) Confirm that a backup image file is saved in MC
Confirm that the backup image file ax_backup.dat is saved in the / directory of the MC you used
for backup procedure.

(2) Insert MC into a spare switch and perform restore operation.
When the spare switch is turned on and is up and running, insert the MC and perform restore operation.
After the ST2 status lamp of the switch’s LED turns off, remove the MC from the slot. The spare switch
restarts automatically to complete the restore.
1.

Before connecting a cable to the spare switch, insert MC into its slot.

2.

After the ST2 lamp of LED turns off, remove the MC from the slot.

3.

The spare switch automatically restarts in 30 to 60 seconds to complete the restore.

(3) Stop the spare switch, establish stack links, and restart the switch.
After the restart completes, stop the spare switch by powering it off. The purpose of this stop is toprevent switchover between the master switch and the backup switch.
1.

After the restart completes, stop the spare switch by powering it off. This prevents switchover between themaster and backup switches.

2.

Establish stack links between the member and spare switches.

3.

Turn the spare switch on to recover the stack configuration.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

21

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2.4

Configuration Settings for Replacement

If no switch information is backed up with the backup functionality beforehand, you need to manuallymatch the software version and license information of the spare switch with those of the other member
switch and configure stack-related settings.

(1) Check the option license and software of switches.
To add a spare switch to a stack configuration, the spare switch must have the same software version
and license information as those of the other member switch. Otherwise, you need to manually matchthem.

(2) Update the software and license information of the spare switch.
Update the software / license information of the spare switch if it differs from that of the running member
switch.
1．

Update the software of the spare switch to match it with the software version of the other member switch.
# ppupdate /usr/var/update/k.img

2．

Match the license information of the spare switch with that of the other member switch.
# set license key-code 0123-4567-89ab-cdef-0123-4567-89ab-cdef(3) Set the spare switch in single-switch stack mode.
For the spare switch, set a switch number, disable Zero Touch Provisioning (#), and set stackenable. After that, restart the spare switch so that it will enter the single-switch stack mode.
# Zero Touch Provisioning and the stack functionality cannot be used together. Therefore, you need to disable
Zero Touch Provisioning in a stack.
1．

Use the operation command to set the switch number. In this example, switch number 2 is specified.
# set switch 2

2．

Use the configuration command to disable Zero Touch Provisioning.
(config)# no system zero-touch-provisioning

3．

Use the configuration command to set stack enable.
In response to the message confirming the configuration change, enter y.
(config)# stack enable
After this command execute, please save configuration editing now in startupconfig, and please reboot a device.
Do you wish to continue ? (y/n): y4．

Save the configuration and return to administrator mode.
(config)# save
(config)# exit

5．

Restart the spare switch. After restarting, the spare switch runs as switch No. 2.
# reload no-dump-image -f

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

22

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)(4) Configure the settings needed for a stack.
Specify stack ports and set the master selection priority to prevent master/backup role switchover.
1．

Specify the Ethernet stack ports of the spare switch.
(config)# interface range tengigabitethernet 2/0/29-30(config-if-range)# switchport mode stack(config-if-range)# exit2．

Set the master selection priority to 1 to prevent master/backup role switchover.
(config)# switch 2 priority 1

3．

Save the configuration and return to administrator mode.
(config)# save
(config)# exit

(5) Connect the stack ports to form a two-switch stack.
Connect the stack ports of the spare switch and those of the running member switch to form a twoswitch stack.
1．

Connect the stack ports of the spare switch and those of the running member switch.

2．

As the spare switch is set to the master selection priority 1, it automatically restarts as a backup switch.
After that, the spare switch will automatically reboot itself to sync with the configuration of the master switch.

3．

Make sure that the switches are running in a two-stack configuration.
# show switch detail

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

23

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2.5

Collecting information on faults

This section describes how to collect information on faults in a stack configuration.

 Collecting dump information on faults(1) Check whether there are dump files.
If there are dump files of the member switches, collect them from the specified directories of the masterand backup switches.
1．

Check whether there are dump files.

# show dumpfile
Switch 1 (Master)----------------Date 2023/08/23 10:56:57 JST[/dump0]:
File NamermdumpDate2023/02/14 06:10:31
Version
2.3.A
Serial No
PA026324T4XWS0000LAY001
FactorUser operation[/usr/var/hardware]:No dump file.
Switch 2 (Backup)----------------Date 2023/08/23 10:56:56 JST[/dump]:File Name
osdumpDate2023/02/16 20:25:22
マスタスイッチと同じファイル
Version
2.3.A
名のため，上書きに注意。
Serial No
PA026324T4XWS0000LAY005
FactorUser operation
File Name
Date
Version
Serial No
Factorrmdump2023/02/16 20:24:54
2.3.A
PA026324T4XWS0000LAY005
User operation[/usr/var/hardware]:No dump file.

(2) Copy dump files to the master switch.
If there are dump files in the backup switch, copy them to the master switch. Change the names of thecopied dump files by adding the master switch’s switch number to each of them.
1．

Copy the dump file of the master switch (switch No.1) and rename the file.
# cp /dump0/rmdump sw1_rmdump

2．

Copy the dump file of the backup switch (switch No.2) to the master switch and rename the file.
# cp switch 2 /dump0/rmdump sw2_rmdump(3) Copy the collected dump files to MC or transfer them to your FTP server(4) Copy the collected dump files to MC or transfer them to your FTP server.
(5) .

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

24

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

 Collecting show tech-support information(1)

Execute the show tech-support command for each member swtch.

Collect show tech-support information of the master and backup switches by using the remotecommand specified with all (collected by batch processing).
1． Redirect show tech-support information of all member switches by remote command with all.
# remote command all show tech-support > stack_show-tech.txt

Note: The show tech-support information is saved under the current directory of the master switch.

(2) Copy the collected information to MC or transfer it to your FTP server.
Copy the collected show tech-support information to MC or transfer it to your FTP server.

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

25

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

2.6

Reverting to Standalone Mode

This section describes how to revert a stack member switch to standalone mode.
Follow the procedure below if you want to convert a stack member switch into a standalone switch.

(1)

Remove cables from the target member switch.

To prevent a loop, remove all cables (including stack cables) from the target member switch.

(2)

Delete the startup configuration and restart.

Delete the startup configuration by operation command and then restart the target switch (the switch will
start up in standalone mode).
1．

Use the erase startup-config command to delete the startup configuration.
# erase startup-config
Do you wish to erase startup-config? (y/n): y2．

Restart the target switch.
# relaod no-dump-image -f

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

26

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

3. Remote Command
3.1

What’s remote command?

The remote command is unique to a stack. In a stack, the remote command is used to execute
operations from the master switch to the specified member switch.
For example, you can perform file operation by using a file operation command (e.g., ls,dir,mv,rm)
with the remote command. See section 3.3 for a list of commands that can be used with the remotecommand.
Master switch(Switch No.1)

Console cable

Stack link

Backup switch(Switch No.2)

Command execution# remote command 2 show system#：：
Operator

3.2

How to use the remote command

An example of using the remote command is shown below. Following the remote command, specify (1)a specific member switch or (2) all member switches, and then enter a relevant command from a list ofcommands shown in section 3.3 after. Note that the remote command can be executed only from the masterswitch.
1． Specify switch no. or all. Then, enter a relevant command (available command types: show command,
operation command, maintenance command, file operation command).
# remote command [<switch no.> | all] <command>2.

Example of obtaining the system information of Switch 2# remote command 2 show system
Switch 2 (Backup)----------------Date 2023/08/23 11:08:28 JST
System: AX2630S-24T4XW, OS-L2N Ver.2.3.A
Node : Name=AX26STK
Contact=
Locate=Elapsed time : 39days 20:48:05
Chassis MAC address : 0012.e203.ab20
MC Configuration mode : disabled
Zero-touch-provisioning status : disabled(no configuration)
Power redundancy-mode(redundancy-check) : disabledPower redundancy-mode(combined) : disabled
PS1 : notconnect
PS2 : active：

Copyright © 2023,

ALAXALA Networks Corporation. All rights reserved.

27

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

3.3

Commands supporting the remote command

Below is a list of commands that can be used with the remote command (remote command).
Command typeshow command

Operation command

Maintenance command

Copyright © 2023,

Command nameshow systemshow version
show licenseshow interfaces
show portshow switch
show environment
Show channel-group statistics
show access-filter
show qos-flow
show qos queueing
show cpu
show processes
show sessions (who)show powershow mc
show flash
show memory
show dumpfile
show netstat
show logging
show logging console
ppupdate
activate
inactivate
format mc
set license
set exec-timeout
set terminal help
set terminal pager
set logging console
clear logging
clear counters
clear access-filter
clear qos-flow
clear qos queueing
clear control-counter
erase license
erase dumpfile
restart link-aggregation
restart vlan
restart spanning-tree
restart ntp
restart gsrp
restart efmoam
restart loop-detection
killusershow tech-support
backuprestoredump stackdump protocols link-aggregation
dump protocols vlan

ALAXALA Networks Corporation. All rights reserved.

28

AX2600S Series Stack Operation Guide (Operation & Maintenance) (Edition 1)

File operation command

Copyright © 2023,

dump protocols spanning-tree
dump protocols gsrp
dump protocols efmoam
dump protocols loop-detection
hexdump
ls
dir
cat
cp
mkdir
mv
rm
rmdir
deleteundeletesqueeze
diff
grep
tail
df
du

ALAXALA Networks Corporation. All rights reserved.

29

First edition issued, September 2023
Document No. NTS-23-R-002
Network Technical Support
ALAXALA Networks Corporation
Shin-Kawasaki Twin Tower (West Tower),
1-1-2 Kashimada, Saiwai-ku, Kawasaki-shi,
Kanagawa 212-0058, JAPANhttps://www.alaxala.com/en/