D-Link DES-3026 Reference Manual

D-Link DES-3026 - Switch Manual

D-Link DES-3026 manual content summary:

  • D-Link DES-3026 | Reference Manual - Page 1
    DES-3010F/DES-3010FL/DES-3010G/DES-3018/DES-3026 Managed 8/16/24-port 10/100Mbps N-Way Fast Ethernet Switch Command Line Interface Reference Manual Thrid Edition (May 2006) 651ES3026035G Printed In Taiwan RECYCLABLE
  • D-Link DES-3026 | Reference Manual - Page 2
  • D-Link DES-3026 | Reference Manual - Page 3
    Syntax ...8 Basic Switch Commands...10 Switch Port Commands ...23 Network Management (SNMP) Commands ...27 SMTP Commands ...49 Download/Upload Commands 113 Port Mirroring Commands ...116 VLAN Commands...119 Link Aggregation Commands ...122 Basic IP Commands ...129 IP-MAC Binding Commands...131 MAC
  • D-Link DES-3026 | Reference Manual - Page 4
  • D-Link DES-3026 | Reference Manual - Page 5
    or Telnet interfaces. This manual provides a reference for all of the commands contained in the CLI. Configuration and management of the Switch via the Web-based management agent is discussed in the User's Guide. Accessing the Switch via the Serial Port The Switch's serial port's default settings
  • D-Link DES-3026 | Reference Manual - Page 6
    DES-3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 7
    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
  • D-Link DES-3026 | Reference Manual - Page 8
    CONSOLE CLI 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. The
  • D-Link DES-3026 | Reference Manual - Page 9
    DES-3000 Series 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. Figure 2-2. The
  • D-Link DES-3026 | Reference Manual - Page 10
    DES-3000 Series Layer 2 Switch CLI Reference Manual Figure 2-3. Example Command Parameter Help In this case, the command show was The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate user name can be entered and the
  • D-Link DES-3026 | Reference Manual - Page 11
    DES-3000 Series 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 of commands such as show or config. Most of these commands require one user accounts configured on the Switch. 7
  • D-Link DES-3026 | Reference Manual - Page 12
    name must be specified in the space and the network address in the space. Do not type the angle brackets. Example Command config ipif System ipaddress 10.24.22.5/255.0.0.0 vlan Design state enable [square brackets] Purpose Encloses a required value or set of
  • D-Link DES-3026 | Reference Manual - Page 13
    DES-3000 Series Layer 2 Switch CLI Reference Manual Encloses an optional value or set of optional arguments. reset {[config | system]} In the above syntax example, you have the option to specify config it was entered. Use the up arrow to review previous commands. Tab Shifts the cursor to the next
  • D-Link DES-3026 | Reference Manual - Page 14
    . Command create account config account show account show session show switch show config show serial_port config serial_port enable clipaging disable clipaging enable telnet disable telnet enable web disable web save reboot reset login logout ping Parameters [admin | user]
  • D-Link DES-3026 | Reference Manual - Page 15
    . Example usage: To configure the user password of "dlink" account: DES-3026:4#config account dlink Command: config account dlink Enter a old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DES-3026:4# show account Purpose
  • D-Link DES-3026 | Reference Manual - Page 16
    -3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 17
    : show switch Device Type : DES-3026 Ethernet Switch Module 1 Type : None Module 2 Type : None MAC Address : DA-10-21-00-00-01 IP Address : 10.41.44.22 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.01.003 Firmware Version
  • D-Link DES-3026 | Reference Manual - Page 18
    administrator-level users can issue this command. Example usage: To view configurations entered on the Switch that were saved to the DRAM: DES-3026:4# show config config_in_nvram Command: show config config_in_nvram # BASIC config serial_port baud_rate 9600 auto_logout never enable telnet 23
  • D-Link DES-3026 | Reference Manual - Page 19
    DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4#show serial_port Command: show serial_port Baud Rate Data Bits Parity Bits Stop Bits Auto-Logout : 9600 : 8 : None : 1 : 10 mins DES-3026:4# config serial_port Purpose Used to configure the serial port. Syntax config serial_port
  • D-Link DES-3026 | Reference Manual - Page 20
    show command output reaches the end of the page: DES-3026:4#disable clipaging Command: disable clipaging Success. DES-3026:4# enable telnet Purpose Used to enable communication with and management of the Switch using the Telnet protocol. Syntax enable telnet {} 16
  • D-Link DES-3026 | Reference Manual - Page 21
    -level users can issue this command. Example usage: To enable Telnet and configure port number: DES-3026:4#enable telnet 23 Command: enable telnet 23 Success. DES-3026:4# disable telnet Purpose Used to disable the Telnet protocol on the Switch. Syntax disable telnet Description
  • D-Link DES-3026 | Reference Manual - Page 22
    each time the Switch is restarted. config - Save configuration to NV-RAM. log - Save history log. all - Save configuration and log. Only administrator-level users can issue this command. Example usage: To save the Switch's current configuration to non-volatile RAM: DES-3026:4#save Command: save
  • D-Link DES-3026 | Reference Manual - Page 23
    DES-3000 Series Layer 2 Switch CLI Reference Manual DES-3026:4# 19
  • D-Link DES-3026 | Reference Manual - Page 24
    default settings. reset {[config | system]} This command is used to restore the Switch's configuration to the default settings assigned from the factory. config − If the keyword 'config' is specified, all of the factory default settings are restored on the Switch including the IP address, user
  • D-Link DES-3026 | Reference Manual - Page 25
    Manual login Purpose Syntax Description Parameters Restrictions Used to log in a user to the Switch's console. login This command is used to initiate the login procedure. The user will be prompted for his Username and Password. None. None. Example usage: To initiate the login procedure: DES-3026
  • D-Link DES-3026 | Reference Manual - Page 26
    Layer 2 Switch CLI Reference Manual ping Restrictions Pinging an IP address without the times parameter will ping the target device an infinite amount of times. 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
  • D-Link DES-3026 | Reference Manual - Page 27
    DES-3000 Series Layer 2 Switch CLI Reference Manual 5 SWITCH PORT COMMANDS The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config ports show ports Parameters config ports [ | all] {speed [
  • D-Link DES-3026 | Reference Manual - Page 28
    DES-3000 Series Layer 2 Switch CLI Reference Manual config ports Purpose Used to configure the Switch's Ethernet port settings. Syntax config ports [ | all] {speed [auto | 10_half | 10_full | 100_half | 100_full | {1000_full {[master | slave]}}] | flow_control [enable | disable] |
  • D-Link DES-3026 | Reference Manual - Page 29
    allow the user to view previously configured descriptions set on various ports on the Switch. err_disabled - link down status. None. Example usage: To display the configuration of ports 1-5 on the Switch: DES-3026:4#show ports 1-5 Command: show ports 1-5 Port Port Settings Connection Address
  • D-Link DES-3026 | Reference Manual - Page 30
    DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display error ports: DES-3026:4#show ports err_disabled Command: show ports err_disabled Port -----15 Port Connection Status State Enabled Err-disabled Desc: port15 Reason ------------STP LBD DES-3026:4# 26
  • D-Link DES-3026 | Reference Manual - Page 31
    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. The three versions of SNMP vary in the level of security
  • D-Link DES-3026 | Reference Manual - Page 32
    DES-3000 Series Layer 2 Switch CLI Reference Manual show snmp traps config snmp system_contact config snmp system_location config snmp system_name Parameters detail, in the following sections. create snmp user Purpose Used to create a new SNMP user and adds the user to an SNMP group that is also
  • D-Link DES-3026 | Reference Manual - Page 33
    DES-3000 Series 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 will be used. - An
  • D-Link DES-3026 | Reference Manual - Page 34
    -3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 35
    Series 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 V3 None None Total Entries: 1 DES-3026:4# create snmp view Purpose Used to assign views to community strings
  • D-Link DES-3026 | Reference Manual - Page 36
    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. Example usage: To delete a previously configured SNMP view from the Switch: DES-3026:4#delete snmp view dlinkview all Command: delete
  • D-Link DES-3026 | Reference Manual - Page 37
    can read from and write to the contents of the MIBs on the Switch. Restrictions Only administrator-level users can issue this command. Example usage: To create the SNMP community string "dlink:" DES-3026:4#create snmp community dlink view ReadView read_write Command: create snmp community
  • D-Link DES-3026 | Reference Manual - Page 38
    is used like a password to give remote SNMP managers access to MIB objects in the Switch's SNMP agent. Restrictions Only administrator-level users can issue this command. Example usage: To delete the SNMP community string "dlink:" DES-3026:4#delete snmp community dlink Command: delete snmp
  • D-Link DES-3026 | Reference Manual - Page 39
    SNMP engine on the Switch. Restrictions Only administrator-level users can issue this command. Example usage: To give the SNMP agent on the Switch the name "0035636666" DES-3026:4#config snmp engineID 0035636666 Command: config snmp engineID 0035636666 Success. DES-3026:4# show snmp engineID
  • D-Link DES-3026 | Reference Manual - Page 40
    DES-3000 Series Layer 2 Switch CLI Reference Manual create snmp group table that maps SNMP users to SNMP views. Parameters − An alphanumeric name of up to 32 characters that will identify the SNMP group with which the new SNMP user The SNMP v2c supports both centralized and
  • D-Link DES-3026 | Reference Manual - Page 41
    -level users can issue this command. 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. The
  • D-Link DES-3026 | Reference Manual - Page 42
    Series 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
  • D-Link DES-3026 | Reference Manual - Page 43
    : 10 DES-3026:4# create snmp host Purpose Syntax Description Parameters Used to create a recipient of SNMP traps generated by the Switch's SNMP generated by the Switch's SNMP agent. − The IP address of the remote management station that will serve as the SNMP host for the Switch. v1 -
  • D-Link DES-3026 | Reference Manual - Page 44
    DES-3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 45
    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 {} Description The show snmp host command is used to display the IP addresses and configuration information of remote SNMP
  • D-Link DES-3026 | Reference Manual - Page 46
    Layer 2 Switch CLI Reference Manual show snmp host Parameters − The IP address of a remote SNMP manager that will 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
  • D-Link DES-3026 | Reference Manual - Page 47
    or TELNET based management software. These IP addresses must be members of the Management VLAN. If no IP addresses are specified, then there is nothing to prevent any IP address from accessing the Switch, provided the user knows the Username and Password. Parameters − The IP address of
  • D-Link DES-3026 | Reference Manual - Page 48
    Example Usage: DES-3000 Series Layer 2 Switch CLI Reference Manual 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
  • D-Link DES-3026 | Reference Manual - Page 49
    -3000 Series 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. Parameters None
  • D-Link DES-3026 | Reference Manual - Page 50
    This command is used to view the SNMP trap support status currently configured on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To view the current SNMP trap support: DES-3026:4#show snmp traps Command: show snmp traps SNMP
  • D-Link DES-3026 | Reference Manual - Page 51
    administrator-level users can issue this command. Example usage: To configure the Switch contact to "M I S D e p a r t m e n t I I ": DES-3026:4#config snmp system_contact MIS Department II Command: config snmp system_contact MIS Department II Success. DES-3026:4# config snmp system_location
  • D-Link DES-3026 | Reference Manual - Page 52
    A NULL string is accepted if no name is desired. Only administrator-level users can issue this command. Example usage: To configure the Switch name for "DES-3026 Switch" : DES-3026:4#config snmp system_name DES-3026 Switch Command: config snmp system_name DES-3026 Switch Success. DES-3026:4# 48
  • D-Link DES-3026 | Reference Manual - Page 53
    timestamps for each relay. • The event that occurred on the Switch, prompting the e-mail message to be sent. • When an event is processed by a user, such as save or firmware upgrade, the IP address, MAC address and User Name of the user completing the task will be sent along with the system message
  • D-Link DES-3026 | Reference Manual - Page 54
    DES-3000 Series Layer 2 Switch CLI Reference Manual Parameters enable smtp disable smtp config smtp {server | Switch as a SMTP client without changing configurations. None. Only administrator-level users can issue this command. Example usage: To enable SMTP on the Switch. DES-3026
  • D-Link DES-3026 | Reference Manual - Page 55
    enable and disable the Switch as a SMTP client without changing configurations. None. Only administrator-level users can issue this command. Example usage: To disable SMTP on the Switch. DES-3026:4#disable smtp Command: disable smtp Success. DES-3026:4# config smtp Purpose Syntax Description
  • D-Link DES-3026 | Reference Manual - Page 56
    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 [email protected] Command: config smtp server 166.99.66.33 server_port 25 add mail receiver [email protected] Success. DES-3026:4# show smtp
  • D-Link DES-3026 | Reference Manual - Page 57
    all mail recipients configured on the Switch, thus testing the configurations set and the reliability of the SMTP server. None. Only administrator-level users can issue this command. Example usage: To send a test mail message to all configured mail recipients. DES-3026:4# smtp send_testmsg Command
  • D-Link DES-3026 | Reference Manual - Page 58
    stated in the configuration file. All other switch parameters will remain unchanged. Only administrator-level users can issue this command. To download a firmware file: DES-3026:4#download firmware 10.48.74.121 c:\DES-3026 b08.had Command: download firmware 10.48.74.121 c:\DES-3026 b08.had
  • D-Link DES-3026 | Reference Manual - Page 59
    The IP address of the TFTP server. − Specifies the location of the Switch configuration file on the TFTP server. This file will be replaced by the uploaded file from the Switch. Only administrator-level users can issue this command. Example usage: To upload a log file: DES-3026
  • D-Link DES-3026 | Reference Manual - Page 60
    client. Parameters Restrictions None. When autoconfig is enabled, the Switch becomes a DHCP client automatically (same as: config ipif System dhcp). The DHCP server must have the TFTP server IP address and configuration file name, and be configured to deliver this information in the data field of
  • D-Link DES-3026 | Reference Manual - Page 61
    enable autoconfig Success. DES-3026:4# DES-3026 Fast Ethernet Switch Command Line Interface Firmware: Build 2.00.016 Copyright(C) 2004-2007 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
  • D-Link DES-3026 | Reference Manual - Page 62
    the IP settings of the Switch. The ipif settings will continue as DHCP client until changed with the config ipif command. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To stop the autoconfiguration function: DES-3026:4#disable autoconfig
  • D-Link DES-3026 | Reference Manual - Page 63
    DES-3000 Series Layer 2 Switch CLI Reference Manual 9 NETWORK MONITORING COMMANDS The network monitoring commands syslog disable syslog show syslog create syslog host config syslog delete syslog host show syslog host config log_save_timing show log_save_timing Parameters
  • D-Link DES-3026 | Reference Manual - Page 64
    DES-3000 Series Layer 2 Switch CLI Reference Manual show packet ports Purpose Used to display statistics about the packets sent and received by the Switch None. Example usage: To display the packets analysis for port 7: DES-3026:4#show packet ports 7 Command: show packet ports 7 Port number
  • D-Link DES-3026 | Reference Manual - Page 65
    the packet error statistics collected and logged by the Switch for a given port list. Parameters − Specifies a port or range of ports to be displayed. Restrictions None. Example usage: To display the errors of the port 3: DES-3026:4#show error port 3 Command: show error port 3 Port
  • D-Link DES-3026 | Reference Manual - Page 66
    DES-3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display the port utilization statistics: DES-3026:4#show utilization ports 1-26 Command: show utilization ports 1-26 Example usage: Port TX/sec RX/sec Util Port TX/sec RX/sec Util 1 0 0 0 22 0 0 0 2 0 0 0 23 0
  • D-Link DES-3026 | Reference Manual - Page 67
    clear counters Command: clear counters Success. DES-3026:4# clear log Purpose Syntax Description Parameters Restrictions Used to clear the Switch's history log. clear log This command will clear the Switch's history log. None. Only administrator-level users can issue this command. Example usage
  • D-Link DES-3026 | Reference Manual - Page 68
    Username: Anonymous, IP:0.0.0.0, MAC:00-00-00-00-00-00) Logout through Console (Username: Anonymous, IP:0.0.0.0, MAC:00-00-00-00-00-00) DES-3026:4# enable syslog administrator-level users can issue this command. Example usage: To the syslog function on the Switch: DES-3026:4#enable syslog
  • D-Link DES-3026 | Reference Manual - Page 69
    to a remote host. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable the syslog function on the Switch: DES-3026:4#disable syslog Command: disable syslog Success. DES-3026:4# show syslog Purpose Used to display the syslog protocol
  • D-Link DES-3026 | Reference Manual - Page 70
    DES-3000 Series Layer 2 Switch CLI Reference Manual create syslog host Purpose Used to create a new syslog host. Syntax "user-level" Facility. Those Facilities that have been designated are shown in the following: Bold font indicates the facility values that the Switch currently supports.
  • D-Link DES-3026 | Reference Manual - Page 71
    DES-3000 Series Layer 2 Switch CLI Reference Manual create syslog host Parameters Numerical Facility Code 0 kernel messages 1 user use to send messages to the remote host. ipaddress − Specifies the IP address of the remote host where syslog messages will be sent. state [enable |
  • D-Link DES-3026 | Reference Manual - Page 72
    Layer 2 Switch CLI Reference Manual To create syslog host: 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
  • D-Link DES-3026 | Reference Manual - Page 73
    DES-3000 Series Layer 2 Switch CLI Reference Manual config syslog host Parameters Numerical Facility Code 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 kernel messages user remote host. ipaddress − Specifies the IP address of the remote host where syslog messages will
  • D-Link DES-3026 | Reference Manual - Page 74
    Example usage: DES-3000 Series Layer 2 Switch CLI Reference Manual To configure a syslog host: 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
  • D-Link DES-3026 | Reference Manual - Page 75
    hosts that are currently configured on the Switch. Parameters − Specifies that the command will be applied to an index of hosts. There are four available indexes, numbered 1 through 4. Restrictions None. Example usage: To show Syslog host information: DES-3026:4#show syslog host
  • D-Link DES-3026 | Reference Manual - Page 76
    command to determine what triggers are used. Restrictions Only administrator-level users can issue this command. Example usage: To configure log timing: DES-3026:4#config log_save_timing log_trigger Command: config log_save_timing log_trigger Warning: If too many log information is produced
  • D-Link DES-3026 | Reference Manual - Page 77
    timeing command will display the current configuration of saving Switch logs to designated hosts. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To configure log timing: DES-3026:4#show log_save_timing Command: show log_save_timing Saving
  • D-Link DES-3026 | Reference Manual - Page 78
    DES-3000 Series Layer 2 Switch CLI Reference Manual 10 SPANNING TREE COMMANDS 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 config stp config
  • D-Link DES-3026 | Reference Manual - Page 79
    a time between 60 and 1000000 seconds. The default is 60 seconds. Only administrator-level users can issue this command. Example usage: To configure STP with maxage 18 and hellotime 4: DES-3026:4#config stp maxage 18 hellotime 4 Command: config stp maxage 18 hellotime 4 Success. DES-3026:4# 75
  • D-Link DES-3026 | Reference Manual - Page 80
    or disabled for the ports specified in the port list. The default is disabled. lbd [enable | disable] - Used to enable or disable the loop-back detection function on the Switch for the ports configured above in the config stp command. Only administrator-level users can issue this command. 76
  • D-Link DES-3026 | Reference Manual - Page 81
    DES-3000 Series Layer 2 Switch CLI Reference Manual 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 Success. DES-3026:4#
  • D-Link DES-3026 | Reference Manual - Page 82
    Switch's current STP configuration. None. None. Example usage: To display the status of STP on the Switch: Status 1: STP enabled with STP compatible version DES-3026:4#show stp Command: show stp STP Status : Enabled Max Age : 20 Hello Time : 2 Forward Delay : 15 Priority : 32768 Default
  • D-Link DES-3026 | Reference Manual - Page 83
    Manual Status 2 : STP disabled Command: show stp STP Status : Disabled Max Age : 20 Hello Time : 2 Forward Delay : 15 Priority : 32768 Default Path Cost : 802.1T STP Version : RSTP TX Hold Count : 3 Forwarding BPDU : Enabled Loopback Detection: Disabled LBD Recover Time : 60 DES-3026
  • D-Link DES-3026 | Reference Manual - Page 84
    Description This command displays the Switch's current per-port group STP configuration. Parameters − Specifies a port or range of ports to be configured. Restrictions None. Example usage: To display STP state of all ports, with STP enabled: DES-3026:4#show stp ports Command: show
  • D-Link DES-3026 | Reference Manual - Page 85
    DES-3000 Series Layer 2 Switch CLI Reference Manual 11 FORWARDING DATABASE COMMANDS The layer 2 forwarding config multicast_fdb [add | delete] config fdb aging_time clear fdb [vlan | port | all] show multicast_fdb {vlan
  • D-Link DES-3026 | Reference Manual - Page 86
    − The port number corresponding to the MAC destination address. The Switch will always forward traffic to the specified device through this port. Only administrator-level users can issue this command. To create a unicast MAC FDB entry: DES-3026:4#create fdb default 00-00-00-00-01-02 port 2 Command
  • D-Link DES-3026 | Reference Manual - Page 87
    The name of the VLAN on which the MAC address resides. − The MAC address that will be added to the forwarding table. Restrictions Only administrator-level users can issue this command. Example usage: To create multicast MAC forwarding: DES-3026:4#create multicast_fdb default 01-00-5E
  • D-Link DES-3026 | Reference Manual - Page 88
    Delete will remove the MAC address from the forwarding table. − Specifies a port or range of ports to be configured. Restrictions Only administrator-level users can issue this command. Example usage: To add multicast MAC forwarding: DES-3026:4#config multicast_fdb default 01-00-5E-00
  • D-Link DES-3026 | Reference Manual - Page 89
    of the benefits of having a Switch. Parameters − The aging time for the MAC address forwarding database value, in seconds. Restrictions Only administrator-level users can issue this command. Example usage: To set the fdb aging time: DES-3026:4#config fdb aging_time 300 Command
  • D-Link DES-3026 | Reference Manual - Page 90
    vlan_name 32> − The name of the VLAN on which the MAC address resides. − The MAC address that will be deleted from the forwarding table. Only administrator-level users can issue this command. Example usage: To delete a permanent FDB entry: DES-3026:4#delete fdb default 00-00-00-00-01-02
  • D-Link DES-3026 | Reference Manual - Page 91
    to the MAC destination address. The Switch will always forward traffic to the specified device through this port. all − Clears all dynamic entries to the Switch's forwarding database. Only administrator-level users can issue this command. To clear all FDB dynamic entries: DES-3026:4#clear fdb all
  • D-Link DES-3026 | Reference Manual - Page 92
    resides. mac_address − The MAC address that will be added to the forwarding table. Restrictions None. Example usage: To display multicast MAC address table: DES-3026:4#show multicast_fdb Command: show multicast_fdb VLAN Name MAC Address Egress Ports Mode : default : 01-00-5E-00-00
  • D-Link DES-3026 | Reference Manual - Page 93
    DES-3000 Series Layer 2 Switch CLI Reference Manual show fdb Purpose Syntax Description Parameters Restrictions Used to display the current unicast MAC address forwarding database. show fdb {port | vlan | mac_address | static | aging_time} This command will display
  • D-Link DES-3026 | Reference Manual - Page 94
    -3000 Series Layer 2 Switch CLI Reference Manual Example usage: To display unicast MAC address table: DES-3026:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID VLAN Name MAC Address Port Type 1 default 00-00-39-34-66-9A 10 Dynamic 1 default 00-00-51-43-70-00 10
  • D-Link DES-3026 | Reference Manual - Page 95
    -level users can issue this command. 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# 91
  • D-Link DES-3026 | Reference Manual - Page 96
    This command will display the current multicast packet filtering mode on the Switch. Parameters None. Restrictions None. Example usage: To view the multicast filtering mode configuration: DES-3026:4#show multicast filtering_mode Command: show multicast filtering_mode Multicase Filter Mode
  • D-Link DES-3026 | Reference Manual - Page 97
    by the Switch that will trigger the storm traffic control measures. The value ranges in size from 64 to 1024000 Kpps. Only administrator-level users can issue this command. Example usage: To configure traffic control and enable broadcast storm control system wide: DES-3026:4# config traffic
  • D-Link DES-3026 | Reference Manual - Page 98
    the current storm traffic control configuration on the Switch. Parameters grouplist - Enter a grouplist by which to view traffic control settings. Restrictions None. Example usage: To display traffic control setting for ports 1-5: DES-3026:4#show traffic control group_list
  • D-Link DES-3026 | Reference Manual - Page 99
    Manual 13 QOS COMMANDS 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
  • D-Link DES-3026 | Reference Manual - Page 100
    DES-3000 Series Layer 2 Switch CLI Reference Manual Command Parameters config cos mapping show cos mapping config dscp_mapping show dscp_mapping config scheduling show scheduling config 802.1p user_priority show 802.1p user_priority config 802.1p default_priority show 802.1p default_priority
  • D-Link DES-3026 | Reference Manual - Page 101
    DES-3000 Series Layer 2 Switch CLI Reference Manual config cos mapping Purpose Used to configure class of service parameters and mapping for port-based cost of service and mapping for Type of Service (ToS). Syntax config cos mapping [|all] [none |{port_mapping | ethernet [ 802.1p |
  • D-Link DES-3026 | Reference Manual - Page 102
    - The class of service level being mapped to. Restrictions Only administrator-level users can issue this command. To configure CoS mapping for DSCP: DES-3026:4#config dscp_mapping dscp_value 1 class 0 Command: config dscp_mapping dscp_value 1 class 0 Success DES-3026:4# 98
  • D-Link DES-3026 | Reference Manual - Page 103
    DES-3000 Series Layer 2 Switch CLI Reference Manual show dscp_mapping Purpose To display current DSCP mapping. to it in the Switch. Restrictions Only administrator-level users can issue this command. To display current CoS mapping for DSCP: DES-3026:4#show dscp_mapping dscp_value 13 Command
  • D-Link DES-3026 | Reference Manual - Page 104
    of service to transmit its packets. A value between 1 and 55 packets can be specified. The default value is per class is: Class Weight 0 1 1 2 2 4 3 8 Restrictions Only administrator-level users can issue this command. Example usage: To configure traffic scheduling: DES-3026:4# config
  • D-Link DES-3026 | Reference Manual - Page 105
    classes of service on the Switch. The Switch will empty the four hardware classes of service in order, from the highest priority (class 3) to the lowest priority (class 0). Parameters None. Restrictions None. Example usage: To display the current scheduling configuration: DES-3026:4# show
  • D-Link DES-3026 | Reference Manual - Page 106
    of the Switch's hardware priority classes of service the 802.1p priority value (specified above) will be mapped. 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
  • D-Link DES-3026 | Reference Manual - Page 107
    mapping of an incoming packet's 802.1p priority value to one of the Switch's four hardware priority classes of service. Parameters None. Restrictions None. Example usage: To show 802.1p user priority: DES-3026:4# show 802.1p user_priority Command: show 802.1p user_priority QOS Class of
  • D-Link DES-3026 | Reference Manual - Page 108
    will be given before being forwarded to its destination. Restrictions Only administrator-level users can issue this command. Example usage: To configure 802.1p default priority on the Switch: DES-3026:4#config 802.1p default_priority all 5 Command: config 802.1p default_priority all 5 Success
  • D-Link DES-3026 | Reference Manual - Page 109
    DES-3000 Series Layer 2 Switch CLI Reference Manual show 802.1p default_priority Purpose Used to display the currently configured None. Example usage: To display the current 802.1p default priority configuration on the Switch: DES-3026:4# show 802.1p default_priority Command: show 802.1p
  • D-Link DES-3026 | Reference Manual - Page 110
    DES-3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 111
    use on the Switch. Parameters None. Restrictions None. Example Usage: 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
  • D-Link DES-3026 | Reference Manual - Page 112
    -3000 Series Layer 2 Switch CLI Reference Manual Example usage: To configure bandwidth control: DES-3026:4#config bandwidth_control 1-10 rx_rate 100000 tx_rate 100000 Command: config bandwidth_control 1-10 rx_rate 100000 tx_rate 100000 Success. DES-3026:4# show bandwidth_control Purpose Used to
  • D-Link DES-3026 | Reference Manual - Page 113
    all ports on the Switch. Restrictions Only administrator-level users can issue this command. Example usage: To configure CoS port mapping for a range of ports: DES-3026:4#config cos port_mapping class 0 1-4 Command: config cos port_mapping class 0 1-4 Success DES-3026:4# show cos port_mapping
  • D-Link DES-3026 | Reference Manual - Page 114
    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. Syntax show cos
  • D-Link DES-3026 | Reference Manual - Page 115
    Switch CLI Reference Manual To view the current CoS mapping for static MAC addresses: DES-3026:4#show cos mac_mapping Command: show cos mac_mapping MAC Address Class 01-00-D6-E4-FF-05 3 DES-3026:4# config cos tos value Purpose Used to map the Type of Service (ToS) value in the IP header
  • D-Link DES-3026 | Reference Manual - Page 116
    DES-3000 Series Layer 2 Switch CLI Reference Manual show cos tos Purpose Syntax Description Parameters Restrictions Used to display the current ToS mapping configuration on the Switch. show cos tos { value } Use this command to view ToS mappipng for any or all ToS priority values.
  • D-Link DES-3026 | Reference Manual - Page 117
    DES-3000 Series Layer 2 Switch CLI Reference Manual 14 TRAFFIC SEGMENTATION COMMANDS 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
  • D-Link DES-3026 | Reference Manual - Page 118
    the specified above for config traffic_segmentation). Restrictions Only administrator-level users can issue this command. Example usage: To configure ports 1 through 10 to be able to forward frames to port 11 through 15: DES-3026:4#config traffic_segmentation 1-10 forward_list 11-15
  • D-Link DES-3026 | Reference Manual - Page 119
    port lists for segmentation and the forward list must be on the same switch. Example usage: To display the current traffic segmentation configuration on the Switch. DES-3026:4#show traffic_segmentation Command: show traffic_segmentation Traffic Segmentation Table Port Forward Portlist 1 11-15
  • D-Link DES-3026 | Reference Manual - Page 120
    in the port list. The Target port cannot be listed as a source port. Only administratorlevel users can issue this command. Example usage: To configure the mirror ports: DES-3026:4# config mirror port 10 add source ports 1-5 both Command: config mirror port 10 add source ports 1-5 both Success
  • D-Link DES-3026 | Reference Manual - Page 121
    Only administrator-level users can issue this command. Example usage: To disable mirroring configurations: DES-3026:4#disable mirror Command: disable mirror Success. DES-3026:4# show mirror Purpose Used to show the current port mirroring configuration on the Switch. Syntax show mirror
  • D-Link DES-3026 | Reference Manual - Page 122
    Example usage: DES-3000 Series Layer 2 Switch CLI Reference Manual To display mirroring configuration: DES-3026:4#show mirror Command: show mirror Current Settings Mirror Status : enable Target Port : 2 Mirrored Port RX : TX : DES-3026:4# 118
  • D-Link DES-3026 | Reference Manual - Page 123
    users can issue this command. Example usage: To create a VLAN v1, tag 2: DES-3026:4#create vlan v1 tag 2 Command: create vlan v1 tag 2 Success. DES-3026:4# delete vlan Purpose Syntax Description Parameters Restrictions Example usage: Used to delete a previously configured VLAN on the Switch
  • D-Link DES-3026 | Reference Manual - Page 124
    -3000 Series 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 Syntax Description Parameters Restrictions Used to add additional ports to a previously configured VLAN. config vlan {[add
  • D-Link DES-3026 | Reference Manual - Page 125
    usage: DES-3000 Series Layer 2 Switch CLI Reference Manual To display the Switch's current VLAN settings: DES-3026:4#show vlan Command: show vlan VID : 1 VLAN TYPE : static Member ports : 1-26 Static ports : 1-26 Untagged ports : 1-26 VLAN Name : default Total Entries : 1 DES-3026:4# 121
  • D-Link DES-3026 | Reference Manual - Page 126
    DES-3000 Series Layer 2 Switch CLI Reference Manual 17 LINK AGGREGATION COMMANDS The link aggregation commands in the Command Line Interface (CLI) are 1-3> config link_aggregation group_id {master_port | ports | state [enable | disable]} config link_aggregation
  • D-Link DES-3026 | Reference Manual - Page 127
    -level users can issue this command. Example usage: To create a link aggregation group: 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
  • D-Link DES-3026 | Reference Manual - Page 128
    usage: DES-3000 Series Layer 2 Switch CLI Reference Manual To delete link aggregation group: DES-3026:4#delete link_aggregation group_id 1 Command: delete link_aggregation group_id 1 Success. DES-3026:4# config link_aggregation Purpose Used to configure a previously created link aggregation
  • D-Link DES-3026 | Reference Manual - Page 129
    − Indicates that the Switch should examine the MAC source and destination addresses Restrictions Only administrator-level users can issue this command. Example usage: To configure link aggregation algorithm for mac-source-dest: DES-3026:4#config link_aggregation algorithm mac_source_dest Command
  • D-Link DES-3026 | Reference Manual - Page 130
    for the uplink modules only (the last two ports on the Switch (9-10, 17-18, 25-26) and cannot be viewed here. algorithm − Displays the link aggregation algorithm in use on the Switch. Restrictions None. Example usage: To display Link Aggregation configuration: DES-3026:4#show link_aggregation
  • D-Link DES-3026 | Reference Manual - Page 131
    linked port group to negotiate adjustments and make changes dynamically, at one end of the connection must have "active" LACP ports (see above). Restrictions Only administrator-level users can issue this command. Example usage: To configure LACP port mode settings: DES-3026:4#config lacp_port
  • D-Link DES-3026 | Reference Manual - Page 132
    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 {} Description This command will display the LACP mode settings as they are currently configured. Parameters - Specifies a
  • D-Link DES-3026 | Reference Manual - Page 133
    an IP address to the Switch's System IP interface. dhcp − Allows the selection of the DHCP protocol for the assignment of an IP address to the Switch's System IP interface. Only administrator-level users can issue this command. Example usage: To configure the IP interface System: DES-3026:4#config
  • D-Link DES-3026 | Reference Manual - Page 134
    the configuration of an IP interface on the Switch. None. None. To display IP interface settings. DES-3026:4#show ipif Command: show ipif IP Interface Settings Interface Name : System IP Address : 10.48.74.122 Subnet Mask : 255.0.0.0 VLAN Name : default Admin. State : Disabled Link Status : Link
  • D-Link DES-3026 | Reference Manual - Page 135
    DES-3000 Series Layer 2 Switch CLI Reference Manual 17 IP-MAC BINDING COMMANDS The IP-MAC Binding commands in the Command Line Interface portlist | all ] } config address_binding ip_mac ports [ | all] state [enable | disable] show address_binding delete address-binding [ip_mac {[all |
  • D-Link DES-3026 | Reference Manual - Page 136
    ] - The port or ports bound to the IP address and MAC address stated above. Restrictions Only administrator-level users can issue this command. Example usage: To create an IP-Mac address binding entry on the Switch: DES-3026:4#create address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00
  • D-Link DES-3026 | Reference Manual - Page 137
    - The port or ports bound to the IP address and MAC address stated above. Restrictions Only administrator-level users can issue this command. Example usage: To configure a IP to MAC address binding entry on the Switch: DES-3026:4#config address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00
  • D-Link DES-3026 | Reference Manual - Page 138
    ] - Enables or disables the specified range of ports for IP-MAC address binding. Restrictions Only administrator-level users can issue this command. Example usage: To configure port 2 to be enabled for IP-MAC address bindings: DES-3026:4#config address_binding ip_mac ports 2 state enable Command
  • D-Link DES-3026 | Reference Manual - Page 139
    on the switch: DES-3026:4#show address_binding ip_mac ipaddress 10.1.1.8 mac_address 00-00-00-00-00-12 Command: show address_binding ip_mac ipaddress 10.1.1.8 mac_address 00-00-00-00-00-12 Enabled ports: 2 IP Address 10.1.1.8 MAC Address 00-00-00-00-00-12 Total entries : 1 DES-3026:4# 135
  • D-Link DES-3026 | Reference Manual - Page 140
    will be used in conjunction with the previous VLAN Name to identify the binding entry to be deleted. Only administrator-level users can issue this command. Example usage: To delete an IP-MAC Binding on the switch: DES-3026:4#delete address-binding ip-mac ipaddress 10.1.1.1 mac_address 00-00-00-00
  • D-Link DES-3026 | Reference Manual - Page 141
    Switch CLI Reference Manual 18 MAC NOTIFICATION COMMANDS 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
  • D-Link DES-3026 | Reference Manual - Page 142
    MAC notification without changing basic configuration: DES-3026:4#enable mac_notification Command: enable mac_notification Success. DES-3026:4# disable mac_notification Purpose Used to disable global MAC address table notification on the Switch. Syntax disable mac_notification Description
  • D-Link DES-3026 | Reference Manual - Page 143
    -level users can issue this command. Example usage: To configure the Switch's MAC address table notification global settings: DES-3026:4#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DES-3026:4# config mac_notification
  • D-Link DES-3026 | Reference Manual - Page 144
    notification global settings. Parameters None. Restrictions None. Example usage: To view the Switch's MAC address table notification global settings: DES-3026:4#show mac_notification Command: show mac_notification Global Mac Notification Settings State : Enabled Interval : 1 History
  • D-Link DES-3026 | Reference Manual - Page 145
    DES-3000 Series Layer 2 Switch CLI Reference Manual show mac_notification ports Purpose Used to display the Switch's MAC address table notification status settings Syntax show mac_notification ports Description This command is used to display the Switch's MAC address table
  • D-Link DES-3026 | Reference Manual - Page 146
    DES-3000 Series Layer 2 Switch CLI Reference Manual 19 IGMP SNOOPING COMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config igmp_snooping config igmp_snooping querier config router_ports
  • D-Link DES-3026 | Reference Manual - Page 147
    is received by the Switch. Restrictions Only administrator-level users can issue this command. Example usage: To configure the igmp snooping: DES-3026:4#config igmp_snooping vlan_name default host_timeout 250 state enabled Command: config igmp_snooping vlan_name default host_timeout 250 state
  • D-Link DES-3026 | Reference Manual - Page 148
    [enable | disable] − Allows the Switch to be specified as an IGMP Querier or Non-querier. Restrictions Only administrator-level users can issue this command. Example usage: To configure the igmp snooping: DES-3026:4#config igmp_snooping querier vlan_name default query_interval 125 state enable
  • D-Link DES-3026 | Reference Manual - Page 149
    Switch CLI Reference Manual Command: config igmp_snooping querier vlan_name default query_interval 125 state enable Success. DES-3026:4# config router_ports Purpose Used to configure ports as router ports. Syntax config vlan_name 32> − The name of the VLAN on which the router port resides. [add
  • D-Link DES-3026 | Reference Manual - Page 150
    forward all multicast traffic to any IP router. Restrictions Only administrator-level users can issue this command. Example usage: To enable IGMP snooping on the Switch: DES-3026:4#enable igmp_snooping Command: enable igmp_snooping Success. DES-3026:4# disable igmp_snooping Purpose Used to
  • D-Link DES-3026 | Reference Manual - Page 151
    Multicast fast leave : default : 125 : 10 : 2 : 1 : 260 : 260 : 2 : Disabled : Non-Querier : Disabled : Disabled Total Entries: 1 DES-3026:4# show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the Switch. Syntax show igmp_snooping group {vlan
  • D-Link DES-3026 | Reference Manual - Page 152
    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 : 1 Port Member : 3,4 Total Entries : 1 DES-3026:4# show router_ports Purpose Used to display the currently configured
  • D-Link DES-3026 | Reference Manual - Page 153
    2 Switch CLI Reference Manual 20 CPU ACL FILTERING COMMANDS 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 and packet content settings. Access profiles allow users to
  • D-Link DES-3026 | Reference Manual - Page 154
    DES-3000 Series Layer 2 Switch CLI Reference Manual Command Parameters create cpu access_profile profile_id [ethernet {vlan | source_mac | destination_mac | 802.1p | ethernet_type} | ip {vlan | source_ip_mask | destination_ip_mask | dscp | [
  • D-Link DES-3026 | Reference Manual - Page 155
    with this command. ethernet − Specifies that the Switch will examine the layer 2 part of each packet header. • vlan − Specifies that the Switch will examine the VLAN part of each packet header. • source_mac - Specifies to examine the source MAC address mask. • destination_mac
  • D-Link DES-3026 | Reference Manual - Page 156
    DES-3000 Series Layer 2 Switch CLI Reference Manual create cpu access_profile ip − Specifies that the Switch will examine the IP address in each frame's header. • vlan − Specifies a VLAN mask. • source_ip_mask − Specifies an IP address mask for the source IP address. • destination_ip_mask
  • D-Link DES-3026 | Reference Manual - Page 157
    DES-3000 Series Layer 2 Switch CLI Reference Manual create cpu access_profile • packet_content_mask - Specifies that the Switch will mask the packet header level users can issue this command. Example usage: To create a cpu access profile: DES-3026:4#create cpu access_profile profile_id 1 ip vlan
  • D-Link DES-3026 | Reference Manual - Page 158
    DES-3000 Series Layer 2 Switch CLI Reference Manual delete cpu access_profile Purpose Used to delete a previously created access Only administrator-level users can issue this command. Example usage: To delete the cpu access profile with a profile ID of 1: DES-3026:4#delete cpu access_profile
  • D-Link DES-3026 | Reference Manual - Page 159
    DES-3000 Series 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. Masks
  • D-Link DES-3026 | Reference Manual - Page 160
    DES-3000 Series 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 − Specifies that the access profile will apply to only this VLAN. • source_ip − Specifies that the access profile
  • D-Link DES-3026 | Reference Manual - Page 161
    DES-3000 Series Layer 2 Switch CLI Reference Manual config cpu access_profile • packet_content_mask - Specifies that the Switch will users can issue this command. Example usage: To configure cpu access list entry: DES-3026:4#config cpu access_profile profile_id 1 add access_id 1 ip vlan default
  • D-Link DES-3026 | Reference Manual - Page 162
    interface filtering on the Switch. None. 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
  • D-Link DES-3026 | Reference Manual - Page 163
    filtering state on the Switch: DES-3026:4#show cpu_access_profile Command: show cpu_access_profile CPU Interface Filtering State: Disabled Access Profile Table Access Profile ID: 1 Type : Ethernet Frame Filter Masks : VLAN Ports : 2 ID Mode 1 Permit Default Total Entries: 1 DES-3026:4# 159
  • D-Link DES-3026 | Reference Manual - Page 164
    port enable port_security trap_log disable port_security trap_log 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. 160
  • D-Link DES-3026 | Reference Manual - Page 165
    timer expires. 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
  • D-Link DES-3026 | Reference Manual - Page 166
    Switch ports. The information displayed includes port security admin state, maximum number of learning address and lock mode. Parameters ports − Specifies a port or range of ports to be viewed. Restrictions None. Example usage: To display the port security configuration: DES-3026
  • D-Link DES-3026 | Reference Manual - Page 167
    MAC address of the entry to delete. port - Enter the corresponding port of the entry to delete. Restrictions Only administrator-level users can issue this command. Example usage: To delete an entry from the port security list: DES-3026:4#delete port_security_entry vlan_name default
  • D-Link DES-3026 | Reference Manual - Page 168
    Switch's log when a new MAC address violates the pre-defined port security configuration. This information will include the MAC address of the undefined device along with the port being infringed upon. Parameters None. Restrictions Only administrator-level users can issue this command. DES-3026
  • D-Link DES-3026 | Reference Manual - Page 169
    Series Layer 2 Switch CLI Reference Manual 22 802.1X COMMANDS 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
  • D-Link DES-3026 | Reference Manual - Page 170
    -3000 Series Layer 2 Switch CLI Reference Manual 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. Syntax enable 802.1x Description The
  • D-Link DES-3026 | Reference Manual - Page 171
    mac_based ports] − The Switch may authenticate 802.1x by either port or MAC address. Restrictions Only administrator-level users can issue this command. Example usage: To configure 802.1x authentication by MAC address: DES-3026:4#config 802.1x auth_mode mac_based Command: config 802.1x auth_mode
  • D-Link DES-3026 | Reference Manual - Page 172
    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 for MAC-based 802.1x: DES-3026:4#show 802.1x auth_state Command: show 802.1x auth_state Port number : 1 Index MAC Address 1 00-08-02-4E-DA-
  • D-Link DES-3026 | Reference Manual - Page 173
    DES-3000 Series Layer 2 Switch CLI Reference Manual show 802.1x auth_configuration Purpose Used to display the current configuration of the 802.1x server on the Switch means that the user was authenticated, and can access the network. Unauthorized means that the user was not authenticated,
  • D-Link DES-3026 | Reference Manual - Page 174
    Series Layer 2 Switch CLI Reference Manual Example usage: To display the 802.1x configurations: DES-3026:4#show 802.1x users can issue this command. Example usage: To configure 802.1x capability on ports 1-10: DES-3026:4#config 802.1x capability ports 1-10 authenticator Command: config
  • D-Link DES-3026 | Reference Manual - Page 175
    DES-3000 Series Layer 2 Switch CLI Reference Manual config 802.1x auth_parameter ports Purpose Syntax Description Parameters 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
  • D-Link DES-3026 | Reference Manual - Page 176
    DES-3000 Series Layer 2 Switch CLI Reference Manual 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 - 20 direction both Success. DES-3026:4# config 802.1x
  • D-Link DES-3026 | Reference Manual - Page 177
    − Specifies all of the ports on the Switch. mac_address - Specifies the MAC address of the client to be added. Only administrator-level users can issue this command. To initialize the authentication state machine of some or all: DES-3026:4# config 802.1x init port_based ports all Command
  • D-Link DES-3026 | Reference Manual - Page 178
    − Specifies all ports on the Switch. mac_address - Specifies the MAC address of the client to add. Restrictions Only administrator-level users can issue this command. Example usage: To configure 802.1x reauthentication for ports 1-18: DES-3026:4#config 802.1x reauth port_based ports
  • D-Link DES-3026 | Reference Manual - Page 179
    . The default is 1813. Only administrator-level users can issue this command. Example usage: To configure RADIUS server communication settings: DES-3026:4#config radius add 1 10.48.74.121 key tomato default Command: config radius add 1 10.48.74.121 key tomato default Success. DES-3026:4# 175
  • D-Link DES-3026 | Reference Manual - Page 180
    administrator-level users can issue this command. Example usage: To delete previously configured RADIUS server communication settings: 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
  • D-Link DES-3026 | Reference Manual - Page 181
    Layer 2 Switch CLI Reference Manual To configure RADIUS settings: 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
  • D-Link DES-3026 | Reference Manual - Page 182
    : 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
  • D-Link DES-3026 | Reference Manual - Page 183
    Example Usage: DES-3000 Series Layer 2 Switch CLI Reference Manual To delete 802.1x users: DES-3026:4#delete 802.1x user dtremblett Command: delete 802.1x user dtremblett Success. DES-3026:4# show radius acct_client Purpose Used to display the current RADIUS accounting client. Syntax show
  • D-Link DES-3026 | Reference Manual - Page 184
    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 0 D-Link
  • D-Link DES-3026 | Reference Manual - Page 185
    authentication diagnostics of the Switch on a per port basis. Parameters ports − Specifies a port or range of ports to be displayed. Restrictions None. Example usage: To display the current authentication diagnostics for port 16: DES-3026:4#show auth_diagnostics ports 1 Command
  • D-Link DES-3026 | Reference Manual - Page 186
    statistics of the Switch on a per port basis. Parameters ports − Specifies a port or range of ports to be viewed. all - Specifies that all ports will be viewed. Restrictions None. Example usage: To display the current authentication session statistics for port 16: DES-3026:4#show
  • D-Link DES-3026 | Reference Manual - Page 187
    the current authentication statistics of the Switch on a per port basis. Parameters ports − Specifies a range of ports to be viewed. Restrictions None. Example usage: To display the current authentication statistics for port 1: DES-3026:4#show auth_statistics ports 1 Command: show
  • D-Link DES-3026 | Reference Manual - Page 188
    Layer 2 Switch CLI Reference Manual 23 TIME AND SNTP COMMANDS 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 config sntp show
  • D-Link DES-3026 | Reference Manual - Page 189
    from 30 to 99,999 seconds. The default setting is 720 seconds. Only administrator-level users can issue this command. SNTP service must be enabled for this command to function (enable sntp). Example usage: To configure SNTP settings: DES-3026:4#config sntp primary 10.1.1.1 secondary 10.1.1.2 poll
  • D-Link DES-3026 | Reference Manual - Page 190
    sec DES-3026:4# enable sntp Purpose Syntax Description Parameters Restrictions Enables SNTP server support. enable sntp This will enable SNTP support. SNTP service must be separately configured (see config sntp). Enabling and configuring SNTP support will override any manually configured system
  • D-Link DES-3026 | Reference Manual - Page 191
    DES-3000 Series 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
  • D-Link DES-3026 | Reference Manual - Page 192
    of minutes difference added or subtracted to adjust the time zone. Restrictions Only administrator-level users can issue this command. Example usage: To configure time zone settings: DES-3026:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success
  • D-Link DES-3026 | Reference Manual - Page 193
    DES-3000 Series Layer 2 Switch CLI Reference Manual config dst Purpose Syntax Description Parameters Used to enable and configure time adjustments to allow for the use of Daylight Savings Time (DST). config dst [disable | repeating {s_week | s_wday |
  • D-Link DES-3026 | Reference Manual - Page 194
    config dst Restrictions DES-3000 Series Layer 2 Switch CLI Reference Manual e_date - Configure the specific date (day of the month) to begin DST. • - . The possible offset times are 30, 60, 90, 120. The default value is 60. Only administrator-level users can issue this command. 190
  • D-Link DES-3026 | Reference Manual - Page 195
    Series Layer 2 Switch CLI Reference Manual Example usage: To configure daylight savings time on the Switch: 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
  • D-Link DES-3026 | Reference Manual - Page 196
    between the Switch and the IP address above. The default setting is 1. Restrictions Only administrator-level users can issue this command. Example Usage: To add the default static address 10.48.74.121, with a metric setting of 1, to the routing table: DES-3026:4#create iproute default 10.48
  • D-Link DES-3026 | Reference Manual - Page 197
    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 {} {static} Description
  • D-Link DES-3026 | Reference Manual - Page 198
    DES-3000 Series Layer 2 Switch CLI Reference Manual 25 ARP COMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command show arpentry config arp_aging time clear arptable Parameters {ipif |
  • D-Link DES-3026 | Reference Manual - Page 199
    value may be set in the range of 0-65535 minutes with a default setting of 20 minutes. Restrictions Only administrator-level users can issue this command. Example Usage: To configure ARP aging time: DES-3026:4#config arp_aging time 30 Command: config arp_aging time 30 Success. DES-3026:4# 195
  • D-Link DES-3026 | Reference Manual - Page 200
    is used to remove dynamic ARP table entries from the Switch's ARP table. Static ARP table entries are not affected. None. Only administrator-level users can issue this command. Example Usage: To remove dynamic entries in the ARP table: DES-3026:4#clear arptable Command: clear arptable Success
  • D-Link DES-3026 | Reference Manual - Page 201
    DES-3000 Series Layer 2 Switch CLI Reference Manual 26 D-LINK SINGLE IP MANAGEMENT COMMANDS 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)
  • D-Link DES-3026 | Reference Manual - Page 202
    group, the commander switch must be configured to accept the DES-3026 as a member switch. 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
  • D-Link DES-3026 | Reference Manual - Page 203
    Parameters Restrictions Used to disable Single IP Management (SIM) on the Switch. disable sim This command will disable SIM globally on the Switch. None. Only administrator-level users can issue this command. Example usage: To disable SIM on the Switch: DES-3026:4#disable sim Command: disable sim
  • D-Link DES-3026 | Reference Manual - Page 204
    Version - Displays the current Single IP Management version on the Switch. Firmware Version - Displays the current Firmware version on the Switch. Device Name - Displays the user-defined device name on the Switch. MAC Address - Displays the MAC Address of the Switch. Capabilities - Displays the type
  • D-Link DES-3026 | Reference Manual - Page 205
    Series Layer 2 Switch CLI Reference Manual Example usage: To show the SIM information in detail: DES-3026:4#show sim Command: show sim SIM Version Firmware Version Device Name MAC Address Capabilities Platform SIM State Role State Discovery Interval Hold Time : VER-1.61 : Build 2.00.020 : : 00
  • D-Link DES-3026 | Reference Manual - Page 206
    show sim members ID MAC Address Platform / Capability 1 00-01-04-03-04-00 DES-3018 L2 Switch 2 00-55-35-00-55-00 DES-3026 L2 Switch Hold Time ---40 140 Firmware Version --------2.00.020 2.00.020 Device Name The Man default master Total Entries: 2 DES-3026:4# To show other groups
  • D-Link DES-3026 | Reference Manual - Page 207
    Example usage: 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 -----23 23 24 MAC Address Role --------- 00-35-26-00-11-99 Commander 00-35-26-00-11-91 Member 00-35-26-00-11-90
  • D-Link DES-3026 | Reference Manual - Page 208
    a password (if necessary). delete - 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
  • D-Link DES-3026 | Reference Manual - Page 209
    to it from other switches, utilizing the discovery interval protocol. The user may set the hold time from 100 to 255 seconds. 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
  • D-Link DES-3026 | Reference Manual - Page 210
    . - Enter the IP address of the TFTP server. - Enter the path and the filename of the firmware or switch on the TFTP server. members - Enter this parameter to specify the members to which to download firmware or switch configuration files. The user may specify a member or
  • D-Link DES-3026 | Reference Manual - Page 211
    Layer 2 Switch CLI Reference Manual To download firmware: DES-3026:4#download sim_ms firmware 10.53.13.94 c:/dgssri.had members all Command: download sim_ms firmware 10.53.13.94 c:/dgssri.had members all This device is updating firmware. Please wait... Download Status : ID MAC Address Result
  • D-Link DES-3026 | Reference Manual - Page 212
    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. DES-3026:4# 208
  • D-Link DES-3026 | Reference Manual - Page 213
    DES-3000 Series Layer 2 Switch CLI Reference Manual 27 COMMAND HISTORY LIST The command history list commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters ? {} show command_history dir config
  • D-Link DES-3026 | Reference Manual - Page 214
    > | leave_timer | state [enabled | disabled | fast_leave [enabled | disabled]} Description: Used to configure IGMP snooping on the switch. config igmp_snooping querier DES-3026:4# show command_history Purpose Syntax Used to display the command history. show command_history
  • D-Link DES-3026 | Reference Manual - Page 215
    DES-3000 Series Layer 2 Switch CLI Reference Manual 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
  • D-Link DES-3026 | Reference Manual - Page 216
    DES-3000 Series Layer 2 Switch CLI Reference Manual A TECHNICAL SPECIFICATIONS Physical and Environmental AC % RH non-condensing; Storage: 0% to 95% RH non-condensing DES-3010F/FL/G - 280 mm x 180 mm x 44 mm (1U), 11 inch rackmount width DES-3018/3026 - 441 mm x 207mm x 44 mm (1U), 19 inch
  • D-Link DES-3026 | Reference Manual - Page 217
    : Data Transfer Rates DES-3000 Series Layer 2 Switch CLI Reference Manual General IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z 1000BASE-SX Gigabit Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.1 d/w Spanning Tree IEEE 802.1 P/Q VLAN IEEE 802.3x Full
  • D-Link DES-3026 | Reference Manual - Page 218
    DES-3000 Series Layer 2 Switch CLI Reference Manual Performance Transmission Method RAM Buffer Filtering Address Table: Packet Filtering / Forwarding Rate: MAC Address Learning Store-and-forward 32M Bytes per device 8K MAC address per device 14,880 pps per 10Mbps 148,809 pps per 100Mbps 1,488,100
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218

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