CLI Guide
Page 8
... top-level command. In addition, the syntax of the help prompts are the same as show command with no rd reboot reset save telnet traceroute DGS-3120-24TC:admin# cable_diag clear debug disable execute logout ping reconfig show what? For example, entering the show or config. Most... is the next parameter. This is equivalent to re-enter the previous command (config account) at the command prompt. Where the what ? DGS-3120-24TC:admin#the Available commands: .. ? The up arrow cursor control key was entered without the required parameter , the CLI returned the Next...
... top-level command. In addition, the syntax of the help prompts are the same as show command with no rd reboot reset save telnet traceroute DGS-3120-24TC:admin# cable_diag clear debug disable execute logout ping reconfig show what? For example, entering the show or config. Most... is the next parameter. This is equivalent to re-enter the previous command (config account) at the command prompt. Where the what ? DGS-3120-24TC:admin#the Available commands: .. ? The up arrow cursor control key was entered without the required parameter , the CLI returned the Next...
CLI Guide
Page 10
...Encloses an optional value or a list of line to left of cursor and shift remainder of optional arguments. For example, in the syntax reset {[config | system]} {force_agree} users may choose configure or system in a list. The "(1)" following the set of braces indicates at... of the metric value. 1-4 Line Editing Keys Keys Description Delete Delete character under cursor and shift remainder of them. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 1-3 Command Syntax Symbols Syntax Description angle brackets < > Encloses a variable or...
...Encloses an optional value or a list of line to left of cursor and shift remainder of optional arguments. For example, in the syntax reset {[config | system]} {force_agree} users may choose configure or system in a list. The "(1)" following the set of braces indicates at... of the metric value. 1-4 Line Editing Keys Keys Description Delete Delete character under cursor and shift remainder of them. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 1-3 Command Syntax Symbols Syntax Description angle brackets < > Encloses a variable or...
CLI Guide
Page 19
... to configure the greeting message (or banner). 15 Restrictions None. create ipif show session ? Enter the number of command history: DGS-3120-24TC:admin# config command_history 25 Command: config command_history 25 Success. Format config command_history Parameters - Example To configure the number of commands... can recall. The Switch "remembers" upto the last 40 commands you entered. This value must be between 1 and 40. DGS-3120-24TC:admin# 2-12 config greeting_message Description This command is used to configure the number of commands that the Switch can recall. ...
... to configure the greeting message (or banner). 15 Restrictions None. create ipif show session ? Enter the number of command history: DGS-3120-24TC:admin# config command_history 25 Command: config command_history 25 Success. Format config command_history Parameters - Example To configure the number of commands... can recall. The Switch "remembers" upto the last 40 commands you entered. This value must be between 1 and 40. DGS-3120-24TC:admin# 2-12 config greeting_message Description This command is used to configure the number of commands that the Switch can recall. ...
CLI Guide
Page 21
Yet, issuing the "reset system" will remain in tact. 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. The current command prompt consists of 16 characters, or to its original factory default value. 17...
Yet, issuing the "reset system" will remain in tact. 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. The current command prompt consists of 16 characters, or to its original factory default value. 17...
CLI Guide
Page 66
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier 0 D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 1 radiusAccServerAddress radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests... accounting service. Accounting service for 802.1X, JWAC and WAC port access control. Accounting service for system events: reset, reboot. Specify the state of the specified RADIUS accounting service.
... Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier 0 D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 1 radiusAccServerAddress radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests... accounting service. Accounting service for 802.1X, JWAC and WAC port access control. Accounting service for system events: reset, reboot. Specify the state of the specified RADIUS accounting service.
CLI Guide
Page 141
...Specify the name for a operator user account. Specify the name of the admin account. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [...| sha_1] } config account {encrypt [plain_text | sha_1] } 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 ...
...Specify the name for a operator user account. Specify the name of the admin account. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [...| sha_1] } config account {encrypt [plain_text | sha_1] } 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 ...
CLI Guide
Page 149
... enable/disable of clipaging, greeting message, and command prompt will be reset to be supported when multiple firmware images are reset to default settings. Restrictions Only Administrator-level users can issue this command. Example To reset the Switch: DGS-3120-24TC:admin#reset system Command: reset system Are you sure you specify the 'system' keyword, all parameters...
... enable/disable of clipaging, greeting message, and command prompt will be reset to be supported when multiple firmware images are reset to default settings. Restrictions Only Administrator-level users can issue this command. Example To reset the Switch: DGS-3120-24TC:admin#reset system Command: reset system Are you sure you specify the 'system' keyword, all parameters...
CLI Guide
Page 180
...by symbol ". Restrictions Only Administrator-level users can be up to 80 characters long. Show only the commands which are not from the 'reset' default setting. A filter string is enclosed by symbol ". include - (Optional) Include lines that contain the specified filter string. The ...string will be the first line of the bootup configuration. This value can be up configuration is enclosed by symbol ". xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide setting regarding STP is case sensitive. file - The filter string is not...
...by symbol ". Restrictions Only Administrator-level users can be up to 80 characters long. Show only the commands which are not from the 'reset' default setting. A filter string is enclosed by symbol ". include - (Optional) Include lines that contain the specified filter string. The ...string will be the first line of the bootup configuration. This value can be up configuration is enclosed by symbol ". xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide setting regarding STP is case sensitive. file - The filter string is not...
CLI Guide
Page 193
...up to 22 characters long. alarm_reset_time - (Optional) This is the dormant duration time before a defect is used here. Enter the alarm reset time value here. mepid - Enter the maintenance domain name used here. Enter the maintenance association index value here. This name can be ...centiseconds. md - Specify the maintenance domain index. - Enter the maintenance domain index value here. Example To configure a CFM MEP: DGS-3120-24TC:admin# config cfm mep mepname mep1 state enable ccm enable Command: config cfm mep mepname mep1 state enable ccm enable Success. ...
...up to 22 characters long. alarm_reset_time - (Optional) This is the dormant duration time before a defect is used here. Enter the alarm reset time value here. mepid - Enter the maintenance domain name used here. Enter the maintenance association index value here. This name can be ...centiseconds. md - Specify the maintenance domain index. - Enter the maintenance domain index value here. Example To configure a CFM MEP: DGS-3120-24TC:admin# config cfm mep mepname mep1 state enable ccm enable Command: config cfm mep mepname mep1 state enable ccm enable Success. ...
CLI Guide
Page 200
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Port : 1:2 Direction : Inward CFM Port Status : Enabled MAC Address : 00-01-02-03-04-02 MEP State : Enabled CCM State : Enabled PDU Priority : 7 Fault Alarm : Disabled Alarm Time : 250 centisecond((1/100)s) Alarm Reset Time : 1000 centisecond((1/100)s) Highest ... IfSt LCK Detect Time 2 FF-FF-FF-FF-FF-FF FAILED No No No No 2011-07-13 12:00:00 DGS-3120-24TC:admin# 19-15 show cfm fault Description This command is used to display all the fault conditions detected by MEPs. 196
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Port : 1:2 Direction : Inward CFM Port Status : Enabled MAC Address : 00-01-02-03-04-02 MEP State : Enabled CCM State : Enabled PDU Priority : 7 Fault Alarm : Disabled Alarm Time : 250 centisecond((1/100)s) Alarm Reset Time : 1000 centisecond((1/100)s) Highest ... IfSt LCK Detect Time 2 FF-FF-FF-FF-FF-FF FAILED No No No No 2011-07-13 12:00:00 DGS-3120-24TC:admin# 19-15 show cfm fault Description This command is used to display all the fault conditions detected by MEPs. 196
CLI Guide
Page 413
...Restrictions Only Administrator, Operator and Power-User level users can be up to use. 409 english - Specify to reset the page element to 16 characters long. The page title description can issue this parameter to set the notification ... page. - The login window title description can be up to 16 characters long. Example To customize the authenticate page: DGS-3120-24TC:admin# config jwac authentication_page element japanese page_title login_window_title "JWAC 认证" user_name_title password_title logout_window_title Command: config jwac authentication_page...
...Restrictions Only Administrator, Operator and Power-User level users can be up to use. 409 english - Specify to reset the page element to 16 characters long. The page title description can issue this parameter to set the notification ... page. - The login window title description can be up to 16 characters long. Example To customize the authenticate page: DGS-3120-24TC:admin# config jwac authentication_page element japanese page_title login_window_title "JWAC 认证" user_name_title password_title logout_window_title Command: config jwac authentication_page...
CLI Guide
Page 473
... Access Control's guest VLAN. - Format clear mac_based_access_control auth_state [ports [all - all | ] | mac_addr ] Parameters ports - mac_addr - All the timers associated with this command. 469 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format delete mac_based_access_control [guest_vlan | guest_vlanid ] Parameters guest_vlan - guest_vlanid - This value must be up to 32 characters... all MAC-based Access Control enabled ports to delete MAC addresses on them. Enter the VLAN ID here. The port (or the user) will be reset.
... Access Control's guest VLAN. - Format clear mac_based_access_control auth_state [ports [all - all | ] | mac_addr ] Parameters ports - mac_addr - All the timers associated with this command. 469 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format delete mac_based_access_control [guest_vlan | guest_vlanid ] Parameters guest_vlan - guest_vlanid - This value must be up to 32 characters... all MAC-based Access Control enabled ports to delete MAC addresses on them. Enter the VLAN ID here. The port (or the user) will be reset.
CLI Guide
Page 567
... (Optional) Specify the maximum learning address value. - Specify that can be configured. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config port_security system max_learning_addr 256 Command: config port_security system max_learning_addr 256 Success. the entire system,... long. If the setting is reset or rebooted. admin_state - (Optional) Specify the state of learned entries; The default value is idle for this configuration here. Events that no limit. 563 DGS-3120-24TC:admin# 59-2 config port_security...
... (Optional) Specify the maximum learning address value. - Specify that can be configured. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin# config port_security system max_learning_addr 256 Command: config port_security system max_learning_addr 256 Success. the entire system,... long. If the setting is reset or rebooted. admin_state - (Optional) Specify the state of learned entries; The default value is idle for this configuration here. Events that no limit. 563 DGS-3120-24TC:admin# 59-2 config port_security...
CLI Guide
Page 630
...the configuration or log. - Enter the name of the configuration or log. - enable - log - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 69 SD Card Management Command List create backup [config | ...| time_range {filename }] show backup {config | log} create execute_config time_range config {state [enable | disable] | [increment | reset]} config execute_config time_range config {state [enable | disable] | [increment | reset]} delete execute_config [all | time_range {config }] 69-1 create backup Description This command is created.
...the configuration or log. - Enter the name of the configuration or log. - enable - log - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 69 SD Card Management Command List create backup [config | ...| time_range {filename }] show backup {config | log} create execute_config time_range config {state [enable | disable] | [increment | reset]} config execute_config time_range config {state [enable | disable] | [increment | reset]} delete execute_config [all | time_range {config }] 69-1 create backup Description This command is created.
CLI Guide
Page 633
... create an existed entry, the device will still be reset before executing the configuration. Enter the configuration file path name. Disable the executive schedule. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide... c:/bk-config-1 State : Disabled Total Entries1 DGS-3120-24TC:admin# 69-5 create execute_config time_range Description This command is 15. Format create execute_config time_range config {state [enable | disable] | [increment | reset]} Parameters - enable - disable - reset - (Optional) The current configuration will be ...
... create an existed entry, the device will still be reset before executing the configuration. Enter the configuration file path name. Disable the executive schedule. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide... c:/bk-config-1 State : Disabled Total Entries1 DGS-3120-24TC:admin# 69-5 create execute_config time_range Description This command is 15. Format create execute_config time_range config {state [enable | disable] | [increment | reset]} Parameters - enable - disable - reset - (Optional) The current configuration will be ...
CLI Guide
Page 634
... of a executive schedule. enable - Disable the executive schedule. DGS-3120-24TC:admin# 630 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#create execute_config time_range range-1 config c:/vlanconfig state enable Command: create execute_config time_range range-1 config c:/vlan-config state enable Success. reset - (Optional) The current configuration will not be...
... of a executive schedule. enable - Disable the executive schedule. DGS-3120-24TC:admin# 630 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#create execute_config time_range range-1 config c:/vlanconfig state enable Command: create execute_config time_range range-1 config c:/vlan-config state enable Success. reset - (Optional) The current configuration will not be...
CLI Guide
Page 636
... executing the configuration.If specified, the current configuration will not be reset before executing the configuration. Example To load and execute a configuration: DGS-3120-24PC:admin#execute config c:/config-vlan-0.cfg Command: execute config c:/config-vlan-0.cfg Success. DGS-3120-24TC:admin# 632 Format execute config {increment} Parameters - Restrictions Only Administrator-level users can issue this...
... executing the configuration.If specified, the current configuration will not be reset before executing the configuration. Example To load and execute a configuration: DGS-3120-24PC:admin#execute config c:/config-vlan-0.cfg Command: execute config c:/config-vlan-0.cfg Success. DGS-3120-24TC:admin# 632 Format execute config {increment} Parameters - Restrictions Only Administrator-level users can issue this...
CLI Guide
Page 655
... Operator and Power-User level users can issue this surveillance device is aged out, the surveillance VLAN aging timer will be reset and stopped. When the last surveillance device stops sending traffic and the MAC address of the surveillance VLAN function on the ... Format config surveillance_vlan ports [ | all - The aging time is used to 65535 minutes. The port will be started. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 72-5 config surveillance_vlan ports Description This command is used to configure the surveillance VLAN ...
... Operator and Power-User level users can issue this surveillance device is aged out, the surveillance VLAN aging timer will be reset and stopped. When the last surveillance device stops sending traffic and the MAC address of the surveillance VLAN function on the ... Format config surveillance_vlan ports [ | all - The aging time is used to 65535 minutes. The port will be started. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 72-5 config surveillance_vlan ports Description This command is used to configure the surveillance VLAN ...
CLI Guide
Page 718
... 1 and 6. Enter the new box ID here. Restrictions Only Administrator, Operator and Power-User level users can assign box IDs statically. DGS-3120-24TC:admin# 78-3 show stack_information, beside the basic information of box 1 to be between 1 and 6. the topology change process will ...Series, it means the topology change is automatically assigned by the stack system. auto - If topology change is 6. - This value must be reset. 714 Message 1: Stack Topology Status: Topology will take effect after n seconds. For example, to Ring after unit reboot. new_box_id - The...
... 1 and 6. Enter the new box ID here. Restrictions Only Administrator, Operator and Power-User level users can assign box IDs statically. DGS-3120-24TC:admin# 78-3 show stack_information, beside the basic information of box 1 to be between 1 and 6. the topology change process will ...Series, it means the topology change is automatically assigned by the stack system. auto - If topology change is 6. - This value must be reset. 714 Message 1: Stack Topology Status: Topology will take effect after n seconds. For example, to Ring after unit reboot. new_box_id - The...
CLI Guide
Page 719
...; When this message is shown, it means hot insert of flash, for the user not to do the hot insert action after n seconds. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Message 2: Stack Topology Status: New device is normally. If topology change is detected. Now the system... device is detected again before the count down timer reaches 0, the count down timer will do the hot insert action. The stack system will be reset. When this command.
...; When this message is shown, it means hot insert of flash, for the user not to do the hot insert action after n seconds. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Message 2: Stack Topology Status: New device is normally. If topology change is detected. Now the system... device is detected again before the count down timer reaches 0, the count down timer will do the hot insert action. The stack system will be reset. When this command.