CLI Guide
Page 5
...is the command line where all commands are discussed in terms of purpose, format, description, parameters, and examples. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be used for ...all of the commands contained in the CLI. DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface UserName: PassWord: Firmware: Build 2.50.015 Copyright(C) 2012 D-Link Corporation. DGS-3120-24TC:admin# There is used to display the CLI input cursor − DGS-3120-24TC:admin# . The Switch's 1 The Command...
...is the command line where all commands are discussed in terms of purpose, format, description, parameters, and examples. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be used for ...all of the commands contained in the CLI. DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface UserName: PassWord: Firmware: Build 2.50.015 Copyright(C) 2012 D-Link Corporation. DGS-3120-24TC:admin# There is used to display the CLI input cursor − DGS-3120-24TC:admin# . The Switch's 1 The Command...
CLI Guide
Page 17
... commands in the cuurent login account level or the specific one. Description This command is used to login... DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface UserName: Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. Format ? DGS-3120-24TC:admin# 13 Parameters None. ping Command: ? ping Command: ping Usage: { times | timeout } Description: Used to test...
... commands in the cuurent login account level or the specific one. Description This command is used to login... DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface UserName: Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. Format ? DGS-3120-24TC:admin# 13 Parameters None. ping Command: ? ping Command: ping Usage: { times | timeout } Description: Used to test...
CLI Guide
Page 20
... config greeting_message {default} Parameters default - (Optional) Adding this command. Example To edit the banner: DGS-3120-24TC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. All rights reserved Ctrl+C Quit without save left/right/ Ctrl+W Save and quit...
... config greeting_message {default} Parameters default - (Optional) Adding this command. Example To edit the banner: DGS-3120-24TC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. All rights reserved Ctrl+C Quit without save left/right/ Ctrl+W Save and quit...
CLI Guide
Page 21
...a string consisting of a maximum of four parts: "product name" + ":" + "user level" + "#" (e.g. All rights reserved. "DGS-3120-24TC:admin#"). The current command prompt consists of 16 characters, or to modify the command prompt. When users issue the "reset" command, the...can issue this command. Example To display greeting message: DGS-3120-24TC:admin#show greeting_ message Command: show greeting_message DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. This command is used to its original factory ...
...a string consisting of a maximum of four parts: "product name" + ":" + "user level" + "#" (e.g. All rights reserved. "DGS-3120-24TC:admin#"). The current command prompt consists of 16 characters, or to modify the command prompt. When users issue the "reset" command, the...can issue this command. Example To display greeting message: DGS-3120-24TC:admin#show greeting_ message Command: show greeting_message DGS-3120-24TC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.010 Copyright(C) 2011 D-Link Corporation. This command is used to its original factory ...
CLI Guide
Page 141
... This name can be up to create user accounts. It is between 0 and 15 characters. user - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator ... } show account delete account show switch enable telnet {} disable telnet enable web {} disable web reboot {force_agree} reset {[config | system]} {force_agree} config firmware image {unit } boot_up create ipif {} {secondary | state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (EI...
... This name can be up to create user accounts. It is between 0 and 15 characters. user - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator ... } show account delete account show switch enable telnet {} disable telnet enable web {} disable web reboot {force_agree} reset {[config | system]} {force_agree} config firmware image {unit } boot_up create ipif {} {secondary | state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (EI...
CLI Guide
Page 145
...DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build 2.50.015 Hardware Version : A2 Firmware... Next Entry a All 141 Example The following is used to display the Switch information. DGS-3120-24TC:admin#show switch Command: show switch Parameters None. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-5 show switch Description This...
...DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build 2.50.015 Hardware Version : A2 Firmware... Next Entry a All 141 Example The following is used to display the Switch information. DGS-3120-24TC:admin#show switch Command: show switch Parameters None. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-5 show switch Description This...
CLI Guide
Page 149
...specify the 'system' keyword, all the reset commands. force_agree - (Optional) When force_agree is used to the default setting. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-11 reset Description This command is specified, the reset command will be executed ...without further confirmation. The configuration settings include enable/disable of clipaging, greeting message, and command prompt will also be reset to select a firmware file as a boot up file. There is one exception, the "reset" command will store the reset setting in the NVRAM and ...
...specify the 'system' keyword, all the reset commands. force_agree - (Optional) When force_agree is used to the default setting. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12-11 reset Description This command is specified, the reset command will be executed ...without further confirmation. The configuration settings include enable/disable of clipaging, greeting message, and command prompt will also be reset to select a firmware file as a boot up file. There is one exception, the "reset" command will store the reset setting in the NVRAM and ...
CLI Guide
Page 150
...admin# 12-13 create ipif (EI Mode Only) Description This command is for unit 2: DGS-3120-24TC:admin# config firmware image unit 2 c:/DGS3120_Run_2_00_010.had boot_up Command: config firmware image unit 2 c:/DGS3120_Run_2_00_010.had as the boot up to create an IP interface. This ...of proxy ARP function. proxy_arp - (Optional) Enable or disable of the IP interface. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config firmware image {unit } boot_up Parameters unit - (Optional) Specify which unit on the device file system. ...
...admin# 12-13 create ipif (EI Mode Only) Description This command is for unit 2: DGS-3120-24TC:admin# config firmware image unit 2 c:/DGS3120_Run_2_00_010.had boot_up Command: config firmware image unit 2 c:/DGS3120_Run_2_00_010.had as the boot up to create an IP interface. This ...of proxy ARP function. proxy_arp - (Optional) Enable or disable of the IP interface. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config firmware image {unit } boot_up Parameters unit - (Optional) Specify which unit on the device file system. ...
CLI Guide
Page 182
...configuration file name can issue this command. Format save the configuration to NV-RAM.......... Example To save the configuration: DGS-3120-24TC:admin#save config c:/3120.cfg Command: save config c:/3120.cfg Saving all ]} Parameters config - (Optional) Specify to save {[config | log | all configurations to ...boot_up Success. all - (Optional) Specify to save the current configuration to display the configuration file and firmware image assigned as boot up configuration file. DGS-3120-24TC:admin# 17-4 show boot file Description This command is not specified, it refers to save the...
...configuration file name can issue this command. Format save the configuration to NV-RAM.......... Example To save the configuration: DGS-3120-24TC:admin#save config c:/3120.cfg Command: save config c:/3120.cfg Saving all ]} Parameters config - (Optional) Specify to save {[config | log | all configurations to ...boot_up Success. all - (Optional) Specify to save the current configuration to display the configuration file and firmware image assigned as boot up configuration file. DGS-3120-24TC:admin# 17-4 show boot file Description This command is not specified, it refers to save the...
CLI Guide
Page 183
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format show boot_file Bootup Firmware : /c:/runtime.had Bootup Configuration : /c:/config.cfg DGS-3120-24TC:admin# 179 Restrictions None. Example To display the boot file: DGS-3120-24TC:admin#show boot_file Command: show boot_file Parameters None.
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format show boot_file Bootup Firmware : /c:/runtime.had Bootup Configuration : /c:/config.cfg DGS-3120-24TC:admin# 179 Restrictions None. Example To display the boot file: DGS-3120-24TC:admin#show boot_file Command: show boot_file Parameters None.
CLI Guide
Page 451
...LLDP-MED System Information: Device Class Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID PoE Device Type PoE PSE Power Source : Network Connectivity Device : A1 : 2.00.003 : 2.00.010 : abcd1234 : D-Link : DGS-3120-24TC Gigabit Ethernet S : : PSE Device... : Primary LLDP-MED Configuration: Fast Start Repeat Count : 5 LLDP-MED Log State:Enabled DGS-3120-24TC:admin# 43-20 show lldp_med local_ports Description This command is used to...
...LLDP-MED System Information: Device Class Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID PoE Device Type PoE PSE Power Source : Network Connectivity Device : A1 : 2.00.003 : 2.00.010 : abcd1234 : D-Link : DGS-3120-24TC Gigabit Ethernet S : : PSE Device... : Primary LLDP-MED Configuration: Fast Start Repeat Count : 5 LLDP-MED Log State:Enabled DGS-3120-24TC:admin# 43-20 show lldp_med local_ports Description This command is used to...
CLI Guide
Page 454
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Location Information Location Subtype: CivicAddress Location Information Extended Power Via MDI Power Device Type: PD Device Power Priority Power Source Power Request Inventory Management: Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID DGS-3120-24TC:admin# : : : High : From PSE : 8 Watts 450
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Location Information Location Subtype: CivicAddress Location Information Extended Power Via MDI Power Device Type: PD Device Power Priority Power Source Power Request Inventory Management: Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID DGS-3120-24TC:admin# : : : High : From PSE : 8 Watts 450
CLI Guide
Page 671
...TFTP server. Device Runtime Stacking ID rity Role MAC Type option version version 1 32 32 Master 00-00-00-01-02-03 DGS-3120-24TC 0x0000 2.50.015 2.0.1 2 NOT EXIST 3 NOT EXIST 4 NOT EXIST 5 NOT EXIST 6 NOT EXIST *(S) means ... the following information. 667 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DES-3200-28P:admin#show tech_support Command: show tech_support # DGS-3120-24TC Gigabit Ethernet Switch # Technical Support Information # # Firmware: Build 2.50.015 # Copyright(C) 2012 D-Link Corporation.
...TFTP server. Device Runtime Stacking ID rity Role MAC Type option version version 1 32 32 Master 00-00-00-01-02-03 DGS-3120-24TC 0x0000 2.50.015 2.0.1 2 NOT EXIST 3 NOT EXIST 4 NOT EXIST 5 NOT EXIST 6 NOT EXIST *(S) means ... the following information. 667 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DES-3200-28P:admin#show tech_support Command: show tech_support # DGS-3120-24TC Gigabit Ethernet Switch # Technical Support Information # # Firmware: Build 2.50.015 # Copyright(C) 2012 D-Link Corporation.
CLI Guide
Page 709
... None. Example To show the self information in detail: DGS-3120-24TC:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 2.50.015 Device Name : MAC Address : 00-00-00-01-02-03 Capabilities : L2 Platform : DGS-3120-24TC L2 Switch SIM State : Disabled Role State :... candidate information in summary, if user specify candidate id, it would show information in detail: DGS-3120-24TC:admin# show sim candidate Command: show sim candidate ID MAC Address Platform / Hold Firmware Device Name Capability Time Version 1 00-01-02-03-04-00 DES-XXXXS L2 Switch 40...
... None. Example To show the self information in detail: DGS-3120-24TC:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 2.50.015 Device Name : MAC Address : 00-00-00-01-02-03 Capabilities : L2 Platform : DGS-3120-24TC L2 Switch SIM State : Disabled Role State :... candidate information in summary, if user specify candidate id, it would show information in detail: DGS-3120-24TC:admin# show sim candidate Command: show sim candidate ID MAC Address Platform / Hold Firmware Device Name Capability Time Version 1 00-01-02-03-04-00 DES-XXXXS L2 Switch 40...
CLI Guide
Page 710
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show sim member Command: show sim member ID MAC Address Platform / Hold Firmware Device Name Capability Time Version 1 00-01-02-03-04-00 DES-XXXXS L2 Switch 40 1.00-B01 aaaaaaaaaaaaaaaa bbbbbbbbbbbbbbb 2 00-...information in summary, if user specify group name, it will show information in detail: DGS-3120-24TC:admin# show sim group Command: show sim group SIM Group Name : default ID MAC Address Platform / Hold Firmware Device Name Capability Time Version *1 00-01-02-03-04-00 DES-XXXXS L2 ...
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# show sim member Command: show sim member ID MAC Address Platform / Hold Firmware Device Name Capability Time Version 1 00-01-02-03-04-00 DES-XXXXS L2 Switch 40 1.00-B01 aaaaaaaaaaaaaaaa bbbbbbbbbbbbbbb 2 00-...information in summary, if user specify group name, it will show information in detail: DGS-3120-24TC:admin# show sim group Command: show sim group SIM Group Name : default ID MAC Address Platform / Hold Firmware Device Name Capability Time Version *1 00-01-02-03-04-00 DES-XXXXS L2 ...
CLI Guide
Page 714
... this command. Example To download configuration: 710 Specify the IP address of discovery protocol: DGS-3120-24TC:admin# config sim hold_time 200 Command: config sim hold_time 200 Success. configuration_from_tftp - Specify the file path of members who can issue this firmware or configuration. - Enter the member list used . Specify that the configuration will be...
... this command. Example To download configuration: 710 Specify the IP address of discovery protocol: DGS-3120-24TC:admin# config sim hold_time 200 Command: config sim hold_time 200 Success. configuration_from_tftp - Specify the file path of members who can issue this firmware or configuration. - Enter the member list used . Specify that the configuration will be...
CLI Guide
Page 715
Download Status : ID MAC Address Result 1 00-01-02-03-04-00 Success DGS-3120-24TC:admin# To download firmware: DGS-3120-24TC:admin# download sim_ms firmware_from_tftp 10.55.47.1 D:\test.txt members 1 Commands: download sim_ms firmware_from_tftp 10.55.47.1 D:\test.txt...members 1 Commands: download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 This device is updating firmware. Download Status : ID MAC Address Result 1 00-01-02-03-04-00 Success DGS-3120-24TC:admin# 77-8 upload sim_ms Description This command is used here. Enter the member list used to...
Download Status : ID MAC Address Result 1 00-01-02-03-04-00 Success DGS-3120-24TC:admin# To download firmware: DGS-3120-24TC:admin# download sim_ms firmware_from_tftp 10.55.47.1 D:\test.txt members 1 Commands: download sim_ms firmware_from_tftp 10.55.47.1 D:\test.txt...members 1 Commands: download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 This device is updating firmware. Download Status : ID MAC Address Result 1 00-01-02-03-04-00 Success DGS-3120-24TC:admin# 77-8 upload sim_ms Description This command is used here. Enter the member list used to...
CLI Guide
Page 719
...is configuring the new device, and the user can issue this message is shown, it means hot insert of flash, for example:"download firmware","save","show config in flash","upload","copy","show slave's dangerous log". Example To display the stack information: 715 hot insert may happen ...timer reaches 0, the count down timer will do the hot insert action after n seconds. It is detected; When this command. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Message 2: Stack Topology Status: New device is suggested for the user not to do the...
...is configuring the new device, and the user can issue this message is shown, it means hot insert of flash, for example:"download firmware","save","show config in flash","upload","copy","show slave's dangerous log". Example To display the stack information: 715 hot insert may happen ...timer reaches 0, the count down timer will do the hot insert action after n seconds. It is detected; When this command. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Message 2: Stack Topology Status: New device is suggested for the user not to do the...
CLI Guide
Page 743
... of other sessions. All rights reserved. Format telnet [ | ] {tcp_port } Parameters - Example Telnet to the specific telnet server. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 82 Telnet Client Command List telnet [ | ] {tcp_port } 82-1 telnet Description This... parameters specified by specifying the IP address: DGS-3120-24TC:admin# telnet 10.90.90.90 Command: telnet 10.90.90.90 DGS-XXXX Fast Ethernet Switch Command Line Interface Firmware: Build 1.00.B01 Copyright(C) 2006-2009 D-Link Corporation. If not specified, the default port...
... of other sessions. All rights reserved. Format telnet [ | ] {tcp_port } Parameters - Example Telnet to the specific telnet server. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 82 Telnet Client Command List telnet [ | ] {tcp_port } 82-1 telnet Description This... parameters specified by specifying the IP address: DGS-3120-24TC:admin# telnet 10.90.90.90 Command: telnet 10.90.90.90 DGS-XXXX Fast Ethernet Switch Command Line Interface Firmware: Build 1.00.B01 Copyright(C) 2006-2009 D-Link Corporation. If not specified, the default port...
CLI Guide
Page 744
...(Optional) Used to the master unit. - It can be up to identify the parameter "path_filename". - If it refers to download the firmware image and configuration from TFTP server. Format download [firmware_fromTFTP [ | ] src_file {[unit | all]} {dest_file } | cfg_fromTFTP [ | ] ... If it refers to identify the parameter "path_filename". - unit - (Optional) Specify which unit on the TFTP server. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 83 TFTP Client Command List download [firmware_fromTFTP [ | ] src_file {[unit...
...(Optional) Used to the master unit. - It can be up to identify the parameter "path_filename". - If it refers to download the firmware image and configuration from TFTP server. Format download [firmware_fromTFTP [ | ] src_file {[unit | all]} {dest_file } | cfg_fromTFTP [ | ] ... If it refers to identify the parameter "path_filename". - unit - (Optional) Specify which unit on the TFTP server. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 83 TFTP Client Command List download [firmware_fromTFTP [ | ] src_file {[unit...