D-Link DES-3226L Reference Manual
D-Link DES-3226L Reference Manual

D-Link DES-3226L Reference Manual

Layer 2 switch
Hide thumbs Also See for DES-3226L:

Advertisement

Quick Links

0.
DES-3226L
Layer 2 Switch

Command Line Interface

Reference Manual

First Edition (September 2003)
651S3226L015
Printed In China
RECYCLABLE
i

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DES-3226L

  • Page 1: Command Line Interface

    DES-3226L Layer 2 Switch Command Line Interface Reference Manual First Edition (September 2003) 651S3226L015 Printed In China RECYCLABLE...
  • Page 2: 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 the United States Copyright Act of 1976.
  • Page 3: Table Of Contents

    Table of Contents Introduction ................5 Using the Console CLI ............10 Command Syntax..............18 Basic Switch Commands............23 Switch Port Commands ............41 Network Management Commands ......... 46 Utility Commands ..............78 Network Monitoring Commands ..........83 Spanning Tree Commands ..........108 Layer 2 Forwarding Database Commands ......
  • Page 4 IP Interface Commands ............162 IGMP Snooping Commands..........166 Routing Table Commands ........... 179 802.1X Commands ............. 183 SSH Commands ..............209 Command History List ............220 Technical Specifications ............225...
  • Page 5: Introduction

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 6 Figure 1-1. Initial Console screen. There is no initial username or password. Just press the Enter key twice to display the CLI input cursor − DES-3226L:4#. This is the command line where all commands are input. Setting the Switch’s IP Address...
  • Page 7 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide The switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found by entering the “show switch” command into the command line interface, as shown below.
  • Page 8 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 1. Starting at the command line prompt DES-3226L:4# − enter the commands config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the IP interface named System and the y’s represent the corresponding subnet mask.
  • Page 9 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide In the above example, the switch was assigned an IP address of 10.53.13.188 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

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide SING THE ONSOLE The DES-3226L 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.
  • Page 11 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide terminal emulator program (e.g., the HyperTerminal program included with the Windows operating system) using an RS-232C serial cable. Your terminal parameters will need to be set to: • VT-100 compatible • 9,600 baud •...
  • Page 12 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DES- 3226L: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...
  • Page 13 DES-3226L 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:...
  • Page 14 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 <username> with message, Next possible completions:.
  • Page 15 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Figure 2-4. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username> prompt.
  • Page 16 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Figure 2-5. 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?”...
  • Page 17 DES-3226L 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 18: Command Syntax

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide OMMAND YNTAX 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 online help contained in the CLI and available through the console interface uses the same syntax.
  • Page 19 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide [square brackets] Purpose Encloses a required value or set of required arguments. more values arguments can be specified. create account [admin|user] Syntax Description In the above syntax example, you must specify either an admin or a user level account to be created.
  • Page 20 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide {braces} Purpose Encloses an optional value or set of optional arguments. config igmp [<ipif_name>|all] {version Syntax <value>|query_interval <sec>|max_response_time <sec>| robustness_variable <value>|last_member_query_interval <value>|state [enable|disable]} Description In the above syntax example, you must choose to enter an IP interface name in the <ipif_name>...
  • Page 21 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Line Editing Key Usage line to the left. Insert Can be toggled on or off. When toggled on, inserts text at the current cursor position and shifts the remainder of the line to the left.
  • Page 22 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Line Editing Key Usage Enter Displays the next line or table entry.
  • Page 23: Basic Switch Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide ASIC WITCH OMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create account [admin | user] <username 15>...
  • Page 24 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters save reboot reset {config | system} login logout Each command is listed, in detail, in the following sections. create account Purpose Used to create user accounts Syntax create account [admin|user] <username>...
  • Page 25 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To create an administrator-level user account with the username “dlink”: DES-3226L:4#create account admin dlink Command: create account admin dlink Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success.
  • Page 26 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To configure the user password of “dlink” account: DES-3226L:4#config account dlink Command: config account dlink Enter a old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success.
  • Page 27 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide System user dlink Admin DES-3226L:4# 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 28 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show session Syntax show session Description This command displays a list of all the users that are logged-in at the time the command is issued. Parameters none Restrictions none. Example Usage: To display the way that the users logged in:...
  • Page 29 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To display the switch information: DES-3226L:4#show switch Command: show switch Device Type : DES-3226L Fast-Ethernet Switch MAC Address : 00-10-00-32-26-04 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0...
  • Page 30 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show serial_port Description This command displays the current serial port settings. Parameters none. Restrictions None Example Usage: To display the serial port setting: DES-3226L:4#show serial_port Command: show serial_port Baud Rate : 9600...
  • Page 31 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config serial_port Parameters [9600|19200|38400|115200] − The serial bit rate that will be used to communicate with the management host. never − No time limit on the length of time the console can be open with no user input.
  • Page 32 DES-3226L 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. enable clipaging Syntax Description This command is used when issuing the...
  • Page 33 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable clipaging more than one screen of information. Syntax disable clipaging Description This command is used to disable the pausing of the console screen at the end of each page when the show command would...
  • Page 34 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide enable telnet specify the TCP or UDP port number the switch will use to listen for Telnet requests. Parameters − <tcp_port_number> port number. TCP ports are numbered between 1 and 65535. The “well-known” TCP port for the Telnet protocol is 23.
  • Page 35 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To disable the Telnet protocol on the switch: DES-3226L:4#disable telnet Command: disable telnet Success. DES-3226L:4# enable web Purpose Used enable HTTP-based management software on the switch. Syntax enable web <tcp_port_number>...
  • Page 36 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Success. DES-3226L:4# disable web Purpose Used disable 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 none Example Usage:...
  • Page 37 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 restarted.
  • Page 38 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide To restart the switch: DES-3226L:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y/n) Please wait, the switch is rebooting... reset Purpose Used to reset the switch to the factory default settings.
  • Page 39 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To restore all of the switch’s parameters to their default values: DES-3226L:4#reset config Command: reset config Success. DES-3226L:4# login Purpose Used to log in a user to the switch’s console.
  • Page 40 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#login Command: login UserName: Trinity Password:******* DES-3226L:4# logout Purpose Used to log out a user from the switch’s console. logout Syntax Description This command terminates the current user’s session on the switch’s console.
  • Page 41: Switch Port Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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_full| |1000_full] flow_control [enable |disable]...
  • Page 42 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ports [auto|10_half|10_full|100_half|100_full| 1000_full] flow_control [enabled|disabled] learning [enabled|disabled] state [enabled|disabled]} Description This command allows for the configuration of the switch’s Ethernet ports. Only the ports listed in the <portlist> will be effected.
  • Page 43 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ports flowcontrol [enabled|disabled] − Enables or disables flow control for the specified range of ports. − learning [enabled|disabled] Enables disables the MAC address learning on the specified range of ports. state [enabled|disabled] − Enables or disables the specified range of ports.
  • Page 44 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show ports Purpose Used display 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. Parameters <portlist>...
  • Page 45 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show ports 1-7 Port Port Settings Connection Address State Speed|Duplex|FlowCtrl Speed|Duplex|FlowCtrl Learning ---- -------- --------------------- --------------------- -------- Enabled Auto|Disabled Link Down Enabled Enabled Auto|Disabled Link Down Enabled Enabled Auto|Disabled Link Down Enabled...
  • Page 46: Network Management Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide ETWORK ANAGEMENT OMMANDS The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. The DES-3226L 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.
  • Page 47 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide algorithms − AuthNoPriv MD5 DES or SHA Authentication is based on the HMAC-MD5 or HMAC-SHA algorithms − AuthPriv. DES 56-bit encryption is added based on the CBC-DES (DES-56) standard Command Parameters create snmp user <username 32>...
  • Page 48 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters show snmp engineID create snmp <groupname 32> [v1 | v2c | v3 group [noauth_nopriv | auth_nopriv | auth_priv]]{read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>} delete snmp <groupname 32>...
  • Page 49 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Each command is listed, in detail, in the following sections. create snmp user Purpose Used to create a new user to an SNMP group originated by this command. Syntax create snmp user <username 32>...
  • Page 50 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp user by_key - indicate input key for authentication and privacy auth - Initiates an authentication level setting session.The options are md5 and sha . md5 - The HMAC-MD5-96 authentication level.
  • Page 51 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#create snmp user dlink D-Link_group encrypted by_password auth md5 12345678 priv des 12345678 Command: create snmp user dlink D-Link_group encrypted by_password auth md5 12345678 priv des 12345678 Success. DES-3226L:4# delete snmp user...
  • Page 52 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show snmp user Purpose Used to display information on each SNMP username in the group username table. Syntax show snmp user Description The show snmp user command displays information on each SNMP username in the group username table.
  • Page 53 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show snmp groups Purpose Used to display the names of groups on the switch and the security model, level, the status of the different views. Syntax show snmp groups Description The show snmp groups command displays...
  • Page 54 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : public ReadView Name : CommunityView WriteView Name : Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level : NoAuthNoPriv...
  • Page 55 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv Group Name : ReadGroup ReadView Name : CommunityView WriteView Name : Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level : NoAuthNoPriv...
  • Page 56 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Group Name : WriteGroup ReadView Name : CommunityView WriteView Name : CommunityView Notify View Name : CommunityView Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv Group Name : D-Link_group ReadView Name : CommunityView...
  • Page 57 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp view included – included for this view excluded – excluded for this view Restrictions Only administrator-level users can issue this command. Example Usage: To create a snmp view: DES-3226L:4# create snmp view dlinkview 1.3.6 view_type included Command: create snmp view dlinkview 1.3.6 view_type included...
  • Page 58 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide delete snmp view Restrictions Only administrator-level users can issue this command. Example Usage: To delete SNMP view “dlink”: DES-3226L:4# delete snmp view dlinkview all Command: delete snmp view dlinkview all Success. DES-3226L:4#...
  • Page 59 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Vacm View Table Settings View Name Subtree View Type -------------------- ------------------------- ---------- restricted 1.3.6.1.2.1.1 Included restricted 1.3.6.1.2.1.11 Included restricted 1.3.6.1.6.3.10.2.1 Included restricted 1.3.6.1.6.3.11.2.1 Included restricted 1.3.6.1.6.3.15.1.1 Included CommunityView Included CommunityView 1.3.6.1.6.3 Excluded CommunityView 1.3.6.1.6.3.1...
  • Page 60 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp community objects accessible community. Syntax create snmp community <community string 33> view <view_name 32> [read_only|read_ write] Description This command is used to create a SMNP community string. Parameters <community_string> − An alphanumeric string of up to 33 characters that is used to identify members of an SNMP community.
  • Page 61 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To create the SNMP community string “dlink”: DES-3226L:4# create snmp community dlink view CommunityView read_write Command: create snmp community dlink view CommunityView read_write Success. DES-3226L:4# delete snmp community Purpose Used...
  • Page 62 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4# delete snmp community dlink Command: delete snmp community dlink Success. DES-3226L:4# show snmp community Purpose Used to display SNMP community strings configured on the Switch. Syntax show snmp community {<community_string 33>}...
  • Page 63 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Community Name View Name Access Right -------------------------------- -------------------------------- ------------ dlink ReadView read_write private CommunityView read_write public CommunityView read_only Total Entries: 3 DES-3226L:4# config snmp engineID Purpose Used to configure a name for the SNMP engine on the switch.
  • Page 64 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4# show snmp engineID Purpose Used to display the identification of the SNMP engine on the switch. show snmp engineID Syntax Description show snmp engineID command displays the identification of the SNMP engine on the switch.
  • Page 65 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp group Purpose Used to create a new SNMP group, or a table that maps SNMP users to SNMP views. create snmp group <groupname 32> Syntax [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv]] {read_view <view_name 32>|notify_view <view_name 32>|notify_view...
  • Page 66 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide be used. SNMP v3 provides secure access to devices through a combination of authentication and encrypting packets over the network. SNMP v3 adds: • Message integrity − ensures that packets have not been tampered with in transit.
  • Page 67 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide <view_name 32> − An alphanumeric string of up to 32 characters that is used to identify the group of MIB objects that a remote SNMP manager is allowed to access on the switch.
  • Page 68 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide delete snmp group Parameters <groupname 32> − An alphanumeric name of up to 32 characters that will identify the SNMP group the new SNMP user will be associated with. Restrictions Only administrator-level users can issue this command.
  • Page 69 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp host SNMP host for the switch. v1 – Specifies that SNMP version 1 will be used. The Simple Network Management Protocol (SNMP), version 1, is a network management protocol that provides a means to monitor and control network devices.
  • Page 70 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create snmp host noauth_nopriv − Specifies that there will be no authorization and no encryption of packets sent between the switch and a remote SNMP manager. auth_nopriv − Specifies that authorization will be required, but...
  • Page 71 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 72 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show snmp host Syntax show snmp host {<ipaddr>} Description The show snmp host command is used to display the IP addresses and configuration information of remote SNMP managers that are designated as recipients of SNMP traps that are generated by the Switch’s SNMP...
  • Page 73 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide enable rmon Purpose Used to enable RMON on the switch. enable rmon Syntax Description This command is used, in conjunction with the disable RMON command below, to enable and disable remote monitoring (RMON) on the switch.
  • Page 74 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable rmon the Switch. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To disable RMON: DES-3226L:4#disable rmon Command: disable rmon Success. DES-3226L:4# enable snmp traps Purpose Used to enable SNMP trap support.
  • Page 75 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#enable snmp traps Command: enable snmp traps Success. DES-3226L:4# disable snmp traps Purpose Used to disable SNMP trap support on the switch. enable snmp traps Syntax Description This command is used to disable SNMP trap support on the Switch.
  • Page 76 DES-3226L 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 77 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable snmp authenticate traps Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To turn off SNMP authentication trap support: DES-3226L:4#disable snmp authenticate traps Command: disable snmp authenticate traps Success.
  • Page 78: Utility Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide TILITY 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> configuration <ipaddr><path_filename> {increment}] upload [configuration | log] <ipaddr>...
  • Page 79 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide download Description This command is used to download a new firmware or a switch configuration file from a TFTP server. Parameters firmware − Download and install new firmware on the switch from a TFTP server.
  • Page 80 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121 c:\cfg\setting.txt Connecting to server....Done. Download configuration..... Done. DES-3226L:4# upload Purpose Used to upload the current switch settings or the switch history log to a TFTP server.
  • Page 81 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide upload Restrictions The TFTP server must be on the same IP subnet as the switch. Only administrator- level users can issue this command. Example Usage: To upload a configuration file: DES-3226L:4#upload configuration 10.48.74.121 c:\cfg\log.txt...
  • Page 82 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide ping times <value> − The number of individual ICMP echo messages to be sent. A value of 0 will send an infinite ICMP echo messages. The maximum value is 255. The default is timeout <sec>...
  • Page 83: Network Monitoring Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 <portlist> ports show error <portlist>...
  • Page 84 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters create syslog config syslog host [all|<index 1-4>] {severity host [informational|warning|all]| facility[local0|local1|local2|local3| local4|local5|local6|local7]|udp_port<int>| ipaddress <ipaddr>| state[enable|disable] delete syslog [<index 1-4> |all] host show syslog [index 1-4>] host Each command is listed, in detail, in the following sections.
  • Page 85 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To display the packets analysis for port 7: DES-3226L:4# show packet port 7 Port number : 7 Frame Size Frame Counts Frames|sec Frame Type Total Total|sec ------------ ------------ ---------- ----------...
  • Page 86 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show error ports separated by a dash. For example, 3 would specify port 3. 4 specifies port 4. 3-4 specifies all of the ports between port 3 and port 4 − in numerical order.
  • Page 87 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show utilization Restrictions none. Example Usage: To display the port utilization statistics: DES-3226L:4# show utilization Port TX|sec RX|sec Util Port TX|sec RX|sec Util ---- ---------- ---------- ---- ---- ---------- ----------...
  • Page 88 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide clear counters Purpose Used clear 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 89 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide clear log Purpose Used to clear the switch’s history log. clear log Syntax Description This command will clear the switch’s history log. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 90 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show log number reaches this value. Restrictions none. Example Usage: To display the switch history log: DES-3226L:4# show log Index Time Log Text ----- ---------- ---------------------------------------------------- ------------------------ 2003/09/18 09:03:45 Successful login through Console...
  • Page 91 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 92 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable syslog Purpose Used to enable the system log to be sent to a remote host. Syntax disable syslog Description The disable syslog command enables the system log to be sent to a remote host.
  • Page 93 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show syslog Purpose Used to display the syslog protocol status as enabled or disabled. Syntax show syslog Description The show syslog command displays the syslog status as enabled or disabled. Parameters None.
  • Page 94 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 95 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create syslog host Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above.
  • Page 96 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create syslog host Code kernel messages user-level messages mail system system daemons security|authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security|authorization messages FTP daemon...
  • Page 97 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create syslog host local use 0 (local0) local use 1 (local1) local use 2 (local2) local use 3 (local3) local use 4 (local4) local use 5 (local5) local use 6 (local6) local use 7 (local7) local0 −...
  • Page 98 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create syslog host local5 − Specifies that local use 5 messages will be sent to the remote host. This corresponds to number 21 from the list above. local6 − Specifies that local use 6 messages will be sent to the remote host.
  • Page 99 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#create syslog host 1 severity all facility local0 Command: create syslog host 1 severity all facility local0 Success. DES-3226L:4#...
  • Page 100 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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>|...
  • Page 101 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config syslog host Critical: critical conditions Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above.
  • Page 102 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config syslog host 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 103 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config syslog host clock daemon local use 0 (local0) local use 1 (local1) local use 2 (local2) local use 3 (local3) local use 4 (local4) local use 5 (local5) local use 6 (local6) local use 7 (local7) local0 −...
  • Page 104 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config syslog host will be sent to the remote host. This corresponds to number 20 from the list above. local5 − Specifies that local use 5 messages will be sent to the remote host. This corresponds to number 21 from the list above.
  • Page 105 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success. DES-3226L:4# delete syslog host Purpose Used to remove a syslog host, that has been previously configured, from the switch.
  • Page 106 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#delete syslog host 4 Command: delete syslog host 4 Success. DES-3226L:4# show syslog host Purpose Used to display the syslog hosts currently configured on the switch. Syntax show syslog host {<index 1-4>}...
  • Page 107 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show syslog host Command: show syslog host Syslog Global State: Disabled Host Id Host IP Address Severity Facility UDP port Status ------- --------------- -------------- -------- -------- -------- 10.1.1.2 Local0 Disabled 10.40.2.3 Local0 Disabled 10.21.13.1...
  • Page 108: Spanning Tree Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide PANNING OMMANDS The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config stp maxage <value 6-40> hellotime <value 1-10>...
  • Page 109 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config stp Purpose Used to setup STP on the switch. config {maxage <value Syntax 40>|hellotime <value 10>|forwarddelay <value 4-30>|priority <value 0-65535>|fbpdu [enable|disable]} Description This command is used to setup the Spanning Tree Protocol (STP) for the entire switch.
  • Page 110 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config stp forwarding of STP BPDU packets from other network devices when STP is disabled on the switch. The default is enabled. Restrictions Only administrator-level users can issue this command. Example Usage:...
  • Page 111 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config stp ports Mbps port the default cost is 100. priority <value> − A numeric value between 0 and 255 that is used in determining the root and designated port in an STP port list.
  • Page 112 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4# enable stp Purpose Used to globally enable STP on the switch. enable stp Syntax Description This command allows the Spanning Tree Protocol to be globally enabled on the switch. Parameters none.
  • Page 113 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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. Example Usage: To disable STP on the switch:...
  • Page 114 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Status 1: STP enabled DES-3226L:4#show stp Command: show stp STP Status : Enabled Max Age : 18 Hello Time Forward Delay : 15 Priority : 32768 Forwarding BPDU : Enabled Designated Root Bridge: 00-00-00-12-00-00...
  • Page 115 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show stp ports port group STP configuration. Syntax show stp ports <portlist> Description This command displays switch’s current per-port group STP configuration. Parameters <portlist> − Specifies a range of ports to be configured.
  • Page 116 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Link Down Enabled 19 Forwarding Link Down Enabled 19 Forwarding Link Down Enabled 19 Forwarding...
  • Page 117: Layer 2 Forwarding Database Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide AYER 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 config fdb aging time <sec 10-765>...
  • Page 118 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config fdb forwarding tables. Parameters aging_time − Specifies the time, in seconds, that a dynamically learned MAC address will remain unaccessed in the switch’s MAC address forwarding table, before being dropped from the database. The range of the value is 10 - 750 seconds.
  • Page 119 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show fdb database. Parameters <port> − The port number corresponding to the MAC destination address. The switch will always forward traffic to the specified device through this port. <vlan_name> − The name of the VLAN on which the MAC address resides.
  • Page 120 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#...
  • Page 121: Broadcast Storm Control Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 [enable|disable] control broadcast...
  • Page 122 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config traffic control Parameters [enabled|disabled] − Enables or disables broadcast storm control. Restrictions Only administrator-level users can issue this command. Example Usage: To configure traffic control and state: DES-3226L:4#config traffic control broadcast enabled Command: config traffic control broadcast enabled Success.
  • Page 123 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show traffic control Command: show traffic control Traffic Control Broadcast Storm: Disabled DES-3226L:4#...
  • Page 124: Qos Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide QOS C OMMANDS The DES-3226L switch supports 802.1p priority queuing. The switch has 2 priority queues. These priority queues are numbered from 0 (Class 0) — the lowest priority queue — to 1 (Class 1) —...
  • Page 125 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide NOTICE: The default QoS scheduling arrangement is a strict priority schedule. To customize scheduling to set up round-robin queue clearing, the MAX. Latency and MAX. Packets values need to be changed using the config scheduling command.
  • Page 126 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters config <portlist>{rx_rate [no_limit | <value 1- bandwidth_control 1000>] | tx_rate [no_limit | <value 1- 1000>]} show {<portlist>} bandwidth_control Each command is listed, in detail, in the following sections.
  • Page 127 DES-3226L 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 two hardware queues available on the switch. config 802.1p user_priority <priority 0- Syntax 7>...
  • Page 128 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1p user_priority high high <priority 0-7> − Specifies which of the 8 Parameters 802.1p priority values (0 through 7) you want to map to one of the switch’s hardware priority queues (<class_id>, 0 through 1).
  • Page 129 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show 802.1p user_priority 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 130 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config bandwidth_control Purpose Used to configure bandwidth control on a by-port basis. Syntax config bandwidth_control <portlist> {rx_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 131 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config bandwidth_control above specified ports. <value 1-1000> − Specifies the packet limit, in Mbps, that the above ports will be allowed to receive. tx_rate − Specifies that one of the parameters below (no_limit or <value 1- 1000>) will be applied to the rate at which...
  • Page 132 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#config bandwidth_control 1-10 tx_rate 10 Command: config bandwidth_control 1-10 tx_rate 10 Success. DES-3226L:4#...
  • Page 133 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 134 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show bandwidth_control 1-10 Command: show bandwidth_control 1-10 Bandwidth Control Table Port RX Rate (100K/|sec) TX_RATE (100K/sec) ---- ------------------------ ---------------------- no_limit no_limit no_limit no_limit no_limit no_limit no_limit no_limit no_limit no_limit DES-3226L:4#...
  • Page 135: Port Mirroring Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 136 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config mirror port Description This command allows a range of ports to have all of their traffic also sent to a desnigated port − where a network sniffer or other device can monitor the network traffic.
  • Page 137 Restrictions Only administrator-level users can issue this command. Example Usage: To add the mirroring ports: DES-3226L:4#config mirror port 10 add source ports 1-5 both Command: config mirror port 10 add source ports 1-5 both Success. DES-3226L:4# config mirror delete Purpose...
  • Page 138 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config mirror delete rx − Allows the mirroring of only packets 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 139 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide enable mirror Description This command, combined with the disable mirror command below, allows you to enter a port mirroring configuration into switch, then turn port mirroring on and off without having to modify the port mirroring configuration.
  • Page 140 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable mirror mirroring configuration. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To disable mirroring configurations: DES-3226L:4#disable mirror Command: disable mirror Success. DES-3226L:4# show mirror Purpose Used to show the current port mirroring configuration on the switch.
  • Page 141 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show mirror Command: show mirror Current Settings Target Port: 9 Mirrored Port: TX: 1-5 DES-3226L:4#...
  • Page 142: Vlan Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 1-4094>...
  • Page 143 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters config vlan_mode [802.1q | port_based] Each command is listed, in detail, in the following sections. create vlan Purpose Used to create a VLAN on the switch. create vlan <vlan_name> {tag Syntax <vlanid>|advertisement [enable|disable]}...
  • Page 144 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create vlan this command. Example Usage: To create a VLAN v1, tag 2: DES-3226L:4#create vlan v1 tag 2 Command: create vlan v1 tag 2 Success. DES-3226L:4# delete vlan Purpose Used to delete a previously configured VLAN on the switch.
  • Page 145 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Success. DES-3226L:4# config vlan add ports Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan <vlan_name 32> add [tagged|untagged|forbidden] <portlist> Description This command allows you to add ports to the port list of a previously configured VLAN.
  • Page 146 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config vlan add ports the ports between port 3 and port 4 − in numerical order. Restrictions Only administrator-level users can issue this command. Example Usage: To add 4 through 8 as tagged ports to the VLAN v1:...
  • Page 147 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config vlan delete ports port number and the highest port number of the range. The beginning and end of the port list range are separated by a dash. For example, 3 would specify port 3. 4 specifies port 4.
  • Page 148 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config vlan advertisement Parameters <vlan_name> − The name of the VLAN on which you want to enable or disable sending GVRP messages. enable − Enables sending GVRP messages on the specified VLAN.
  • Page 149 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config gvrp and the GVRP status for each port. Parameters <portlist> − A range of ports for which you want ingress checking. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 150 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Success. DES-3226L:4# enable gvrp Purpose Used to enable GVRP on the switch. enable gvrp Syntax Description This command, along with disable gvrp below, is used to enable and disable GVRP on the switch − without changing the GVRP configuration for each port on the switch.
  • Page 151 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable gvrp 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 for each port on the switch.
  • Page 152 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show vlan Tagging/Untagging status, Member/Non-member/Forbidden status of each port that is a member of the VLAN. <vlan_name> − The VLAN name of the Parameters VLAN for which you want to display a summary of settings.
  • Page 153 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show gvrp Description This command displays the <portlist> − Specifies a range of ports for Parameters which the GVRP statust is to be displayed. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 154 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled...
  • Page 155 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config vlan mode will be altered. Parameters 802.1q − Choosing this parameter will reset the switch to 802.1q vlan mode. port_based − Choosing this parameter will reset the switch to port-based vlan mode.
  • Page 156: Link Aggregation Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 <value1-7> link_aggregation group_id delete group_id <value 1-7>...
  • Page 157 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create link_aggregation group_id Syntax create link_aggregation group_id <value> Description This command will create link aggregation group. Parameters <value 1-7> − Specifies the group id. The switch allows up to 7 link aggregation groups to be configured.
  • Page 158 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide delete link_aggregation group_id Parameters <value> − Specifies the group id. The switch allows up to 7 link aggregation groups to be configured. The group number identifies each of the groups. Restrictions Only administrator-level users can issue this command.
  • Page 159 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config link_aggregation switch allows up to 32 link aggregation groups to be configured. The group number identifies each of the groups. master_port <port> − Master port ID. Specifies which port (by port number) of the link aggregation group will be the master port.
  • Page 160 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Success. DES-3226L:4# show link_aggregation Purpose Used display current link aggregation configuration on the switch. show link_aggregation group_id <value> Syntax Description This command will display the current link aggregation configuration of the switch.
  • Page 161 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#...
  • Page 162: Ip Interface Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide IP I NTERFACE 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 [vlan <vlan_name> | ipaddress <network_address>...
  • Page 163 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ipif System System IP interface on the switch. Parameters <vlan_name> − The name of the VLAN corresponding to the System IP interface. − <network_address> address netmask of th IP interface to be created.
  • Page 164 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4# show ipif Purpose Used to display the configuration of an IP interface on the switch. show ipif {<ipif_name>} Syntax Description This command will display configuration of an IP interface on the switch.
  • Page 165 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#...
  • Page 166: Igmp Snooping Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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 167 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters snooping show router ports vlan <vlan_name 32> static dynamic show {vlan <vlan_name 32>} igmp_snooping group config <vlan_name 32> [add|delete] <portlist> router_ports disable igmp_snooping Each command is listed, in detail, in the following sections.
  • Page 168 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping The default is 260 seconds. − route_timeout <sec> Specifies maximum amount of time a route will remain in the switch’s can be a member of a multicast group without the switch receiving a host membership report.
  • Page 169 DES-3226L 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, permitted packet loss that guarantees IGMP snooping.
  • Page 170 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping querier the following IGMP message intervals: • Group member interval—Amount of time that must pass before multicast router decides there are no more members of a group on a network. This interval is calculated...
  • Page 171 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config igmp_snooping querier sent 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 −...
  • Page 172 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config router_ports range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach multicast- enabled router − regardless of protocol, etc.
  • Page 173 DES-3226L 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 switch. forward_mcrouter_only is specified, the switch will forward all multicast traffic to the multicast router, only.
  • Page 174 DES-3226L 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 175 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show igmp_snooping Description This command will display the current IGMP snooping configuration switch. Parameters <vlan_name> − The name of the VLAN for which you want to view the IGMP snooping configuration. Restrictions none.
  • Page 176 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Last Member Query Interval : 1 Host Timeout : 260 Route Timeout : 260 Leave Timer Querier State : Disabled Querier Router Behavior : Non-Querier State : Disabled Total Entries: 2 DES-3226L:4#...
  • Page 177 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide VLAN Name : default Multicast group: 224.0.0.2 MAC address : 01-00-5E-00-00-02 Reports Port Member VLAN Name : default Multicast group: 224.0.0.9 MAC address : 01-00-5E-00-00-09 Reports Port Member VLAN Name : default Multicast group: 234.5.6.7...
  • Page 178 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show router_ports Description This command will display the router ports currently configured on the switch. Parameters <vlan_name> − The name of the VLAN on which the router port resides. static − Displays router ports that have been statically configured.
  • Page 179: Routing Table Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide OUTING ABLE OMMANDS The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create iproute default <ipaddr> <metric 1-65535>...
  • Page 180 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide create iproute entry to the switch’s IP routing table. Parameters default − creates a default IP route entry. <ipaddr> − The IP address for the next hop router. <metric> − The default setting (hop cost) is...
  • Page 181 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide delete iproute Parameters default − Deletes a default IP route entry. Restrictions Only administrator-level users can issue this command. Example Usage: To delete a static address 10.48.75.121, mask 255.0.0.0 from the routing table:...
  • Page 182 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show iproute 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/16). Restrictions none. Example Usage: To display the contents of the IP routing table: DES-3226L:4#show iproute Command: show iproute IP Address Netmask Gateway Interface Name Hops Protocol...
  • Page 183: Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 802.1X C OMMANDS The DES-3226L implements the server-side of the IEEE 802.1x Port-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 184 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Command Parameters reauth_period <sec 1-65535> enable_reauth [enabled|disabled] config 802.1x init ports [<portlist>|all] config 802.1x reauth ports [<portlist>|all] config radius add <server_index 1-3> <server_ip> key <passwd 32> default auth_port <udp_port_number 0- 65535> acct_port <udp_port_number 0-65535>...
  • Page 185 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide 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.
  • Page 186 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable 802.1x switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To disable 802.1x on the switch: disable 802.1x DES-3226L:4# Command: disable 802.1x Success. DES-3226L:4# config 802.1x auth_protocol...
  • Page 187 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x auth_protocol this command. Example Usage: To configure 802.1x authentication protocol: config 802.1x auth_protocol DES-3226L:4# Command: config 802.1x auth_protocol local Success. DES-3226L:4# config 802.1x capability Purpose Used to configure the 802.1x capability of a range of ports on the switch.
  • Page 188 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x capability all − Specifies all of the ports on the switch. authenticator − A user must pass the authentication process to gain access to the network. none − The port is not controlled by the 802.1x functions.
  • Page 189 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x auth_parameter [force_unauth|auto|force_auth]| quiet_period <sec 0-65535>| max_req <value 1-10>|reauth_period <sec 65535>|enable_reauth [enabled|disabled]}] Description config 802.1x auth_parameter command is 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.
  • Page 190 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x auth_parameter administrative control over authentication process for the range of ports. force_auth − Forces the Authenticator for the port to become authorized. Network access is allowed. auto − Allows the port’s status to reflect...
  • Page 191 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x auth_parameter Restrictions Only administrator-level users can issue this command. Example Usage: To configure 802.1x authentication parameters for ports 1 to 20: config 802.1x auth_parameter ports 1 – 20 direction DES-3226L:4# both Command: config 802.1x auth_parameter ports 1-20 direction...
  • Page 192 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x init between port 3 and port 4 − in numerical order. all − Specifies all of the ports on the switch. Restrictions Only administrator-level users can issue this command. Example Usage: To initialize 802.1x port-based functions on ports 1 to...
  • Page 193 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config 802.1x reauth of the range. The beginning and end of the port list range are separated by a dash. For example, 3 would specify port 3. 4 specifies port 4. 3-4 specifies all of the ports between port 3 and port 4 −...
  • Page 194 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config radius add Description The config radius add command is used to configure the settings the switch will use to communicate with a RADIUS server. Parameters <server_index 1-3> − Assigns a number to the current set of RADIUS server settings.
  • Page 195 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide To configure RADIUS server communication settings: config radius add 1 10.48.74.121 key dlink default DES-3226L:4# Command: config radius add 1 10.48.74.121 key dlink default Success. DES-3226L:4# config radius delete Purpose Used to delete a previously entered RADIUS server configuration.
  • Page 196 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4# config radius Purpose Used to configure the switch’s RADIUS settings. config radius <server_index 1-3> Syntax {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 197 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config radius port number for authentication requests. The default is 1812. acct_port <udp_port_number> − The UDP port number for accounting requests. The default is 1813. Restrictions Only administrator-level users can issue this command.
  • Page 198 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Example Usage: To display RADIUS settings on the switch: show radius DES-3226L:4# Command: show radius Index IP Address Auth-Port Acct-Port Status Number Number ----- ------------------ --------- --------- ----------- ------------ 10.1.1.1 1812 1813...
  • Page 199 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show 802.1x user DES-3226L:4# Command: show 802.1x user Index UserName ------- -------------------- ctsnow DES-3226L:4# create 802.1x user Purpose Used to create a new 802.1x user. Syntax create 802.1x user <username 16> Description The create 802.1x user command is used...
  • Page 200 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide delete 802.1x user Purpose Used to delete the switch’s 802.1x users. Syntax delete 802.1x user <username 16> Description The delete 802.1x user command is used to delete 802.1x users. Parameters <username 16> − A username can be as many as 16 alphanumeric characters.
  • Page 201 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show auth_statistics Description show auth_statistics command displays authenticator statistics information. Parameters <portlist> − − Specifies a range of ports. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 202 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide LastEapolFrameSource 00-00-00-00-00-00 DES-XXXXS:4# show auth_diagnostics Purpose Used to display authenticator diagnostics information. Syntax show auth_diagnostics ports <portlist> Description show auth_statistics command displays authenticator diagnostics information. Parameters <portlist> − − Specifies a range of ports. The...
  • Page 203 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges BackendOtherRequestsToSupplicant BackendNonNakResponsesFromSupplicant 0 BackendAuthSuccesses BackendAuthFails DES-XXXXS:4# show auth_session_statistics Purpose Used display authenticator session statistics information. Syntax show auth_session_statistics ports <portlist>...
  • Page 204 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show auth_session_statistics of the range. The beginning and end of the port list range are separated by a dash. For example, 3 would specify port 3. 4 specifies port 4. 3-4 specifies all of the ports between port 3 and port 4 −...
  • Page 205 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show radius auth_client Syntax show radius auth_client ports <portlist> Description The show radius auth_client command displays radius authenticator client information. Parameters <portlist> − − Specifies a range of ports. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 206 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide radiusAuthClientAccessRetransmissions 0 radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions 0 radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped DES-XXXXS:4# show radius acct_client Purpose Used to display RADIUS account client information.
  • Page 207 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show radius acct_client displays radius account client information. Parameters <portlist> − − Specifies a range of ports. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 208 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped...
  • Page 209: Ssh Commands

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide SSH C OMMANDS The steps required to use the SSH protocol for secure communication between a remote PC (the SSH Client) and the Switch (the SSH Server), are as follows: Create a user account with admin-level access using •...
  • Page 210 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide After following the above steps, you can configure an • SSH Client on the remote PC and manage the Switch using secure, in-band communication. The Secure Shell (SSH) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 211 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ssh algorithm Syntax config algorithm [3DES|Blowfish|MD5|SHA1|DSA|RSA] [enabled|disabled] Description This command allows you to configure the desired type of SSH algorithm. Parameters [3DES|Blowfish|MD5|SHA1|DSA|RSA] – Choose the desired security algorithm. [enabled|disabled] – This allows you to enable or disable the SSH algorithm.
  • Page 212 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show ssh algorithm Parameters none. Restrictions none. Usage Example: To display the SSH algorithm: DES-3226L:4#show ssh algorithm Command: show ssh algorithm Encryption Algorithm : Enabled SHA1 : Enabled : Enabled : Enabled...
  • Page 213 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ssh authmode the desired SSH authentication mode. [enabled|disabled] – This allows you to enable or disable SSH authentication. Restrictions None. Usage Example: To enable the SSH authentication mode by password: DES-3226L:4#config ssh authmode password enable...
  • Page 214 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show ssh authmode Command: show ssh authmode Authentication Algorithm Hostbase : Enabled Password : Enabled Publickey : Enabled DES-3226L:4# config ssh user Purpose Used to configure the SSH user. Syntax config ssh user <username> authmode...
  • Page 215 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide To configure the password option for the SSH authmode for the User Account “Trinity”: DES-3226L:4#config ssh user Trinity authmode Password Command: config ssh user Trinity authmode Password Enter a case sensitive new password: ******* Enter the new password again for conformation:******* Success.
  • Page 216 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show ssh user Command: show ssh user Current Accounts: UserName Authentication --------------------------- ------------------------- Trinity Password The total entry: 1 DES-3226L:4# config ssh server Purpose Used to configure the SSH server. Syntax config ssh server {maxsession <int 1-2>| contimeout <sec 120-600>...
  • Page 217 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config ssh server change the security shell encryptions. Restrictions None. Usage Example: To configure the SSH server: DES-3226L:4#config ssh server maxsession 2 contimeout 300 authfail 2 Command: config ssh server maxsession 2 contimeout 300 authfail Success.
  • Page 218 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide DES-3226L:4#show ssh server Command: show ssh server The SSH server configuration Max Session Connection timeout : 300 Authfail attempts Rekey timeout : 3600 DES-3226L:4# enable ssh Purpose Used to enable SSH. enable ssh...
  • Page 219 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide disable ssh Purpose Used to disable SSH. disable ssh Syntax Description This command allows you to disable SSH on the switch. Parameters None. Restrictions None. Usage Example: To disable SSH: DES-3226L:4#disable ssh Command: disable ssh Success.
  • Page 220: Command History List

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide OMMAND ISTORY 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 1-40> command_history Each command is listed, in detail, in the following sections.
  • Page 221 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Parameters none. Restrictions none. Usage Example: To display all of the commands in the CLI: DES-3226L:4#? Command: ? clear clear counters clear log config 802.1p user_priority config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports...
  • Page 222 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide show command_history Purpose Used to display the command history. show command_history Syntax Description This command will display the command history. Parameters none. Restrictions none. Usage Example: To display the command history: DES-3226L:4#show command_history...
  • Page 223 DES-3226L 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: DES-3226L:4#dir Command: dir clear clear arptable...
  • Page 224 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide config fdb aging_time config gvrp config hol prevention CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry config command_history Purpose Used to configure the command history. config command_history <value 1-40>...
  • Page 225: Technical Specifications

    DES-3226L Layer 2 Fast Ethernet Switch User’s Guide ECHNICAL PECIFICATIONS General Standards: IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z 1000BASE-LX/SX Gigabit Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.1 P/Q VLAN IEEE 802.3x Full-duplex Flow Control ANSI/IEEE 802.3 Nway auto-negotiation...
  • Page 226 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide General Topology: Star...
  • Page 227 DES-3226L 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 –...
  • Page 228 DES-3226L Layer 2 Fast Ethernet Switch User’s Guide Physical and Environmental Weight: 5.2 kg EMI: FCC Class A, CE Mark Class A, C-Tick Class Safety: CSA International Performance Forwarding Mode Store-and-forward Packet buffer memory 3 Mbit per device Packet Filtering/ Full-wire speed for all connections.

Table of Contents