DWS-3160 Series CLI Reference Guide
Page 2
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter ... Command List 242 Debug Software Command List 253 DHCP Local Relay Command List 268 DHCP Relay Command List 272 DHCP Server Screening Command List 288 D-Link License Management System (DLMS) Command List 291 Ethernet Ring Protection Switching (ERPS) Command List 293 Filter Command List ...303 Filter Database (FDB) Command List 306...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter ... Command List 242 Debug Software Command List 253 DHCP Local Relay Command List 268 DHCP Relay Command List 272 DHCP Server Screening Command List 288 D-Link License Management System (DLMS) Command List 291 Ethernet Ring Protection Switching (ERPS) Command List 293 Filter Command List ...303 Filter Database (FDB) Command List 306...
DWS-3160 Series CLI Reference Guide
Page 3
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter 37 Chapter 38 Chapter 39 Chapter 40 Chapter 41 Chapter 42 Chapter ... 67 Chapter 68 Chapter 69 Chapter 70 IPv6 Neighbor Discover Command List 380 IPv6 Route Command List 384 Jumbo Frame Command List 387 Link Aggregation Command List 389 Link Layer Discovery Protocol (LLDP) Command List 396 Loop Back Detection (LBD) Command List 413 MAC Notification Command List 419 MAC-based Access Control...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter 37 Chapter 38 Chapter 39 Chapter 40 Chapter 41 Chapter 42 Chapter ... 67 Chapter 68 Chapter 69 Chapter 70 IPv6 Neighbor Discover Command List 380 IPv6 Route Command List 384 Jumbo Frame Command List 387 Link Aggregation Command List 389 Link Layer Discovery Protocol (LLDP) Command List 396 Loop Back Detection (LBD) Command List 413 MAC Notification Command List 419 MAC-based Access Control...
DWS-3160 Series CLI Reference Guide
Page 6
...| After the boot sequence has been completed, the console login screen will be displayed. DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. The Switch supports user-based security that can allow the user to simply connect to... enter commands after the command prompt (DWS-3160-24PC:admin#) appears. 2 All rights reserved. The boot sequence...
...| After the boot sequence has been completed, the console login screen will be displayed. DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. The Switch supports user-based security that can allow the user to simply connect to... enter commands after the command prompt (DWS-3160-24PC:admin#) appears. 2 All rights reserved. The boot sequence...
DWS-3160 Series CLI Reference Guide
Page 19
...parameter is needed from, here. ping Command: ? Example To get "ping" command's usage and description information: DWS-3160-24PC:admin#? Description This command is used to test the connectivity between network devices. ping Command: ping Usage: { ... and description information for a specific command. Restrictions None. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin# logout Command: logout Logout DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. UserName: 2-8 ?
...parameter is needed from, here. ping Command: ? Example To get "ping" command's usage and description information: DWS-3160-24PC:admin#? Description This command is used to test the connectivity between network devices. ping Command: ping Usage: { ... and description information for a specific command. Restrictions None. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin# logout Command: logout Logout DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. UserName: 2-8 ?
DWS-3160 Series CLI Reference Guide
Page 22
...up/down Move cursor Ctrl+D Delete line Ctrl+X Erase all setting Ctrl+L Reload original setting 2-13 show greeting_message 18 DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format config greeting_message {default} Parameters default - (Optional) Specifies that the...and Operators can issue this command. Example To edit the banner: DWS-3160-24PC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation.
...up/down Move cursor Ctrl+D Delete line Ctrl+X Erase all setting Ctrl+L Reload original setting 2-13 show greeting_message 18 DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format config greeting_message {default} Parameters default - (Optional) Specifies that the...and Operators can issue this command. Example To edit the banner: DWS-3160-24PC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation.
DWS-3160 Series CLI Reference Guide
Page 23
... issue this command. Example To display the greeting message: DWS-3160-24PC:admin#show greeting_message Command: show greeting_message DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Parameters None. All rights reserved DWS-3160-24PC:admin# 2-14 config command_prompt Description This command is used...
... issue this command. Example To display the greeting message: DWS-3160-24PC:admin#show greeting_message Command: show greeting_message DWS-3160-24PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Parameters None. All rights reserved DWS-3160-24PC:admin# 2-14 config command_prompt Description This command is used...
DWS-3160 Series CLI Reference Guide
Page 27
... - (Optional) Displays the port details. Example To display the port details: DWS-3160-24PC:admin#show ports details Command: show ports {} {[description | err_disabled | details | media_type]} Parameters ports - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format show ports details Port : 1 Port Status : Link Down Description : HardWare Type : Gigabits Ethernet MAC Address : 00-11-22...
... - (Optional) Displays the port details. Example To display the port details: DWS-3160-24PC:admin#show ports details Command: show ports {} {[description | err_disabled | details | media_type]} Parameters ports - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format show ports details Port : 1 Port Status : Link Down Description : HardWare Type : Gigabits Ethernet MAC Address : 00-11-22...
DWS-3160 Series CLI Reference Guide
Page 152
... IPv6 processing will be disabled. Restrictions Only Administrators, Operators and Power-Users can be started . DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show ipif Command: show ipif IP Interface VLAN Name Interface Admin State Link Status IPv4 Address Proxy ARP IPv4 State : Inter2 : default : Enabled : LinkUp : 192.168.16...
... IPv6 processing will be disabled. Restrictions Only Administrators, Operators and Power-Users can be started . DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show ipif Command: show ipif IP Interface VLAN Name Interface Admin State Link Status IPv4 Address Proxy ARP IPv4 State : Inter2 : default : Enabled : LinkUp : 192.168.16...
DWS-3160 Series CLI Reference Guide
Page 153
...and Power-Users can be used to 12 149 DWS-3160-24PC:admin# 12-20 disable ipif_ipv6_link_local_auto Description This command is used . Example To disable the IP interface for IPv6 link local automatic: DWS-3160-24PC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone ...long. Specifies that all the IP interfaces will be up to disable the auto configuration of link local address when no IPv6 address are configured. DWS-3160-24PC:admin# 12-21 show ipif_ipv6_link_local_auto {} Parameters - (Optional) Enter the Ip interface name used ...
...and Power-Users can be used to 12 149 DWS-3160-24PC:admin# 12-20 disable ipif_ipv6_link_local_auto Description This command is used . Example To disable the IP interface for IPv6 link local automatic: DWS-3160-24PC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone ...long. Specifies that all the IP interfaces will be up to disable the auto configuration of link local address when no IPv6 address are configured. DWS-3160-24PC:admin# 12-21 show ipif_ipv6_link_local_auto {} Parameters - (Optional) Enter the Ip interface name used ...
DWS-3160 Series CLI Reference Guide
Page 154
Example T o display the link local address automatic configuration state. Restrictions Only Administrators, Operators and Power-Users can issue this command. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide characters long. DWS-3160-24PC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Enabled DWS-3160-24PC:admin# 150
Example T o display the link local address automatic configuration state. Restrictions Only Administrators, Operators and Power-Users can issue this command. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide characters long. DWS-3160-24PC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Enabled DWS-3160-24PC:admin# 150
DWS-3160 Series CLI Reference Guide
Page 160
... a port is in the error pair has a crosstalk problem at the specified position. Format cable_diag ports [ | all - Since the status is link-up status, the test will be diagnosed. NOTE: This test will be diagnosed. For combo port, the test will always be applied to run ...test. But the test may be open problem. Enter a list of error and the position where the error occurs. all ] Parameters - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 14 Cable Diagnostics Command List cable_diag ports [ | all] 14-1 cable_diag ports Description This ...
... a port is in the error pair has a crosstalk problem at the specified position. Format cable_diag ports [ | all - Since the status is link-up status, the test will be diagnosed. NOTE: This test will be diagnosed. For combo port, the test will always be applied to run ...test. But the test may be open problem. Enter a list of error and the position where the error occurs. all ] Parameters - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 14 Cable Diagnostics Command List cable_diag ports [ | all] 14-1 cable_diag ports Description This ...
DWS-3160 Series CLI Reference Guide
Page 161
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Example Test the cable on port 1, 2, 3, 23 and 24: DWS-3160-24PC:admin#cable_diag ports 1,2,3,23,24 Command: cable_diag ports 1-3,23-24 Perform Cable Diagnostics ... DWS-3160-24PC:admin# 157 Port -----1 2 3 23 24 Type ---------1000BASE-T 1000BASE-T 1000BASE-T 1000BASE-T 1000BASE-T Link Status Link Up Link Up Link Down Link Up Link Down Test Result OK OK Pair 1 Open at 3M Pair 2 Open at 3M Pair 3 Open at 3M Pair 4 Open at 3M OK No Cable Cable Length (M 1 1 - 4 -
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Example Test the cable on port 1, 2, 3, 23 and 24: DWS-3160-24PC:admin#cable_diag ports 1,2,3,23,24 Command: cable_diag ports 1-3,23-24 Perform Cable Diagnostics ... DWS-3160-24PC:admin# 157 Port -----1 2 3 23 24 Type ---------1000BASE-T 1000BASE-T 1000BASE-T 1000BASE-T 1000BASE-T Link Status Link Up Link Up Link Down Link Up Link Down Test Result OK OK Pair 1 Open at 3M Pair 2 Open at 3M Pair 3 Open at 3M Pair 4 Open at 3M OK No Cable Cable Length (M 1 1 - 4 -
DWS-3160 Series CLI Reference Guide
Page 162
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 15 Captive Portal Command List enable ...| accept_text {} | account_image | account_label {} | aup_text {} | background_image | branding_image | browser_title {} | button_label | code | denied_msg | font_list {} | instructional_text {} | link | logout_browser_title {} | logout_button_label | logout_confirmation_text {} | logout_success_background_image | logout_success_browser_title {} | logout_success_text {} | logout_success_title {} | logout_text {} | logout_title {} | password_label {} | popup_text {} ...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 15 Captive Portal Command List enable ...| accept_text {} | account_image | account_label {} | aup_text {} | background_image | branding_image | browser_title {} | button_label | code | denied_msg | font_list {} | instructional_text {} | link | logout_browser_title {} | logout_button_label | logout_confirmation_text {} | logout_success_background_image | logout_success_browser_title {} | logout_success_text {} | logout_success_title {} | logout_text {} | logout_title {} | password_label {} | popup_text {} ...
DWS-3160 Series CLI Reference Guide
Page 170
...to 32 characters long. disable - Specifies that the default value will be enabled. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide account_label {} | aup_text {} | background_image | branding_image | browser_title {} | button_label | code | denied_msg | font_list {} | instructional_text {} | link | logout_browser_title {} | logout_button_label | logout_confirmation_text {} | logout_success_background_image | logout_success_browser_title {} | logout_success_text {} | logout_success_title {} | logout_text {} | logout_title {} | password_label {} | popup_text...
...to 32 characters long. disable - Specifies that the default value will be enabled. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide account_label {} | aup_text {} | background_image | branding_image | browser_title {} | button_label | code | denied_msg | font_list {} | instructional_text {} | link | logout_browser_title {} | logout_button_label | logout_confirmation_text {} | logout_success_background_image | logout_success_browser_title {} | logout_success_text {} | logout_success_title {} | logout_text {} | logout_title {} | password_label {} | popup_text...
DWS-3160 Series CLI Reference Guide
Page 172
...long. script_text - Specifies that the web user must enable JavaScript to 1024 characters long. You can be up to system resource limitations. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide - (Optional) Enter the instructional authentication text used here. This string can be displayed, ... text used here. This string can be up to 32 characters long. Enter the resource message, to 512 characters long. popup_text - link - This string must enter the text that identifies the page. - (Optional) Enter the Logout success title string here. This string ...
...long. script_text - Specifies that the web user must enable JavaScript to 1024 characters long. You can be up to system resource limitations. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide - (Optional) Enter the instructional authentication text used here. This string can be displayed, ... text used here. This string can be up to 32 characters long. Enter the resource message, to 512 characters long. popup_text - link - This string must enter the text that identifies the page. - (Optional) Enter the Logout success title string here. This string ...
DWS-3160 Series CLI Reference Guide
Page 210
... illustrates how the special filters 'modified' affect the configuration display: DWS-3160-24PC:admin#show config modified Command: show config modified # DWS-3160-24PC Gigabit Ethernet Switch # Configuration # # Firmware: Build 1.00.034 # Copyright(C) 2012 D-Link Corporation. Specifies the current configuration. Specifies the list of the output. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide level setting regarding...
... illustrates how the special filters 'modified' affect the configuration display: DWS-3160-24PC:admin#show config modified Command: show config modified # DWS-3160-24PC Gigabit Ethernet Switch # Configuration # # Firmware: Build 1.00.034 # Copyright(C) 2012 D-Link Corporation. Specifies the current configuration. Specifies the list of the output. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide level setting regarding...
DWS-3160 Series CLI Reference Guide
Page 211
.... Restrictions Only Administrators can issue this command. boot_up - (Optional) Specifies it as boot up configuration or to apply a specific configuration to the system. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show config effective Command: show config effective # DWS-3160-24PC Gigabit Ethernet Switch # Configuration # # Firmware: Build 1.00.034 # Copyright(C) 2012 D-Link Corporation.
.... Restrictions Only Administrators can issue this command. boot_up - (Optional) Specifies it as boot up configuration or to apply a specific configuration to the system. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show config effective Command: show config effective # DWS-3160-24PC Gigabit Ethernet Switch # Configuration # # Firmware: Build 1.00.034 # Copyright(C) 2012 D-Link Corporation.
DWS-3160 Series CLI Reference Guide
Page 215
...level of MIPs on an MA is useful to trace the link, MIP by MIP. Restrictions Only Administrators, Operators and Power-Users can be between 0 and 7. Enter the maintenance domain level here. The creation of "2": DWS-3160-24PC:admin# create cfm md op_domain level 2 Command: create cfm... Enter the maintenance domain name here. Enter the maintenance domain index value here. DWS-3160-24PC:admin# 19-2 config cfm md Description This command is used to create a maintenance domain. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 19-1 create cfm md Description This...
...level of MIPs on an MA is useful to trace the link, MIP by MIP. Restrictions Only Administrators, Operators and Power-Users can be between 0 and 7. Enter the maintenance domain level here. The creation of "2": DWS-3160-24PC:admin# create cfm md op_domain level 2 Command: create cfm... Enter the maintenance domain name here. Enter the maintenance domain index value here. DWS-3160-24PC:admin# 19-2 config cfm md Description This command is used to create a maintenance domain. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 19-1 create cfm md Description This...
DWS-3160 Series CLI Reference Guide
Page 225
...the CFM function is used for this command. enable - disable - Enter the list of specified ports. Example To configure the CFM ports: DWS-3160-24PC:admin#config cfm ports 2-5 state enable Command: config cfm ports 2-5 state enable Success. MEPs created on that the CFM function is disabled on a...disabled. If the user issues a Loopback or Link trace test on a per-port basis. Specifies that the CFM function will prompt the user to enable or disable the CFM function on those MEPs, it will be enabled or disabled. DWS-3160-24PC:admin# 19-13 show cfm ports 221
...the CFM function is used for this command. enable - disable - Enter the list of specified ports. Example To configure the CFM ports: DWS-3160-24PC:admin#config cfm ports 2-5 state enable Command: config cfm ports 2-5 state enable Success. MEPs created on that the CFM function is disabled on a...disabled. If the user issues a Loopback or Link trace test on a per-port basis. Specifies that the CFM function will prompt the user to enable or disable the CFM function on those MEPs, it will be enabled or disabled. DWS-3160-24PC:admin# 19-13 show cfm ports 221
DWS-3160 Series CLI Reference Guide
Page 231
... between 1 and 8191. This value must be set in a Data TLV, along with an indication whether the Data TLV is used to issue a CFM link track message. DWS-3160-24PC:admin# 19-18 cfm linktrace Description This command is to be included. - Enter the MEP name used . - This name can be up to 32.... If not specified, it uses the same priority as CCMs and LTMs sent by the MA. - Enter the pattern used here. Example To transmit a LBM: DWS-3160-24PC:admin# cfm loopback 00-01-02-03-04-05 mepname mep1 Command: cfm loopback 00-01-02-03-04-05 mepname mep1 Request timed out...
... between 1 and 8191. This value must be set in a Data TLV, along with an indication whether the Data TLV is used to issue a CFM link track message. DWS-3160-24PC:admin# 19-18 cfm linktrace Description This command is to be included. - Enter the MEP name used . - This name can be up to 32.... If not specified, it uses the same priority as CCMs and LTMs sent by the MA. - Enter the pattern used here. Example To transmit a LBM: DWS-3160-24PC:admin# cfm loopback 00-01-02-03-04-05 mepname mep1 Command: cfm loopback 00-01-02-03-04-05 mepname mep1 Request timed out...