Page 646 / 757 Scroll up to view Page 641 - 645
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
642
DGS-3627:admin# config snmp engineID 1023457890
Command: config snmp engineID 1023457890
Success.
DGS-3627:admin#
show snmp engineID
Purpose
This command is used to display the identification of the SNMP engine on the switch.
Syntax
show snmp engineID
Description
The show snmp engineID command displays the identification of the SNMP engine on the
switch. The default value is suggested in RFC2271. The very first bit is 1, and the first four
octets are set to the binary equivalent of the agent’s SNMP management private enterprise
number as assigned by IANA, D_Link is 171. The fifth octet is 03 to indicates the rest is the
MAC address of this device. The 6th –11th octets is MAC address.
Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
Parameters
None.
Restrictions
None.
Example usage:
To show SNMP engine ID:
DGS-3627:admin# show snmp engineID
Command: show snmp engineID
SNMP Engine ID : 1023457890
DGS-3627:admin#
Page 647 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
643
84
STACKING COMMANDS
Stacking protocol is a special communication mechanism between devices. It is responsible for allowing multiple devices
to combine together, working in the same configuration. To users, these devices work as a whole.
Stacking devices can provide more network bandwidth and reliability for users. A device down will not influence other
devices in the same stacking topology.
The Stacking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
config stacking_mode
[disable | enable]
show stacking_mode
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 | <value 1- 12>
show stack_information
show stack_device
config stacking force_master_role
state
[enable | disable]
Each command is listed, in detail, in the following sections.
config stacking_mode
Purpose
Used to configure the stacking mode.
Syntax
config stacking_mode [disable | enable]
Description
The config stacking_mode command configures the state of the stacking function. By default
stacking mode is disabled. Administrators need to specifically configure the stacking mode to
make the switch stackable. The user can only change the stacking mode when the Switch is
operating in standalone mode.
Parameters
stacking_mode
- Used to enable or disable the switch’s stacking capability.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable stacking mode:
DGS-3627:admin# config stacking_mode enable
Command: config stacking_mode enable
Changing the stacking mode may cause the device to restart. Do you still want to
continue?(y/n)
y
Please wait, the switch is rebooting...
Page 648 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
644
show stacking_mode
Purpose
Used to display the current stacking mode.
Syntax
show stacking_mode
Description
The show stacking_mode command displays the current stacking mode.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To display the stacking mode:
DGS-3627:admin# show stacking_mode
Command: show stacking_mode
Stacking mode
: Enabled
DGS-3627:admin#
config box_priority
Purpose
Used to configure the box priority of the switch.
Syntax
config box_priority current_box_id <value 1-12> priority <value 1-63>
Description
The config box_priority command configures the box priority of the switch, which determines
the box that will become the master. A lower number means a higher priority. The new
priority will take effect after the user reboots the switch.
Parameters
current_box_id
- Specifies the switch being configured. The range is 1-12. For example, for
the DGS34xx series the ID is 12; for the DGS36xx series the priority is 8.
priority
- Specifies the priority assigned to the box, with a lower number meaning a higher
priority. The range is 1-63.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the box priority of the Switch to have an ID of 1 and a priority value of 1:
DGS-3627:admin# config box_priority current_box_id 1 priority 1
Command: config box_priority current_box_id 1 priority 1
Success.
DGS-3627:admin#
config box_id
Purpose
Used to configure the 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 | <value 1- 12>]
Description
The config box_id command configures the box ID. By default, the box ID is automatically
assigned by the system based topology election results. Administrators can assign box IDs
statically. The new box ID will take effect after the unit reboots. Each unit in the Switch stack
must have a unique box ID. If there are duplicate IDs, the stack system will not stack
properly.
Page 649 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
645
config box_id
Parameters
current_box_id
- Specifies the switch being configured. The parameter range is 1-12. For
example, for the DGS34xx series the ID is 12; for the DGS36xx series the ID is 8.
new_box_id
- Specifies the new ID that will be assigned to the box. The parameter range is
1-12.
auto
- Allows the box ID to be assigned automatically by the stack system. The new box ID
will take effect after the next reboot.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the Switch that has a current box ID of 1 to have an automatic ID assigned by the Switch:
DGS-3627:admin# config box_id current_box_id 1 new_box_id auto
Command: config box_id current_box_id 1 new_box_id auto
Success.
DGS-3627:admin#
show stack_information
Purpose
Used to display the stack information.
Syntax
show stack_information
Description
The show stack_information command displays stacking information.
Parameters
None.
Restrictions
None.
Example usage:
To display the stack information:
Page 650 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
646
DGS-3627:admin# show stack_information
Command: show stack_information
Topology
:Duplex_Chain
My Box ID
:3
Master ID
:3
Box Count
:1
Force Master Role: Enable
Box
User
Prio-
Prom
Runtime
H/W
ID
Set
Type
Exist rity
MAC
Version
Version
Version
---
---- ---------- ----- ---- ------------------ ---------- --------- --------
1
-
DGS-3627
No
2
-
NOT_EXIST
No
3
User DGS-3627
Exist
0
00-00-11-33-66-33
1.00.B007
2.00.B033 A1
4
-
NOT_EXIST
No
5
-
NOT_EXIST
No
6
-
NOT_EXIST
No
7
-
NOT_EXIST
No
8
-
NOT_EXIST
No
DGS-3627:admin#
show stack_device
Purpose
Used to display information about the devices in the stack.
Syntax
show stack_device
Description
The show stack_device command displays stack device information.
Parameters
None.
Restrictions
None.
Example usage:
To display the stack device information:
DGS-3627:admin# show stack_device
Command: show stack_device
Box ID
Box Type
H/W Version
Serial Number
-------
---------------
------------
----------------
1
DGS-3627
0A1
1234567890123
3
DGS-3627
0A1
2345678901234
DGS-3627:admin#
config stacking force_master_role
Purpose
This command is used to configure the stacking force master role state.
Syntax
config stacking force_master_role state [enable | disable]
Description
This command is used to ensure the master role is unchanged when new device add to

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top