D-Link DES-3226SM Reference Manual

Layer 2 switch, command line interface
Hide thumbs Also See for DES-3226SM:

Advertisement

DES-3226S

Layer 2 Switch

Command Line Interface

Reference Manual
First Edition (May, 2001)
651S3326S015
Printed In Taiwan
RECYCLABLE

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3226SM

  • Page 1: Layer 2 Switch

    DES-3226S Layer 2 Switch Command Line Interface Reference Manual First Edition (May, 2001) 651S3326S015 Printed In Taiwan RECYCLABLE...
  • Page 2: Wichtige Sicherheitshinweise

    Wichtige Sicherheitshinweise Bitte lesen Sie sich diese Hinweise sorgfältig durch. Heben Sie diese Anleitung für den spätern Gebrauch auf. Vor jedem Reinigen ist das Gerät vom Stromnetz zu trennen. Vervenden Sie keine Flüssig- oder Aerosolreiniger. Am besten dient ein angefeuchtetes Tuch zur Reinigung. Um eine Beschädigung des Gerätes zu vermeiden sollten Sie nur Zubehörteile verwenden, die vom Hersteller zugelassen sind.
  • Page 3: Limitation Of Liability

    This Warranty applies on the condition that the product Registration Card is filled out and returned to a D-Link office within ninety (90) days of purchase. A list of D-Link offices is provided at the back of this manual, together with a copy of the Registration Card.
  • Page 4 Return Material Authorization (RMA) number. If a Registration Card for the product in question has not been returned to D-Link, then a proof of purchase (such as a copy of the dated purchase invoice) must be provided. If Purchaser's circumstances require special handling of warranty correction, then at the time of requesting RMA number, Purchaser may also propose special procedure as may be suitable to the case.
  • Page 5: Copyright Statement

    D-Link Offices for Registration and Warranty Service The product's Registration Card, provided at the back of this manual, must be sent to a D-Link office. To obtain an RMA number for warranty service as to a hardware product, or to obtain warranty service as to a software product, contact the D-Link office nearest you.
  • Page 6: Fcc Warning

    FCC Warning This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with this user’s guide, may cause...
  • Page 7: Table Of Contents

    Table of Contents Introduction ... 9 Using the Console CLI ...17 Command Syntax ...25 Basic Switch Commands...30 Switch Port Commands ...55 Network Management Commands ...61 Download/Upload Commands ...88 Network Monitoring Commands...93 Spanning Tree Commands ...103 Layer 2 Forwarding Database Commands...114 Broadcast Storm Control Commands ...126...
  • Page 8 IP Interface Commands ...191 IGMP Snooping Commands ...196 Stacking Configuration Commands ...213 Command History List...216 Technical Specifications...223 Switch System Messages ...226 viii...
  • Page 9: Introduction

    • 1 stop bit A computer running a terminal emulation program capable of emulating a VT-100/ANSI terminal and a serial port configured as above is then connected to the switch’s serial port via an RS-232 DB-9 cable. Introduction The Command...
  • Page 10 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 11 The switch’s MAC address can also be found from the console program under the Switch Information menu item, as shown below. The IP address for the switch must be set before it can be managed with the web-based manager. The switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the switch must be known.
  • Page 12 System and the z represents the corresponding number of subnets in CIDR notation. The IP interface named System on the switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the switch’s TELNET or web-based management agent.
  • Page 13: Switch Stacking

    Switch Stacking The Switch is designed to be stacked in stacks of up to six Switches, all managed as a single unit with a single IP address. The stack order is hardware-determined, by default. That is, the unique MAC address of each Switch determines where the Switch stands in the stack order.
  • Page 14 It is recommended that the Master Switch be used to uplink to the Ethernet backbone. • If any Switch in the stack fails, all Switches will need to be rebooted upon correcting the failure. • If a new Master is elected, all Switches in the stack must rebooted.
  • Page 15 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Now let us suppose you wish to add another Switch to this stack. The new Switch has a MAC address 001122334450. After rebooting all the Switches in the stack, the newly added Switch becomes the Master Switch.
  • Page 16 In the above case, there are two switches in the stack and they are both in AUTO mode. The stacking mode refers to the method the switches in the switch stack will use to determine which switch is selected as the Master switch.
  • Page 17: Using The Console Cli

    SING THE The DES-3226S supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP TELNET protocol.
  • Page 18 No flow control You can also access the same functions over a TELNET interface. Once you have set an IP address for your Switch, you can use a TELNET program (in VT-100 compatible terminal mode) to access and control the Switch. All of the screens are identical, whether accessed from the console port or from a TELNET interface.
  • Page 19 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DES-3226S: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 20 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-2. The ? Command The dir command has the same function as the ? command. When you enter a command without its required parameters, the CLI will prompt you with a Next possible completions: message.
  • Page 21 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-4. 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:.
  • Page 22 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-5. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username> prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt.
  • Page 23 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-6. The Available Commands Prompt The top-level commands consist of commands like show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter.
  • Page 24 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Figure 2-6. Next possible completions: Show Command In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter.
  • Page 25: Command Syntax

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide OMMAND The following symbols are used in this manual to describe how command entries are made and values and arguments are specified in this manual. The on-line help contained in the CLI and available through the console interface, uses the same syntax.
  • Page 26 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide [square brackets] Purpose Encloses a required value or set of required arguments. One or more values or arguments can be specified. Syntax create account [admin/user] Description In the above syntax example, you must specify either an admin or a user level account to be created.
  • Page 27 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide {braces} Purpose Encloses an optional value or set of optional arguments. Syntax config igmp [<ipif_name>/all] {version <value>/query_interval <sec>/max_response_time <sec>/ robustness_variable <value>/last_member_query_interval <vlaue>/state [enabled/disabled]} Description In the above syntax example, you must choose to enter an IP interface name in the <ipif_name>...
  • Page 28 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Line Editing Key Usage Backspace Delets the character to the left of the cursor and shifts the remaining characters in the line to the left. Insert Can be toggled on or off. When toggled on, inserts text at the current cursor positon and shifts the remainder of the line to the left.
  • Page 29 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Line Editing Key Usage pausing between pages. Enter Displays the next line or table entry. Command Syntax...
  • Page 30: Basic Switch Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ASIC 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> show account...
  • Page 31: Command Parameters

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters disable web save reboot reset {config/system} login logout Each command is listed, in detail, in the following sections. Basic Switch Commands...
  • Page 32 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 33 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Enter the new password again for confirmation:**** Success. DES3226S:4# Basic Switch Commands...
  • Page 34 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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>...
  • Page 35 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. Parameters none. Restrictions none. Example Usage: To display the accounts that have been created:...
  • Page 36 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 37 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 38 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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:...
  • Page 39 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Spanning Tree : Disabled GVRP : Disabled IGMP Snooping : Disabled : Disabled DVMRP : Disabled PIM-DM : Disabled DES3226S:4# Basic Switch Commands...
  • Page 40 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 41 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config serial_port Purpose Used to configure the serial port. Syntax config serial_port {baud_rate[9600/19200/38400/115200]/auto_logo ut [never/2_minutes/5_minutes/10_minutes/ 15_minutes]} Description This command is used to configure the serial port’s baud rate and auto logout settings.
  • Page 42 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide To configure baud rate: DES3226S:4#config serial_port baud_rate 9600 Command: config serial_port baud_rate 9600 Success. DES3226S:4# Basic Switch Commands...
  • Page 43 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 44 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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...
  • Page 45 <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. Parameters <tcp_port_number> − the TCP port number.
  • Page 46 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 47 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 48 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide disable web Purpose Used to disable the HTTP-based management software on the switch. Syntax disable web Description This command management software on the switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 49 Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To save the switch’s current configuration to non-volitale RAM: DES3226S:4#save Command: save Saving all settings to NV-RAM... 100% done. DES3226S:4# Basic Switch Commands changes...
  • Page 50 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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: DES3226S:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y/n) Please wait, the switch is rebooting...
  • Page 51 Restrictions Only administrator-level users can issue this command. Example Usage: To restore all of the switch’s parameters to their default values: DES3226S:4#reset config Command: reset config Basic Switch Commands All other parameters are...
  • Page 52 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Success. DES3226S:4# Basic Switch Commands...
  • Page 53 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 54 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide logout Purpose Used to log out a user from the swtich’s console. Syntax logout Description This command terminates the current user’s session on the switch’s console. Parameters none. Restrictions none. Example Usage: To terminate the current user’s console session:...
  • Page 55: Switch Port Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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_full/ 1000_half/1000_full] flow_control [enabled/disabled] learning [enabled/disabled]...
  • Page 56 1, port 3. specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. For a stand-alone switch (not stacked), the switch...
  • Page 57 Restrictions Only administrator-level users can issue this command. Example Usage: To configure the speed of the port 1-3 of switch 1 to be 10 Mbps, full-duplex, learning and state enabled: DES3226S:4#config ports 1:1-1:3 speed 10_full learning on state enabled Command: config ports 1:1-1:3 speed 10_full learning on...
  • Page 58 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide state enabled Success. Switch Port Commands...
  • Page 59 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions none.
  • Page 60 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 1:1 Enabled Auto/Disabled 1:2 Enabled Auto/Disabled 1:3 Enabled Auto/Disabled 1:4 Enabled Auto/Disabled 1:5 Enabled Auto/Disabled 1:6 Enabled Auto/Disabled 1:7 Enabled Auto/Disabled Link Down Enabled Link Down Enabled Link Down Enabled Link Down...
  • Page 61: Network Management Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ETWORK The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create snmp <community_string> community [readonly/readwrite] delete snmp <community_string>...
  • Page 62 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters enable snmp traps disable snmp traps enable snmp authenticate traps disable snmp authenticate traps show <ipaddr> trusted_hosts show snmp [community/trap_receiver] ping <ipaddr> times <value> timeout <sec> traceroute <ipaddr> port <value>...
  • Page 63 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create snmp community Purpose Used to create an SNMP community string. Syntax create <community_string> [readonly/readwrite] Description This command is used to create an SNMP community string and to specify the string as enabling read only or read-write privileges for the SNMP management host.
  • Page 64 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide To create a read-only level SNMP community “System”: DES3226S:4#create snmp community System readwrite Command: create snmp community System readwrite Success. DES3226S:4# Network Management Commands...
  • Page 65 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide delete snmp community Purpose Used to delete an SNMP community string previously entered on the switch. Syntax delete snmp community <community_string> Description This command is used to delete an SNMP community string entered on the switch using the create snmp community command above.
  • Page 66 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create snmp trap_receiver Purpose Used to specify a management station, by IP address and community string, that will receive traps generated by the switch’s SNMP agent. Syntax create snmp trap_receiver <ipaddr> <community_string>...
  • Page 67 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4#create snmp trap_receiver 10.1.1.1 System Command: create snmp trap_receiver 10.1.1.1 System Success. DES3226S:4# Network Management Commands...
  • Page 68 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide delete snmp trap_receiver Purpose Used to delete a trap receiver entry on the switch made using create snmp trap_reciever above. Syntax delete snmp trap_reciever <ipaddr> Description The command allows the user to delete an...
  • Page 69 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# delete trusted_host Purpose Used to delete a trusted host entry made using above. Syntax delete trusted _host <ipaddr> Description This command is used to delete a trusted host entry made using the create trusted_host command above.
  • Page 70 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config snmp community Purpose Used to create an SNMP community string. Syntax config snmp community <community_string> [readonly/readwrite] Description This command is used to create an SNMP community string on the switch that will be...
  • Page 71 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide To configure a SNMP community “System”: DES3226S:4#config snmp community System readwrite Command: config snmp community System readwrite Success. DES3226S:4# Network Management Commands...
  • Page 72 Used to configure a name for the switch. Syntax config snmp system_name <sw_name> Description This command is used to give the switch an alpha-numeric name of up to 128 characters. Parameters <sw_name> − an alpha-numeric name for the switch of up to 128 characters.
  • Page 73 <sw_location> Description This command is used to enter a description of the location of the switch. A maximum of 128 characters can be used. Parameters <sw_location> − a description of the location of the switch. A maximum of 128 characters can be used.
  • Page 74 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config snmp system_contact Purpose Used to enter the name of a contact person who is responsible for the switch. Syntax config <sw_contact> Description This command is used to enter the name and/or other information to identify a contact person who is responsible for the switch.
  • Page 75 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 76 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 77 32 characters used to authenticate management stations wanting access to the switch’s SNMP agent. trap_receiver trap_receiver IP addresses configured on the switch. A trap receiver is a host on the same subnet as the switch that can receive SNMP trap messages. Restrictions none.
  • Page 78 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide System Contact : dlink SNMP Trap : Enabled Authenticate Traps : Enabled Community String -------------------------------------------- System Read/Write public Read-Only Develop Read-Only private Read/Write Total Entries: 4 IP Address Community String --------------- ------------------------------------------------------------ 10.1.1.1...
  • Page 79 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show trusted_host Purpose Used to display a list of trusted hosts entered on the switch using the create trusted_host command above. Syntax show trusted_host Description This command is used to display a list of trusted hosts entered on the switch using the create trusted_host command above.
  • Page 80 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide enable snmp traps Purpose Used to enable SNMP trap support. Syntax enable snmp traps Description This command is used to enable SNMP trap support on the switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 81 This command is used to disable SNMP trap support on the switch. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To prevent SNMP traps from being sent from the switch: DES3226S:4#disable snmp traps Command: disable snmp traps Success. DES3226S:4# Network Management Commands...
  • Page 82 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide enable snmp authenticate traps Purpose Used to enable SNMP authentication trap support. Syntax enable snmp authenticate traps Description This command is used to enable SNMP authentication trap support on the switch. Parameters none.
  • Page 83 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide disable snmp authenticate traps Purpose Used to disable SNMP authentication trap support. Syntax disable snmp authenticate traps Description This command is used to disable SNMP authentication support on the switch. Parameters none.
  • Page 84 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ping Purpose Used to test the connectivity between network devices. Syntax ping <ipaddr> {times <value>} {timeout <sec>} Description This command Message Protocol (ICMP) echo messages to a remote IP address. The remote IP address will then “echo”...
  • Page 85 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4#ping 10.48.74.121 times 4 Command: ping 10.48.74.121 Reply from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Reply from 10.48.74.121, time<10ms Ping Statistics for 10.48.74.121 Packets: Sent =4, Received =4, Lost =0...
  • Page 86 Syntax traceroute <ipaddr> {ttl <value>} {port <value>} {timeout <sec>} {probe <value>} Description This command allows you to trace a route between the switch and a give host on the network. Parameters <ipaddr> − the IP address of the remote device.
  • Page 87 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 1 <10 ms. 10.48.74.121 1 <10 ms. 10.48.74.121 1 <10 ms. 10.48.74.121 DES3226S:4# Network Management Commands...
  • Page 88: Download/Upload Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide OWNLOAD 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> <path_filename>...
  • Page 89 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 90 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide download parameters will remain unchanged. Restrictions The TFTP server must be on the same IP subnet as the switch. level users can issue this command. Example Usage: DES3226S:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121 c:\cfg\setting.txt...
  • Page 91 − specifies that the switch’s current settings will be uploaded to the TFTP server. log − specifies that the switch history log will be uploaded to the TFTP server. <ipaddr> − the IP address of the TFTP server. The TFTP server must be on the same IP subnet as the switch.
  • Page 92 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide c:\cfg\log.txt Command: upload configuration 10.48.74.121 c:\cfg\log.txt Connecting to server... Done. Upload configuration...Done. DES3226S:4# Download/Upload Commands...
  • Page 93: Network Monitoring Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ETWORK 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 94 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions none.
  • Page 95 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ------------ ------------ ---------- 3275 RX Bytes 65-127 RX Frames 128-255 256-511 TX Bytes 512-1023 TX Frames 1024-1518 Unicast RX Multicast RX 557 Broadcast RX 3686 Broadcast RX 4495 Network Monitoring Commands ----------...
  • Page 96 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions none.
  • Page 97 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226:4# show errors port 1:3 RX Frames --------------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment Excessive Collision Jabber Single Collission Drop Pkts Collision Network Monitoring Commands TX Frames...
  • Page 98 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show utilization Purpose Used to display real-time port utilization statistics. Syntax show utilization Description This command will display the real-time port utilitization statistics for the switch. Parameters none. Restrictions none. Example Usage:...
  • Page 99 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 1:13 1:14 1:15 2:10 1:16 2:11 1:17 2:12 1:18 2:13 1:19 2:14 1:20 2:15 1:21 2:16 Network Monitoring Commands...
  • Page 100 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions Only administrator-level users can issue this command.
  • Page 101 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 102 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 103: Spanning Tree Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide PANNING The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config stp maxage <value> hellotime <value> forwarddelay <value>...
  • Page 104 This command is used to setup the Spanning Tree Protocol (STP) for the entire switch. Parameters maxage <value> − the maximum amount of time (in seconds) that the switch will wait to receive a BPDU packet before reconfiguring STP. The default is 20 seconds. hellotime <value>...
  • Page 105 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config stp switch. The default is enabled. Restrictions Only administrator-level users can issue this command. Example Usage: To set maxage to 18 and hellotime to 4 : DES3226S:4#config stp maxage 18 hellotime 4 Command: config stp maxage 18 hellotime 4 Success.
  • Page 106 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and − this defines a metric that specifies a range of ports to be...
  • Page 107 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config stp ports switch 2, port 4 − in numerical order. state [enabled/disabled] − allows STP to be enabled or disabled for the ports specified in the port list. The default is disabled.
  • Page 108 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide enable stp Purpose Used to globally enable STP on the switch. Syntax enable stp Description This command allows the Spanning Tree Protocol to be globally enabled on the switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 109 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 110 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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: Status 1 : STP enabled...
  • Page 111 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Status 2 : STP Disabled DES3226S:4#show stp Command: show stp STP Status : Disabled Max Age : 18 Hello Time Forward Delay : 15 Priority : 32768 Forwarding BPDU : Enabled DES3226S:4#...
  • Page 112 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions...
  • Page 113 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Name ---- ---------------- ----------- ----- Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19...
  • Page 114: Layer 2 Forwarding Database Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide AYER ATABASE 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> <macaddr> port <port>...
  • Page 115 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters show vlan <vlan_name> multicast_fdb mac_address <macaddr> show fdb port <port> vlan <vlan_name> mac_address <macaddr> static aging_time Each command is listed, in detail, in the following sections. Layer 2 Forwarding Database Commands...
  • Page 116 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create fdb Purpose Used to create a static entry to the unicast MAC address forwarding table (database) Syntax create fdb <vlan_name> <macaddr> [port <port>] Description This command will make an entry into the switch’s unicast MAC address forwarding...
  • Page 117 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create multicast_fdb Purpose Used to create a static entry to the multicast MAC address forwarding table (database) Syntax create multicast_fdb <vlan_name> <macaddr> Description This command will make an entry into the switch’s multicast MAC address forwarding database.
  • Page 118 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions...
  • Page 119 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config multicast_fdb command. Example Usage: To add multicast MAC forwarding: DES3226S:4# config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Command: config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Success. DES3226S:4# Layer 2 Forwarding Database Commands...
  • Page 120 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config macentry unicast aging_time Purpose Used to configure the switch’s MAC address aging time. Syntax config macentry <sec> Description This command is used to set the age-out timer for the switch’s dynamic unicast MAC address forwarding tables.
  • Page 121 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide delete fdb Purpose Used to delete an entry to the switch’s forwarding database. Syntax delete fdb <vlan_name> <macaddr> Description This command is used to delete a previous entry to the switch’s MAC address forwarding database.
  • Page 122 <port> − The port number corresponding to the MAC destination address. The switch will always forward traffic to the specified device through this port. all − clears all dynamic entries to the switch’s forwarding database. Restrictions Only administrator-level users can issue this command.
  • Page 123 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. Syntax show <vlan_name>/mac_address <macaddr> Description This command is used to display the current contents of the switch’s multicast MAC address forwarding database.
  • Page 124 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# show fdb Purpose Used to display the current unicast MAC address forwarding database. Syntax show <vlan_name>/mac_address <macaddr>/static/aging_time} Description This command will display the current contents of the switch’s forwarding database. Parameters <port>...
  • Page 125 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To display unicast MAC address table: DES3226S:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID VLAN Name MAC Address ---- ---------------- ----------------- default 00-00-00-00-01-01 default 00-00-00-00-01-02...
  • Page 126: Broadcast Storm Control Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ROADCAST ONTROL 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 <storm_grouplist> control broadcast [enabled/disabled]...
  • Page 127 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config traffic control Purpose Used to configure broadcast/multicast traffic control. Syntax config [<storm_grouplist>/all] [enabled/disabled]/multicast [enabled/disabled]/dlf [enabled/disabled]/threshold <value> Description This command is used to configure broadcast storm control. Parameters <storm_grouplist> broadcast storm control group with the syntax: module_id:group_id.
  • Page 128 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config traffic control Restrictions Only administrator-level users can issue this command. Example Usage: To configure traffic control and state: DES3226S:4#config traffic control 1:1-1:3,2:1-2:2 broadcast enabled Command: config traffic control 1:1-1:3,2:1-2:2 broadcast enabled Success.
  • Page 129 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show traffic control Purpose Used display settings. Syntax show traffic control <storm_grouplist> Description This command displays the current storm traffic control configuration on the switch. Parameters group_list <storm_grouplist> − used to specify a broadcast storm control group with the syntax: module_id:group_id.
  • Page 130 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 1 [ 1 - 8 ] Enabled Disabled Disabled 2 [ 9 - 16] Enabled Disabled Disabled 3 [17 - 24] Disabled Disabled Disabled 4 [ 25 ] 128 Disabled Disabled Disabled...
  • Page 131: Ip Filtering Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide IP F The IP filtering commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create ipfilter <ipaddr> [src/dst/either] delete ipfilter <ipaddr>...
  • Page 132 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create ipfilter Purpose Used to enter an IP address that will be filtered from the switch. Syntax create ipfilter <ipaddr> [src/dst/either] Description The command allows you to select an IP address to be filtered from the switch. This...
  • Page 133 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To create IP filter: 10.48.75.100: DES3226S:4#create ipfilter 10.48.75.100 src Command: create ipfilter 10.48.75.100 src Success. DES3226S:4# IP Filtering Commands...
  • Page 134 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide delete ipfilter Purpose Used to delete a previous entry into the IP filtering table Syntax delete ipfilter <ipaddr> Description This command is used to delete an entry made to the IP address filtering table.
  • Page 135 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show ipfilter Purpose Used to display the switch’s current IP filtering table. Syntax show ipfilter {<ipaddr>} Description This command will display the switch’s current IP filtering table. In addition, you can specify an IP address where you want the table to begin displaying.
  • Page 136: Qos Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide QOS C The MAC address priority commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config mac <macaddr> priority_add ipaddress <ipaddr>...
  • Page 137 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters show scheduling config 802.1p <portlist> user_priority <class_id> show 802.1p user_priority config 802.1p <portlist> default_priority <priority> show 802.1p <portlist> default_priority Each command is listed, in detail, in the following sections. QOS Commands...
  • Page 138 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config priority_add Purpose Used to specifiy critera an incoming packet must meet to determine that packet’s priority treatment within the switch. This command specifies priority treatment of packets within the switch (or switch stack) and a given packet will have its 802.1p user...
  • Page 139 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config priority_add action the switch will take. The first part of the command contains the following parameters: [mac <macaddr>/ipaddress <ipaddr>/802.1p <value>/tcp <tcp_port_number>/udp <udp_port_number>] These parameters define what characteristics an incoming packet must meet. One or more of the above parameters must be defined.
  • Page 140 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config priority_add ipaddress <ipaddr> − The IP address that must be the destination address in an incoming packet for the second part of the command to be executed. 802.1p <value> − The value of the 802.1p user...
  • Page 141 This priority is for internal use by the switch to determine which of the switch’s 4 hardware priority queues the packet will be forwarded to.
  • Page 142 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Success. config priority delete Purpose Used to delete previously entered priority critera and subsequent action − as previously entered into the switch using the config priority_add command described above. The scheme to be deleted is identified by the combination of critera parameters.
  • Page 143 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide must be the destination address in an incoming packet for the second part of the command to be executed. 802.1p <value> − The value of the 802.1p user priority (between 0 and 7, with 0 being the...
  • Page 144 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show priority Purpose Used to display the current priority settings on the switch. Syntax show priority Description This command will display the current priority settings on the swich. Parameters none. Restrictions none.
  • Page 145 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config scheduling Purpose Used to configure the traffic scheduling mechanism for each COS queue. Syntax config scheduling <class_id> [max_packet <value>/max_latency <value>] Description The switch contains 4 hardware priority queues. Incoming packets must be mapped to one of these four queues.
  • Page 146 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config scheduling packets. A value between 0 and 255 can be specified. For example, if a value of 3 is specified, then the highest hardware priority queue (number 3) will be allowed to transmit 3 packets −...
  • Page 147 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config scheduling number hardware priority queue will be allowed to transmit before allowing the next lowest priority queue to transmit its packets. A value between 0 and 255 can be specified. max_latency <value> − Specifies the maximum...
  • Page 148 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# show scheduling Purpose Used to display the current traffic scheduling mechanisms in use on the switch. Syntax show scheduling Description This command will display the current traffic scheduling mechanisms in use on the switch.
  • Page 149 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide QOS Commands...
  • Page 150 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet to one of the four hardware queues available on the switch. Syntax config 802.1p user_priority <priority> <class_id>...
  • Page 151 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config 802.1p user_priority This mapping recommendations contained in IEEE 802.1D. You can change this mapping by specifying the 802.1p user priority you want to go to the <class_id> (the number of the hardware queue).
  • Page 152 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show 802.1p user_priority Purpose Used to display the current 802.1p user priority to hardware priority queue mapping in use by the switch. Syntax show 802.1p user_priority Description This command will display the current 802.1p user priority to hardware priority queue mapping in use by the switch.
  • Page 153 1, port 3. specifies switch number 2, port 4. specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Specifies that the command applies to all QOS Commands...
  • Page 154 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config 802.1p default_priority ports on the switch (or in the switch stack). <priority> − The priority value you want to assign to untagged packets received by the switch or a range of ports on the switch.
  • Page 155 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show 802.1p default_priority Purpose Used to display the current default priority settings on the switch. Syntax show 802.1p default_priority Description This command is used to display the current default priority settings on the switch.
  • Page 156 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# QOS Commands...
  • Page 157: Port Mirroring Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 158 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. rx − Allows the mirroring of only packets...
  • Page 159 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config mirror port received (flowing into) the port or ports in the port list. tx − Allows the mirroring of only packets sent (flowing out of) the port or ports in the port list.
  • Page 160 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config mirror delete Purpose Used to delete a port mirroring configuration/ Syntax config mirror <port> delete source <portlist> [rx/tx/both] Description This command is used to delete a previously entered port mirroring configuration.
  • Page 161 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4#config mirror 1:5 delete source 1:1-1:5 both Command: config mirror 1:5 delete source 1:1-1:5 both Success. DES3226S:4# Port Mirroring Commands...
  • Page 162 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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,...
  • Page 163 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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,...
  • Page 164 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 165: Vlan Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide VLAN C 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> tag <vlanid> advertisement delete vlan <vlan_name>...
  • Page 166 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters disable gvrp show vlan <vlan_name> show gvrp <portlist> Each command is listed, in detail, in the following sections. VLAN Commands...
  • Page 167 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide create vlan Purpose Used to create a VLAN on the switch. Syntax create vlan <vlan_name> {tag <vlanid>/advertisement} Description This command allows you to create a VLAN on the switch. Parameters <vlan_name> − The name of the VLAN to be created.
  • Page 168 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# delete vlan Purpose Used to delete a previously configured VLAN on the switch. Syntax delete vlan <vlan_name> Description This command will delete a previously configured VLAN on the switch. Parameters <vlan_name> −...
  • Page 169 (also separeted by a colon) are specified. The beginning and end of the port list range are seperated by a dash. For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port VLAN Commands...
  • Page 170 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config vlan add ports 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions Only administrator-level users can issue this command.
  • Page 171 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions Only administrator-level users can issue this command.
  • Page 172 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide To delete 4 through 8 of module 2 to the VLAN v1: DES3226S:4#config vlan v1 delete 2:4-2:8 Command: config vlan v1 delete 2:4-2:8 Success. DES3226S:4# VLAN Commands...
  • Page 173 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config vlan advertisement Purpose Used enable advertisement. Syntax config vlan <vlan_name> advertisement [enabled/disabled] Description This command is used to enable or diable GVRP on the specified VLAN. Parameters <vlan_name> − The name of the VLAN on which you want to enable or disable GVRP.
  • Page 174 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Specifies all of the ports on the switch.
  • Page 175 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config gvrp port list. pvid <value> − The PVID is used by the port to tag outgoing, untagged packets, and to make filtering decisions about incoming packets. If the port is specified as tagging,...
  • Page 176 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 177 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 178 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show vlan Purpose Used display configuration on the switch Syntax show vlan {<vlan_name>} Description This command displays summary information about each VLAN including the VLAN ID, VLAN name, the Tagging/Untagging status, status of each port that is a member of the VLAN.
  • Page 179 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide VLAN TYPE : static Advertisement Member ports : 1:26,2:26 Static ports : 1:26,2:26 Untagged ports : Forbidden ports : Total Entries : 2 DES3226S:4# VLAN Commands : Disabled...
  • Page 180 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions none.
  • Page 181 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Port PVID GVRP Ingress Checking ---- -------- -------- -------------------- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled 1:10 Disabled Disabled 1:11 Disabled...
  • Page 182 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Disabled Disabled 2:10 Disabled Disabled 2:11 Disabled Disabled 2:12 Disabled Disabled 2:13 Disabled Disabled 2:14 Disabled Disabled 2:15 Disabled Disabled 2:16 Disabled Disabled 2:17 Disabled Disabled 2:18 Disabled Disabled 2:19 Disabled Disabled...
  • Page 183: Link Aggregation Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide GGREGATION 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> link_aggregation delete group_id <value> link_aggregation config group_id <value>...
  • Page 184 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Each command is listed, in detail, in the following sections. create link_aggregation group_id Purpose Used to create a link aggregation group on the switch. Syntax create link_aggregation <value> Description This command will create a link aggregation group.
  • Page 185 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide delete link_aggregation group_id Purpose Used to delete a previously configured link aggregation group. Syntax delete link_aggregation <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 186 The beginning and end of the port list range are seperated by a dash. For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between Link Aggregation Commands...
  • Page 187 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config link_aggregation switch 1, port 3 and switch 2, port 4 − in numerical order. state [enabled/disabled] − Allows you to enable aggregation group. Restrictions Only administrator-level users can issue this command.
  • Page 188 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config link_aggregation algorithm Purpose Used to configurer the link aggregation algorithm. Syntax config link_aggregation algorithm [mac_source/mac_destination/mac_source_des t/ 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 189 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To configure link aggregation algorithm for mac-source-dest: DES3226S:4#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success. DES3226S:4# Link Aggregation Commands...
  • Page 190 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 191: Ip Interface Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide IP I 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 vlan <vlan_name> ipaddress <network_address>...
  • Page 192 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config ipif System Purpose Used to configure the System IP interface. Syntax config ipif System [{vlan <vlan_name>/ipaddress <network_address>/state [enabled/disabled]/bootp/dhcp}] Description This command is used to configure the System IP interface on the switch.
  • Page 193 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To configure the IP interface System: DES3226S:4#config ipif System ipaddress 10.48.74.122/8 Command: config ipif System ipaddress 10.48.74.122/8 Success. DES3226S:4# IP Interface Commands...
  • Page 194 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show ipif Purpose Used to display the configuration of an IP interface on the switch. Syntax show ipif {<ipif_name>} Description This command will display the configuration of an IP interface on the switch.
  • Page 195 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide DES3226S:4# IP Interface Commands...
  • Page 196: Igmp Snooping Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide IGMP S 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> igmp_snooping host_timeout <sec> router_timeout <sec>...
  • Page 197 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Command Parameters enable igmp forward_mcrouter_only snopping show igmp vlan <vlan_name> snooping show router ports vlan <vlan_name> static dynamic Each command is listed, in detail, in the following sections. IGMP Snooping Commands...
  • Page 198 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping Purpose Used to configurer IGMP snooping on the switch. Syntax config igmp_snooping [<vlan_name>/all] {host_timeout <sec>/router_timeout <sec>/leave_timer <sec>/state [enabled/disabled]} Description This command allows you to configure IGMP snooping on the switch/ Parameters <vlan_name>...
  • Page 199 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping Restrictions Only administrator-level users can issue this command. Example Usage: To configure the igmp snooping: DES3226S:4#config igmp_snooping default host_timeout 250 state enabled Command: config igmp_snooping default host_timeout 250 state enabled Success.
  • Page 200 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping querier Purpose Used to configure the time in seconds between general query transmissions, the maximum time in seconds to wait for reports from members, the permitted packet loss that guarantees IGMP snooping.
  • Page 201 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping querier message intervals: • Group member interval—Amount of time multicast router decides there are no more members of a group on a network. This interval is calculated as follows: (robustness variable x query interval) + (1 x query response interval).
  • Page 202 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping querier in response to leave-group messages. You might lower this interval to reduce the amount of time it takes a router to detect the loss of the last member of a group state [enabled/disabled] −...
  • Page 203 For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions Only administrator-level users can issue this command.
  • Page 204 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To set up static router ports: DES3226S:4#config router_ports default add 2:1-2:10 Command: config router_ports default add 2:1-2:10 Success. DES3226S:4# IGMP Snooping Commands...
  • Page 205 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 forward_mcrouter_only is specified, the switch will forward all multicast traffic to the multicast router, only.
  • Page 206 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 207 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show igmp_snooping Purpose Used to show the current status of IGMP snooping on the switch. Syntax show igmp_snooping {vlan <vlan_name>} Description This command will display the current IGMP snooping configuration on the switch.
  • Page 208 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Querier Router Behavior : Non-Querier State : Disabled VLAN Name : vlan2 Query Interval : 125 Max Response Time : 10 Robustness Value Last Member Query Interval : 1 Host Timeout : 260...
  • Page 209 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the switch. Syntax show igmp_snooping group {vlan <vlan_name>} Description This command will display the current IGMP snooping group configuration on the swtich.
  • Page 210 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Port Member : 1:26,2:7 VLAN Name : default Multicast group: 234.5.6.7 MAC address : 01-00-5E-05-06-07 Reports Port Member : 1:26,2:9 VLAN Name : default Multicast group: 236.54.63.75 MAC address : 01-00-5E-36-3F-4B Reports...
  • Page 211 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show router_ports Purpose Used to display the currently configured router ports on the switch. Syntax show router_ports {vlan <vlan_name>} {static/dynamic} Description This command will display the router ports currently configured on the switch.
  • Page 212 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Dynamic router port : Total Entries: 2 DES3226S:4# IGMP Snooping Commands...
  • Page 213: Stacking Configuration Commands

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide ONFIGURATION 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 master mode auto slave standalone show stacking...
  • Page 214 Syntax config stacking mode [master/auto/slave/standalone] Description Parameters master − The switch in the switch stack that becomes the management switch. auto − Automatically determine the master switch and the stacking order based upon the numerical value of the individual switch’s MAC address.
  • Page 215 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show stacking Purpose Used to display the current stacking mode. Syntax show stacking {mode/version} Description This command will display the current stacking mode. Parameters mode − Displays the current stacking mode. version − Displays the version number of the stacking firmware.
  • Page 216: Command History List

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide OMMAND The switch port 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 217 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Purpose Used display Command Line Interface (CLI). Syntax Description This command commands available through the Command Line Interface (CLI). Parameters none. Restrictions none. Usage Example To display all of the commands in the CLI:...
  • Page 218 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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. Usage Example To display the command history: DES3226S:4#show command_history...
  • Page 219 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide show router ports login DES3226S:4# Command History List...
  • Page 220 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Purpose Used to display all commands. Syntax Description This command will display all commands. Parameters none. Restrictions none. Usage Example To display all of the commands: DES3226S:4#dir Command: dir clear clear arptable...
  • Page 221 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide config gvrp config igmp config igmp snooping config ingress_checking config ipif config ipif System - more - Command History List...
  • Page 222 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 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 <value> − Restrictions none. Usage Example To configure the command history:...
  • Page 223: Technical Specifications

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide PECIFICATIONS General Standards: IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z 1000BASE-SX Gigabit Ethernet IEEE 802.1 P/Q VLAN IEEE 802.3x Full-duplex Flow Control ANSI/IEEE 802.3 Nway auto-negotiation Protocols: CSMA/CD...
  • Page 224: Physical And Environmental

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide General Network Cables: 10BASE-T: 2-pair UTP Cat. 3,4,5 (100 m) EIA/TIA- 568 100-ohm STP (100 m) 100BASE-TX: 2-pair UTP Cat. 5 (100 m) EIA/TIA-568 100-ohm STP (100 m) Fiber Optic: IEC 793-2:1992 Type A1a - 50/125um multimode Type A1b - 62.5/125um multimode...
  • Page 225 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Physical and Environmental Weight: 2 kg EMI: FCC Class A, CE Class A, VCCI Class A, BSMI Class A, C-Tick Class A FCC Part 15/IECES-003 (Canada), VCCI Class A ITE, EN55022/EN50082-1 or EN%%o24, C-Tick...
  • Page 226: Switch System Messages

    DES-3226S Layer 2 Fast Ethernet Switch User’s Guide WITCH Message “Success.” “Error applying data!” "Invalid IP address!” “Invalid subnet mask!” “Invalid gateway address!” “All changes are saved!” "Invalid MAC address!” "No more MAC-Based VLANs can be added!” "No more MAC addresses can be added!”...
  • Page 227 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide "Invalid metrics!” "Flow Control is not Enabled!” "Spanning tree group name cannot be empty!” "The IP interface must be deleted first!” "The system interface is not in manual mode!” "The VLAN already has a IP Interface!”...
  • Page 228 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide "Master port can't be half-duplex mode!” "The EEPROM is full!” "The VLAN has no router ports.” "IGMP snooping is disabled in the designated VLAN.” "The username is invalid.” "Incorrect password” "The specified user already exists. Enter a unique username.”...
  • Page 229 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide VLAN.” "The member port must exist in the VLAN.” "Duplicate route! Enter a unique route.” "Target port can't be source port!” "This port member can't be set.” "Port members must belong to the same VLAN.”...
  • Page 230 DES-3226S Layer 2 Fast Ethernet Switch User’s Guide Maxmum Variable Name Length <username> <password> <ipaddr> <netmask> <gateway> <vlan_name> <sw_name> <sw_location> <sw_contact> Password <community_string> <server_ip> <path_filename> <macaddr> <ipif> Type String String IP-Address IP-Address IP-Address String String String String String String IP-Address...
  • Page 231 D-LINK TAIWAN 2F, No. 119 Pao-Chung Road, Hsin-Tien, Taipei, Taiwan TEL: 886-2-2910-2626 FAX: 886-2-2910-1515 WEB: www.dlinktw.com.tw U.K. D-LINK EUROPE D-Link House, 6 Garland Road, Stanmore, London HA7 1DP U.K. TEL: 44-181-235-5555 FAX: 44-181-235-5500 WEB: www.dlink.co.uk E-MAIL: info@dlink.co.uk U.S.A. D-LINK U.S.A.
  • Page 232: Registration Card

    Engineering Education Finance Retail/Chainstore/Wholesale Government Transportation/Utilities/Communication System house/company Other________________________________ 9. Would you recommend your D-Link product to a friend? Don't know yet 10.Your comments on this product? __________________________________________________________________________________________ __________________________________________________________________________________________ * Product installed in computer serial No. Personal Use 1000 or more...

This manual is also suitable for:

Des-3226Des-3226s

Table of Contents