CLI Guide
Page 6
... the Switch via an RJ-45 to display the CLI input cursor DGS-3620-28SC:admin#. DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. This manual provides a reference for the networking professional. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using the Command...
... the Switch via an RJ-45 to display the CLI input cursor DGS-3620-28SC:admin#. DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. This manual provides a reference for the networking professional. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using the Command...
CLI Guide
Page 7
.... Alternatively, you can change the default Switch IP address to the Switch's Telnet or Web-based management agent DGS-3620-28SC:admin# config ipif System ipaddress 10.24.22.100/255.0.0.0 Command: config ipif System ipaddress 10.24.22...address to be assigned to the IP interface named System and the y's represent the corresponding subnet mask. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1-2 Setting the Switch's IP Address Each Switch must be .... shown below. The IP address for the Switch must be known. DGS-3620-28SC:admin# 2
.... Alternatively, you can change the default Switch IP address to the Switch's Telnet or Web-based management agent DGS-3620-28SC:admin# config ipif System ipaddress 10.24.22.100/255.0.0.0 Command: config ipif System ipaddress 10.24.22...address to be assigned to the IP interface named System and the y's represent the corresponding subnet mask. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1-2 Setting the Switch's IP Address Each Switch must be .... shown below. The IP address for the Switch must be known. DGS-3620-28SC:admin# 2
CLI Guide
Page 8
... the above example, the Switch was assigned an IP address of 10.24.22.100 with the message, Next possible completions:. DGS-3620-28SC:admin#config account Command: config account Next possible completions: DGS-3620-28SC:admin# In this feature, and complex commands have several layers of 255.0.0.0. The CLI will display a list of all of...
... the above example, the Switch was assigned an IP address of 10.24.22.100 with the message, Next possible completions:. DGS-3620-28SC:admin#config account Command: config account Next possible completions: DGS-3620-28SC:admin# In this feature, and complex commands have several layers of 255.0.0.0. The CLI will display a list of all of...
CLI Guide
Page 9
... is unrecognized by repeatedly pressing the Tab key. This is the next parameter. For example, entering the show telnet upload DGS-3620-28SC:admin# cable_diag clear debug disable format move rd reset traceroute cd config del download login no additional parameters, the CLI will...optional parameters or a choice of the possible next parameters. DGS-3620-28SC:admin#show what? To re-enter the previous command at the command prompt. DGS-3620-28SC:admin# config account Command: config account Next possible completions: DGS-3620-28SC:admin# config account In the above example, the command ...
... is unrecognized by repeatedly pressing the Tab key. This is the next parameter. For example, entering the show telnet upload DGS-3620-28SC:admin# cable_diag clear debug disable format move rd reset traceroute cd config del download login no additional parameters, the CLI will...optional parameters or a choice of the possible next parameters. DGS-3620-28SC:admin#show what? To re-enter the previous command at the command prompt. DGS-3620-28SC:admin# config account Command: config account Next possible completions: DGS-3620-28SC:admin# config account In the above example, the command ...
CLI Guide
Page 11
... specified. braces { } parentheses ( ) Encloses an optional value or a list of required arguments. DO NOT TYPE THE VERTICAL BAR. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# In the above example, all of the possible next parameters for when entering the command. DO NOT TYPE THE SQUARE...
... specified. braces { } parentheses ( ) Encloses an optional value or a list of required arguments. DO NOT TYPE THE VERTICAL BAR. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# In the above example, all of the possible next parameters for when entering the command. DO NOT TYPE THE SQUARE...
CLI Guide
Page 15
...admin dlink Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS-3620-28SC:admin# To create the User-level user "System": DGS-3620-28SC:admin##create account user System Command: create account user System Enter a case-sensitive new password:**** ...case-sensitive. The length of a password in plain-text form and encrypted form are different. DGS-3620-28SC:admin# To create the Operator-level user "Sales": DGS-3620-28SC:admin##create account operator Sales Command: create account operator Sales Enter a case-sensitive new password:**** ...
...admin dlink Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS-3620-28SC:admin# To create the User-level user "System": DGS-3620-28SC:admin##create account user System Command: create account user System Enter a case-sensitive new password:**** ...case-sensitive. The length of a password in plain-text form and encrypted form are different. DGS-3620-28SC:admin# To create the Operator-level user "Sales": DGS-3620-28SC:admin##create account operator Sales Command: create account operator Sales Enter a case-sensitive new password:**** ...
CLI Guide
Page 16
DGS-3620-28SC:admin# 2-3 disable password encryption Description The user ...stored in the configuration file. Format enable password encryption Parameters None. Example To enable password encryption: DGS-3620-28SC:admin#enable password encryption Command: enable password encryption Success. Restrictions Only Administrator-level users can be ...the password will be in encrypted form when it is stored in the configuration file. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-2 enable password encryption Description The user account...
DGS-3620-28SC:admin# 2-3 disable password encryption Description The user ...stored in the configuration file. Format enable password encryption Parameters None. Example To enable password encryption: DGS-3620-28SC:admin#enable password encryption Command: enable password encryption Success. Restrictions Only Administrator-level users can be ...the password will be in encrypted form when it is stored in the configuration file. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-2 enable password encryption Description The user account...
CLI Guide
Page 17
...length is case-sensitive. - Example To disable password encryption: DGS-3620-28SC:admin#disable password encryption Command: disable password encryption Success. plain_text - Specify the password. Specify the name of the "dlink" account: DGS-3620-28SC:admin#config account dlink Command: config account dlink Enter a ...old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** 12 DGS-3620-28SC:admin# 2-4 config account Description When the password information is present in the encrypted form. If the password is not...
...length is case-sensitive. - Example To disable password encryption: DGS-3620-28SC:admin#disable password encryption Command: disable password encryption Success. plain_text - Specify the password. Specify the name of the "dlink" account: DGS-3620-28SC:admin#config account dlink Command: config account dlink Enter a ...old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** 12 DGS-3620-28SC:admin# 2-4 config account Description When the password information is present in the encrypted form. If the password is not...
CLI Guide
Page 18
... 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. Example To display accounts that have been created: DGS-3620-28SC:admin#show account Command: show account Parameters None. DGS-3620-28SC:admin# To configure the user password of the "administrator" account: DGS-3620-28SC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg...
... 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. Example To display accounts that have been created: DGS-3620-28SC:admin#show account Command: show account Parameters None. DGS-3620-28SC:admin# To configure the user password of the "administrator" account: DGS-3620-28SC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg...
CLI Guide
Page 19
...System Success. Example To display accounts a list of currently logged-in to display a list of the user who will be deleted. DGS-3620-28SC:admin# 2-7 show session Description This command is used to CLI sessions. Restrictions Only Administrator-level users can issue this command. Restrictions ...Only Administrator and Operator-level users can issue this command. Specify the name of current users which are logged in users: DGS-3620-28SC:admin#show session Command: show session Parameters None. Format show session ID Live Time From Level 8 23:37:42.270 Serial...
...System Success. Example To display accounts a list of currently logged-in to display a list of the user who will be deleted. DGS-3620-28SC:admin# 2-7 show session Description This command is used to CLI sessions. Restrictions Only Administrator-level users can issue this command. Restrictions ...Only Administrator and Operator-level users can issue this command. Specify the name of current users which are logged in users: DGS-3620-28SC:admin#show session Command: show session Parameters None. Format show session ID Live Time From Level 8 23:37:42.270 Serial...
CLI Guide
Page 20
...ESC q Quit SPACE n Next Page p Previous Page r Refresh 2-8 show switch Parameters None. Example To display the switch information: DGS-3620-28SC:admin#show switch Command: show switch Device Type MAC Address IP Address VLAN Name Subnet Mask Default Gateway Boot PROM Version Firmware Version ...Hardware Version Firmware Type Serial Number System Name System Location System Uptime System Contact Spanning Tree GVRP IGMP Snooping MLD Snooping RIP RIPng DVMRP : DGS-3620-28SC Gigabit Ethernet Switch : 00-01-02-03-04-00 : 10.90.90.90 (Manual) : default : 255.0.0.0 : 0.0.0.0 : Build 1.00....
...ESC q Quit SPACE n Next Page p Previous Page r Refresh 2-8 show switch Parameters None. Example To display the switch information: DGS-3620-28SC:admin#show switch Command: show switch Device Type MAC Address IP Address VLAN Name Subnet Mask Default Gateway Boot PROM Version Firmware Version ...Hardware Version Firmware Type Serial Number System Name System Location System Uptime System Contact Spanning Tree GVRP IGMP Snooping MLD Snooping RIP RIPng DVMRP : DGS-3620-28SC Gigabit Ethernet Switch : 00-01-02-03-04-00 : 10.90.90.90 (Manual) : default : 255.0.0.0 : 0.0.0.0 : Build 1.00....
CLI Guide
Page 21
Restrictions None. Example To display the switch hardware status: DGS-3620-28SC:admin#show environment Description This command is used to display the device's internal and external power and internal temperature status. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PIM : Disabled PIM6 : ...Prevention State : Enabled Syslog Global State : Disabled Single IP Management : Disabled Password Encryption Status : Disabled DNS Resolver : Disabled DGS-3620-28SC:admin# 2-9 show environment 16 Format show environment Parameters None.
Restrictions None. Example To display the switch hardware status: DGS-3620-28SC:admin#show environment Description This command is used to display the device's internal and external power and internal temperature status. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PIM : Disabled PIM6 : ...Prevention State : Enabled Syslog Global State : Disabled Single IP Management : Disabled Password Encryption Status : Disabled DNS Resolver : Disabled DGS-3620-28SC:admin# 2-9 show environment 16 Format show environment Parameters None.
CLI Guide
Page 22
... Page p Previous Page r Refresh 2-10 config temperature Description This command is enable. disable - DGS-3620-28SC:admin# 17 DGS-3620-28SC:admin# To enable the warning temperature log state: DGS-3620-28SC:admin#config temperature log state enable Command: config temperature log state enable Success. Format config temperature ... Administrator and Operator-level users can issue this command. Example To enable the warning temperature trap state: DGS-3620-28SC:admin#config temperature trap state enable Command: config temperature trap state enable Success. Enable or disable either the...
... Page p Previous Page r Refresh 2-10 config temperature Description This command is enable. disable - DGS-3620-28SC:admin# 17 DGS-3620-28SC:admin# To enable the warning temperature log state: DGS-3620-28SC:admin#config temperature log state enable Command: config temperature log state enable Success. Format config temperature ... Administrator and Operator-level users can issue this command. Example To enable the warning temperature trap state: DGS-3620-28SC:admin#config temperature trap state enable Command: config temperature trap state enable Success. Enable or disable either the...
CLI Guide
Page 23
... the high threshold value. Specify the high threshold value. low - Example To configure a warming temperature threshold high of 80: DGS-3620-28SC:admin#config temperature threshold high 80 Command: config temperature threshold high 80 Success. Format config temperature threshold {high | low }(1) Parameters... low threshold. - The high threshold must be between -500 and 500. DGS-3620-28SC:admin# 2-12 show serial_port Parameters None. 18 Specify the low threshold value. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-11 config temperature ...
... the high threshold value. Specify the high threshold value. low - Example To configure a warming temperature threshold high of 80: DGS-3620-28SC:admin#config temperature threshold high 80 Command: config temperature threshold high 80 Success. Format config temperature threshold {high | low }(1) Parameters... low threshold. - The high threshold must be between -500 and 500. DGS-3620-28SC:admin# 2-12 show serial_port Parameters None. 18 Specify the low threshold value. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-11 config temperature ...
CLI Guide
Page 24
... the idle value is 10_minutes. Example To configure the baud rate: DGS-3620-28SC:admin# config serial_port baud_rate 9600 19 Specify the baud rate value. Example To display the console port setting: DGS-3620-28SC:admin#show serial_port Command: show serial_port Baud Rate Data Bits Parity Bits... Stop Bits Auto-Logout : 115200 : 8 : None : 1 : 10 mins DGS-3620-28SC:admin# 2-13 config serial_port Description This command is over 10 ...
... the idle value is 10_minutes. Example To configure the baud rate: DGS-3620-28SC:admin# config serial_port baud_rate 9600 19 Specify the baud rate value. Example To display the console port setting: DGS-3620-28SC:admin#show serial_port Command: show serial_port Baud Rate Data Bits Parity Bits... Stop Bits Auto-Logout : 115200 : 8 : None : 1 : 10 mins DGS-3620-28SC:admin# 2-13 config serial_port Description This command is over 10 ...
CLI Guide
Page 25
... Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config serial_port baud_rate 9600 Success. DGS-3620-28SC:admin# 2-14 enable clipaging Description This command is enabled. The default setting is used to disable pausing of the screen display when... reaches the end of the page. Example To enable pausing of the screen display when show command output reaches the end of the page. DGS-3620-28SC:admin# 2-15 disable clipaging Description This command is enabled. Format disable clipaging Parameters None. 20 Restrictions Only Administrator and Operator-level users can...
... Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config serial_port baud_rate 9600 Success. DGS-3620-28SC:admin# 2-14 enable clipaging Description This command is enabled. The default setting is used to disable pausing of the screen display when... reaches the end of the page. Example To enable pausing of the screen display when show command output reaches the end of the page. DGS-3620-28SC:admin# 2-15 disable clipaging Description This command is enabled. Format disable clipaging Parameters None. 20 Restrictions Only Administrator and Operator-level users can...
CLI Guide
Page 26
... screen display when show command output reaches the end of the page: DGS-3620-28SC:admin#disable clipaging Command: disable clipaging Success. Example To enable Telnet and configure a port number: DGS-3620-28SC:admin#enable telnet 23 Command: enable telnet 23 Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator...
... screen display when show command output reaches the end of the page: DGS-3620-28SC:admin#disable clipaging Command: disable clipaging Success. Example To enable Telnet and configure a port number: DGS-3620-28SC:admin#enable telnet 23 Command: enable telnet 23 Success. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator...
CLI Guide
Page 27
...Restrictions Only Administrator and Operator-level users can issue this command. Example To enable HTTP and configure port number: DGS-3620-28SC:admin#enable web 80 Command: enable web 80 Note: SSL will be disabled if web is used to enable...number. Success. 22 Format enable web {} Parameters - (Optional) Specify the TCP port number. Example To disable Telnet: DGS-3620-28SC:admin#disable telnet Command: disable telnet Success. DGS-3620-28SC:admin# 2-18 enable web Description This command is enabled. Restrictions Only Administrator and Operator-level users can issue this command...
...Restrictions Only Administrator and Operator-level users can issue this command. Example To enable HTTP and configure port number: DGS-3620-28SC:admin#enable web 80 Command: enable web 80 Note: SSL will be disabled if web is used to enable...number. Success. 22 Format enable web {} Parameters - (Optional) Specify the TCP port number. Example To disable Telnet: DGS-3620-28SC:admin#disable telnet Command: disable telnet Success. DGS-3620-28SC:admin# 2-18 enable web Description This command is enabled. Restrictions Only Administrator and Operator-level users can issue this command...
CLI Guide
Page 28
...save the current configuration or log in non-volatile RAM. all ]} Parameters config - (Optional) Specify to save log. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 2-19 disable web Description This command is used to disable Web UI. Restrictions Only Administrator and Operator-level users can...- (Optional) Specify to bootup configuration file. 23 Note: If no keyword is specified, all changes will be saved to save configuration. - Example To disable HTTP: DGS-3620-28SC:admin#disable web Command: disable web Success.
...save the current configuration or log in non-volatile RAM. all ]} Parameters config - (Optional) Specify to save log. xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 2-19 disable web Description This command is used to disable Web UI. Restrictions Only Administrator and Operator-level users can...- (Optional) Specify to bootup configuration file. 23 Note: If no keyword is specified, all changes will be saved to save configuration. - Example To disable HTTP: DGS-3620-28SC:admin#disable web Command: disable web Success.
CLI Guide
Page 29
... configurations to NV-RAM Done. Done. Format reboot {force_agree} 24 DGS-3620-28SC:admin# To save a log to NV-RAM: DGS-3620-28SC:admin#save log Command: save all system logs to NV-RAM.......... DGS-3620-28SC:admin# To save all the configurations and logs to NV-RAM: DGS-3620-28SC:admin#save all Command: save log Saving all Saving configuration and...
... configurations to NV-RAM Done. Done. Format reboot {force_agree} 24 DGS-3620-28SC:admin# To save a log to NV-RAM: DGS-3620-28SC:admin#save log Command: save all system logs to NV-RAM.......... DGS-3620-28SC:admin# To save all the configurations and logs to NV-RAM: DGS-3620-28SC:admin#save all Command: save log Saving all Saving configuration and...