![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg23.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
31
7
STACKING COMMANDS
The stacking configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
config box_priority current_box_id <value 1–12> priority <value 1–63>
config box_id current_box_id <value 1–12> new_box_id [auto | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12]
show stack_information
config stacking mode [disable | enable] {<string>}
show stacking mode
show stack_device
Each command is listed, in detail, in the following sections.
config box_priority
Purpose Used to configure box priority, which determines which box becomes the priority master.
Lower numbers denote a higher priority.
Syntax
config box_priority {current_box_id <value 1–12> priority <value 1–63>}
Description This command configures box (switch) priority.
Parameters current_box_id <value 1–12> – Identifies the Switch being configured. Range is 1–12.
priority <value 1–63> – Assigns a priority value to the box, with lower numbers having
higher priority. The possible priority range is 1–63. This field is important when the
stacking mode is automatically configured. Users who wish a certain switch become the
primary master of the switch stack should configure their choice for the priority master
switch to have the highest priority (and in essence the lowest number).
Restrictions Only Administrator and Operator-level users can issue this command.
Usage example:
To configure box priority:
DGS–3426:5#config box_priority current_box_id 1 priority 1
Command: config box_priority current_box_id 1 priority 1
Success.
DGS–3426:5#
config box_id
Purpose Used to configure box ID. Users can use this command to reassign box IDs.
Syntax
config box_id {current_box_id <value 1–12> new_box_id [auto | 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | 10 | 11 | 12]}
Description This command will assign box IDs to switches in a stack.
Parameters current_box_id – Identifies the Switch being configured. Range is 1–12.
new_box_id – The new ID being assigned to the Switch (box). Range is 1–12.
• auto – Allows the box ID to be assigned automatically.
Restrictions Only Administrator and Operator-level users can issue this command.