D-Link DES-3010F Command Line Interface Reference Manual

D-Link DES-3010F Command Line Interface Reference Manual

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

Advertisement

DES-3010F / DES-3010G / DES-3018 / DES-3026
Managed 8/16/24-port 10/100Mbps N-Way Fast Ethernet Switch
Command Line Interface Reference Manual
Second Edition (January 2006)
651ES3026025G
Printed In Taiwan
RECYCLABLE

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3010F

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

    CPU ACL Filtering Commands ..............................112 Port Security Commands................................123 802.1X Commands..................................127 Time and SNTP Commands................................. 144 Routing Table Commands................................150 ARP Commands................................... 152 D-Link Single IP Management Commands ..........................155 Command History List ................................. 165 Technical Specifications ................................168...
  • Page 5: Introduction

    This document is a reference guide for all DES-3010F/DES-3010G/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- 3010G/DES-3018/DES-3026 switches contain the same information and posses the same configuration capabilities. The difference in switches reside in the port type and the port count only.
  • Page 6 DES-30XX Layer 2 Switch CLI Reference Manual Setting the Switch’s IP Address Each switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP address is 10.90.90.90. The default Switch IP address can be changed to meet the specification of your networking address scheme.
  • Page 7 DES-30XX Layer 2 Switch CLI Reference Manual Figure 1-3. Assigning an IP Address In the above example, the Switch was assigned an IP address of 10.53.13.33 with a subnet mask of 255.0.0.0 (8 in CIDR from). The system message Success indicates that the command was executed successfully. The Switch can now be configured and managed via Telnet and the CLI or via the Web-based management agent using the above IP address to connect to the Switch.
  • Page 8: Connecting To The Switch

    DES-30XX 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 9 DES-30XX Layer 2 Switch CLI Reference Manual Figure 2-1. Console Screen after login Commands are entered at the command prompt, DES-3026:4#. There are a number of helpful features included in the CLI. Entering the ? command will display a list of all of the top-level commands.
  • Page 10 DES-30XX Layer 2 Switch CLI Reference Manual Figure 2-3. Example Command Parameter Help In this case, the command show was entered without a parameter. The CLI will then prompt you to enter the next possible completions with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 11 DES-30XX Layer 2 Switch CLI Reference Manual All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual − angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of parameters, and brackets [ ] indicate required parameters.
  • Page 12 DES-30XX 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-30XX 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-30XX 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 create account [admin | user] <username 15> config account <username>...
  • Page 15 DES-30XX Layer 2 Switch CLI Reference Manual create account Usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters. Example usage: To create an administrator-level user account with the username “dlink”. DES-3026:4#create account admin dlink Command: create account admin dlink Enter a case-sensitive new password:**** Enter the new password again for confirmation:****...
  • Page 16 DES-30XX Layer 2 Switch CLI Reference Manual show account Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To display the accounts that have been created: DES-3026:4#show account Command: show account Current Accounts: Username Access Level --------------- ------------ dlink Admin...
  • Page 17 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show session Command: show session ID Login Time Live Time From Level Name -- --------------------------- --------------- -------------- ------- ------------------- *8 2204/01/26 3:36:27 0:0:20.260 Serial Port 4 Anonymous Total entries: 1 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show switch Purpose Used to display information about the Switch.
  • Page 18 DES-30XX Layer 2 Switch CLI Reference Manual show config Purpose Used to display a list of configuration commands entered into the Switch. Syntax show config [current_config | config_in_nvram] Description This command displays a list of configuration commands entered into the Switch. Parameters current_config –...
  • Page 19 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show serial_port Command: show serial_port Baud Rate : 9600 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins DES-3026:4# config serial_port Purpose Used to configure the serial port. Syntax config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]} Description...
  • Page 20 DES-30XX 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 21 DES-30XX Layer 2 Switch CLI Reference Manual enable telnet 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. <tcp_port_number 1-65535>...
  • Page 22 DES-30XX Layer 2 Switch CLI Reference Manual To enable HTTP and configure port number: DES-3026:4#enable web 80 Command: enable web 80 Success. DES-3026:4# disable web Purpose Used to disable the HTTP-based management software on the Switch. Syntax disable web Description This command disables the Web-based management software on the Switch.
  • Page 23 DES-30XX Layer 2 Switch CLI Reference Manual reboot Purpose Used to restart the Switch. Syntax reboot Description This command is used to restart the Switch. Parameters None. Restrictions Only Administrator-level users can issue this command. Example usage: To restart the Switch: DES-3026:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y/n)
  • Page 24 DES-30XX Layer 2 Switch CLI Reference Manual login Purpose Used to log in a user to the Switch’s console. Syntax login Description This command is used to initiate the login procedure. The user will be prompted for his Username and Password. Parameters None.
  • Page 25 DES-30XX Layer 2 Switch CLI Reference Manual ping Pinging an IP address without the times parameter will ping the target device an infinite amount of times. Restrictions Only administrator-level users can issue this command. Example usage: To ping the IP address 10.48.74.121 four times: DES-3026:4#ping 10.48.74.121 times 4 Command: ping 10.48.74.121 Reply from 10.48.74.121, time<10ms...
  • Page 26: Switch Port Commands

    DES-30XX 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 1- 32>...
  • Page 27 DES-30XX Layer 2 Switch CLI Reference Manual config ports state [enable | disable] − Enables or disables the specified range of ports. description <desc 32> - Enter an alphanumeric string of no more than 32 characters to describe a selected port interface. clear_description –...
  • Page 28 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To display port descriptions: DES-3026:4#show ports 1 description Command: show ports 1 description Port Port Settings Connection Address State Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning ------ -------- --------------------- --------------------- -------- Enabled Auto/Enabled Link Down Enabled Description: Accounting CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh...
  • Page 29 DES-30XX 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 30 DES-30XX Layer 2 Switch CLI Reference Manual Command Parameters auth_priv]] {read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>} delete snmp group <groupname 32> show snmp groups create snmp host <ipaddr> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] <auth_string 32>...
  • Page 31 DES-30XX Layer 2 Switch CLI Reference Manual create snmp user that will identify the SNMP group with which the new SNMP user will be associated. encrypted – Allows the user to choose a type of authorization for authentication using SNMP. The user may choose: •...
  • Page 32 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#create snmp user dlink default encrypted by_password auth md5 auth_password priv none Command: create snmp user dlink default encrypted by_password auth md5 auth_password priv none Success. DES-3026:4# delete snmp user Purpose Used to remove an SNMP user from an SNMP group and also to delete the associated SNMP group.
  • Page 33 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show snmp user Command: show snmp user Username Group Name SNMP Version Auth-Protocol PrivProtocol --------------- --------------- ------------ ------------- ------------ initial initial None None Total Entries: 1 DES-3026:4# create snmp view Purpose Used to assign views to community strings to limit which MIB objects and SNMP manager can access.
  • Page 34 DES-30XX Layer 2 Switch CLI Reference Manual delete snmp view all − Specifies that all of the SNMP views on the Switch will be deleted. <oid> − The object ID that identifies an object tree (MIB tree) that will be deleted from the Switch. Restrictions Only administrator-level users can issue this command.
  • Page 35 DES-30XX Layer 2 Switch CLI Reference Manual create snmp community Purpose Used to create an SNMP community string to define the relationship between the SNMP manager and an agent. The community string acts like a password to permit access to the agent on the Switch. One or more of the following characteristics can be associated with the community string: An Access List of IP addresses of SNMP managers that are permitted...
  • Page 36 DES-30XX Layer 2 Switch CLI Reference Manual delete snmp community previously defined SNMP community string from the Switch. <community_string 32> − An alphanumeric string of up to 32 Parameters characters that is used to identify members of an SNMP community to delete.
  • Page 37 DES-30XX Layer 2 Switch CLI Reference Manual config snmp engineID Purpose Used to configure a name for the SNMP engine on the Switch. Syntax config snmp engineID <snmp_engineID 10-64> Description The config snmp engineID command configures a name for the SNMP engine on the Switch.
  • Page 38 DES-30XX Layer 2 Switch CLI Reference Manual create snmp group table that maps SNMP users to SNMP views. <groupname 32> − An alphanumeric name of up to 32 characters Parameters that will identify the SNMP group with which the new SNMP user will be associated.
  • Page 39 DES-30XX Layer 2 Switch CLI Reference Manual create snmp group <view_name 32> − An alphanumeric string of up to 32 characters that is used to identify the group of MIB objects that a remote SNMP manager is allowed to access on the Switch. Restrictions Only administrator-level users can issue this command.
  • Page 40 DES-30XX Layer 2 Switch CLI Reference Manual show snmp groups Restrictions None. Example usage: To display the currently configured SNMP groups on the Switch: DES-3026:4#show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : Group3 ReadView Name : ReadView WriteView Name : WriteView...
  • Page 41 DES-30XX Layer 2 Switch CLI Reference Manual Security Level : NoAuthNoPriv Group Name : ReadGroup ReadView Name : CommunityView WriteView Name Notify View Name : CommunityView Security Model : SNMPv2 Security Level : NoAuthNoPriv Group Name : WriteGroup ReadView Name : CommunityView WriteView Name : CommunityView...
  • Page 42 DES-30XX Layer 2 Switch CLI Reference Manual create snmp host Encryption − scrambles the contents of messages to prevent it being viewed by an unauthorized source. noauth_nopriv − Specifies that there will be no authorization and no encryption of packets sent between the Switch and a remote SNMP manager.
  • Page 43 DES-30XX Layer 2 Switch CLI Reference Manual create snmp host Restrictions Only administrator-level users can issue this command. Example usage: To create an SNMP host to receive SNMP messages: DES-3026:4#create snmp host 10.48.74.100 v3 auth_priv public Command: create snmp host 10.48.74.100 v3 auth_priv public Success.
  • Page 44 DES-30XX Layer 2 Switch CLI Reference Manual show snmp host <ipaddr> − The IP address of a remote SNMP manager that will Parameters receive SNMP traps generated by the Switch’s SNMP agent. Restrictions None. Example usage: To display the currently configured SNMP hosts on the Switch: DES-3026:4#show snmp host Command: show snmp host SNMP Host Table...
  • Page 45 DES-30XX Layer 2 Switch CLI Reference Manual disable rmon on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To disable RMON: DES-3026:4#disable rmon Command: disable rmon Success. DES-3026:4# create trusted_host Purpose Used to create the trusted host. Syntax create trusted_host <ipaddr>...
  • Page 46 DES-30XX Layer 2 Switch CLI Reference Manual Example Usage: To display the list of trust hosts: DES-3026:4#show trusted_host Command: show trusted_host Management Stations IP Address ----------------------- 10.53.13.94 Total Entries: 1 DES-3026:4# delete trusted_host Purpose Used to delete a trusted host entry made using the create trusted_host command above.
  • Page 47 DES-30XX Layer 2 Switch CLI Reference Manual Command: enable snmp traps Success. DES-3026:4# disable snmp traps Purpose Used to disable SNMP trap support on the Switch. Syntax disable snmp traps Description This command is used to disable SNMP trap support on the Switch.
  • Page 48 DES-30XX Layer 2 Switch CLI Reference Manual disable snmp authenticate trap Syntax disable snmp authenticate trap Description This command is used to disable SNMP authentication support on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To disable the SNMP authentication trap support: DES-3026:4#disable snmp authenticate trap Command: disable snmp authenticate trap...
  • Page 49 DES-30XX Layer 2 Switch CLI Reference Manual config snmp system_contact Purpose Used to enter the name of a contact person who is responsible for the Switch. Syntax config snmp system_contact {<sw_contact>} Description The config snmp system_contact command is used to enter the name and/or other information to identify a contact person who is responsible for the Switch.
  • Page 50 DES-30XX Layer 2 Switch CLI Reference Manual config snmp system_name Purpose Used to configure the name for the Switch. Syntax config snmp system_name {<sw_name>} Description The config snmp system_name command configures the name of the Switch. Parameters <sw_name> - A maximum of 255 characters is allowed. A NULL string is accepted if no name is desired.
  • Page 51: Smtp Commands

    DES-30XX 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 52 DES-30XX Layer 2 Switch CLI Reference Manual • If the initial message sent to a mail recipient is not delivered, it will be placed in the waiting queue until its place in the queue has been reached, and then another attempt to transmit the message is made. •...
  • Page 53 DES-30XX Layer 2 Switch CLI Reference Manual disable smtp Purpose Used to disable the Switch as a SMTP client. Syntax disable smtp Description This command, in conjunction with the enable smtp command will enable and disable the Switch as a SMTP client without changing configurations.
  • Page 54 DES-30XX Layer 2 Switch CLI Reference Manual To configure the SMTP settings: DES-3026:4#config smtp server 166.99.66.33 server_port 25 add mail receiver darren_tremblett@nhl.com Command: config smtp server 166.99.66.33 server_port 25 add mail receiver darren_tremblett@nhl.com Success. DES-3026:4# show smtp Purpose Used to view configured parameters for the SMTP function on the Switch.
  • Page 55 DES-30XX Layer 2 Switch CLI Reference Manual smtp send_testmsg Purpose Used to send a test message to mail recipients configured on the Switch. Syntax smtp send_testmsg Description This command is used to send test messages to all mail recipients configured on the Switch, thus testing the configurations set and the reliability of the SMTP server.
  • Page 56: Download/Upload Commands

    DES-30XX 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 57 DES-30XX 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 58 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To upload a configuration file: 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 59 DES-3026:4#enable autoconfig Command: enable autoconfig Success. DES-3026:4# DES-3026 Fast Ethernet Switch Command Line Interface Firmware: Build 2.00.020 Copyright(C) 2004-2007 D-Link Corporation. All rights reserved. DES-3026:4#download configuration 10.41.44.44 c:\cfg\setting.txt Command: download configuration 10.41.44.44 c:\cfg\setting.txt Connecting to server....Done. Download configuration....Done. DES-3026:4#...
  • Page 60 DES-30XX 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 61: Network Monitoring Commands

    DES-30XX 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 62 DES-30XX 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 4395...
  • Page 63 DES-30XX Layer 2 Switch CLI Reference Manual show utilization Parameters cpu – Entering this parameter will display the current cpu utilization of the Switch, as a percentage. ports <portlist> - Entering this parameter along with a list of ports will display the current utilization of selected ports on the Switch. Restrictions None.
  • Page 64 DES-30XX Layer 2 Switch CLI Reference Manual clear counters Purpose Used to clear the Switch’s statistics counters. Syntax clear counters [ports <portlist>] Description This command will clear the counters used by the Switch to compile statistics. <portlist> − Specifies a port or range of ports to be cleared for Parameters statistics.
  • Page 65 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To display the Switch history log: DES-3026:4#show log index 1-4 Command: show log index 1-4 Index Time Log Text ----- ---------- --------------------------------------------------------------- 2005/12/22 03:03:58 Successful login through Console (Username: Anonymous, IP:0.0.0.0, MAC:00-00-00-00-00-00) 2005/12/22 03:02:58 Logout through Console (Username: Anonymous, IP:0.0.0.0, MAC:00-00-00-00-00-00)
  • Page 66 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#disable syslog Command: disable syslog Success. DES-3026:4# show syslog Purpose Used to display the syslog protocol status as enabled or disabled. Syntax show syslog Description The show syslog command displays the syslog status as enabled or disabled.
  • Page 67 DES-30XX Layer 2 Switch CLI Reference Manual create syslog host Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above. warning −...
  • Page 68 DES-30XX Layer 2 Switch CLI Reference Manual create syslog host local4 − Specifies that local use 4 messages will be sent to the remote host. This corresponds to number 20 from the list above. local5 − Specifies that local use 5 messages will be sent to the remote host.
  • Page 69 DES-30XX Layer 2 Switch CLI Reference Manual config syslog host Critical: critical conditions Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational − Specifies that informational messages will be sent to the remote host.
  • Page 70 DES-30XX Layer 2 Switch CLI Reference Manual config syslog host local4 − Specifies that local use 4 messages will be sent to the remote host. This corresponds to number 20 from the list above. local5 − Specifies that local use 5 messages will be sent to the remote host.
  • Page 71 DES-30XX Layer 2 Switch CLI Reference Manual show syslog host Purpose Used to display the syslog hosts currently configured on the Switch. Syntax show syslog host {<index 1-4>} Description The show syslog host command is used to display the syslog hosts that are currently configured on the Switch.
  • Page 72: Spanning Tree Commands

    DES-30XX 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 {maxage <value 6-40>...
  • Page 73 DES-30XX Layer 2 Switch CLI Reference Manual config stp transmitted per interval. Default value = 3. fbpdu [enabled | disabled] − Allows the forwarding of STP BPDU packets from other network devices when STP is disabled on the Switch. The default is enabled. lbd [enable | disable] –...
  • Page 74 DES-30XX Layer 2 Switch CLI Reference Manual config stp ports priority <value 0-240> − Port Priority can be from 0 to 240. The lower the number, the greater the probability the port will be chosen as the Root Port. Default = 128. migrate [yes | no] –...
  • Page 75 DES-30XX Layer 2 Switch CLI Reference Manual enable stp Restrictions Only administrator-level users can issue this command. Example usage: To enable STP, globally, on the Switch: DES-3026:4#enable stp Command: enable stp Success. DES-3026:4# disable stp Purpose Used to globally disable STP on the Switch. Syntax disable stp Description...
  • Page 76 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show stp Command: show stp Bridge Parameters Settings STP Status : Enabled Max Age : 20 Hello Time Forward Delay : 15 Priority : 32768 STP Version : STP compatible TX Hold Count Forwarding BPDU : Enabled Loop-back Prevent : Disabled LBD Recover Time :60...
  • Page 77 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To display STP state of all ports, with STP enabled: DES-3026:4#show stp ports Command: show stp ports Port Connection State Cost Pri Edge P2P LBD Status Role ------ ------------------ ----- ---------- ---- ---- --------- ----------...
  • Page 78: Forwarding Database Commands

    DES-30XX 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 79 DES-30XX 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 80 DES-30XX Layer 2 Switch CLI Reference Manual 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 81 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#delete fdb default 00-00-00-00-01-02 Command: delete fdb default 00-00-00-00-01-02 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 82 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show multicast_fdb Command: show multicast_fdb 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.
  • Page 83 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID 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 84: Broadcast Storm Control Commands

    DES-30XX Layer 2 Switch CLI Reference Manual ROADCAST TORM ONTROL OMMANDS The broadcast storm control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config traffic control [<storm_grouplist> | all] {broadcast [enable | disable] | multicast [enable | disable] | dlf [enable | disable] | threshold <value 64- 1024000>} show traffic control...
  • Page 85 DES-30XX Layer 2 Switch CLI Reference Manual show traffic control Purpose Used to display current traffic control settings. Syntax show traffic control {grouplist <storm_grouplist>} Description This command displays the current storm traffic control configuration on the Switch. Parameters grouplist <storm_grouplist> - Enter a grouplist by which to view traffic control settings.
  • Page 86: Qos Commands

    DES-30XX Layer 2 Switch CLI Reference Manual OMMANDS The DES-3026 switch supports 802.1p priority queuing. The Switch has 4 priority classes of service. These priority classes of service are numbered from 3 (Class 3) — the highest priority class of service — to 0 (Class 0) — the lowest priority class of service.
  • Page 87 DES-30XX Layer 2 Switch CLI Reference Manual Command Parameters config scheduling <class_id 0-3> weight <value 1-55> show scheduling config 802.1p user_priority <priority 0-7> <class_id 0-3> show 802.1p user_priority config 802.1p default_priority [<portlist> | all] <priority 0-7> show 802.1p default_priority {<portlist>} config scheduling_mechanism [strict | weight_fair] show scheduling_mechanism...
  • Page 88 DES-30XX Layer 2 Switch CLI Reference Manual config scheduling priority classes of service are identified by number − from 0 to 3 − with class 3 being the highest priority. weight <value 1-55> − Specifies the maximum number of packets the above specified priority class of service will be allowed to transmit before allowing the next lowest priority classes of service to transmit its packets.
  • Page 89 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4# show scheduling Command: show scheduling QOS Output Scheduling Class ID Weight --------------- ------------- Class-0 Class-1 Class-2 Class-3 DES-3026:4# config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet to one of the four hardware classes of service available on the Switch.
  • Page 90 DES-30XX Layer 2 Switch CLI Reference Manual show 802.1p user_priority Purpose Used to display the current mapping between an incoming packet’s 802.1p priority value and one of the Switch’s four hardware priority classes of service. Syntax show 802.1p user_priority Description The show 802.1p user_priority command displays the current mapping of an incoming packet’s 802.1p priority value to one of the Switch’s four hardware priority classes of service.
  • Page 91 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#config 802.1p default_priority all 5 Command: config 802.1p default_priority all 5 Success. DES-3026:4# show 802.1 default_priority Purpose Used to display the currently configured 802.1p priority value that will be assigned to an incoming, untagged packet before being forwarded to its destination.
  • Page 92 DES-30XX Layer 2 Switch CLI Reference Manual config scheduling_mechanism Purpose Used to configure the scheduling mechanism for the QoS function Syntax config scheduling_mechanism [strict | weight_fair] Description The config scheduling_mechanism command allows the user to select between a Weight Fair (WRR) and a Strict mechanism for emptying the priority classes of service of the QoS function.
  • Page 93 DES-30XX Layer 2 Switch CLI Reference Manual To show the scheduling mechanism: DES-3026:4#show scheduling_mechanism Command: show scheduling_mechanism Scheduling Mechanism : strict DES-3026:4# config bandwidth_control Purpose Used to configure bandwidth control on a by-port basis. Syntax config bandwidth_control [<portlist>] {rx_rate [no_limit | <value 64-1024000>] | tx_rate [no_limit | <value 64- 1024000>]} Description...
  • Page 94 DES-30XX Layer 2 Switch CLI Reference Manual show bandwidth_control Purpose Used to display the bandwidth control configuration on the Switch. Syntax show bandwidth_control {<portlist>} Description The show bandwidth_control command displays the current bandwidth control configuration on the Switch, on a port-by-port basis.
  • Page 95: Traffic Segmentation Commands

    DES-30XX 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 96 DES-30XX Layer 2 Switch CLI Reference Manual show traffic_segmentation Purpose Used to display the current traffic segmentation configuration on the Switch. Syntax show traffic_segmentation <portlist> Description The show traffic_segmentation command is used to display the current traffic segmentation configuration on the Switch. <portlist>...
  • Page 97: Port Mirroring Commands

    DES-30XX 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 98 DES-30XX 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 99 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To display mirroring configuration: DES-3026:4#show mirror Command: show mirror Current Settings Mirror Status : enable Target Port Mirrored Port RX : TX : DES-3026:4#...
  • Page 100: Vlan Commands

    DES-30XX 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 101 DES-30XX Layer 2 Switch CLI Reference Manual To remove a vlan v1: 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 102 DES-30XX 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 Untagged ports : 1-26 Total Entries : 1 DES-3026:4#...
  • Page 103: Link Aggregation Commands

    DES-30XX 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 104 DES-30XX 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 105 DES-3026:4# NOTE: group_id 3 is designed for the uplink modules only (the last two ports on the Switch (DES-3010F/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 106 DES-30XX Layer 2 Switch CLI Reference Manual 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 107 DES-30XX Layer 2 Switch CLI Reference Manual config lacp_ports devices to negotiate the aggregated link so the group may be changed dynamically as needs require. In order to utilize the ability to change an aggregated port group, that is, to add or subtract ports from the group, at least one of the participating devices must designate LACP ports as active.
  • Page 108 DES-30XX 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]} | bootp | dhcp] show ipif Each command is listed, in detail, in the following sections.
  • Page 109 DES-30XX Layer 2 Switch CLI Reference Manual 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. Parameters None.
  • Page 110: Igmp Snooping Commands

    DES-30XX 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>...
  • Page 111 DES-30XX Layer 2 Switch CLI Reference Manual config igmp_snooping fast leave function. Enabled, this function will allow members of a multicast group to leave the group immediately (without the implementation of the Last Member Query Timer) when an IGMP Leave Report Packet is received by the Switch.
  • Page 112 DES-30XX Layer 2 Switch CLI Reference Manual config igmp_snooping querier The default number is the value of the robustness variable. • By default, the robustness variable is set to 2. Users may wish to increase this value if a subnet is expected to be lossy. last_member_query_interval <sec 1-25>...
  • Page 113 DES-30XX Layer 2 Switch CLI Reference Manual enable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax enable igmp_snooping {forward_mcrouter_only} Description This command allows you to enable IGMP snooping on the Switch. If forward_mcrouter_only is specified, the Switch will only forward all multicast traffic to the multicast router, only.
  • Page 114 DES-30XX Layer 2 Switch CLI Reference Manual show igmp_snooping Purpose Used to show the current status of IGMP snooping on the Switch. Syntax show igmp_snooping {vlan <vlan_name 32>} Description This command will display the current IGMP snooping configuration on the Switch.
  • Page 115 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show igmp_snooping group Command: show igmp_snooping group VLAN Name : default Multicast group: 224.0.0.2 MAC address : 01-00-5E-00-00-02 Reports Port Member : 3,4 Total Entries DES-3026:4# show router_ports Purpose Used to display the currently configured router ports on the Switch. Syntax show router_ports {vlan <vlan_name 32>} {[static | dynamic]} Description...
  • Page 116 DES-30XX Layer 2 Switch CLI Reference Manual CPU ACL F ILTERING OMMANDS The DES-30XX implement 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, packet content and IPv6 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 117 DES-30XX Layer 2 Switch CLI Reference Manual Command Parameters create cpu profile_id <value 1-3> [ethernet {vlan | source_mac <macmask> | destination_mac access_profile <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 118 DES-30XX 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 119 DES-30XX Layer 2 Switch CLI Reference Manual create cpu access_profile destination_ip_mask <netmask> − Specifies an IP address mask for Parameters • the destination IP address. dscp − Specifies that the Switch will examine the DiffServ Code • Point (DSCP) field in each frame’s header. icmp −...
  • Page 120 DES-30XX Layer 2 Switch CLI Reference Manual create cpu access_profile packet_content_mask – Specifies that the Switch will mask the packet header beginning with the offset value specified as follows: offset_0-15 - Enter a value in hex form to mask the packet from •...
  • Page 121 DES-30XX Layer 2 Switch CLI Reference Manual delete cpu access_profile created CPU access profile. profile_id <value 1-3> − Enter an integer between 1 and 5 that is used to Parameters identify the CPU access profile to be deleted with this command. This value is assigned to the access profile when it is created with the create cpu access_profile command.
  • Page 122 DES-30XX Layer 2 Switch CLI Reference Manual config cpu access_profile Purpose Used to configure a cpu access profile used for CPU Interface Filtering and to define specific values that will be used to by the Switch to determine if a given packet should be forwarded or filtered.
  • Page 123 DES-30XX Layer 2 Switch CLI Reference Manual config cpu access_profile ip − Specifies that the Switch will look into the IP fields in each packet. vlan <vlan_name 32> − Specifies that the access profile will apply to • only this VLAN. source_ip <ipaddr>...
  • Page 124 DES-30XX Layer 2 Switch CLI Reference Manual config cpu access_profile packet_content_mask – Specifies that the Switch will mask the packet • header beginning with the offset value specified as follows: offset_0-15 - Enter a value in hex form to mask the packet from •...
  • Page 125 DES-30XX Layer 2 Switch CLI Reference Manual enable cpu_interface_filtering Purpose Used to enable CPU interface filtering on the Switch. Syntax enable cpu_interface_filtering Description This command is used, in conjunction with the disable cpu_interface_filtering command below, to enable and disable CPU interface filtering on the Switch. Parameters None.
  • Page 126 DES-30XX Layer 2 Switch CLI Reference Manual show cpu_access_profile configured CPU access profile entry. Entering no parameter will display all information currently set for the CPU access profile function of the Switch. Restrictions Only administrator-level users can issue this command. Example usage: To show the CPU filtering state on the Switch: DES-3026:4#show cpu_access_profile...
  • Page 127: Port Security Commands

    Each command is listed, in detail, in the following sections. NOTE: The uplink module ports (DES-3010F/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 128 DES-30XX Layer 2 Switch CLI Reference Manual config port_security ports DeleteOnReset – The locked addresses will not age out until the Switch has been reset. Restrictions Only administrator-level users can issue this command. Example usage: 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...
  • Page 129 DES-30XX Layer 2 Switch CLI Reference Manual delete port_security_entry_vlan_name Purpose Used to delete an entry from the Switch’s port security settings. Syntax delete port_security_entry vlan_name <vlan_name 32> mac_address <macaddr> port <port> Description This command is used to remove an entry from the port security entries learned by the Switch and entered into the forwarding database.
  • Page 130 DES-30XX 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 131: X Commands

    DES-30XX Layer 2 Switch CLI Reference Manual 802.1X C OMMANDS The DES-3026 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 132 DES-30XX Layer 2 Switch CLI Reference Manual Each command is listed, in detail, in the following sections. NOTE: The uplink module ports (DES-3010F/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 133 DES-30XX 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 134 DES-30XX Layer 2 Switch CLI Reference Manual 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 ------ -------------- ------------- ------------ ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth...
  • Page 135 DES-30XX Layer 2 Switch CLI Reference Manual show 802.1x auth_configuration 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 − Shows the current state of the Authenticator PAE. Backend State: Request/Response/Fail/Idle/Initialize −...
  • Page 136 DES-30XX 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 : Enabled Authentication Mode : Port_based Authentication Protocol : Radius_Eap Port number Capability : None Port Status : Authorized PAE State : ForceAuth Backend State : Success...
  • Page 137 DES-30XX Layer 2 Switch CLI Reference Manual 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 138 DES-30XX Layer 2 Switch CLI Reference Manual 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 – 20 direction both Success. DES-3026:4# config 802.1x auth_protocol Purpose Used to configure the 802.1x authentication protocol on the Switch.
  • Page 139 DES-30XX Layer 2 Switch CLI Reference Manual config 802.1x init mac_address <macaddr> - Specifies the MAC address of the client to be added. Restrictions Only administrator-level users can issue this command. Example usage: To initialize the authentication state machine of some or all: DES-3026:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success.
  • Page 140 DES-30XX Layer 2 Switch CLI Reference Manual 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> | acct_port <udp_port_number 1-65535>}] Description The config radius add command is used to configure the settings the...
  • Page 141 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#config radius delete 1 Command: config radius delete 1 Success. DES-3026:4# config radius Purpose Used to configure the Switch’s RADIUS settings. Syntax config radius <server_index 1-3> {ipaddress <server_ip> | key <passwd 32> | auth_port <udp_port_number 1-65535> | acct_port <udp_port_number 1-65535>} Description The config radius command is used to configure the Switch’s RADIUS...
  • Page 142 DES-30XX Layer 2 Switch CLI Reference Manual show radius Parameters None. Restrictions None. Example usage: To display RADIUS settings on the Switch: DES-3026:4#show radius Command: show radius Index IP Address Auth-Port Acct-Port Status Number Number ----- ------------------ --------- --------- ----------- ------------ 10.1.1.1 1812...
  • Page 143 DES-30XX Layer 2 Switch CLI Reference Manual show 802.1x user currently configured on the Switch. Parameters None. Restrictions None. Example usage: To view 802.1X users currently configured on the Switch: DES-3026:4#show 802.1x user Command: show 802.1x user Index User Name -------------- -------------- Trinity...
  • Page 144 DES-30XX Layer 2 Switch CLI Reference Manual 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 radiusAccClientPendingRequests radiusAccClientTimeouts...
  • Page 145 DES-30XX Layer 2 Switch CLI Reference Manual radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry show auth_diagnostics Purpose Used to display the current authentication diagnostics. Syntax show auth_diagnostics {ports [<portlist>} Description...
  • Page 146 DES-30XX Layer 2 Switch CLI Reference Manual show auth_session_statistics Purpose Used to display the current authentication session statistics. Syntax show auth_session_statistics {ports [<portlist> | all]} Description The show auth_session statistics command is used to display the current authentication session statistics of the Switch on a per port basis.
  • Page 147 DES-30XX 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...
  • Page 148 DES-30XX 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 149 DES-30XX 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 150 DES-30XX Layer 2 Switch CLI Reference Manual 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. Restrictions Only administrator-level users can issue this command. Example: To stop SNTP support: DES-3026:4#disable sntp...
  • Page 151 DES-30XX Layer 2 Switch CLI Reference Manual 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 152 DES-30XX Layer 2 Switch CLI Reference Manual config dst • <start_week 1-4,last> - The number of the week during the month in which DST begins where 1 is the first week, 2 is the second week and so on, last is the last week of the month. e_week - Configure the week of the month in which DST ends.
  • Page 153 DES-30XX 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 154: Routing Table Commands

    DES-30XX 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 {<network address>} {static}...
  • Page 155 DES-30XX 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 156: Arp Commands

    DES-30XX 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 <ipif_name 12> | ipaddress <ipaddr> | static} config arp_aging time <value 0-65535>...
  • Page 157 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#show arpentry Command: show arpentry ARP Aging Time : 20 Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast System 10.1.1.169 00-50-BA-70-E4-4E Dynamic System 10.1.1.254 00-01-30-FA-5F-00 Dynamic System 10.9.68.1 00-A0-C9-A4-22-5B Dynamic...
  • Page 158 DES-30XX Layer 2 Switch CLI Reference Manual clear arptable Purpose Used to remove all dynamic ARP table entries. Syntax clear arptable Description This command is used to remove dynamic ARP table entries from the Switch’s ARP table. Static ARP table entries are not affected. Parameters None.
  • Page 159 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: SIM is an optional feature on the Switch and can easily be enabled or disabled.
  • Page 160: D-Link Single Ip Management Commands

    For more information on adding the DES-3026 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 161 DES-30XX Layer 2 Switch CLI Reference Manual DES-3026:4#enable sim Command: enable sim Success. DES-3026:4# 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.
  • Page 162 DES-30XX Layer 2 Switch CLI Reference Manual show sim always have the candidate role. Discovery Interval - Time in seconds the Switch will send discovery packets out over the network. Hold time – Displays the time in seconds the Switch will hold discovery results before dropping it or utilizing it.
  • Page 163 DES-30XX Layer 2 Switch CLI Reference Manual To show the candidate information in summary, if the candidate ID is specified: DES-3026:4#show sim candidates Command: show sim candidates ID MAC Address Platform / Hold Firmware Device Name Capability Time Version --- ----------------- ------------------------ ----- ---------...
  • Page 164 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: 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...
  • Page 165 DES-30XX 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 166 DES-30XX Layer 2 Switch CLI Reference Manual config sim may set the hold time from 100 to 255 seconds. candidate – Used to change the role of a commander switch to a candidate switch. dp_interval <30-90> – The user may set the discovery protocol interval, in seconds that the Switch will send out discovery packets.
  • Page 167 DES-30XX Layer 2 Switch CLI Reference Manual 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. Syntax download sim_ms [firmware_from_tftp | configuration_from_tftp] <ipaddr> <path_filename> {[members <mslist 1-32>...
  • Page 168 DES-30XX Layer 2 Switch CLI Reference Manual 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 ----------------- ---------------- 00-01-02-03-04-00 Success 00-07-06-05-04-03 Success 00-07-06-05-04-03 Success DES-3026:4# upload sim_ms...
  • Page 169: Command History List

    DES-30XX 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 170 DES-30XX Layer 2 Switch CLI Reference Manual Example usage: To display the parameters for a specific command: DES-3026:4#? config igmp_snooping Command: config igmp_snooping Command: config igmp_snooping Usage: [vlan_name <vlan_name 32> | all] {host_timeout <sec 1-16711450> | router_timeout <sec 1-16711450> | leave_timer <sec 1-16711450> | state [enabled | disabled | fast_leave [enabled | disabled]} Description: Used to configure IGMP snooping on the switch.
  • Page 171 DES-30XX Layer 2 Switch CLI Reference Manual Example usage To display all of the commands: DES-3026:4#dir Command: dir clear clear arptable clear counters clear fdb clear log clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.1x init...
  • Page 172 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-3018/3026 - 441 mm x 207mm x 44 mm (1U), 19 inch rack-...
  • Page 173 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 Fiber Optic Port DES-3010G - 8 x 10/100 Mbps NWay ports, 1 x 1000BASE-T Gigabit Port, 1...
  • Page 174 DES-30XX 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:

3010g - des switchDes-3010gDes-3018Des-3026

Table of Contents