hit counter script
D-Link DES-3010F Command Line Interface Manual

D-Link DES-3010F Command Line Interface Manual

Managed 8/16/24-port 10/100mbps n-way fast ethernet switch
Hide thumbs Also See for DES-3010F:

Advertisement

DES-3010F/DES-3010FL/DES-3010G/DES-3016/DES-3018/DES-3026
Managed 8/16/24-port 10/100Mbps N-Way Fast Ethernet Switch
Command Line Interface Reference Manual
Fourth Edition (November 2008)
651ES3026055G
Printed In Taiwan
RECYCLABLE

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3010F

  • Page 1 DES-3010F/DES-3010FL/DES-3010G/DES-3016/DES-3018/DES-3026 Managed 8/16/24-port 10/100Mbps N-Way Fast Ethernet Switch Command Line Interface Reference Manual Fourth Edition (November 2008) 651ES3026055G Printed In Taiwan RECYCLABLE...
  • Page 3: Table Of Contents

    IGMP Snooping Commands ................................ 149 IGMP Access Control Commands ............................... 156 CPU ACL Filtering Commands ..............................158 Port Security Commands................................167 802.1X Commands..................................171 Time and SNTP Commands................................. 192 Routing Table Commands................................198 ARP Commands................................... 200 D-Link Single IP Management Commands ..........................203...
  • Page 4 SSH Server Commands ................................214 Command History List..................................221 Technical Specifications ................................225...
  • Page 5: Introduction

    DES-3000 Series Layer 2 Switch CLI Reference Manual NTRODUCTION This document is a reference guide for all DES-3010F/DES-3010FL/DES-3010G/DES-3016/DES-3018/DES-3026 switches. Throughout this manual, the DES-3026 Switch will be the Switch referred to for all examples and configuration information. All DES-3010F/DES-3010FL /DES-3010G/DES-3016/DES-3018/DES-3026 switches contain the same information and posses the same configuration capabilities.
  • Page 6 The IP interface named System on the Switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the Switch’s Telnet or Web-based management agent. DES-3026 Fast Ethernet Switch Command Line Interface Firmware: Build 4.20.B27 Copyright(C) 2008 D-Link Corporation. All rights reserved. UserName: PassWord: DES-3026:4#config ipif System ipaddress 10.73.21.42/255.0.0.0 Command: config ipif System ipaddress 10.73.21.42/8...
  • Page 7: Using The Console Cli

    DES-3000 Series Layer 2 Switch CLI Reference Manual SING THE ONSOLE The DES-3026 supports a console management interface that allows the user to connect to the Switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP Telnet protocol.
  • Page 8 DES-3000 Series Layer 2 Switch CLI Reference Manual After the Switch reboots and you have logged in, the console looks like this: DES-3026 Fast Ethernet Switch Command Line Interface Firmware: Build 4.20.B27 Copyright(C) 2008 D-Link Corporation. All rights reserved. UserName: PassWord: DES-3026:4#_ Figure 2-1.
  • Page 9 DES-3000 Series Layer 2 Switch CLI Reference Manual When you enter a command without its required parameters, the CLI will prompt you with Next possible completions: message. DES-3026:4#show Command: show Next possible completions: 802.1p 802.1x account acct_client address_binding arpentry auth_client auth_diagnostics auth_session_statistics auth_statistics...
  • Page 10 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config account Command: config account Next possible completions: <username> DES-3026:4#config account Command: config account Next possible completions: <username> DES-3026:4#_ Figure 2-4. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username>...
  • Page 11 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show Command: show Next possible completions: 802.1p 802.1x account acct_client address_binding arpentry auth_client auth_diagnostics auth_session_statistics auth_statistics autoconfig bandwidth_control command_history config cpu_access_profile dhcp_relay dscp_mapping error igmp igmp_snooping ipif iproute lacp_port link_aggregation log_save_timing loopdetect mac_notification mirror multicast...
  • Page 12: Command Syntax

    DES-3000 Series Layer 2 Switch CLI Reference Manual OMMAND YNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax. Note: All commands are case-sensitive.
  • Page 13 DES-3000 Series Layer 2 Switch CLI Reference Manual {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset {[config | system]} Description In the above syntax example, you have the option to specify config or system. It is not necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified.
  • Page 14: Basic Switch Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual ASIC WITCH OMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable password encryption disable password encryption config account <username>...
  • Page 15 DES-3000 Series Layer 2 Switch CLI Reference Manual enable/disable password encryption Purpose Used to create user accounts. Syntax enable password encryption disable password encryption Description The user account configuration information will be stored in the configuration file, and can be applied to the system later. If the password encryption is enabled, the password will be in encrypted form.
  • Page 16 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# NOTICE: In case of lost passwords or password corruption, please refer to the D-Link website and the White Paper entitled “Password Recovery Procedure”, which will guide you through the steps necessary to resolve this issue. config account Purpose Used to configure user accounts.
  • Page 17 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show account Command: show account Current Accounts: Username Access Level --------------- ------------ dlink Admin DES-3026:4# delete account Purpose Used to delete an existing user account. Syntax delete account <username> {force_agree} Description The delete account command deletes a user account that has been created using the create account command.
  • Page 18 DES-3000 Series Layer 2 Switch CLI Reference Manual CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show switch Purpose Used to display information about the Switch. Syntax show switch Description This command displays information about the Switch. Parameters None.
  • Page 19 DES-3000 Series Layer 2 Switch CLI Reference Manual show config Syntax show config [current_config | config_in_nvram] Description This command displays a list of configuration commands entered into the Switch. Parameters current_config – Entering this parameter will display configurations entered without being saved to NVRAM. config_in_nvram –...
  • Page 20 DES-3000 Series Layer 2 Switch CLI Reference Manual config serial_port Purpose Used to configure the serial port. Syntax {baud_rate [9600 | 19200 | 38400 | 115200] |auto_logout [never | 2_minutes | 5_minutes| 10_minutes | 15_minutes]} Description This command is used to configure the serial port’s baud rate and auto logout settings.
  • Page 21 DES-3000 Series Layer 2 Switch CLI Reference Manual enable clipaging Purpose Used to pause the scrolling of the console screen when the show command displays more than one page. Syntax enable clipaging Description This command is used when issuing a command which causes the console screen to rapidly scroll through several pages.
  • Page 22 DES-3000 Series Layer 2 Switch CLI Reference Manual enable telnet Purpose Used to enable communication with and management of the Switch using the Telnet protocol. Syntax enable telnet {<tcp_port_number 1-65535>} Description This command is used to enable the Telnet protocol on the Switch. The user can specify the TCP or UDP port number the Switch will use to listen for Telnet requests.
  • Page 23 DES-3000 Series Layer 2 Switch CLI Reference Manual enable web Purpose Used to enable the HTTP-based management software on the Switch. Syntax enable web {<tcp_port_number 1-65535>} Description This command is used to enable the Web-based management software on the Switch. <tcp_port_number 1-65535>...
  • Page 24 DES-3000 Series Layer 2 Switch CLI Reference Manual save Purpose Used to save changes in the Switch’s configuration to non-volatile RAM. Syntax save {[config | log | all]} Description This command is used to enter the current switch configuration into non-volatile RAM.
  • Page 25 DES-3000 Series Layer 2 Switch CLI Reference Manual reset Purpose Used to reset the Switch to the factory default settings. Syntax reset {[config | system]} {force_agree} Description This command is used to restore the Switch’s configuration to the default settings assigned from the factory. config ...
  • Page 26 DES-3000 Series Layer 2 Switch CLI Reference Manual logout Purpose Used to log out a user from the Switch’s console. Syntax logout Description This command terminates the current user’s session on the Switch’s console. Parameters None. Restrictions None. Example usage: To terminate the current user’s console session: DES-3026:4#logout ping...
  • Page 27 DES-3000 Series Layer 2 Switch CLI Reference Manual config terminal_line Purpose Used to configure the number of terminal lines produced from the command line interface. Syntax config terminal_line [default | <value 20-80>] Description This command is used to set the number of lines that will be produced by the command line interface of the switch.
  • Page 28: Switch Port Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual WITCH OMMANDS The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ports config ports [<portlist> | all] {speed [auto | 10_half | 10_full | 100_half | 100_full | {1000_full {[master | slave]}}] | flow_control [enable | disable] | state [enable | disable] | description [<desc 128>...
  • Page 29 DES-3000 Series Layer 2 Switch CLI Reference Manual config ports mdix – MDIX mode can be specified as auto, normal, and cross Restrictions Only Administrator-level users can issue this command. Example usage: To configure the speed of ports 1-3 to be 10 Mbps, full duplex and state enabled: DES-3026:4#config ports 1-3 speed 10_full state enable Command: config ports 1-3 speed 10_full state enable Success.
  • Page 30 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show ports 1 description Command: show ports 1 description Port State/ Settings Connection Address Mdix Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning ------ -------- --------------------- --------------------- -------- Enabled Auto/Enabled Link Down Enabled Normal Description: Accounting CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh Example usage: To display error ports: DES-3026:4#show ports err_disabled...
  • Page 31 DES-3000 Series Layer 2 Switch CLI Reference Manual cable diag ports Purpose Used to test the copper cable. If there is an error on the cable, it can determine the type of error and the position where the error occurred. Syntax cable_diag ports [<portlist>| all] Description...
  • Page 32: Network Management (Snmp) Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual (SNMP) C ETWORK ANAGEMENT OMMANDS The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. The DES-3026 supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. The user may specify which version of the SNMP to use to monitor and control the Switch.
  • Page 33 DES-3000 Series Layer 2 Switch CLI Reference Manual Command Parameters create snmp host <ipaddr> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] <auth_string 32> delete snmp host <ipaddr> show snmp host {<ipaddr>} enable rmon disable rmon create trusted_host [<ipaddr>...
  • Page 34 DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp user recommended. auth - The user may also choose the type of authentication algorithms used to authenticate the snmp user. The choices are:  md5  Specifies that the HMAC-MD5-96 authentication level will be used.
  • Page 35 DES-3000 Series Layer 2 Switch CLI Reference Manual delete snmp user Purpose Used to remove an SNMP user from an SNMP group and also to delete the associated SNMP group. Syntax delete snmp user <SNMP_name 32> Description The delete snmp user command removes an SNMP user from its SNMP group and then deletes the associated SNMP group.
  • Page 36 DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp view <view_name 32>  An alphanumeric string of up to 32 characters Parameters that identifies the SNMP view that will be created. <oid>  The object ID that identifies an object tree (MIB tree) that will be included or excluded from access by an SNMP manager.
  • Page 37 DES-3000 Series Layer 2 Switch CLI Reference Manual show snmp view Purpose Used to display an SNMP view previously created on the Switch. Syntax show snmp view {<view_name 32>} Description The show snmp view command displays an SNMP view previously created on the Switch.
  • Page 38 DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp community manager is allowed to access on the Switch. read_only  Specifies that SNMP community members using the community string created with this command can only read the contents of the MIBs on the Switch. read_write ...
  • Page 39 DES-3000 Series Layer 2 Switch CLI Reference Manual show snmp community community. This string is used like a password to give remote SNMP managers access to MIB objects in the Switch’s SNMP agent. Restrictions None. Example usage: To display the currently entered SNMP community strings: DES-3026:4#show snmp community Command: show snmp community SNMP Community Table...
  • Page 40 DES-3000 Series Layer 2 Switch CLI Reference Manual show snmp engineID Purpose 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. Parameters None.
  • Page 41 DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp group encryption of packets sent between the Switch and a remote SNMP manager. auth_nopriv  Specifies that authorization will be required, but there will be no encryption of packets sent between the Switch and a remote SNMP manager.
  • Page 42 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To delete the SNMP group named “sg1”. DES-3026:4#delete snmp group sg1 Command: delete snmp group sg1 Success. DES-3026:4# show snmp groups Purpose Used to display the group-names of SNMP groups currently configured on the Switch.
  • Page 43 DES-3000 Series Layer 2 Switch CLI Reference Manual ReadView Name : ReadView WriteView Name : WriteView Notify View Name : NotifyView Security Model : SNMPv3 Security Level : authPriv Group Name : initial ReadView Name : restricted WriteView Name Notify View Name : restricted Security Model : SNMPv3...
  • Page 44 DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp host strategies. It includes improvements in the Structure of Management Information (SMI) and adds some security features. v3 – Specifies that the SNMP version 3 will be used. SNMP v3 provides secure access to devices through a combination of authentication and encrypting packets over the network.
  • Page 45 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# delete snmp host 10.48.74.100 Command: delete snmp host 10.48.74.100 Success. DES-3026:4# show snmp host Purpose Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax show snmp host {<ipaddr>} Description The show snmp host command is used to display the IP addresses and configuration information of remote SNMP managers that are...
  • Page 46 DES-3000 Series Layer 2 Switch CLI Reference Manual enable rmon Purpose Used to enable RMON on the Switch. Syntax enable rmon Description This command is used, in conjunction with the disable rmon command below, to enable and disable remote monitoring (RMON) on the Switch.
  • Page 47 DES-3000 Series Layer 2 Switch CLI Reference Manual create trusted_host <ipaddr>  The IP address of the trusted host to be created. Parameters network <network_address> – Users may enter this parameter to configure a trusted network for the device, using an IP address with the appropriate subnet mask..
  • Page 48 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# delete trusted_host Purpose Used to delete a trusted host entry made using the create trusted_host command above. Syntax delete trusted host [ipaddr <ipaddr> | network <network_address> | all] Description This command is used to delete a trusted host entry made using the create trusted_host command above.
  • Page 49 DES-3000 Series Layer 2 Switch CLI Reference Manual disable snmp traps Description This command is used to disable SNMP trap support on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Example Usage: To prevent SNMP traps from being sent from the Switch: DES-3026:4#disable snmp traps Command: disable snmp traps Success.
  • Page 50 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# show snmp traps Purpose Used to show SNMP trap support on the Switch . Syntax show snmp traps Description This command is used to view the SNMP trap support status currently configured on the Switch. Parameters None.
  • Page 51 DES-3000 Series Layer 2 Switch CLI Reference Manual config snmp system_location Purpose Used to enter a description of the location of the Switch. Syntax config snmp system_location {<sw_location>} Description The config snmp system_location command is used to enter a description of the location of the Switch. A maximum of 255 characters can be used.
  • Page 52: Smtp Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual SMTP C OMMANDS SMTP or Simple Mail Transfer Protocol is a function of the Switch that will send switch events to mail recipients based on e-mail addresses entered using the commands below. The Switch is to be configured as a client of SMTP while the server is a remote device that will receive messages from the Switch, place the appropriate information into an e-mail and deliver it to recipients configured on the Switch.
  • Page 53: Command Parameters

    DES-3000 Series Layer 2 Switch CLI Reference Manual  The maximum attempts for delivering mail to recipients is three. Mail message delivery attempts will be tried every five minutes until the maximum number of attempts is reached. Once reached and the message has not been successfully delivered, the message will be dropped and not received by the mail recipient.
  • Page 54 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#disable smtp Command: disable smtp Success. DES-3026:4# config smtp Purpose Used to configure necessary information in setting up the Switch as an SMTP client. Syntax config smtp {server <ipaddr> | server_port <tcp_port_number 1- 65535>...
  • Page 55 DES-3000 Series Layer 2 Switch CLI Reference Manual show smtp Purpose Used to view configured parameters for the SMTP function on the Switch. Syntax show smtp Description This command will display parameters configured for SMTP on the Switch, including server information, mail recipients and the current running status of SMTP on the Switch.
  • Page 56 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# smtp send_testmsg Command: smtp send_testmsg Subject: This is a SMTP test. Content: Hello everybody!! Sending mail, please wait… Success. DES-3026:4#...
  • Page 57: Dhcp Relay Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual DHCP RELAY OMMANDS The DHCP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_relay { hops <value 1-16> | time <sec 0-65535>} config dhcp _relay [add|delete] ipif <ipif_name 12>...
  • Page 58 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure DHCP relay status: DES-3026:4# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success.
  • Page 59 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay delete Purpose Used to delete one or all IP destination addresses from the switch’s DHCP relay table. Syntax config dhcp_relay delete ipif <ipif_name 12> <ipaddr> Description The config dhcp_relay delete command is used to delete one or all of the IP destination addresses in the switch’s relay table.
  • Page 60 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay option82 command. Example usage: To configure dhcp_relay option 82: DES-3026:4# config dhcp_relay option_82 state enable Command: config dhcp_relay option_82 state enable Success. DES-XXXXS:4#config dhcp_relay option_82 check disable Command: config dhcp_relay option_82 check disable Success.
  • Page 61 DES-3000 Series Layer 2 Switch CLI Reference Manual disable dhcp_relay Purpose Used to disable the DHCP relay function on the switch. Syntax disable dhcp_relay Description The disable dhcp_relay command disables the DHCP relay function on the switch. Parameters None Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 62 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display dhcp relay status: DES-3026:4# show dhcp_relay ipif System Command: show dhcp_relay ipif System DHCP/BOOTP Relay Status : Disabled DHCP/BOOTP Hops Count Limit DHCP/BOOTP Relay Time Threshold : 0 DHCP Relay Agent Information Option 82 State : Disabled DHCP Relay Agent Information Option 82 Check...
  • Page 63 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To configure the state of dhcp_relay option 60: DES-3026:4# config dhcp_relay option_60 state enable Command: config dhcp_relay option_60 state enable Success DES-3026:4# config dhcp_relay option_60 add Purpose Used to add a entry for dhcp_relay option_60. Syntax configure dhcp_relay option_60 add string <desc 255>...
  • Page 64 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay option_60 delete Purpose Used to delete dhcp_relay option_60 entry. Syntax config dhcp_relay delete option_60 [ string <desc 255> {relay <ipaddr>}| ipaddress < ipaddr >|all |default {< ipaddr>}] Description This can delete the entry by user specified. When all is specified, all rules excluding the default rules are deleted.
  • Page 65 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay option_60 default Purpose Config dhcp_relay option_60 default relay servers. Syntax config dhcp_relay option_60 default [relay <ipaddr>| mode [drop|relay]] Description When there are no matching servers found for the packet based on option 60, the relay servers will be determined by the default relay server setting.
  • Page 66 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To show dhcp_relay option 60 rule: DES-3026:4# show dhcp_relay option_60 Command: show dhcp_relay option_60 Default processing Mode: drop Default Servers: 10.90.90.100 10.90.90.101 10.90.90.102 Mating Rules: String Match Type IP Address --------- ------------- -----------...
  • Page 67 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To configure the state of dhcp_relay option 61: DES-3026:4# config dhcp_relay option_61 state enable Command: config dhcp_relay option_61 state enable Success DES-3026:4# config dhcp_relay option_61 add Purpose Used to add a rule for dhcp_relay option_61. Syntax config dhcp_relay option_61 add [mac_address <macaddr>...
  • Page 68 DES-3000 Series Layer 2 Switch CLI Reference Manual config dhcp_relay option_61 default Purpose Config dhcp_relay option_61 default relay servers. Syntax config dhcp_relay option_61 default [relay <ipaddr>|drop] Description The IP address can be specified up to default server. This setting will be used to determine the rule to process those packets that have no option 61 matching rules.
  • Page 69 DES-3000 Series Layer 2 Switch CLI Reference Manual show dhcp_relay option_61 Purpose Used to show all rulers for option 61. Syntax show dhcp_relay option_61 Description Show all dhcp_relay option 61. Parameters None Restrictions None Example usage: To delete dhcp_relay option 61 rule: DES-3026:4# show dhcp_relay option_61 Command: show dhcp_relay option_61 Default Relay Rule: 10.90.90.200...
  • Page 70: Download/Upload Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual OWNLOAD PLOAD OMMANDS The download/upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters download [firmware <ipaddr> <path_filename 64> | configuration <ipaddr> <path_filename 64>...
  • Page 71 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To download a configuration file: DES-3026:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121 c:\cfg\setting.txt Connecting to server....Done. Download configuration..... Done. DES-3026:4# upload Purpose Used to upload the current switch settings or the Switch history log to a TFTP server.
  • Page 72 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#upload configuration 10.48.74.121 c:\cfg\log.txt Command: upload configuration 10.48.74.121 c:\cfg\log.txt Connecting to server....Done. Upload configuration....Done. DES-3026:4# enable autoconfig Purpose Used to activate the autoconfiguration function for the Switch. This will load a previously saved configuration file for current use.
  • Page 73 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#enable autoconfig Command: enable autoconfig Success. DES-3026:4# DES-3026 Fast Ethernet Switch Command Line Interface Firmware: Build 4.20.B27 Copyright(C) 2008 D-Link Corporation. All rights reserved. UserName: Password: DES-3026:4# DES-3026:4##ROUTE DES-3026:4# DES-3026:4# DES-3026:4#create iproute default 172.18.212.253 Command: create iproute default 172.18.212.253...
  • Page 74 DES-3000 Series Layer 2 Switch CLI Reference Manual disable autoconfig Purpose Use this to deactivate autoconfiguration from DHCP. Syntax disable autoconfig Description This instructs the Switch not to accept autoconfiguration instruction from the DHCP server. This does not change the IP settings of the Switch. The ipif settings will continue as DHCP client until changed with the config ipif command.
  • Page 75: Network Monitoring Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual ETWORK ONITORING OMMANDS The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show packet ports <portlist> show error ports <portlist>...
  • Page 76 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show packet ports 7 Command: show packet ports 7 Port number : 7 Frame Size Frame Counts Frames/sec Frame Type Total Total/sec ------------ ------------ ---------- ---------- ------- --------- 3275 RX Bytes 408973 1657 65-127 RX Frames...
  • Page 77 DES-3000 Series Layer 2 Switch CLI Reference Manual CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show utilization ports Purpose Used to display real-time port utilization statistics. Syntax show utilization ports {<portlist>} Description This command will display the real-time port utilization statistics for the Switch.
  • Page 78 DES-3000 Series Layer 2 Switch CLI Reference Manual show utilization cpu Purpose Used to display real-time CPU utilization statistics. Syntax show utilization cpu Description This command will display the real-time CPU utilization statistics for the Switch. Parameters None. Restrictions None. Example usage: To display the CPU utilization statistics: DES-3026:4#show utilization cpu...
  • Page 79 DES-3000 Series Layer 2 Switch CLI Reference Manual clear log Purpose Used to clear the Switch’s history log. Syntax clear log Description This command will clear the Switch’s history log. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To clear the log information: DES-3026:4#clear log...
  • Page 80 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# enable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax enable syslog Description The enable syslog command enables the system log to be sent to a remote host.
  • Page 81 DES-3000 Series Layer 2 Switch CLI Reference Manual show syslog Restrictions None. Example usage: To display the current status of the syslog function: DES-3026:4#show syslog Command: show syslog Syslog Global State: Enabled DES-3026:4# create syslog host Purpose Used to create a new syslog host. Syntax create syslog host <index 1-4>...
  • Page 82 DES-3000 Series Layer 2 Switch CLI Reference Manual create syslog host Parameters Numerical Facility Code kernel messages user-level messages mail system system daemons security/authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security/authorization messages FTP daemon NTP subsystem...
  • Page 83 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Command: create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Success. DES-3026:4# config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host. Syntax config syslog {host [all | <index 1-4>]} {severity [informational | warning | all] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] |...
  • Page 84 DES-3000 Series Layer 2 Switch CLI Reference Manual config syslog host Parameters Numerical Facility Code kernel messages user-level messages mail system system daemons security/authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security/authorization messages FTP daemon NTP subsystem...
  • Page 85 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success. DES-3026:4# delete syslog host Purpose Used to remove a syslog host that has been previously configured, from the Switch.
  • Page 86 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show syslog host Command: show syslog host Syslog Global State: Disabled Host Id Host IP Address Severity Facility UDP port Status ------- --------------- --------- --------- -------- -------- 10.1.1.2 Local0 Disabled 10.40.2.3 Local0 Disabled 10.21.13.1 Local0...
  • Page 87 DES-3000 Series Layer 2 Switch CLI Reference Manual show log_save_timing Purpose Used to display the method currently used for automatic saving of log to Syslog host. Syntax show_save_timing Description The show log save timing command will display the current configuration of saving Switch logs to designated hosts.
  • Page 88: Spanning Tree Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual PANNING OMMANDS The Switch supports 802.1D STP and 802.1w Rapid STP. The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config stp...
  • Page 89 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config stp maxage 18 hellotime 4 Command: config stp maxage 18 hellotime 4 Success. DES-3026:4# config stp ports Purpose Used to setup STP on the port level. Syntax config stp ports <portlist> {cost [auto | <value 1-200000000>] | priority <value 0- 240>|migrate [yes|no] |edge [true|false]|p2p [true|false|auto] |state [enabled|disabled]|fbpdu [enabled|disabled]} Description...
  • Page 90 DES-3000 Series Layer 2 Switch CLI Reference Manual config stp ports Restrictions Only Administrator-level users can issue this command. Example usage: To configure STP with path cost 19, priority 15, and state enabled for ports 1-5. DES-3026:4#config stp ports 1-5 cost 19 priority 15 state enabled Command: config stp ports 1-5 cost 19 priority 15 state enabled...
  • Page 91 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#disable stp Command: disable stp Success. DES-3026:4# show stp Purpose Used to display the Switch’s current STP configuration. Syntax show stp Description This command displays the Switch’s current STP configuration. Parameters None. Restrictions None.
  • Page 92 DES-3000 Series Layer 2 Switch CLI Reference Manual CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh Status 2 : STP disabled DES-3026:4#show stp Command: show stp STP Status : Disabled Max Age : 20 Hello Time Forward Delay : 15 Priority...
  • Page 93 DES-3000 Series Layer 2 Switch CLI Reference Manual Forwarding BPDU : Enabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh...
  • Page 94: Loopback Detection Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual OOPBACK ETECTION OMMANDS The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable loopdetect disable loopdetect config loopdetect [recover_timer [0 | <value 60-1000000>] | interval <value 1-32767>] show loopdetect config loopdetect ports...
  • Page 95 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To disable the Loopback Detection function, globally, on the Switch: DES-3026:4#disable loopdetect Command: disable loopdetect Success. DES-3026:4# config loopdetect Purpose Used to configure the Loopback Detection function parameters on the switch. Syntax config loopdetect [recover_timer [0 | <value 60-1000000>] | interval <value 1-32767>]...
  • Page 96 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config loopdetect interval 10 Command: config loopdetect interval 10 Success. DES-3026:4# show loopdetect Purpose Used to display the Loopback Detection function parameters set on the switch. Syntax show loopdetect Description This command will display the loopdetect settings currently set on the switch.
  • Page 97 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config loopdetect ports 1-10 state enable Command: config loopdetect ports 1-10 state enable Success. DES-3026:4# show loopdetect ports Purpose Used to display the Loopback Detection port settings on the switch. Syntax show loopdetect ports {<portlist>} Description This command will display the loopdetect port settings currently set on the switch.
  • Page 98: Forwarding Database Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual ORWARDING ATABASE OMMANDS The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create fdb <vlan_name 32> <macaddr> port <port> create multicast_fdb <vlan_name 32>...
  • Page 99 DES-3000 Series Layer 2 Switch CLI Reference Manual create multicast_fdb Purpose Used to create a static entry to the multicast MAC address forwarding table (database). Syntax create multicast_fdb <vlan_name 32> <macaddr> Description This command will make an entry into the Switch’s multicast MAC address forwarding database.
  • Page 100 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# config fdb aging_time Purpose Used to set the aging time of the forwarding database. Syntax config fdb aging_time <sec 10-1000000> Description The aging time affects the learning process of the Switch. Dynamic forwarding table entries, which are made up of the source MAC addresses and their associated port numbers, are deleted from the table if they are not accessed within the aging time.
  • Page 101 DES-3000 Series Layer 2 Switch CLI Reference Manual Success. DES-3026:4# clear fdb Purpose Used to clear the Switch’s forwarding database of all dynamically learned MAC addresses. Syntax clear fdb [vlan <vlan_name 32> | port <port> | all] Description This command is used to clear dynamically learned entries to the Switch’s forwarding database.
  • Page 102 DES-3000 Series Layer 2 Switch CLI Reference Manual VLAN Name : default MAC Address : 01-00-5E-00-00-00 Egress Ports : 1-5,26 Mode : Static Total Entries DES-3026:4# show fdb Purpose Used to display the current unicast MAC address forwarding database. Syntax show fdb {port <port>...
  • Page 103 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VLAN Name MAC Address Port Type ---- ---------- ----------------- ------ ----------- default 00-00-39-34-66-9A Dynamic default 00-00-51-43-70-00 Dynamic default 00-00-5E-00-01-01 Dynamic default 00-00-74-60-72-2D Dynamic...
  • Page 104 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To configure the multicast filtering mode to filter unregistered groups. DES-3026:4#config multicast filtering_mode filter_unregistered_groups Command: config multicast filtering_mode filter_unregistered_groups Success. DES-3026:4# show multicast filtering_mode Purpose Used to show the multicast packet filtering. Syntax show multicast filtering_mode Description...
  • Page 105: Traffic Control Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual RAFFIC ONTROL OMMANDS On a computer network, packets such as Multicast packets and Broadcast packets continually flood the network as normal procedure. At times, this traffic may increase do to a malicious endstation on the network or a malfunctioning device, such as a faulty network card.
  • Page 106 DES-3000 Series Layer 2 Switch CLI Reference Manual config traffic control mechanism to determine the Packet Storm occurring. Once detected, the port will deny all incoming traffic to the port except STP BPDU packets, which are essential in keeping the Spanning Tree operational on the Switch.
  • Page 107 DES-3000 Series Layer 2 Switch CLI Reference Manual config traffic trap Purpose Used to configure traps for traffic control. Syntax config traffic trap [none | storm_occurred | storm_cleared | both] Description Use this to enable traffic storm trap messages. Parameters none –...
  • Page 108 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show traffic control Command: show traffic control Traffic Storm Control Trap :[None] Port Thres Broadcast Multicast Unicast Action Count Time Shutdown hold Storm Storm Storm down Interval Forever ---- ----- --------- --------- -------- -------- ----- --------...
  • Page 109: Qos Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual OMMANDS The DES-3000 Series switch supports priority classification for IEEE 802.1p Priority, DiffServ (DSCP) and IP TOS priority. Incoming packets with piority tags are classified into 4 priority queues in the Switch. Priority may also be set according to destination MAC address or Switch port.
  • Page 110 DES-3000 Series Layer 2 Switch CLI Reference Manual Command Parameters config cos mapping port [<portlist> | all] [none | {port_mapping | ethernet [802.1p | mac_mapping | ip [tos | dscp]}] show cos mapping {port [<portlist> | all]} config dscp_mapping dscp_value <0–63> [class <class_id 0-3>] show dscp_mapping {dscp_value <value 0-63>} config scheduling...
  • Page 111 DES-3000 Series Layer 2 Switch CLI Reference Manual config cos mapping mapping as defined by the class (class <class_id 0-3>).  ip – Specifies port-based CoS mapping on selected ports to be tos or dscp mapping.  tos – Specifies CoS mapping for Type of Service (ToS) priority. Select the ToS value (value <value 0 - 7>) and the class (class <class_id 0-3>) Restrictions Only Administrator-level users can issue this command.
  • Page 112 DES-3000 Series Layer 2 Switch CLI Reference Manual config dscp_mapping Description This is used to map the 64-level DSCP priority to the 4-level class of service priority used in the Switch. Parameters dscp_value <0 – 63> – The DSCP priority level being mapped. Each DSCP level must be configured separately to be mapped.
  • Page 113 DES-3000 Series Layer 2 Switch CLI Reference Manual config scheduling Purpose Used to configure traffic scheduling for each of the Switch’s QoS queues. Syntax config scheduling <class_id 0-3> {weight <value 1-55} Description The Switch contains four hardware priority classes of service per device. The Switch’s default settings draw down the four hardware classes of service in order, from the highest class (Class 3) to the lowest class (Class 0).
  • Page 114 DES-3000 Series Layer 2 Switch CLI Reference Manual show scheduling Purpose Used to display the currently configured traffic scheduling on the Switch. Syntax show scheduling Description The show scheduling command displays the current configuration for the maximum number of packets (weight) value assigned to the four priority classes of service on the Switch.
  • Page 115 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1p user_priority service the 802.1p priority value (specified above) will be mapped. Restrictions Only Administrator-level users can issue this command. Example usage: To configure 802.1 user priority on the Switch: DES-3026:4# config 802.1p user_priority 1 3 Command: config 802.1p user_priority 1 3 Success.
  • Page 116 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1p default_priority Purpose Used to assign an 802.1p priority tag to an incoming untagged packet that has no 802.1p priority tag. Syntax config 802.1p default_priority [<portlist> | all] <priority 0-7> Description The config 802.1p default_priority command allows specification of the 802.1p priority value an untagged, incoming packet will be assigned before being forwarded to its destination.
  • Page 117 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# show 802.1p default_priority Command: show 802.1p default_priority Port Priority ------- ----------- CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All config scheduling_mechanism Purpose Used to configure the scheduling mechanism for the QoS function Syntax config scheduling_mechanism [strict | weight_fair] Description...
  • Page 118 DES-3000 Series Layer 2 Switch CLI Reference Manual config scheduling_mechanism resume clearing its queue. Parameters strict – Entering the strict parameter indicates that the highest class of service is the first to be processed. That is, the highest class of service should finish emptying before the others begin.
  • Page 119 DES-3000 Series Layer 2 Switch CLI Reference Manual config bandwidth_control <portlist>  Specifies a port or range of ports to be configured for Parameters bandwidth control. rx_rate  Specifies that one of the parameters below (no_limit or <value 64-1024000>) will be applied to the rate at which the above specified ports will be allowed to receive packets.
  • Page 120 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show bandwidth_control 1-12 Command: show bandwidth_control 1-12 Bandwidth Control Table Port RX Rate (kbit/sec) TX_RATE (kbit/sec) ---- --------------------- ---------------------- 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000 100000...
  • Page 121 DES-3000 Series Layer 2 Switch CLI Reference Manual show cos port_mapping Purpose Used to display the current Switch port CoS mapping configuration. Syntax show cos port_mapping {port <portlist>} Description Use this command to view the current configuration for port-to-class CoS settings for any or all ports.
  • Page 122 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To map a static MAC address to hardware queue 3: DES-3026:4#config cos mac_mapping destination_addr 01-00-D6- E4-FF-05 class 3 Command: config cos mac_mapping destination_addr 01-00-D6-E4- FF-05 class 3 Success. DES-3026:4# show cos mac_mapping Purpose Used to display MAC address CoS mapping configuration.
  • Page 123 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To map a ToS priority value 3 to a hardware queue 2 for incoming packets with ToS information: DES-3026:4#config cos tos value 3 class 2 Command: config cos tos value 3 class 2 Success DES-3026:4# show cos tos...
  • Page 124: Traffic Segmentation Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual RAFFIC EGMENTATION OMMANDS Traffic segmentation allows you to further sub-divide VLANs into smaller groups of ports that will help to reduce traffic on the VLAN. The VLAN rules take precedence, and then the traffic segmentation rules are applied. The traffic segmentation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 125 DES-3000 Series Layer 2 Switch CLI Reference Manual show traffic_segmentation <portlist>  Specifies a port or range of ports for which the current Parameters traffic segmentation configuration on the Switch will be displayed. Restrictions The port lists for segmentation and the forward list must be on the same switch.
  • Page 126: Port Mirroring Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual IRRORING OMMANDS The port mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config mirror port <port> | [add | delete] source ports <portlist> [rx | tx | both] enable mirror disable mirror show mirror...
  • Page 127 DES-3000 Series Layer 2 Switch CLI Reference Manual enable mirror Purpose Used to enable a previously entered port mirroring configuration. Syntax enable mirror Description This command, combined with the disable mirror command below, allows a mirror entry to be enabled on the Switch, without modifying the port mirroring configuration.
  • Page 128 DES-3000 Series Layer 2 Switch CLI Reference Manual show mirror Purpose Used to show the current port mirroring configuration on the Switch. Syntax show mirror Description This command displays the current port mirroring configuration on the Switch. Parameters None. Restrictions None.
  • Page 129: Vlan Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual VLAN C OMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create vlan <vlan_name 32> {tag <vlanid 2-4094>} delete vlan <vlan_name 32>...
  • Page 130 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#delete vlan v1 Command: delete vlan v1 Success. DES-3026:4# config vlan Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan <vlan_name 32> {[add [tagged | untagged] | delete] <portlist>} Description This command allows the user to add or delete ports to the port list...
  • Page 131 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display the Switch’s current VLAN settings: DES-3026:4#show vlan Command: show vlan VLAN Name : default VLAN TYPE : static Member ports : 1-26 Static ports : 1-26 Tagged ports Untagged ports: 1-26 Total Entries : 1 DES-3026:4#...
  • Page 132: Vlan Trunk Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual VLAN T RUNK OMMANDS The VLAN Trunk commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable vlan_trunk disable vlan_trunk config vlan_trunk ports [<portlist>|all] state [enable|disable] show vlan_trunk Each command is listed, in detail, in the following sections.
  • Page 133 DES-3000 Series Layer 2 Switch CLI Reference Manual disable vlan_trunk Purpose Used to disable VLAN trunking on the switch. Syntax disable vlan_trunk Description Used to disable the VLAN trunking function on the switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To disable VLAN trunk: DES-3026:4# disable vlan_trunk...
  • Page 134 DES-3000 Series Layer 2 Switch CLI Reference Manual show vlan_trunk Purpose Used to display VLAN trunks. Syntax show vlan_trunk Description Displays the VLAN trunk information including VLAN trunk status and memberships created by the user. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To show the VLAN trunk information: DES-3026:4#show vlan_trunk...
  • Page 135: Link Aggregation Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual GGREGATION OMMANDS The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create link_aggregation group_id <value 1-3> {type [lacp | static]} delete link_aggregation group_id <value 1-3>...
  • Page 136 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DES-3026:4# delete link_aggregation group_id Purpose Used to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id <value 1-3> Description This command is used to delete a previously configured link aggregation group.
  • Page 137 NOTE: group_id 3 is designed for the uplink modules only (the last two ports on the Switch (DES-3010F/FL/G ports 9-10, DES-3018 ports 17-18, DES-3026 ports 25-26) and can only be configured for them. Any other attempt at configuring group_id 3 with standard 10/100 Mbps ports will result in a configuration error.
  • Page 138 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success. DES-3026:4# show link_aggregation Purpose Used to display the current link aggregation configuration on the Switch. Syntax show link_aggregation {group_id <value 1-3> | algorithm} Description This command will display the current link aggregation configuration of the Switch.
  • Page 139 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show link_aggregation algorithm Command: show link_aggregation algorithm Link Aggregation Algorithm = mac_source DES-3026:4# config lacp_ports Purpose Used to configure settings for LACP compliant ports. Syntax config lacp_ports <portlist> mode [active | passive] Description This command is used to configure ports that have been previously designated as LACP ports (see create link_aggregation).
  • Page 140 DES-3000 Series Layer 2 Switch CLI Reference Manual show lacp_port Purpose Used to display current LACP port mode settings. Syntax show lacp_port {<portlist>} Description This command will display the LACP mode settings as they are currently configured. Parameters <portlist> – Specifies a range of ports that will be viewed. Restrictions None.
  • Page 141: Basic Ip Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual IP C ASIC OMMANDS The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif [System] [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable] | [description <desc 128>...
  • Page 142 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config ipif System ipaddress 10.48.74.122/8 Command: config ipif System ipaddress 10.48.74.122/8 Success. DES-3026:4# show ipif Purpose Used to display the configuration of an IP interface on the Switch. Syntax show ipif Description This command will display the configuration of an IP interface on the Switch.
  • Page 143: Ip-Mac Binding Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual IP-MAC B INDING OMMANDS The IP-MAC Binding commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports [<portlist> | all]} <ipaddr>...
  • Page 144 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#create address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-00-00-00-04 Command: create address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-00-00-00-04 Success. DES-3026:4# config address_binding ip_mac ipaddress Purpose Used to configure a previously set IP-MAC address binding entry. Syntax config address_binding ip_mac ipaddress <ipaddr>...
  • Page 145 DES-3000 Series Layer 2 Switch CLI Reference Manual config address_binding ip_mac ports allow_zeroip [enable | disable] – The allow_zeroip parameter is used to allow ARP packets entrance to the Switch when these packets have an IP address of 0.0.0.0, regardless of whether or not the 0.0.0.0 IP address is set in the IP-MAC Binding table.
  • Page 146 DES-3000 Series Layer 2 Switch CLI Reference Manual show address_binding the IP-MAC blocked binding is made. This entry is to be made with the vlan name listed above to view this blocked entry. ports – Enter this parameter to view the ports which are enabled for IP- MAC binding.
  • Page 147 DES-3000 Series Layer 2 Switch CLI Reference Manual delete address_binding parameters.  all – Entering this parameter will delete all blocked IP-MAC address binding entries.  vlan_name <vlan_name> – Enter the VLAN name of the VLAN that is bound to a MAC address which the user wishes to delete.
  • Page 148 DES-3000 Series Layer 2 Switch CLI Reference Manual disable address_binding trap_log Purpose Used to disable the trap log for the IP-MAC binding function. Syntax disable address_binding trap_log Description This command, along with the enable address_binding trap_log will enable and disable the sending of trap log messages for IP-MAC binding.
  • Page 149: Mac Notification Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual MAC N OTIFICATION OMMANDS The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their appropriate parameters. Command Parameters enable mac_notification disable mac_notification config mac_notification {interval <int 1-2147483647>...
  • Page 150 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#disable mac_notification Command: disable mac_notification Success. DES-3026:4# config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification {interval <int 1-2147483647> | historysize <int 1- 500>} Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB.
  • Page 151 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DES-3026:4# show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings Syntax show mac_notification Description This command is used to display the Switch’s MAC address table notification global settings.
  • Page 152 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ------------------------------------------ Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled...
  • Page 153: Igmp Snooping Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual IGMP S NOOPING OMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp_snooping [vlan_name <vlan_name 32> | all] {host_timeout <sec 1-16711450> | router_timeout <sec 1-16711450>...
  • Page 154 DES-3000 Series Layer 2 Switch CLI Reference Manual To configure the igmp snooping: DES-3026:4#config igmp_snooping vlan_name default host_timeout 250 state enable Command: config igmp_snooping vlan_name default host_timeout 250 state enable Success. DES-3026:4# config igmp_snooping querier Purpose Used to configure the time in seconds between general query transmissions, the maximum time in seconds to wait for reports from members and the permitted packet loss that guarantees IGMP snooping.
  • Page 155 DES-3000 Series Layer 2 Switch CLI Reference Manual config igmp_snooping querier Restrictions Only Administrator-level users can issue this command. Example usage: To configure the igmp snooping querier: DES-3026:4#config igmp_snooping querier vlan_name default query_interval 125 state enable Command: config igmp_snooping querier vlan_name default query_interval 125 state enable Success.
  • Page 156 DES-3000 Series Layer 2 Switch CLI Reference Manual enable igmp_snooping Parameters forward_mcrouter_only – Specifies that the Switch should only forward all multicast traffic to a multicast-enabled router. Otherwise, the Switch will forward all multicast traffic to any IP router. Restrictions Only Administrator-level users can issue this command.
  • Page 157 DES-3000 Series Layer 2 Switch CLI Reference Manual To show IGMP snooping: DES-3026:4#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Disabled Multicast router Only : Disabled VLAN Name : default Query Interval : 125 Max Response Time : 10 Robustness Value Last Member Query Interval : 1 Host Timeout...
  • Page 158 DES-3000 Series Layer 2 Switch CLI Reference Manual show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the Switch. Syntax show igmp_snooping group {vlan <vlan_name 32>} Description This command will display the current IGMP snooping group configuration on the Switch.
  • Page 159 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show router_ports Command: show router_ports VLAN Name : default Static router port : 1-10 Dynamic router port Total Entries: 1 DES-3026:4#...
  • Page 160: Igmp Access Control Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual IGMP A CCESS ONTROL OMMANDS The IGMP Access Control commands n the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp [all <portlist> ] state [enable|disable] access_authentication ports show igmp [all<portlist>]...
  • Page 161 DES-3000 Series Layer 2 Switch CLI Reference Manual show igmp access_authentication ports Purpose Used to display the current IGMP Access Control configuration. Syntax show igmp access_authentication ports Description The show igmp access_authentication ports command displays the current IGMP Access Control configuration. Parameters None.
  • Page 162: Cpu Acl Filtering Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual CPU ACL F ILTERING OMMANDS The DES-3000 switch series implements Access Control Lists for the CPU that enable the Switch to deny network access to specific devices or device groups based on IP settings, MAC address and packet content settings. Access profiles allow users to establish criteria to determine whether or not the Switch will forward packets to the CPU based on the information contained in each packet’s header.
  • Page 163 DES-3000 Series Layer 2 Switch CLI Reference Manual Command Parameters create cpu access_profile profile_id <value 1-3> [ethernet {vlan | source_mac <macmask> | destination_mac <macmask> | 802.1p | ethernet_type} | ip {vlan | source_ip_mask <netmask> | destination_ip_mask <netmask> | dscp | [icmp {type | code} | igmp {type} | tcp {src_port_mask <hex 0x0-0xffff>...
  • Page 164 DES-3000 Series Layer 2 Switch CLI Reference Manual create cpu access_profile Purpose Used to create an access profile specifically for CPU Interface Filtering on the Switch and to define which parts of each incoming frame’s header the Switch will examine. Masks can be entered that will be combined with the values the Switch finds in the specified frame header fields.
  • Page 165 DES-3000 Series Layer 2 Switch CLI Reference Manual create cpu access_profile tcp  Specifies that the Switch will examine each frames Transport Control Protocol  (TCP) field. src_port_mask <hex 0x0-0xffff>  Specifies a TCP port mask for the source port. ...
  • Page 166 DES-3000 Series Layer 2 Switch CLI Reference Manual delete cpu access_profile Purpose Used to delete a previously created access profile or CPU access profile. Syntax delete cpu access_profile profile_id <value 1-3> Description The delete cpu access_profile command is used to delete a previously created CPU access profile.
  • Page 167 DES-3000 Series Layer 2 Switch CLI Reference Manual config cpu access_profile Parameters profile_id <value 1-3>  Enter an integer used to identify the access profile that will be configured with this command. This value is assigned to the access profile when it is created with the create access_profile command.
  • Page 168 DES-3000 Series Layer 2 Switch CLI Reference Manual config cpu access_profile udp  Specifies that the Switch will examine the Transmission Control Protocol (TCP)  field within each packet. src_port <value 0-65535>  Specifies that the access profile will apply only to ...
  • Page 169 DES-3000 Series Layer 2 Switch CLI Reference Manual enable cpu_interface_filtering Restrictions Only Administrator-level users can issue this command. Example usage: To enable CPU interface filtering: DES-3026:4#enable cpu_interface_filtering Command: enable cpu_interface_filtering Success. DES-3026:4# disable cpu_interface_filtering Purpose Used to disable CPU interface filtering on the Switch. Syntax disable cpu_interface_filtering Description...
  • Page 170 DES-3000 Series Layer 2 Switch CLI Reference Manual show cpu_access_profile Purpose Used to view the CPU access profile entry currently set in the Switch. Syntax show cpu_access_profile {profile_id <value 1-3>} Description The show cpu_access_profile command is used view the current CPU interface filtering entries set on the Switch, and the current running state of the CPU filter.
  • Page 171: Port Security Commands

    Each command is listed, in detail, in the following sections. NOTE: The uplink module ports (DES-3010F/FL/G ports 9-10, DES-3018 ports 17-18, DES-3026 ports 25-26) do not support the port security function. config port_security ports Purpose Used to configure port security settings.
  • Page 172 DES-3000 Series Layer 2 Switch CLI Reference Manual To configure the port security: DES-3026:4#config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Command: config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Success DES-3026:4# show port_security Purpose Used to display the current port security configuration. Syntax show port_security {ports <portlist>} Description...
  • Page 173 DES-3000 Series Layer 2 Switch CLI Reference Manual delete port_security_entry_vlan_name learned by the Switch and entered into the forwarding database. Parameters vlan_name <vlan_name 32> – Enter the corresponding VLAN of the entry to delete. mac_address <macaddr> – Enter the corresponding MAC address of the entry to delete.
  • Page 174 DES-3000 Series Layer 2 Switch CLI Reference Manual enable port_security trap_log Purpose Used to enable the trap log function for port security. Syntax enable port_security trap_log Description This command is used to send trap messages to the Switch’s log when a new MAC address violates the pre-defined port security configuration.
  • Page 175: Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual 802.1X C OMMANDS The DES-3000 switch series implements the server-side of the IEEE 802.1x Port-based and MAC-based Network Access Control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each port on the Switch that a user or network device must meet before allowing that port to forward or receive frames.
  • Page 176 [enable|disable] config 802.1x fwd_pdu ports [<portlist>|all] [enable|disable] Each command is listed, in detail, in the following sections. NOTE: The uplink module ports (DES-3010F/FL/G ports 9-10, DES-3018 ports 17-18, DES-3026 ports 25-26) do not support the 802.1X function. enable 802.1x Purpose Used to enable the 802.1x server on the Switch.
  • Page 177 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x auth_mode Purpose Used to configure the 802.1x authentication mode on the Switch. Syntax config 802.1x auth_mode {port_based | mac_based] Description The config 802.1x authentication mode command is used to enable either the port-based or MAC-based 802.1x authentication feature on the Switch.
  • Page 178 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display the 802.1x authentication states (stacking disabled) for Port-based 802.1x: DES-3026:4#show 802.1x auth_state ports 1-5 Command: show 802.1x auth_state ports 1-5 Port Auth PAE State Backend State Port Status ------ -------------- -------------...
  • Page 179 DES-3000 Series Layer 2 Switch CLI Reference Manual show 802.1x auth_configuration process. Authorized means that the user was authenticated, and can access the network. Unauthorized means that the user was not authenticated, and can not access the network. PAE State: Initialize/Disconnected/Connecting/ Authenticating/Authenticated/Held /ForceAuth/ForceUnauth ...
  • Page 180 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show 802.1x auth_configuration ports 1 Command: show 802.1x auth_configuration ports 1 802.1X : Disabled Authentication Mode : None Authentication Protocol : Radius_Eap Forward EAPOL PDU : Disabled Port Number Capability : None AdminCrlDir : Both OpenCrlDir...
  • Page 181 DES-3000 Series Layer 2 Switch CLI Reference Manual Success. DES-3026:4# config 802.1x auth_parameter ports Purpose Used to configure the 802.1x Authentication parameters on a range of ports. The default parameter will return all ports in the specified range to their default 802.1x settings. Syntax config 802.1x auth_parameter ports [<portlist>...
  • Page 182 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x auth_parameter ports Restrictions Only Administrator-level users can issue this command. Example usage: To configure 802.1x authentication parameters for ports 1 – 20: DES-3026:4#config 802.1x auth_parameter ports 1 – 20 direction both Command: config 802.1x auth_parameter ports 1 –...
  • Page 183 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x init  all  Specifies all of the ports on the Switch to be initialized. mac_based - This instructs the Switch to initialize 802.1x functions based on the MAC address of a device on a specific port or range of ports. MAC address approved for initialization can then be specified.
  • Page 184 DES-3000 Series Layer 2 Switch CLI Reference Manual Command: config 802.1x reauth port_based ports 1-18 Success. DES-3026:4# config radius add Purpose Used to configure the settings the Switch will use to communicate with a RADIUS server. Syntax config radius add <server_index 1-3> <server_ip> key <passwd 32> [default | {auth_port <udp_port_number 1-65535>...
  • Page 185 DES-3000 Series Layer 2 Switch CLI Reference Manual config radius delete Purpose Used to delete a previously entered RADIUS server configuration. Syntax config radius delete <server_index 1-3> Description The config radius delete command is used to delete a previously entered RADIUS server configuration.
  • Page 186 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config radius 1 10.48.74.121 key dlink default Command: config radius 1 10.48.74.121 key dlink default Success. DES-3026:4# show radius Purpose Used to display the current RADIUS configurations on the Switch. Syntax show radius Description The show radius command is used to display the current RADIUS configurations on the Switch.
  • Page 187 DES-3000 Series Layer 2 Switch CLI Reference Manual To create an 802.1x user: DES-3026:4#create 802.1x user dtremblett Command: create 802.1x user dtremblett Enter a case-sensitive new password:****** Enter the new password again for confirmation:****** Success. DES-3026:4# show 802.1x user Purpose Used to display the 802.1x user accounts on the Switch.
  • Page 188 RADIUS accounting client currently configured on the Switch. Parameters None. Restrictions None. Example usage: To view the current RADIUS accounting client: DES-3026:4#show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex radiusAccServerAddress 10.53.13.199 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators...
  • Page 189 RADIUS authentication client currently configured on the Switch. Parameters None. Restrictions None. Example usage: To view the current RADIUS authentication client: DES-3026:4#show auth_client Command: show auth_client radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex radiusAuthServerAddress : 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges...
  • Page 190 DES-3000 Series Layer 2 Switch CLI Reference Manual show auth_diagnostics ports <portlist>  Specifies a port or range of ports to be displayed. Parameters Restrictions None. Example usage: To display the current authentication diagnostics for port 16: DES-3026:4#show auth_diagnostics ports 1 Command: show auth_diagnostics ports 1 Port number : 1 EntersConnecting...
  • Page 191 DES-3000 Series Layer 2 Switch CLI Reference Manual To display the current authentication session statistics for port 16: DES-3026:4#show auth_session_statistics ports 1 Command: show auth_session_statistics ports 1 Port number : 1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff...
  • Page 192 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show auth_statistics ports 1 Command: show auth_statistics ports 1 Port number : 1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 00-00-00-00-00-00 CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry a All create 802.1x guest_vlan Purpose Used to configure a pre-existing VLAN as a 802.1x Guest VLAN.
  • Page 193 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#create 802.1x guest_vlan Trinity Command: create 802.1x guest_vlan Trinity Success. DES-3026:4# config 802.1x guest_vlan ports Purpose Used to configure ports for a pre-existing 802.1x guest VLAN. Syntax config 802.1x guest_vlan ports [<portlist> | all] state [enable | disable] Description The config 802.1x guest_vlan ports command is used to configure ports to be enabled or disabled for the 802.1x guest VLAN.
  • Page 194 DES-3000 Series Layer 2 Switch CLI Reference Manual To configure the configurations for a previously created 802.1x Guest VLAN. DES-3026:4#show 802.1x guest_vlan Command: show 802.1x guest_vlan Guest VLAN Setting ------------------------------------------------------- Guest VLAN : Trinity Enable Guest VLAN ports: 5-8 DES-3026:4# delete 802.1x guest_vlan Purpose Used to delete a 802.1x Guest VLAN.
  • Page 195 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x fws_pdu system Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To configure forwarding of EAPOL PDU: DES-3026:4# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu enable Success.
  • Page 196: Time And Sntp Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual SNTP C IME AND OMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NTP)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config sntp...
  • Page 197 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DES-3026:4# show sntp Purpose Used to display the SNTP information. Syntax show sntp Description This command will display SNTP settings information including the source IP address, time and poll interval.
  • Page 198 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#enable sntp Command: enable sntp Success. DES-3026:4# disable sntp Purpose Disables SNTP server support. Syntax disable sntp Description This will disable SNTP support. SNTP service must be separately configured (see config sntp). Parameters None.
  • Page 199 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#config time 30062003 16:30:30 Command: config time 30062003 16:30:30 Success. DES-3026:4# config time_zone Purpose Used to determine the time zone used in order to adjust the system clock. Syntax config time_zone {operator [+ | -] | hour <gmt_hour 0-13> | min <minute 0-59>} Description This will adjust system clock settings according to the time zone.
  • Page 200 DES-3000 Series Layer 2 Switch CLI Reference Manual config dst using a formula. For example, specify to begin DST on Saturday during the second week of April and end DST on Sunday during the last week of October. annual – Using annual mode will enable DST seasonal time adjustment. Annual mode requires that the DST beginning and ending date be specified concisely.
  • Page 201 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# config dst repeating s_week 2 s_wday tue s_mth 4 s_time 15:00 e_week 2 e_wday wed e_mth 10 e_time 15:30 offset 30 Command: config dst repeating s_week 2 s_wday tue s_mth 4 s_time 15:00 e_week 2 e_wday wed e_mth 10 e_time 15:30 offset 30 Success.
  • Page 202: Routing Table Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual OUTING ABLE OMMANDS The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create iproute [default] <ipaddr> {<metric 1-65535>} delete iproute [default] show iproute...
  • Page 203 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#delete iproute default 10.53.13.254 Command: delete iproute default 10.53.13.254 Success. DES-3026:4# show iproute Purpose Used to display the Switch’s current IP routing table. Syntax show iproute {<network address>} {static} Description This command will display the Switch’s current IP routing table. Parameters network address –...
  • Page 204: Arp Commands

    DES-3000 Series Layer 2 Switch CLI Reference Manual ARP C OMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show arpentry {ipif [System] | ipaddress <ipaddr> | static} config arp_aging time <value 0-65535>...
  • Page 205 DES-3000 Series Layer 2 Switch CLI Reference Manual System 10.17.42.153 00-80-C8-4D-4E-0A Dynamic System 10.19.72.100 00-50-BA-38-7D-5E Dynamic System 10.21.32.203 00-80-C8-40-C1-06 Dynamic System 10.40.44.60 00-50-BA-6B-2A-1E Dynamic System 10.42.73.221 00-01-02-03-04-00 Dynamic System 10.44.67.1 00-50-BA-DA-02-51 Dynamic System 10.47.65.25 00-50-BA-DA-03-2B Dynamic System 10.50.8.7 00-E0-18-45-C7-28 Dynamic System 10.90.90.90 00-01-02-03-04-00...
  • Page 206 DES-3000 Series Layer 2 Switch CLI Reference Manual To remove dynamic entries in the ARP table: DES-3026:4#clear arptable Command: clear arptable Success. DES-3026:4#...
  • Page 207: D-Link Single Ip Management Commands

    ANAGEMENT OMMANDS Simply put, D-Link Single IP Management is a concept that will stack switches together over Ethernet instead of using stacking ports or modules. Switches using Single IP Management (labeled here as SIM) must conform to the following rules: ...
  • Page 208 For more information on adding the DES-3000 switch as a member of an SIM group, please see the commander switch’s user guide or command line interface reference manual. The D-Link Single IP Management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 209 DES-3000 Series Layer 2 Switch CLI Reference Manual disable sim Purpose Used to disable Single IP Management (SIM) on the Switch. Syntax disable sim Description This command will disable SIM globally on the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To disable SIM on the Switch: DES-3026:4#disable sim...
  • Page 210 DES-3000 Series Layer 2 Switch CLI Reference Manual show sim the SIM group. This screen will produce the following results:  Port – Displays the physical port number of the commander switch where the uplink to the neighbor switch is located. ...
  • Page 211 DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show sim members Command: show sim members MAC Address Platform / Hold Firmware Device Name Capability Time Version ----------------- --------------- ---- --------- ----------- 00-01-04-03-04-00 DES-3018 L2 Switch 4.20.B27 The Man 00-55-35-00-55-00 DES-3026 L2 Switch 4.20.B27 default master...
  • Page 212 DES-3000 Series Layer 2 Switch CLI Reference Manual To view SIM neighbors: DES-3026:4#show sim neighbor Command: show sim neighbor Neighbor Info Table Port MAC Address Role ------ ------------------ --------- 00-35-26-00-11-99 Commander 00-35-26-00-11-91 Member 00-35-26-00-11-90 Candidate Total Entries: 3 DES-3026:4# reconfig Purpose Used to connect to a member switch, through the commander switch using Telnet.
  • Page 213 DES-3000 Series Layer 2 Switch CLI Reference Manual config sim_group delete <member_id 1-32> – Use this parameter to delete a member switch of a SIM group. The member switch should be defined by it ID number. Restrictions Only Administrator-level users can issue this command. Example usage: To add a member: DES-3026:4#config sim_group add 2...
  • Page 214 DES-3000 Series Layer 2 Switch CLI Reference Manual config sim candidate – Used to change the role of a commander switch to a candidate switch. Restrictions Only Administrator-level users can issue this command. Example usage: To change the time interval of the discovery protocol: DES-3026:4#config sim commander dp_interval 30 Command: config sim commander dp_interval 30 Success.
  • Page 215 DES-3000 Series Layer 2 Switch CLI Reference Manual To update the name of a group: DES-3026:4#config sim commander group_name Trinity Command: config sim commander group_name Trinity Success. DES-3026:4# download sim_ms Purpose Used to download firmware or configuration file to an indicated device.
  • Page 216 DES-3000 Series Layer 2 Switch CLI Reference Manual 00-01-02-03-04-00 Success 00-07-06-05-04-03 Success 00-07-06-05-04-03 Success DES-3026:4# To download configuration files: DES-3026:4#download sim_ms configuration 10.53.13.94 c:/dgssri.txt members all Command: download sim_ms configuration 10.53.13.94 c:/dgssri.txt members all This device is updating configuration. Please wait... Download Status : MAC Address Result...
  • Page 217 DES-3000 Series Layer 2 Switch CLI Reference Manual upload sim_ms Restrictions Only Administrator-level users can issue this command. Example usage: To upload configuration files to a TFTP server: DES-3026:4#upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Command: upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Success.
  • Page 218 DES-3000 Series Layer 2 Switch CLI Reference Manual SSH S ERVER OMMANDS The SSH Server commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ssh algorithm [3DES| AES128| AES192| AES256| arcfour|blowfish| cast128| twofish128| twofish192| twofish256| MD5| SHA1| RSA| DSA] [enable| disable] show ssh algorithm...
  • Page 219 DES-3000 Series Layer 2 Switch CLI Reference Manual config ssh algorithm SHA1  An SSH server encryption algorithm. RSA  An SSH server encryption algorithm. DSA  An SSH server encryption algorithm. enable  Used to enable the algorithm. disable  Used to disable the alogirthm. Restrictions Only Administrator-level users can issue this command.
  • Page 220 DES-3000 Series Layer 2 Switch CLI Reference Manual Data Integrity Algorithm -------------------------- : Enabled SHA1 : Enabled Public Key Algorithm -------------------------- : Enabled : Enabled Success. DES-3026:4# config ssh authmode Purpose Used to update user authentication for SSH configuration. Syntax config ssh authmode [password|publickey|hostbased][enable|disable] Description The config ssh authmode command updates the SSH user information.
  • Page 221 DES-3000 Series Layer 2 Switch CLI Reference Manual show ssh authmode Purpose Used to show user authentication method. Syntax show ssh authmode Description The show ssh authmode command displays the user authentication method. Parameters None. Restrictions None. Example usage To show the SSH user authentication method: DES-3026:4# show ssh authmode Command: show ssh authmode The SSH Authmode...
  • Page 222 DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage To update user “test” authmode: DES-3026:4# config ssh user test publickey Command: config ssh user test publickey Success. DES-3026:4# show ssh user authmode Purpose Used to show SSH user information. Syntax show ssh user Description...
  • Page 223 DES-3000 Series Layer 2 Switch CLI Reference Manual config ssh server rekey [10min |30min |60min |never]  Specifies time to re-generate session key. never means do not re-generate session key. Restrictions Only Administrator-level users can issue this command. Example usage To configure an SSH server max session of 3: DES-3026:4# config ssh server maxsession 3 Command: config ssh server maxsession 3...
  • Page 224 DES-3000 Series Layer 2 Switch CLI Reference Manual disable ssh Purpose Used to disable SSH server service. Syntax disable ssh server Description The disable ssh command disables SSH server services. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage To disable SSH server: DES-3026:4# disable ssh...
  • Page 225 DES-3000 Series Layer 2 Switch CLI Reference Manual OMMAND ISTORY The command history list commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters {<command>} show command_history config command_history <value 1-40> Each command is listed, in detail, in the following sections.
  • Page 226 DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x fwd_pdu system config 802.1x guest_vlan ports config 802.1x init config 802.1x reauth config account config address_binding aging_interval CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry Example usage: To display the parameters for a specific command: DES-3026:4#? config igmp_snooping Command: config igmp_snooping...
  • Page 227 DES-3000 Series Layer 2 Switch CLI Reference Manual create vlan vlan2 tag 2 show router_ports show router ports login DES-3026:4# Purpose Used to display all commands. Syntax Description This command will display all commands. Parameters None. Restrictions None. Example usage To display all of the commands: DES-3026:4#dir Command: dir...
  • Page 228 DES-3000 Series Layer 2 Switch CLI Reference Manual config command_history Purpose Used to configure the command history. Syntax config command_history <value 1-40> Description This command is used to configure the command history. <value 1-40>  The number of previously executed commands maintained Parameters in the buffer.
  • Page 229 Operating: 5% to 95% RH non-condensing; Storage: 0% to 95% RH non-condensing Dimensions: DES-3010F/G - 280 mm x 180 mm x 44 mm (1U), 11 inch rack-mount width DES-3016/3018/3026 - 441 mm x 207mm x 44 mm (1U), 19 inch...
  • Page 230 EIA/TIA-568 100-ohm STP (100 m) Number of Ports DES-3010F - 8 x 10/100 Mbps NWay ports, 1 x 1000BASE-T Gigabit Port, 1 x 100BASE-FX (MM) Fiber Optic Port DES-3010FL - 8 x 10/100 Mbps NWay ports, 1 x 1000BASE-T Gigabit Port,...
  • Page 231 DES-3000 Series Layer 2 Switch CLI Reference Manual Performance Transmission Method Store-and-forward RAM Buffer 32M Bytes per device Filtering Address Table: 8K MAC address per device Packet Filtering / 14,880 pps per 10Mbps Forwarding Rate: 148,809 pps per 100Mbps 1,488,100 pps per 1000Mbps MAC Address Learning Automatic update.

This manual is also suitable for:

Des-3010gDes-3018Des-3026Des-3016Des-3010fl

Table of Contents