Download Print this page

D-Link DES-3326S Command Line Interface Reference Manual

Stackable layer 3 switch
Hide thumbs

Advertisement

Quick Links

DES-3326S
Stackable Layer 3 Switch
Command Line Interface Reference Manual
May 2005
651E3326055

Advertisement

loading

  Related Manuals for D-Link DES-3326S

  Summary of Contents for D-Link DES-3326S

  • Page 1 DES-3326S Stackable Layer 3 Switch Command Line Interface Reference Manual May 2005 651E3326055...
  • Page 3: Copyright Statement

    Trademarks Copyright 2005 D-Link Corporation. Contents subject to change without prior notice. D-Link is a registered trademark of D-Link Corporation/D-Link Systems, Inc. All other trademarks belong to their respective proprietors. Copyright Statement No part of this publication may be reproduced in any form or by any means or used to make any derivative such as translation, transformation, or adaptation without permission from D-Link Corporation/D-Link Systems Inc., as stipulated by...
  • Page 5: Table Of Contents

    Table of Contents Introduction................................1 Using the Console CLI............................4 Command Syntax..............................8 Basic Switch Commands ............................12 Switch Port Commands............................32 Port Security Commands ............................35 Network Management Commands........................40 MAC Notification Commands ..........................66 Download/Upload Commands..........................71 Network Monitoring Commands .......................... 74 Spanning Tree Commands ............................
  • Page 6 Glossary ................................312...
  • Page 7: Introduction

    D-Link DES-3326S Layer 3 Switch CLI Reference NTRODUCTION The Switch can be managed through the Switch’s serial port, Telnet, or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces.
  • Page 8 D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 9 D-Link DES-3326S Layer 3 Switch CLI Reference Figure 1-3. Assigning the Switch an IP Address In the above example, the Switch was assigned an IP address of 10.41.44.33 with a subnet mask of 255.0.0.0. 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 10: Using The Console Cli

    SING THE ONSOLE The DES-3326S 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 console program can be used to configure the Switch to use an SNMP-based network management software over the network.
  • Page 11 After the Switch reboots and you have logged in, the console looks like this: Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DES-3326S: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 12 D-Link DES-3326S Layer 3 Switch CLI Reference Figure 2-3. Example Command Parameter Help In this case, the command config account was entered with the parameter <username>. The CLI will then prompt you to enter the <username> with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 13 D-Link DES-3326S Layer 3 Switch CLI Reference 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 14: Command Syntax

    D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 15: Angle Brackets

    D-Link DES-3326S Layer 3 Switch CLI Reference <angle brackets> Purpose Encloses a variable or value that must be specified. Syntax create ipif <ipif_name> vlan <vlan_name 32> ipaddress <network_address> Description In the above syntax example, you must supply an IP interface name in the <ipif_name> space, a VLAN name in the <vlan_name 32>...
  • Page 16: Vertical Bar

    D-Link DES-3326S Layer 3 Switch CLI Reference | vertical bar Purpose Separates two or more mutually exclusive items in a list, one of which must be entered. Syntax show snmp [community|detail] Description In the above syntax example, you must specify either community, or detail.
  • Page 17 D-Link DES-3326S Layer 3 Switch CLI Reference Line Editing Key Usage Delete Deletes the character under the cursor and then shifts the remaining characters in the line to the left. Backspace Deletes the character to the left of the cursor and shifts the remaining characters in the line to the left.
  • Page 18: Basic Switch Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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> config account <username>...
  • Page 19 D-Link DES-3326S Layer 3 Switch CLI Reference create account Purpose Used to create user accounts Syntax create [admin|user] <username> Description The create account command is used to create user accounts that consist of a username of 1 to 15 characters and a password of 0 to 15 characters.
  • Page 20 D-Link DES-3326S Layer 3 Switch CLI Reference config account Purpose Used to configure user accounts Syntax config account <username> Description The config account command configures a user account that has been created using the create account command. Parameters <username> Restrictions Only Administrator-level users can issue this command.
  • Page 21 D-Link DES-3326S Layer 3 Switch CLI Reference show account Purpose Used to display user accounts Syntax show account Description Displays all user accounts created on the Switch. Up to 8 user accounts can exist on the Switch at one time.
  • Page 22 D-Link DES-3326S Layer 3 Switch CLI Reference delete account Purpose Used to delete an existing user account Syntax delete account <username> Description The delete account command deletes a user account that has been created using the create account command. Parameters <username>...
  • Page 23 D-Link DES-3326S Layer 3 Switch CLI Reference show session Purpose Used to display a list of currently logged-in users. Syntax show session Description This command displays a list of all the users that are logged-in at the time the command is issued.
  • Page 24 D-Link DES-3326S Layer 3 Switch CLI Reference show serial_port Purpose Used to display the current serial port settings. Syntax show serial_port Description This command displays the current serial port settings. Parameters none. Restrictions none Example Usage: To display the serial port setting:...
  • Page 25: Show Switch

    D-Link DES-3326S Layer 3 Switch CLI Reference show switch Purpose Used to display information about the Switch. Syntax show switch Description This command displays information about the Switch. Parameters None. Restrictions None. Example Usage: To display the Switch information: DES-3326S:4#show switch...
  • Page 26 D-Link DES-3326S Layer 3 Switch CLI Reference show serial_port Purpose Used to display the current serial port settings. Syntax show serial_port Description This command displays the current serial port settings. Parameters none. Restrictions none Example Usage: To display the serial port setting:...
  • Page 27 D-Link DES-3326S Layer 3 Switch CLI Reference 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 This command is used to configure the serial port’s baud rate and auto logout settings. Parameters [9600/19200/38400/115200] − The serial bit rate that will be used to communicate with the management host.
  • Page 28 D-Link DES-3326S Layer 3 Switch CLI Reference 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 the show command will cause the console screen to rapidly scroll through several pages.
  • Page 29 D-Link DES-3326S Layer 3 Switch CLI Reference disable clipaging Purpose Used to disable the pausing of the console screen scrolling at the end of each page when the show command would display more than one screen of information. Syntax disable clipaging...
  • Page 30 D-Link DES-3326S Layer 3 Switch CLI Reference enable telnet Purpose Used to enable communication with and management of the Switch using the Telnet protocol. Syntax enable telnet <tcp_port_number> Description This command is used to enable the Telnet protocol on the Switch. The user can specify the TCP or UDP port number the Switch will use to listen for Telnet requests.
  • Page 31 D-Link DES-3326S Layer 3 Switch CLI Reference disable telnet Purpose Used to disable the Telnet protocol on the Switch. Syntax disable telnet Description This command is used to disable the Telnet protocol on the Switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 32 D-Link DES-3326S Layer 3 Switch CLI Reference enable web Purpose Used to enable the HTTP-based management software on the Switch. Syntax enable web <tcp_port_number> Description This command is used to enable the Web- based management software on the Switch. The user can specify the TCP port number the Switch will use to listen for Telnet requests.
  • Page 33 D-Link DES-3326S Layer 3 Switch CLI Reference 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. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 34 D-Link DES-3326S Layer 3 Switch CLI Reference save Purpose Used to save changes in the Switch’s configuration to non-volatile RAM. Syntax save Description This command is used to enter the current Switch configuration into non-volatile RAM. The saved Switch configuration will be loaded into the Switch’s memory each time the Switch is...
  • Page 35 D-Link DES-3326S Layer 3 Switch CLI Reference reboot Purpose Used to restart the Switch. Syntax reboot Description This command is used to restart the Switch. Parameters none. Restrictions none. Example Usage: To restart the Switch: DES-3326S:4#reboot Command: reboot Are you sure you want to proceed with the system reboot? (y/n)
  • Page 36 D-Link DES-3326S Layer 3 Switch CLI Reference reset Purpose Used to reset the Switch to the factory default settings. Syntax reset {config|system} Description This command is used to restore the Switch’s configuration to the default settings assigned from the factory.
  • Page 37 D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 38: Switch Port Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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 [<portlist|all>] {speed[auto|10_half|10_full|100_half|100_half|1000_full ] learning [enable|disable] state [enable|disable]} show ports <portlist|all>...
  • Page 39 Only administrator-level users can issue this command. Example Usage: To configure the speed of port 3 to be 10 Mbps, full duplex, learning and state enabled: DES-3326S:4#config ports 1-3 speed 10_full learning on state enable Command: config ports 1-3 speed 10_full learning on state enable Success.
  • Page 40 D-Link DES-3326S Layer 3 Switch CLI Reference show ports Purpose Used to display the current configuration of a range of ports. Syntax show ports {<portlist>} Description This command is used to display the current configuration of a range of ports.
  • Page 41: Port Security Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference ECURITY OMMANDS The Switch port security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config port_security <portlist>|all admin_state [enable|disable] max_learning_addr <0-10>...
  • Page 42 D-Link DES-3326S Layer 3 Switch CLI Reference config port_security Purpose Used to configure port lock settings. config port_security Syntax <portlist>|all admin_state [enable|disable] max_learning_addr <max_lock_no 0-10> lock_address_mode [Permanent|DeleteOnTimout|DeleteOnReset] Description This command allows for the configuration of the port lock security feature. Only the ports listed in the <portlist> are effected.
  • Page 43 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To configure the port lock for ports 1:12 – 1:14 to delete the dynamic address table entries on timeout: DES-3326S:4#config port_security ports 12-14 lock_address_mode DeleteOnTimeout Command: config port_security ports 12-14 lock_address_mode DeleteOnTimeout Success.
  • Page 44 D-Link DES-3326S Layer 3 Switch CLI Reference config port_security_entry Purpose Used to clear the MAC entries learned from the specified port(s) for the port security function clear port_security_entry port <portlist> Syntax Description This will delete all entries from the forwarding data base for a specific port or range of ports.
  • Page 45 D-Link DES-3326S Layer 3 Switch CLI Reference show port_security Purpose Used to display the current portr lock configuration. Syntax show port_security {<portlist>} Description This command is used to display the current port lock configuration of a range of ports. Parameters <portlist>...
  • Page 46: Network Management Commands

    The DES-3326S supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. You can specifiy which version of the SNMP you want to use to monitor and control the Switch. The three versions of SNMP vary in the level of security provided between the management station and the network device.
  • Page 47 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters create snmp user <username 32> <groupname 32> v1|v2c|v3 encrypted auth [md5|sha] <auth_password 8-16> priv [none|des <priv_password 8-16] delete snmp user <username 32> show snmp user show snmp groups create snmp view <view_name 32>...
  • Page 48 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters create snmp group <groupname 32> v1|v2c|v3 noauth_nopriv auth_nopriv auth_priv read_view <view_name 32> write_view <view_name 32> notify_view <view_name 32> delete snmp group <groupname 32> create snmp host <ipaddr> v1|v2c|v3 noauth_nopriv <auth_string 32>...
  • Page 49 D-Link DES-3326S Layer 3 Switch CLI Reference create snmp user Purpose Used to create a new SNMP user and adds the user to an SNMP group that is also created by this command. Syntax create snmp user <username 32> <groupname 32> [v1|v2c|v3 {encrypted auth [md5|sha] <auth_password>...
  • Page 50 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To create an SNMP user on the Switch: DES-3326S:4#create snmp user dlink default v3 encrypted auth md5 auth_password priv none Command: create snmp user dlink default v3 encrypted auth md5 auth_password priv none Success.
  • Page 51 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To delete a previously entered SNMP user on the Switch: DES-3326S:4#delete snmp user dlink Command: delete snmp user dlink Success. DES-3326S:4# show snmp user Purpose Used to display information about each SNMP username in the SNMP group username table.
  • Page 52 D-Link DES-3326S Layer 3 Switch CLI Reference show snmp groups Purpose Used to display the group-names of SNMP groups currently configured on the Switch. The security model, level, and status of each group is also displayed. Syntax show snmp groups...
  • Page 53 D-Link DES-3326S Layer 3 Switch CLI Reference Group Name : Group6 ReadView Name : ReadView WriteView Name : WriteView Notify View Name : NotifyView Securiy Model : SNMPv3 Securiy Level : authPriv Group Name : Group7 ReadView Name : ReadView...
  • Page 54 D-Link DES-3326S Layer 3 Switch CLI Reference Group Name : ReadGroup ReadView Name : CommunityView WriteView Name Notify View Name : CommunityView Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv Group Name : WriteGroup ReadView Name : CommunityView WriteView Name...
  • Page 55 D-Link DES-3326S Layer 3 Switch CLI Reference create snmp view Purpose Used to assign views to community strings to limit which MIB objects and SNMP manager can access. Syntax create snmp view <view_name 32> <oid> view_type [included|excluded] Description The create snmp view assigns views to community strings to limit which MIB objects an SNMP manager can access.
  • Page 56 D-Link DES-3326S Layer 3 Switch CLI Reference delete snmp view Purpose Used to remove an SNMP view entry previously created on the Switch. Syntax delete snmp view <view_name 32> [all|<oid>] Description The delete snmp view command is used to remove an SNMP view previously created on the Switch.
  • Page 57 D-Link DES-3326S Layer 3 Switch CLI Reference show snmp view Purpose Used to display an SNMP view previously created on the Switch. Syntax show snmp view {<view_name 32>} Description The show snmp view command displays an SNMP view previously created on the Switch.
  • Page 58 D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 59 D-Link DES-3326S Layer 3 Switch CLI Reference delete snmp community Purpose Used to remove a specific SNMP community string from the Switch. Syntax delete snmp community <community_string 32> Description The delete snmp community command is used to remove a previously defined SNMP community string from the Switch.
  • Page 60 D-Link DES-3326S Layer 3 Switch CLI Reference show snmp community Purpose Used to display SNMP community strings configured on the Switch. Syntax show snmp community {<community_string 32>} Description The show snmp community command is used to display SNMP community strings that are configured on the Switch.
  • Page 61 D-Link DES-3326S Layer 3 Switch CLI Reference config snmp engineID Purpose Used to configure a name for the SNMP engine on the Switch. Syntax config snmp engineID <snmp_engineID> Description The config snmp engineID command configures a name for the SNMP engine on the Switch.
  • Page 62 D-Link DES-3326S Layer 3 Switch CLI Reference create snmp group Purpose Used to create a new SNMP group, or a table that maps SNMP users to SNMP views. Syntax create snmp group <groupname 32> [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv]] {read_view <view_name 32>|notify_view <view_name 32>|notify_view <view_name 32>}...
  • Page 63 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To create an SNMP group named “sg1:” DES-3326S:4#create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Command: create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Success.
  • Page 64 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To delete the SNMP group named “sg1”. DES-3326S:4#delete snmp group sg1 Command: delete snmp group sg1 Success. DES-3326S:4# show snmp host Purpose Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent.
  • Page 65 D-Link DES-3326S Layer 3 Switch CLI Reference create snmp host Purpose Used to create a recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax create snmp host <ipaddr> [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv] <auth_string 32>] Description The create snmp host command creates a recipient of SNMP traps generated by the Switch’s SNMP agent.
  • Page 66 D-Link DES-3326S Layer 3 Switch CLI Reference delete snmp host Purpose Used to remove a recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax delete snmp host <ipaddr> Description The delete snmp host command deletes a recipient of SNMP traps generated by the Switch’s SNMP agent.
  • Page 67 D-Link DES-3326S Layer 3 Switch CLI Reference show snmp host Purpose Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax show snmp host {<ipaddr>} Description The show snmp host command is used to display the IP addresses and configuration...
  • Page 68 D-Link DES-3326S Layer 3 Switch CLI Reference enable rmon Purpose Used to enable RMON on the Switch. Syntax enable rmon Description This command is used, in conjunction with the disable rmon command below, to enable and disable remote monitoring (RMON) on the Switch.
  • Page 69 D-Link DES-3326S Layer 3 Switch CLI Reference disable rmon Purpose Used to disable RMON on the Switch. Syntax disable rmon Description This command is used, in conjunction with the enable rmon command above, to enable and disable remote monitoring (RMON) on the Switch.
  • Page 70 D-Link DES-3326S Layer 3 Switch CLI Reference ping Purpose Used to test the connectivity between network devices. Syntax ping <ipaddr> {times <value>} {timeout <sec>} Description This command sends Internet Control Message Protocol (ICMP) echo messages to a remote IP address. The remote IP address will then “echo”...
  • Page 71 D-Link DES-3326S Layer 3 Switch CLI Reference traceroute Purpose Used to determine the network path between two devices. Syntax traceroute <ipaddr> {ttl <value 1-60>} {port <value 30000-64900>} {timeout <sec 1-65525>>} {probe <value 1-9>} Description This command allows you to trace a route between the Switch and a give host on the network.
  • Page 72: Mac Notification Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference MAC N OTIFICATION OMMANDS Command Parameters config ports <portlist>|all mac_notification interval <int 1-2147483647> historysize <int 1 - 500> enable mac_notification disable mac_notification show {ports} mac_notification...
  • Page 73 D-Link DES-3326S Layer 3 Switch CLI Reference config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification ports <portlist>|all interval <sec> historysize <1 - 500> Description MAC address notificiation is used to monitor MAC addresses learned and entered into the FDB.
  • Page 74 D-Link DES-3326S Layer 3 Switch CLI Reference enable mac_notification Purpose Used to globally enable MAC address notification without changing the mac_notification configuration. Syntax enable mac_notification Description Enables MAC notication on the Switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 75 D-Link DES-3326S Layer 3 Switch CLI Reference show mac_notification Purpose Used to display MAC address notification. Syntax show mac_notification {ports} Description Displays MAC notification settings either per port or globally as desired. Parameters none – this will display global MAC notification settings currently configured including Interval, History Size and State.
  • Page 76 D-Link DES-3326S Layer 3 Switch CLI Reference Example Usage: To display per port MAC notification settings: DES-3326S:4#show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ------------------ ----------- ------- Enabled Enabled Enabled Enabled Enabled Enabled...
  • Page 77: Download/Upload Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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> unit [all|<unitid>] configuration <ipaddr>...
  • Page 78 D-Link DES-3326S Layer 3 Switch CLI Reference download Purpose Used to download and install new firmware or a Switch configuration file from a TFTP server. Syntax download [ firmware <ipaddr> <path_filename> {unit [all|<unitid>]}|configuration <ipaddr> <path_filename> {increment}] Description This command is used to download a new firmware or a Switch configuration file from a TFTP server.
  • Page 79 D-Link DES-3326S Layer 3 Switch CLI Reference upload Purpose Used to upload the current Switch settings or the Switch history log to a TFTP server. Syntax upload [configuration|log] <ipaddr> <path_filename> Description This command is used to upload either the Switch’s current settings or the Switch’s history log to a TFTP server.
  • Page 80: Network Monitoring Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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 81 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters local5 local6 local7 udp_port <int> ipaddress <ipaddr> state [enable|disable] delete syslog host <index 1-4> show syslog host <index 1-4> Each command is listed, in detail, in the following sections.
  • Page 82 D-Link DES-3326S Layer 3 Switch CLI Reference show packet ports Purpose Used to display statistics about the packets sent and received by the Switch. Syntax show packet ports <portlist> Description This command is used to display statistics about packets sent and received by ports specified in the port list.
  • Page 83 D-Link DES-3326S Layer 3 Switch CLI Reference show error ports Purpose Used to display the error statistics for a range of ports. Syntax show error ports <portlist> Description This command will display all of the packet error statistics collected and logged by the swtich for a given port list.
  • Page 84 D-Link DES-3326S Layer 3 Switch CLI Reference show utilization Purpose Used to display real-time port utilization statistics. Syntax show utilization Description This command will display the real-time port utilization statistics for the Switch. Parameters none. Restrictions none. Example Usage: To display the port utilization statistics:...
  • Page 85 D-Link DES-3326S Layer 3 Switch CLI Reference 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. Parameters <portlist> − Specifies a range of ports to be configured.
  • Page 86 D-Link DES-3326S Layer 3 Switch CLI Reference clear log Purpose Used to clear the Switch’s history log. Syntax clear log Description This command will clear the Switch’s history log. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage:...
  • Page 87 D-Link DES-3326S Layer 3 Switch CLI Reference show log Purpose Used to display the Switch history log. Syntax show log {index <value>} Description This command will display the contents of the Switch’s history log. Parameters index <value> − The show log command will display the history log until the log number reaches this value.
  • Page 88 D-Link DES-3326S Layer 3 Switch CLI Reference enable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax enable syslog Description The enable syslog command enables the system log to be sent to a remote host.
  • Page 89 D-Link DES-3326S Layer 3 Switch CLI Reference disable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax disable syslog Description The disable syslog command disables the system log to be sent to a remote host.
  • Page 90 D-Link DES-3326S Layer 3 Switch CLI Reference show syslog Purpose Used to display the syslog protocol status as enable or disabled. Syntax show syslog Description The show syslog command displays the syslog status as enabled or disabled. Parameters None. Restrictions None.
  • Page 91 D-Link DES-3326S Layer 3 Switch CLI Reference create syslog host Purpose Used to create a new syslog host. Syntax config syslog host [all|<index 1-4>] {severity [informational|warning|all]| facility[local0|local1|local2|local3| local4|local5|local6|local7]|udp_port<int>| ipaddress <ipaddr>| state[enable|disable] Description The create syslog host command is used to create a new syslog host.
  • Page 92 D-Link DES-3326S Layer 3 Switch CLI Reference create syslog host Parameters Numerical Facility Code kernel messages user-level messages mail system system daemons security|authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security|authorization messages...
  • Page 93 Restrictions Only administrator-level users can issue this command. Example Usage: To create syslog host: DES-3326S:4#create syslog host 1 severity all facility local0 Command: create syslog host 1 severity all facility local0 Success. DES-3326S:4#...
  • Page 94 D-Link DES-3326S Layer 3 Switch CLI Reference config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host. Syntax config syslog host [all|<index 1-4>] {severity [informational|warning|all]| facility[local0|local1|local2|local3| local4|local5|local6|local7]|udp_port<int>| ipaddress <ipaddr>| state[enable|disable] Description The config syslog host command is used to configure the syslog protocol to send system log information to a remote host.
  • Page 95 D-Link DES-3326S Layer 3 Switch CLI Reference config syslog host Parameters informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above. warning − Specifies that warning messages will be sent to the remote host.
  • Page 96 Parameters Restrictions Only administrator-level users can issue this command. Example Usage: To create syslog host: DES-3326S:4#config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success. DES-3326S:4#...
  • Page 97 D-Link DES-3326S Layer 3 Switch CLI Reference delete syslog host Purpose Used to remove a syslog host, that has been previously configured, from the Switch. Syntax delete syslog host [<index 1-4>|all] Description The delete syslog host command is used to remove a syslog host, that has been previously configured, from the Switch.
  • Page 98 D-Link DES-3326S Layer 3 Switch CLI Reference 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 99: Spanning Tree Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference PANNING OMMANDS The Switch supports 802.1w Rapid STP and 802.1d STP. The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command...
  • Page 100 D-Link DES-3326S Layer 3 Switch CLI Reference config stp Used to setup STP and RSTP on the Switch. Purpose config stp {maxage <value>|hellotime <value>|forwarddelay Syntax <value>|priority <value>|fbpdu [enable|disable]| txholdcount <1-10>| version[rstp|stp]} This command is used to setup the Spanning Tree Protocol for the entire Description Switch.
  • Page 101 D-Link DES-3326S Layer 3 Switch CLI Reference config stp ports Purpose Used to setup STP on the port level. Syntax config stp ports <portlist> {cost <value>|priority <value>| migrate [yes|no]| edge [true|false]| p2p [true|false]| state [enable|disable] Description This command is used to create and configure STP for a group of ports.
  • Page 102 Example usage: To configure STP with path cost 19, priority 15, and state enabled for ports 1-5 of module 1. DES-3326S:4#config stp ports 1:1-1:5 cost 19 priority 15 state enable Command: config stp ports 1-5 cost 19 priority 15 state enable Success.
  • Page 103 D-Link DES-3326S Layer 3 Switch CLI Reference disable stp Purpose Used to globally disable STP on the Switch. Syntax disable stp Description This command allows the Spanning Tree Protocol to be globally disabled on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 104 D-Link DES-3326S Layer 3 Switch CLI Reference show stp Purpose Used to display the Switch’s current STP configuration. Syntax show stp Description This command displays the Switch’s current STP configuration. Parameters none Restrictions None. Example usage: To display the status of STP on the Switch:...
  • Page 105 D-Link DES-3326S Layer 3 Switch CLI Reference Status 2 : STP disabled DES-3326S:4#show stp Command: show stp Bridge Parameters Settings STP Status : Disabled Max Age : 20 Hello Time Forward Delay : 15 Priority : 32768 STP Version : STP compatible...
  • Page 106 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To display STP state of port 1-9 of module 1: DES-3326S:4#show stp ports Command: show ports Port Designated Bridge State Cost Pri Edge P2P Status Role ------ ------------------ ----- ---------- ---- ----...
  • Page 107: Forwarding Database Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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>...
  • Page 108 D-Link DES-3326S Layer 3 Switch CLI Reference create fdb Purpose Used to create a static entry to the unicast MAC address forwarding table (database) Syntax create fdb <vlan_name 32> <macaddr> [port <port>] Description This command will make an entry into the Switch’s unicast MAC address forwarding...
  • Page 109 D-Link DES-3326S Layer 3 Switch CLI Reference 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 110 D-Link DES-3326S Layer 3 Switch CLI Reference config multicast_fdb Purpose Used to configure the Switch’s multicast MAC address forwarding database. Syntax config multicast_fdb <vlan_name 32> <macaddr> [add|delete] <portlist> Description This command configures the multicast MAC address forwarding table. Parameters <vlan_name 32> − The name of the VLAN on which the MAC address resides.
  • Page 111 D-Link DES-3326S Layer 3 Switch CLI Reference config fdb aging_time Purpose Used to set the aging time of the forwarding database. Syntax config fdb aging_time <sec> Description The aging time affects the learning process of the Switch. Dynamic forwarding table entries,...
  • Page 112 D-Link DES-3326S Layer 3 Switch CLI Reference delete fdb Purpose Used to delete an entry to the Switch’s forwarding database. Syntax delete fdb <vlan_name 32> <macaddr> Description This command is used to delete a previous entry to the Switch’s MAC address forwarding database.
  • Page 113 D-Link DES-3326S Layer 3 Switch CLI Reference 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 114 D-Link DES-3326S Layer 3 Switch CLI Reference show multicast_fdb Purpose Used to display the contents of the Switch’s multicast forwarding database. Syntax show mulitcast_fdb [vlan <vlan_name 32>|mac_address <macaddr> Description This command is used to display the current contents of the Switch’s multicast MAC address forwarding database.
  • Page 115 D-Link DES-3326S Layer 3 Switch CLI Reference show fdb Purpose Used to display the current unicast MAC address forwarding database. Syntax show fdb {port <port>|vlan <vlan_name 32>|mac_address <macaddr>|static|aging_time} Description This command will display the current contents of the Switch’s forwarding database.
  • Page 116: Broadcast Storm Control Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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> broadcast [enable|disable]...
  • Page 117 D-Link DES-3326S Layer 3 Switch CLI Reference config traffic control Purpose Used to configure broadcast|multicast traffic control. Syntax config traffic control [<storm_grouplist>|all] broadcast [enable|disable]|multicast [enable|disable]|dlf [enable|disable]|threshold <value> Description This command is used to configure broadcast storm control. Parameters <storm_grouplist> − Used to specify a broadcast storm control group with the syntax: module_id:group_id.
  • Page 118 D-Link DES-3326S Layer 3 Switch CLI Reference show traffic control Purpose Used to display current traffic control settings. Syntax show traffic control <storm_grouplist> Description This command displays the current storm traffic control configuration on the Switch. group_list <storm_grouplist> − Used to specify a...
  • Page 119: Qos Commands

    QOS C OMMANDS The DES-3326S Switch supports 802.1p priority queuing. The Switch has 4 priority queues. These priority queues are numbered from 0 (Class 0) — the lowest priority queue — to 3 (Class 3) — the highest priority queue. The eight priority queues specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows: •...
  • Page 120 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters config <portlist> bandwidth_control rx_rate no_limit <value 1-1000> tx_rate no_limit <value 1-1000> show <portlist> bandwidth_control config scheduling <class_id 0-3> max_packet <value 0-255> max_latency <value 0-255> show scheduling config 802.1p <priority 0-7> user_priority <class_id 0-3>...
  • Page 121 D-Link DES-3326S Layer 3 Switch CLI Reference config bandwidth_control Purpose Used to configure bandwidth control on a by-port basis. Syntax config bandwidth_control <portlist> {re_rate [no_limit|<value 1-1000>]|tx_rate [no_limit|<value 1-1000>]} Description The config bandwidth_control command is used to configure bandwidth on a by-port basis.
  • Page 122 D-Link DES-3326S Layer 3 Switch CLI Reference 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 123 D-Link DES-3326S Layer 3 Switch CLI Reference config scheduling Purpose Used to configure traffic scheduling for each of the Switch’s QoS queues. Syntax config scheduling <class_id 0-3> {max_packet <value 0- 255>|max_latency <value 0-255>} Description The Switch contains four hardware priority queues per device.
  • Page 124 D-Link DES-3326S Layer 3 Switch CLI Reference config scheduling specified. The default value is 0. max_latency <value 0-255> − Specifies the maximum amount of time the above specified priority queue will have to wait before being allowed to transmit any packets that have accumulated in its transmit buffer.
  • Page 125 D-Link DES-3326S Layer 3 Switch CLI Reference show scheduling Purpose Used to display the currently configured traffic scheduling on the Switch. Syntax show scheduling Description The show scheduling command displays the current configuration for the maximum number of packets (max_packets) and the maximum latency (max_latency) values assigned to the four priority queues on the Switch.
  • Page 126 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet to one of the four hadware queues available on the Switch. Syntax config 802.1p user_priority <priority 0-7> <class_id 0-3>...
  • Page 127 D-Link DES-3326S Layer 3 Switch CLI Reference 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 queues. 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...
  • Page 128 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1p default_priority Purpose Used to specify how to map an incoming packet that has no 802.1p priority tag to one of the Switch’s four hardware priority queues. Syntax config 802.1p default_priority [<portlist>|all] <priority 0-7>...
  • Page 129 D-Link DES-3326S Layer 3 Switch CLI Reference 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. Syntax show 802.1p default_priority {<portlist>} Description The show 802.1p default_priority command...
  • Page 130 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To display the current 802.1p default priority configuration on the Switch: DES-3326S:4# show 802.1p default_priority Command: show 802.1p default_priority Port Priority ------- ----------- DES-3326S:4#...
  • Page 131: Port Mirroring Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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]...
  • Page 132 The Target port cannot be listed as a source port. Only administrator-level users can issue this command. Example usage: To add the mirroring ports: DES-3326S:4# config mirror port 1:5 add source ports 1:1-1:5 both Command: config mirror port 1:5 add source ports 1:1-1:5 both Success. DES-3326S:4#...
  • Page 133 Restrictions Only administrator-level users can issue this command. Example usage: To delete the mirroring ports: DES-3326S:4#config mirror port 1:5 delete source port 1:1-1:5 both Command: config mirror 1:5 delete source 1:1-1:5 both Success. DES-3326S:4#...
  • Page 134 D-Link DES-3326S Layer 3 Switch CLI Reference 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 you to enter a port mirroring configuration into the Switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration.
  • Page 135 D-Link DES-3326S Layer 3 Switch CLI Reference disable mirror Purpose Used to disable a previously entered port mirroring configuration. Syntax disable mirror Description This command, combined with the enable mirror command above, allows you to enter a port mirroring configuration into the Switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration.
  • Page 136 D-Link DES-3326S Layer 3 Switch CLI Reference show mirror Purpose Used to show the current port mirroring configuration on the Switch. Syntax show mirror Description This command displays the current port mirroring configuration on the Switch. Parameters None Restrictions None.
  • Page 137: Vlan Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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> advertisement delete vlan <vlan_name 32>...
  • Page 138 D-Link DES-3326S Layer 3 Switch CLI Reference create vlan Purpose Used to create a VLAN on the Switch. Syntax create vlan <vlan_name 32> {tag <vlanid 1- 4094>|advertisement} Description This command allows you to create a VLAN on the Switch. <vlan_name 32> − The name of the VLAN to be Parameters created.
  • Page 139 D-Link DES-3326S Layer 3 Switch CLI Reference delete vlan Purpose Used to delete a previously configured VLAN on the Switch. Syntax delete vlan <vlan_name 32> Description This command will delete a previously configured VLAN on the Switch. Parameters <vlan_name 32> − The VLAN name of the VLAN you want to delete.
  • Page 140 D-Link DES-3326S Layer 3 Switch CLI Reference config vlan Used to add additional ports to a previously configured VLAN. Purpose config vlan <vlan_name 32> { [ add [ tagged | untagged | Syntax forbidden ] | delete ] <portlist> |...
  • Page 141 D-Link DES-3326S Layer 3 Switch CLI Reference config gvrp Purpose Used to configure GVRP on the Switch. config gvrp [<portlist> | all] {state [enable | Syntax disable]|ingress_checking [enable | disable]|acceptable_frame[tagged_only | admit_all]pvid<vlanid 1-4094> } This command is used to configure the Group VLAN Registration Description Protocol on the Switch.
  • Page 142 D-Link DES-3326S Layer 3 Switch CLI Reference enable gvrp Purpose Used to enable GVRP on the Switch. Syntax enable gvrp Description This command, along with disable gvrp below, is used to enable and disable GVRP on the Switch, without changing the GVRP configuration on the Switch.
  • Page 143 D-Link DES-3326S Layer 3 Switch CLI Reference disable gvrp Purpose Used to disable GVRP on the Switch. Syntax disable gvrp Description This command, along with disable gvrp below, is used to enable and disable GVRP on the Switch, without changing the GVRP configuration on the Switch.
  • Page 144 D-Link DES-3326S Layer 3 Switch CLI Reference show vlan Purpose Used to display the current VLAN configuration on the Switch Syntax show vlan {<vlan_name 32>} Description This command displays summary information about each VLAN including the VLAN ID, VLAN name, the Tagging|Untagging status, and the Member|Non-member|Forbidden status of each port that is a member of the VLAN.
  • Page 145 D-Link DES-3326S Layer 3 Switch CLI Reference show gvrp Purpose Used to display the GVRP status for a port list on the Switch. Syntax show gvrp {<portlist>} Description This command displays the GVRP status for a port list on the Switch Parameters <portlist>...
  • Page 146: Link Aggregation Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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 group_id <value> {type[lacp|static]} link_aggregation delete group_id <value>...
  • Page 147 D-Link DES-3326S Layer 3 Switch CLI Reference create link_aggregation Purpose Used to create a link aggregation group on the Switch. Syntax create link_aggregation group_id <value> {type[lacp|static]} Description This command will create a link aggregation group with a unique identifier. Parameters <value>...
  • Page 148 D-Link DES-3326S Layer 3 Switch CLI Reference delete link_aggregation group_id Purpose Used to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id <value> Description This command is used to delete a previously configured link aggregation group. Parameters <value> − Specifies the group id. The Switch allows up to 6 link aggregation groups to be configured.
  • Page 149 D-Link DES-3326S Layer 3 Switch CLI Reference config link_aggregation Used to configure a previously created link aggregation group. Purpose config link_aggregation group_id <value> {master_port Syntax <port>|ports <portlist>| state [enable|disable] This command allows you to configure a link aggregation group Description that was created with the create link_aggregation command above.
  • Page 150 D-Link DES-3326S Layer 3 Switch CLI Reference config link_aggregation algorithm Purpose Used to configure the link aggregation algorithm. Syntax config link_aggregation algorithm [mac_source|mac_destination|mac_source_dest| ip_source|ip_destination|ip_source_dest] Description This command configures to part of the packet examined by the Switch when selecting the egress port for transmitting load-sharing data.
  • Page 151 D-Link DES-3326S Layer 3 Switch CLI Reference show link_aggregation Purpose Used to display the current link aggregation configuration on the Switch. Syntax show link_aggregation {group_id <value>|algorithm} Description This command will display the current link aggregation configuration of the Switch. Parameters <value>...
  • Page 152 D-Link DES-3326S Layer 3 Switch CLI Reference config lacp_ports Purpose Used to configure settings for LACP compliant ports. Syntax config lacp_ports <portlist> mode [active|passive] Description This command is used to configure ports that have been previously designated as LACP ports (see create link_aggregation).
  • Page 153 D-Link DES-3326S Layer 3 Switch CLI Reference show lacp_ports Purpose Used to display current LACP port mode settings. Syntax show lacp_ports {<portlist>} Description This command will display the LACP mode settings as they are currently configured. Parameters <portlist> - Restrictions Only administrator-level users can issue this command.
  • Page 154: Basic Ip Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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>...
  • Page 155 D-Link DES-3326S Layer 3 Switch CLI Reference config ipif System Purpose Used to configure the System IP interface. Syntax config ipif System [{vlan <vlan_name 32>|ipaddress <network_address>|state [enable|disable]|bootp|dhcp}] Description This command is used to configure the System IP interface on the Switch.
  • Page 156 D-Link DES-3326S Layer 3 Switch CLI Reference 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 157: Igmp Snooping Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference IGMP S NOOPING 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 <vlan_name 32> igmp_snooping host_timeout <sec 1-16711450>...
  • Page 158 D-Link DES-3326S Layer 3 Switch CLI Reference config igmp_snooping Purpose Used to configure IGMP snooping on the Switch. Syntax config igmp_snooping [<vlan_name 32>|all] {host_timeout <sec>|router_timeout <sec>|leave_timer <sec>|state [enable|disable]} Description This command allows you to configure IGMP snooping on the Switch.
  • Page 159 [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-3326S:4#config igmp_snooping querier default query_interval 125 state enable Command: config igmp_snooping querier default query_interval 125 state enable Success. DES-3326S:4#...
  • Page 160 D-Link DES-3326S Layer 3 Switch CLI Reference config router_ports Purpose Used to configure ports as router ports. Syntax config router_ports <vlan_name 32> [add|delete] <portlist> Description This command allows you to designate a range of ports as being connected to multicast- enabled routers.
  • Page 161 D-Link DES-3326S Layer 3 Switch CLI Reference 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 162 D-Link DES-3326S Layer 3 Switch CLI Reference disable igmp_snooping Purpose Used to enable IGMP snooping on the Switch. Syntax disable igmp_snooping Description This command disables IGMP snooping on the Switch. IGMP snooping can be disabled only if IP multicast routing is not being used. Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface.
  • Page 163 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To show igmp snooping: DES-3326S:4#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Disabled Multicast router Only : Disabled VLAN Name : default Query Interval : 125 Max Response Time...
  • Page 164 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To show igmp snooping group: DES-3326S: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 : 1:26,2:7 VLAN Name : default Multicast group: 224.0.0.9...
  • Page 165 D-Link DES-3326S Layer 3 Switch CLI Reference 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 This command will display the router ports currently configured on the Switch.
  • Page 166: Commands

    802.1X C OMMANDS The DES-3326S 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 167 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters config radius <server_index 1-3> ipaddress <server_ip> key <passwd 32> auth_port <udp_port_number> acct_port <udp_port_number> show radius...
  • Page 168 D-Link DES-3326S Layer 3 Switch CLI Reference enable 802.1x Purpose Used to enable the 802.1x server on the Switch. Syntax enable 802.1x Description The enable 802.1x command enables the 802.1x Port-based Network Access control server application on the Switch. Parameters None.
  • Page 169 D-Link DES-3326S Layer 3 Switch CLI Reference show 802.1x Purpose Used to display the current configuration of the 802.1x server on the Switch. Syntax show 802.1x [auth_state | auth_configuration] {ports <portlist>} Description The show 802.1x command is used to display the current configuration of the 802.1x Port-based Network Access Control server application on the Switch.
  • Page 170 D-Link DES-3326S Layer 3 Switch CLI Reference show 802.1x Parameters PAE State: Initialize|Disconnected|Connecting| Authenticating|Authenticated|Held |ForceAuth|ForceUnauth − Shows the current state of the Authenticator PAE. Backend State: Request|Response|Fail| Idle|Initalize − Shows the current state of the Backend Authenticatior. AdminCtlDir: Both|In − Shows whether a controlled Port that is unauthorized will exert control over communication in both receiving and transmitting directions, or just the receiving direction.
  • Page 171 D-Link DES-3326S Layer 3 Switch CLI Reference To display the 802.1x configuration settings: DES-3326S: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 : 15:1 Capability...
  • Page 172 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1x capability Purpose Used to configure the 802.1x capability of a range of ports on the Switch. Syntax config 802.1x capability ports [<portlist>|all] [authenticator|none] Description The config 802.1x command has four capabilities that can be set for each port.
  • Page 173 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1x auth_parameter 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>|all]...
  • Page 174 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To configure 802.1x authentication parameters for ports 1 – 20: DES-3326S:4#config 802.1x auth_parameter ports 1:1 – 1:20 direction both Command: config 802.1x auth_parameter ports 1:1-1:20 direction both Success. DES-3326S:4# config 802.1x auth_mode Purpose Used to configure 802.1x authentication mode.
  • Page 175 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1x auth_protocol Purpose Used to configure 802.1x the authentication protocol used for RADIUS authenitcation. Syntax config 802.1x auth_protocol [radius_eap | radius_pap] Description The config 802.1x auth_protocol command allows for a choice of protocol used by the RADIUS server and client for authentication.
  • Page 176 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1x init Purpose Used to initialize the 802.1x function on a range of ports or a list of MAC addresses. Syntax config 802.1x init [port_based ports [<portlist|all>] |mac_based ports [<portlist>|all] {mac_address <macaddr>}] Description The config 802.1x init command is used to immediately initialize...
  • Page 177 D-Link DES-3326S Layer 3 Switch CLI Reference config 802.1x reauth ports Purpose Used to configure the 802.1x re-authentication feature of the Switch. Syntax config 802.1x reauth [port_based ports [<portlist|all>] |mac_based ports [<portlist>|all] {mac_address <macaddr>}] Description The config 802.1x reauth command is used to re-authenticate a previously authenticated device based on either MAC address or port number.
  • Page 178 The default is 1813. Restrictions Only administrator-level users can issue this command. Example usage: To configure Radius server communication setttings: DES-3326S:4#config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success. DES-3326S:4#...
  • Page 179 D-Link DES-3326S Layer 3 Switch CLI Reference config radius delete Purpose Used to delete a previously entered Radius server configuration. Syntax config radius delete <server_index 1-3> Description The config radius delete command is used to delete a previously entered Radius server configuration.
  • Page 180 D-Link DES-3326S Layer 3 Switch CLI Reference config radius Purpose Used to configure the Switch’s Radius settings. Syntax config radius <server_index 1-3> {ipaddress <server_ip> {ipaddress <server_ip>|key <passwd 32>|auth_port <udp_port_number>|acct_port <udp_port_number>} Description The config radius command is Used to configure the Switch’s Radius settings.
  • Page 181 D-Link DES-3326S Layer 3 Switch CLI Reference show radius Purpose Used to display the current Radius configurations on the Switch. Syntax show radius Description The show radius command is used to display the current Radius configurations on the Switch. Parameters None.
  • Page 182: Access Control List And Cpu Interface Filtering Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference CPU I CCESS ONTROL IST AND NTERFACE ILTERING OMMANDS Command Parameters create access_profile [ethernet { vlan | source_mac <macmask> | destination_mac <macmask> | 802.1p | ethernet_type} | ip { vlan|source_ip_mask<netmask> | destination_ip_mask <netmask> | dscp | [ icmp { type | code} | igmp {type} | tcp { src_port_mask <hex 0x0-0xffff>...
  • Page 183 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters ethernet_type <hex 0x0-0xffff> } | ip { vlan <vlan_name 32> | source_ip <ipaddr> | destination_ip <ipaddr> | dscp <value 0-63> | [ icmp { type <value 0-255> code <value 0-255>} | igmp {type <value 0-255>...
  • Page 184 D-Link DES-3326S Layer 3 Switch CLI Reference and it is used to assign a priority in case a conflict occurs. The profile_id establishes a priority within the list of profiles. A lower profile_id gives the rule a higher priority. In case of a conflict in the rules entered for different profiles, the rule with the highest priority (lowest profile_id) will take precedence.
  • Page 185 D-Link DES-3326S Layer 3 Switch CLI Reference create access_profile Purpose Used to create an access profile 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 186 D-Link DES-3326S Layer 3 Switch CLI Reference create access_profile...
  • Page 187 Only administrator-level users can issue this command. Example usage: To create an access profile that will deny service to the subnet ranging from 10.42.73.0 to 10.42.73.255: DES-3326S:4# create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 deny Command: create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 deny Success. DES-3326S:4#...
  • Page 188 D-Link DES-3326S Layer 3 Switch CLI Reference delete access_profile Purpose Used to delete a previously created access profile. Syntax delete access_profile [profile_id <value 1-255>] Description The delete access_profile command is used to delete a previously created access profile on the Switch.
  • Page 189 D-Link DES-3326S Layer 3 Switch CLI Reference config access_profile Purpose Used to configure an access profile on the Switch 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 190 D-Link DES-3326S Layer 3 Switch CLI Reference config access_profile Parameters profile_id <value 1-255> − Specifies the index of the access list profile. add access_id <value 1-255> − Adds an additional rule to the above specified access profile. The value specifies the relative priority of the additional rule. The lower access ID, the higher the priority the rule will be given.
  • Page 191 D-Link DES-3326S Layer 3 Switch CLI Reference config access_profile Parameters flag – Specifies examination of TCP flag field according to the type of flag. Specify all to examine all type of TCP flag fields. urg – Specifies urgent TCP flag field.
  • Page 192 D-Link DES-3326S Layer 3 Switch CLI Reference DES-3326S:4# config access_profile profile_id 1 add access_id 1 ip source_ip 10.42.73.1 Command: config access_profile profile_id 1 add access_id 1 ip source_ip 10.42.73.1 Success. DES-3326S:4# show access_profile Purpose Used to display the currently configured access profiles on the Switch.
  • Page 193 D-Link DES-3326S Layer 3 Switch CLI Reference DES-3326S:4#show access_profile Command: show access_profile Access Profile Table Access Profile ID : 10 TYPE : IP Frame Filter =============================================================================== MASK Option : Source IP MASK 255.255.255.0 --------------- ----------------- Access ID : 1 (250)
  • Page 194 D-Link DES-3326S Layer 3 Switch CLI Reference create cpu access_profile Purpose Used to create an access profile specifically for CPU Interface Filtering on the Switch. A CPU access profile defines the 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 195 D-Link DES-3326S Layer 3 Switch CLI Reference create cpu access_profile Parameters ip − Specifies that the Switch will examine the IP address in each frame’s header. vlan − Specifies a VLAN mask. source_ip_mask <netmask> − Specifies an IP address mask for the source IP address.
  • Page 196 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To create a cpu access profile: DES-3326S:4# create cpu access_profile ethernet vlan source_mac 00-00- 00-00-00-01 Command: create cpu access_profile ethernet vlan source_mac 00-00-00- 00-00-01 Success. DES-3326S:4#...
  • Page 197 D-Link DES-3326S Layer 3 Switch CLI Reference 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 198 D-Link DES-3326S Layer 3 Switch CLI Reference Parameters 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> − Specifies that the access profile will apply to only packets with this source IP address.
  • Page 199 Example usage: To configure a cpu access profile: DES-3326S:4# config cpu access_profile profile_id 101 add access_id 1 ip vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 deny Command: config cpu access_profile profile_id 101 add access_id 1 ip vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 deny...
  • Page 200 D-Link DES-3326S Layer 3 Switch CLI Reference disable cpu_interface_filtering Purpose Used to disable CPU interface filtering on the Switch. Syntax disable cpu_interface_filtering Description This command is used to disable CPU interface filtering on the Switch. When CPU interface filtering is disabled, the cpu access profile rules that have been created will not be active.
  • Page 201 D-Link DES-3326S Layer 3 Switch CLI Reference show cpu access_profile Purpose Used to display the currently configured access profiles on the Switch. Syntax show access_profile { profile_id <value 1-255> } Description The show cpu access_profile command is used to display the currently configured access profiles.
  • Page 202 D-Link DES-3326S Layer 3 Switch CLI Reference Example usage: To display all of the currently configured access profiles on the Switch: DES-3326S:4#show cpu access_profile Command: show cpu access_profile CPU Interface Filtering state: [Enabled] CPU Interface Filtering Access Profile Table Access Profile ID : 1...
  • Page 203 D-Link DES-3326S Layer 3 Switch CLI Reference delete cpu access_profile access_profile Restrictions Only administrator-level users can issue this command. Example usage: To delete the cpu access profile with a profile ID of 1: DES-3326S:4# delete cpu access_profile profile_id 1 Command: delete cpu access_profile profile_id 1 Success.
  • Page 204: Traffic Segmentation Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 205 D-Link DES-3326S Layer 3 Switch CLI Reference config traffic_segmentation Purpose Used to configure traffic segmentation on the Switch. Syntax config traffic_segmentation <portlist> forward_list [null|<portlist>] Description The config traffic_segmentation command is used to configure traffic segmentation on the Switch. <portlist> − Specifies a range of ports that will be configured for traffic Parameters segmentation.
  • Page 206 D-Link DES-3326S Layer 3 Switch CLI Reference show traffic_segmentation Purpose Used to display the current traffic segmentation configuration on the Switch. Syntax config traffic_segmentation <portlist> forward_list [null|<portlist>] Description The show traffic_segmentation command is used to display the current traffic segmentation configuration on the Switch.
  • Page 207: Stacking Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference TACKING OMMANDS The stacking configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config stacking mode disable enable master auto slave...
  • Page 208 D-Link DES-3326S Layer 3 Switch CLI Reference config stacking mode Used to enable or disable Switch stacking and to configure the stacking mode. Purpose config stacking mode [ disable | enable [master | auto | slave ] ] Syntax Use this command to setup Switch stacking or disable the stacking function.
  • Page 209 D-Link DES-3326S Layer 3 Switch CLI Reference show stacking Purpose Used to display the current stacking information. Syntax show stacking {mode} Description This command will display the current stacking information. Parameters mode − When specified this will display the current stacking mode.
  • Page 210 D-Link DES-3326S Layer 3 Switch CLI Reference To display the current stacking (auto mode) information: DES-3326S:4#show sta Command: show stacking ID MAC Address Port Range Mode Version RPS Status Model Name --- ----------------- ---------- ---------- -------- ----------- ---------- *1 00-05-5D-1F-5B-A0 1 - 26 AUTO 4.01-B27...
  • Page 211: Time And Sntp Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference SNTP C IME AND OMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NPT)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 212 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-3326S: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-3326S:4#...
  • Page 213 D-Link DES-3326S Layer 3 Switch CLI Reference 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. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 214 D-Link DES-3326S Layer 3 Switch CLI Reference enable sntp Purpose Enables SNTP server support. Syntax enable sntp Description 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 time settings.
  • Page 215 D-Link DES-3326S Layer 3 Switch CLI Reference config time Purpose Used to manually configure system time and date settings. Syntax config time date <date ddmthyyyy> <time hh:mm:ss> Description This will configure the system time and date settings. These will be overridden if SNTP is configured and enabled.
  • Page 216 Restrictions Only administrator-level users can issue this command. Example usage: To configure time zone settings: DES-3326S:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success. DES-3326S:4#...
  • Page 217 D-Link DES-3326S Layer 3 Switch CLI Reference config dst Purpose Used to enable and configure time adjustments to allow for the use of Daylight Savings Time (DST). Syntax config dst [disable|repeating {s-week<start_week 1-4,last> | s-wday <start_weekday sun-sat> | s-mth <start_mth 1-12>...
  • Page 218 D-Link DES-3326S Layer 3 Switch CLI Reference config dst using a three character abbreviation (sun, mon, tue, wed, thu, fri, sat) s-mth - Configure the month in which DST begins. <start_mth 1-12> - The month to begin DST expressed as a number.
  • Page 219 D-Link DES-3326S Layer 3 Switch CLI Reference DES-3326S:4#config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Command: config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e _day wed e_mth 10 e_time 15:30 offset 30 Success.
  • Page 220: Arp Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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 create arpentry <ipaddr> <macaddr> delete arpentry <ipaddr> <macaddr>...
  • Page 221 D-Link DES-3326S Layer 3 Switch CLI Reference create arpentry Purpose Used to make a static entry into the ARP table. Syntax create arpentry <ipaddr> <macaddr> Description This command is used to enter an IP address and the corresponding MAC address into the Switch’s ARP table.
  • Page 222 D-Link DES-3326S Layer 3 Switch CLI Reference delete arpentry Purpose Used to delete a static entry into the ARP table. Syntax delete arpentry {<ipaddr>|all} Description This command is used to delete a static ARP entry, made using the create arpentry command above, by specifying either the IP address of the entry or all.
  • Page 223 D-Link DES-3326S Layer 3 Switch CLI Reference config arp_aging Purpose Used to configure the age-out timer for ARP table entries on the Switch. Syntax config arp_aging time <value> Description This command sets the maximum amount of time, in minutes, that an ARP entry can remain in the Switch’s ARP table, without being...
  • Page 224 D-Link DES-3326S Layer 3 Switch CLI Reference show arpentry Purpose Used to display the ARP table. Syntax show arpentry {ipif <ipif_name>|ipaddress <network_address>|static} Description This command is used to display the current contents of the Switch’s ARP table. <ipif_name> − The name of the IP interface the...
  • Page 225 D-Link DES-3326S Layer 3 Switch CLI Reference 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.
  • Page 226: Routing Table Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference 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 <network_address> <ipaddr> <metric 1-65535>...
  • Page 227 D-Link DES-3326S Layer 3 Switch CLI Reference create iproute Used to create IP route entries to the Switch’s Purpose IP routing table. create iproute [default|<network_address>] Syntax <ipaddr> {<metric>} {primary|backup} This command is used to create a primary and Description backup IP route entry to the Switch’s IP routing table.
  • Page 228 D-Link DES-3326S Layer 3 Switch CLI Reference delete iproute Purpose Used to delete an IP route entry from the Switch’s IP routing table. Syntax delete iproute [ default | <network_address>] <ipaddr> Description This command will delete an existing entry from the Switch’s IP routing table.
  • Page 229 D-Link DES-3326S Layer 3 Switch CLI Reference show iproute Purpose Used to display the Switch’s current IP routing table. Syntax show iproute {<network_address>} {static|rip|ospf} Description This command will display the Switch’s current IP routing table. Parameters <network_address> − IP address and netmask of the IP interface that is the destination of the route.
  • Page 230: Route Redistribution Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference OUTE EDISTRIBUTION OMMANDS The route redistribution commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create route redistribute dst ospf src [static|rip|local] mettype [1|2] metric <value>...
  • Page 231 D-Link DES-3326S Layer 3 Switch CLI Reference create route redistribute dst ospf Purpose Used to add route redistribution settings for the exchange of RIP routes to OSPF routes on the Switch. Syntax create route redistribute dst ospf src [static|rip|local] {mettype [1|2]|metric <value>}...
  • Page 232 Entering the metric 0 specifies transparency. Example Usage: To add route redistribution settings: DES-3326S:4#create route redistribute dst rip src ospf all metric 2 Command: create route redistribute dst rip src ospf all metric 2 Success. DES-3326S:4#...
  • Page 233 D-Link DES-3326S Layer 3 Switch CLI Reference delete route redistribute Purpose Used to delete an existing route redistribute configuration on the Switch. Syntax delete route redistribute [dst [rip|ospf] src [rip|static|local|ospf]] Description This command will delete the route redistribution settings on this Switch.
  • Page 234 Allowed Metric Type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in OSPF as the metric 20. Example Usage: To configure route redistributions: DES-3326S:4#config route redistribute dst rip src ospf all metric 2 Command: config route redistribute dst rip src ospf all 1 metric 2 Success. DES-3326S:4#...
  • Page 235 Entering the metric 0 specifies transparency. Example Usage: To configure route redistributions: DES-3326S:4#config route redistribute dst ospf src rip mettype type_1 metric 2 Command: config route redistribute dst ospf src rip mettype type_1 metric 2 Success. DES-3326S:4#...
  • Page 236 D-Link DES-3326S Layer 3 Switch CLI Reference show route redistribute Purpose Used to display the route redistribution on the Switch. Syntax show route redistribute {dst [rip|ospf]|src [rip|static|local|ospf]} Description Displays the current route redistribution settings on the Switch. Parameters src − Allows the selection of the routing protocol on the source device.
  • Page 237: Igmp Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference IGMP C OMMANDS The IGMP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp ipif <ipif_name 12> version <value 1-2>...
  • Page 238 D-Link DES-3326S Layer 3 Switch CLI Reference config igmp Used to configure IGMP on the Switch. Purpose config igmp [<ipif_name 12>|all] {version <value Syntax 1-2>|query_interval <sec 1 - 65535>|max_response_time < sec 1-25>| robustness_variable <value 1- 255>|last_member_query_interval <value 1- 25>|state [enable|disable]}...
  • Page 239 D-Link DES-3326S Layer 3 Switch CLI Reference show igmp Purpose Used to display the IGMP configuration for the Switch of for a specified IP interface. Syntax show igmp {ipif <ipif_name>} Description This command will display the IGMP configuration for the Switch if no IP interface name is specified.
  • Page 240 D-Link DES-3326S Layer 3 Switch CLI Reference show igmp group Purpose Used to display the Switch’s IGMP group table. Syntax show igmp group {group <group>} {ipif <ipif_name>} Description This command will display the IGMP group configuration. group <group> − The multicast group ID.
  • Page 241: Bootp Relay Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference OOTP ELAY OMMANDS The BOOTP relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config bootp_relay hops <value> time <sec> config bootp_relay ipif <ipif_name>...
  • Page 242 D-Link DES-3326S Layer 3 Switch CLI Reference config bootp_relay Purpose Used to configure the BOOTP relay feature of the Switch. Syntax config bootp_relay {hops <value>} {time <sec>} Description This command is used to configure the BOOTP relay feature. Parameters hops <value> − Specifies the maximum number of relay agent hops that the BOOTP packets can cross.
  • Page 243 D-Link DES-3326S Layer 3 Switch CLI Reference config bootp_relay add Purpose Used to add an IP destination address to the Switch’s BOOTP relay table. Syntax config bootp_relay add ipif <ipif_name> <ipaddr> Description This command adds an IP address as a destination to forward (relay) BOOTP packets to.
  • Page 244 D-Link DES-3326S Layer 3 Switch CLI Reference config bootp_relay delete Purpose Used to delete an IP destination addresses from the Switch’s BOOTP relay table. Syntax config bootp_relay delete ipif <ipif_name> <ipaddr> Description This command is used to delete an IP destination addresses in the Switch’s BOOTP relay table.
  • Page 245 D-Link DES-3326S Layer 3 Switch CLI Reference enable bootp_relay Purpose Used to enable the BOOTP relay function on the Switch. Syntax enable bootp_relay Description This command, in combination with the disable bootp_relay command below, is used to enable and disable the BOOTP relay function on the Switch.
  • Page 246 D-Link DES-3326S Layer 3 Switch CLI Reference disable bootp_relay Purpose Used to disable the BOOTP relay function on the Switch. Syntax disable bootp_relay Description This command, in combination with the enable bootp_relay command above, is used to enable and disable the BOOTP relay function on the Switch.
  • Page 247 D-Link DES-3326S Layer 3 Switch CLI Reference show bootp_relay Purpose Used to display the current BOOTP relay configuration. Syntax show bootp_relay {ipif <ipif_name>} Description This command will display the current BOOTP relay configuration for the Switch, or if an IP interface name is specified, the BOOTP relay configuration for that IP interface.
  • Page 248: Dns Relay Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference DNS R ELAY OMMANDS The DNS relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dnsr primary secondary nameserver <ipaddr>...
  • Page 249 D-Link DES-3326S Layer 3 Switch CLI Reference config dnsr Purpose Used to configure the DNS relay function. Syntax config dnsr [primary|secondary] nameserver <ipaddr> Description This command is used to configure the DNS relay function on the Switch. primary − Indicates that the IP address below is Parameters the address of the primary DNS server.
  • Page 250 D-Link DES-3326S Layer 3 Switch CLI Reference config dnsr [add|delete] static Purpose Used to add or delete a static entry into the Switch’s DNS resolution table. Syntax config dnsr [add|delete] static <domain_name> <ipaddr> Description This command allows you to add or delete entries into the Switch’s DNS cache.
  • Page 251 D-Link DES-3326S Layer 3 Switch CLI Reference enable dnsr Purpose Used to enable DNS relay. Syntax enable dnsr Description This command is used, in combination with the disable dnsr command below, to enable and disable DNS Relay on the Switch.
  • Page 252 D-Link DES-3326S Layer 3 Switch CLI Reference enable dnsr cache Purpose Used to enable the DNS relay cache. Syntax enable dnsr cache Description This command is used, in combination with the disable dnsr cache command below, to enable and disable the DNS relay cache.
  • Page 253 D-Link DES-3326S Layer 3 Switch CLI Reference enable dnsr static Purpose Used to enable the DNS relay static table. Syntax enable dnsr static Description This command, in combination with the disable dnsr static command below, is used to enable or disable the DNS relay static table function.
  • Page 254 D-Link DES-3326S Layer 3 Switch CLI Reference show dnsr Purpose Used to display the current DNS relay status. Syntax show dnsr {static} Description This command is used to display the current DNS relay status. Parameters static − Allows the display of only the static entries into the DNS relay table.
  • Page 255 D-Link DES-3326S Layer 3 Switch CLI Reference To display DNS relay table: DES-3326S:4#show dnsr Command: show dnsr DNSR Status : Disabled Primary Name Server : 10.48.74.122 Secondary Name Server : 20.48.74.123 DNSR Cache Status : Enabled DNSR Static Table Status : Enabled...
  • Page 256: Rip Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference RIP C OMMANDS The RIP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config rip ipif <ipif_name 12> authentication [enable <password>|disable] tx_mode <value 1-16>...
  • Page 257 D-Link DES-3326S Layer 3 Switch CLI Reference config rip rx_mode Used to configure RIP on the Switch. Purpose config rip [ipif <ipif_name 12>|all] rx_mode Syntax [[disable|v1_only]|[v2_only|v1_or_v2] authentication [enable|disable] <password>] This command is used to configure RIP on the Description Switch.
  • Page 258 D-Link DES-3326S Layer 3 Switch CLI Reference config rip tx_mode Purpose Used to configure RIP’s transmission mode. Syntax config rip [ipif <ipif_name>|all]} tx_mode [disable] authentication [enable|disable] <password>] Description This command is used to configure RIP’s transmission mode. <ipif_name> − The name of the IP interface.
  • Page 259 D-Link DES-3326S Layer 3 Switch CLI Reference enable rip Purpose Used to enable RIP. Syntax enable rip Description This command is used to enable RIP on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To enable RIP.
  • Page 260 D-Link DES-3326S Layer 3 Switch CLI Reference show rip Used to display the RIP configuration and Purpose statistics for the Switch. show rip {ipif <ipif_name>} Syntax This command will display the RIP configuration Description and statistics for a given IP interface or for all IP interfaces.
  • Page 261: Dvmrp Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference DVMRP C OMMANDS The DVMRP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dvmrp ipif <ipif_name 12> metric <value 1-31>...
  • Page 262 Only administrator-level users can issue this Restrictions command. Example Usage: To configure DVMRP configurations of IP interface System: DES-3326S:4#config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Command: config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Success DES-3326S:4#...
  • Page 263 D-Link DES-3326S Layer 3 Switch CLI Reference enable dvmrp Purpose Used to enable DVMRP. Syntax enable dvmrp Description This command, in combination with the disable dvmrp below, to enable and disable DVMRP on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 264 D-Link DES-3326S Layer 3 Switch CLI Reference show dvmrp routing_table Purpose Used to display the current DVMRP routing table. Syntax show dvmrp routing table {ipaddress <network_address>} Description The command is used to display the current DVMRP routing table. <ipif_name> − The name of the IP interface for...
  • Page 265 D-Link DES-3326S Layer 3 Switch CLI Reference show dvmrp neighbor Purpose Used to display the DVMRP neighbor table. Syntax show dvmrp neighbor {ipif <ipif_name>|ipaddress <network_address>} Description This command will display the current DVMRP neighbor table. <ipif_name> − The name of the IP interface for...
  • Page 266 D-Link DES-3326S Layer 3 Switch CLI Reference show dvmrp nexthop Purpose Used to display the current DVMRP routing next hop table. Syntax show dvmrp nexthop {ipaddress <network_address>|ipif <ipif_name>} Description This command will display the DVMRP routing next hop table. Parameters <ipif_name>...
  • Page 267 D-Link DES-3326S Layer 3 Switch CLI Reference show dvmrp Purpose Used to display the current DVMRP routing table. Syntax show dvmrp {<ipif_name>} Description The command will display the current DVMRP routing table. Parameters <ipif_name> − The name of the IP interface for which you want to display the DVMRP routing table.
  • Page 268: Pim Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference PIM C OMMANDS The PIM commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config pim [ipif <ipif_name 12>| all ] { hello <sec 1-18724>...
  • Page 269 Only administrator-level users can issue this command. Usage Example: To configure PIM settings for IP interface “System”: DES-3326S:4#config pim ipif System hello 35 jp_interval 70 state enable Command: config pim ipif System hello 35 jp_interval 70 state enable Success. DES-3326S:4#...
  • Page 270 D-Link DES-3326S Layer 3 Switch CLI Reference enable pim Purpose Used to enable PIM function on the Switch. Syntax enable pim Description This command will enable PIM for the Switch. PIM settings must first be configured for specific IP interfaces using config pim command.
  • Page 271 D-Link DES-3326S Layer 3 Switch CLI Reference disable pim Purpose Used to disable PIM function on the Switch. Syntax disable pim Description This command will disable PIM for the Switch. Any previously configured PIM settings will remain unchanged and may be enabled at a later time with the enable pim.
  • Page 272 D-Link DES-3326S Layer 3 Switch CLI Reference show pim neighbor Purpose Used to display PIM neighbor router table entries. Syntax show pim neighbor {ipif <ipif_name 12> | ipaddress <network_address>} Description This command will list current entries in the PIM neighbor table for a specified IP interface or destination router IP address.
  • Page 273 D-Link DES-3326S Layer 3 Switch CLI Reference show pim Purpose Used to display current PIM configuration. Syntax show pim {ipif <ipif_name 12>} Description This command will list current PIM configuration settings for a specified IP interface or all IP interfaces.
  • Page 274: Ip Multicasting Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference IP M ULTICASTING OMMANDS The IP multicasting commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show ipmc cache group <group> ipaddress <network_address>...
  • Page 275 D-Link DES-3326S Layer 3 Switch CLI Reference show ipmc cache Purpose Used to display the current IP multicast forwarding cache. Syntax show ipmc cache {group <group>} {ipaddres <network_address>} Description This command will display the current IP multicast forwarding cache. Parameters <group>...
  • Page 276 D-Link DES-3326S Layer 3 Switch CLI Reference show ipmc Purpose Used to display the IP multicast interface table. Syntax show ipmc {ipif <ipif_name>|protocol [dvmrp|pim]} Description This command will display the current IP multicast interface table. <ipif_name> − The name of the IP interface for...
  • Page 277: Md5 Configuration Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference MD5 C ONFIGURATION OMMANDS The MD5 configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config md5 key <key_id> <password> create md5 key <key_id>...
  • Page 278 D-Link DES-3326S Layer 3 Switch CLI Reference config md5 Purpose Used to enter configure the password for an MD5 key. Syntax config md5 key <key_id> <password> Description This command is used to configure an MD5 key and password. Parameters key <key_id> − The MD5 key ID.
  • Page 279 D-Link DES-3326S Layer 3 Switch CLI Reference create md5 Purpose Used to create a new entry in the MD5 key table. Syntax create md5 key <key_id> <password> Description This command is used to create an entry for the MD5 key table.
  • Page 280 D-Link DES-3326S Layer 3 Switch CLI Reference delete md5 Purpose Used to delete an entry in the MD5 key table. Syntax delete md5 key <key_id> Description This command is used to delete a specific entry in the MD5 key table.
  • Page 281 D-Link DES-3326S Layer 3 Switch CLI Reference show md5 Purpose Used to display an MD5 key table. Syntax show md5 {key <key_id>} Description This command will display the current MD5 key table. Parameters <key_id> − The MD5 key ID. Restrictions None.
  • Page 282: Ospf Configuration Commands

    D-Link DES-3326S Layer 3 Switch CLI Reference OSPF C ONFIGURATION OMMANDS The OSPF configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ospf router_id <ipaddr> enable ospf...
  • Page 283 D-Link DES-3326S Layer 3 Switch CLI Reference Command Parameters ink] show ospf neighbor <ipaddr> show ospf virtual_neighbor <area_id> <neighbor_id> config ospf ipif <ipif_name 12> area <area_id> priority <value> hello_interval <1-65535 sec> dead_interval <1-65535 sec> authentication [none|simple <password>| md5 <key_id 1-255>] metric <value 1-65535>...
  • Page 284 D-Link DES-3326S Layer 3 Switch CLI Reference config ospf Purpose Used to configure the OSPF router ID. Syntax config ospf {router_id <ipaddr>} Description This command is used to configure the OSPF router ID. Parameters <ipaddr> − The OSPF router ID.
  • Page 285 D-Link DES-3326S Layer 3 Switch CLI Reference disable ospf Purpose Used to disable OSPF on the Switch. Syntax disable ospf Description This command, in combination with the enable ospf command above, is used to enable and disable OSPF on the Switch.
  • Page 286 D-Link DES-3326S Layer 3 Switch CLI Reference Usage Example: To show OSPF state: DES-3326S:4#show ospf Command: show ospf OSPF Router ID : 10.1.1.2 State : Enabled OSPF Interface Settings Interface IP Address Area ID State Link Metric Status ------------ ------------------ ---------...
  • Page 287 D-Link DES-3326S Layer 3 Switch CLI Reference Virtual Interface Configuration Transit Virtual Hello Dead Authentication Link Area ID Neighbor Router Interval Interval Status ----------- --------------- -------- -------- -------------- ------ 10.0.0.0 20.0.0.0 None DOWN 10.1.1.1 20.1.1.1 None DOWN Total Entries : 2...
  • Page 288 D-Link DES-3326S Layer 3 Switch CLI Reference DES-3326S:4#create ospf area 10.48.74.122 type normal Command: create ospf area 10.48.74.122 type normal Success. DES-3326S:4#...
  • Page 289 D-Link DES-3326S Layer 3 Switch CLI Reference delete ospf area Purpose Used to delete an OSPF area. Syntax delete ospf area <area_id> Description This command is used to delete an OSPF area. Parameters <area_id> − <area_id> − A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that...
  • Page 290 <value> − The OSPF area stub default cost. Restrictions Only administrator-level users can issue this command. Usage Example To configure an OSPF area’s settings: DES-3326S:4#config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Command: config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Success. DES-3326S:4#...
  • Page 291 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf area Purpose Used to display an OSPF area’s configuration. Syntax show ospf area {<area_id>} Description This command will display the current OSPF area configuration. Parameters <area_id> − <area_id> − A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that...
  • Page 292 <value> − A metric between 1 and 65535, which will be advertised. Restrictions Only administrator-level users can issue this command. Usage Example To configure the OSPF host route settings: DES-3326S:4#create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DES-3326S:4#...
  • Page 293 D-Link DES-3326S Layer 3 Switch CLI Reference delete ospf host_route Purpose Used to delete an OSPF host route. Syntax delete ospf host_route <ipaddr> Description This command is used to delete an OSPF host route. Parameters <ipaddr> − The IP address of the OSPF host.
  • Page 294 Restrictions Only administrator-level users can issue this command. Usage Example To configure an OSPF host route: DES-3326S:4#config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DES-3326S:4#...
  • Page 295 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf host_route Purpose Used to display the current OSPF host route table. Syntax show ospf host_route {<ipaddr>} Description This command will display the current OSPF host route table. Parameters <ipaddr> − The IP address of the host.
  • Page 296 D-Link DES-3326S Layer 3 Switch CLI Reference create ospf aggregation Purpose Used to configure OSPF area aggregation settings. Syntax create ospf aggregation <area_id> <network_address> lsdb_type [summary] {advertise [enable|disable]} Description This command is used to create an OSPF area aggregation. <area_id> − A 32-bit number in the form of an IP Parameters address (xxx.xxx.xxx.xxx) that uniquely identifies...
  • Page 297 D-Link DES-3326S Layer 3 Switch CLI Reference delete ospf aggregation Purpose Used to delete an OSPF area aggregation configuration. Syntax delete ospf aggregation <area_id> <network_address> lsdb_type [summary] Description This command is used to delete an OSPF area aggregation configuration. Parameters <area_id>...
  • Page 298 D-Link DES-3326S Layer 3 Switch CLI Reference config ospf aggregation Purpose Used to configure the OSPF area aggregation settings. Syntax config ospf aggregation <area_id> <network_address> lsdb_type [summary] advertise [enable|disable] Description This command is used to configure the OSPF area aggregation settings.
  • Page 299 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf aggregation Purpose Used to display the current OSPF area aggregation settings. Syntax show ospf aggregation {<area_id>} Description This command will display the current OSPF area aggregation settings. Parameters <area_id> − The OSPF area ID.
  • Page 300 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf lsdb Purpose Used to display the OSPF Link State Database (LSDB). Syntax show ospf lsdb {area_id <area_id>|advertise_router <ipaddr>|type [rtrlink|netlink|summary|assummary|asextlink]} Description This command will display the current OSPF Link State Database (LSDB).
  • Page 301 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf neighbor Purpose Used to display the current OSPF neighbor router table. Syntax show ospf neighbor {<ipaddr>} Description This command will display the current OSPF neighbor router table. <ipaddr> − the IP address of the neighbor router.
  • Page 302 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf virtual neighbor Purpose Used to display the current OSPF virtual neighbor router table. Syntax show ospf virtual_neighbor {<area_id> <neighbor id>} Description This command will display the current OSPF virtual neighbor router table.
  • Page 303 Restrictions Only administrator-level users can issue this command. Usage Example To configure OSPF interface settings: DES-3326S:4#config ospf ipif System priority 2 hello_interval 15 metric 2 state enable Command: config ospf ipif System priority 2 metric 2 state enable hello_interval 15 Success.
  • Page 304 D-Link DES-3326S Layer 3 Switch CLI Reference config ospf all Purpose Used to configure all of the OSPF interfaces on the Switch at one time. Syntax config ospf all {area <area_id>|priority <value>|hello_interval <sec>|dead_interval <sec>|authentication [none|simple <password>|md5 <key_id>]|metric <value>|state [enable|disable]} Description This command is used to configure all of the OSPF interfaces on the Switch, using a single group of parameters, at one time.
  • Page 305 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf ipif Purpose Used to display the current OSPF interface settings for the specified interface name. Syntax show ospf ipif {<ipif_name>} Description This command will display the current OSPF interface settings for the specified interface name.
  • Page 306 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf all Purpose Used to display the current OSPF settings of all the OSPF interfaces on the Switch. Syntax show ospf all Description This command will display the current OSPF settings for all OSPF interfaces on the Switch.
  • Page 307 D-Link DES-3326S Layer 3 Switch CLI Reference config ospf virtual_link Used to configure the OSPF virtual interface settings. Purpose config ospf virtual_link <area_id> <neighbor_id> Syntax {hello_interval <sec>|dead_interval <sec>|authentication [simple <password>|md5 <key_id>|none]} This command is used to configure the OSPF virtual interface Description settings.
  • Page 308 D-Link DES-3326S Layer 3 Switch CLI Reference create ospf virtual_link Purpose Used to create an OSPF virtual interface. Syntax create ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec>|authentication [none|simple <password>|md5 <key_id>]} Description This command is used to create an OSPF virtual interface.
  • Page 309 D-Link DES-3326S Layer 3 Switch CLI Reference delete ospf virtual_link Purpose Used to delete an OSPF virtual interface. Syntax delete ospf virtual_link <area_id> <neighbor_id> Description This command will delete an OSPF virtual interface from the Switch. <area_id> − A 32-bit number in the form of Parameters an IP address (xxx.xxx.xxx.xxx) that...
  • Page 310 D-Link DES-3326S Layer 3 Switch CLI Reference show ospf virtual_link Purpose Used to display the current OSPF virtual interface configuration. Syntax show ospf virtual_link {<area_id> <neighbor_id> Description This command will display the current OSPF virtual interface configuration. Parameters <area_id> − A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that...
  • Page 311: Command History List

    D-Link DES-3326S Layer 3 Switch CLI Reference OMMAND ISTORY The 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 config <value> command_history Each command is listed, in detail, in the following sections.
  • Page 312 D-Link DES-3326S Layer 3 Switch CLI Reference Purpose Used to display all commands in the Command Line Interface (CLI). Syntax Description This command will display all of the commands available through the Command Line Interface (CLI). Parameters None. Restrictions None.
  • Page 313 D-Link DES-3326S Layer 3 Switch CLI Reference show command_history Purpose Used to display the command history. Syntax show command_history Description This command will display the command history. Parameters None. Restrictions None. Example usage To display the command history: DES-3326S:4#show command_history...
  • Page 314 D-Link DES-3326S Layer 3 Switch CLI Reference Purpose Used to display all commands. Syntax Description This command will display all commands. Parameters None. Restrictions None. Example usage To display all of the commands: DES-3326S:4#dir Command: dir clear clear arptable clear counters...
  • Page 315 D-Link DES-3326S Layer 3 Switch CLI Reference config command_history Purpose Used to configure the command history. Syntax config command_history <value> Description This command is used to configure the command history. Parameters <1-40> − the number of previously executed commands maintained in the buffer. Up to 40 of the latest executed commands may be viewed.
  • Page 316: Technical Specifications

    D-Link DES-3326S Layer 3 Switch CLI Reference ECHNICAL PECIFICATIONS General IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet Standard IEEE 802.1 P/Q VLAN IEEE 802.3x Full-duplex Flow Control IEEE 802.3z 1000BASE-X Ethernet CSMA/CD Protocols...
  • Page 317 D-Link DES-3326S Layer 3 Switch CLI Reference Performance Store-and-forward Transmission Method: 16 MB per device Packet Buffer Memory: Filtering Address 8 K MAC address per device Table: Full-wire speed for all connections. Packet Filtering/ 148,800 pps per port (for 100Mbps)
  • Page 318 D-Link DES-3326S Layer 3 Switch CLI Reference LOSSARY 100BASE-FX: 100Mbps Ethernet implementation over fiber. 100BASE-TX: 100Mbps Ethernet implementation over Category 5 and Type 1 Twisted Pair cabling. 10BASE-T: The IEEE 802.3 specification for Ethernet over Unshielded Twisted Pair (UTP) cabling.
  • Page 319 D-Link DES-3326S Layer 3 Switch CLI Reference Flow Control: (IEEE 802.3z) A means of holding packets back at the transmit port of the connected end station. Prevents packet loss at a congested Switch port. forwarding: The process of sending a packet toward its destination by an internetworking device.
  • Page 320 D-Link DES-3326S Layer 3 Switch CLI Reference Telnet: A TCP/IP application protocol that provides virtual terminal service, letting a user log in to another computer system and access a host as if the user were connected directly to the host.