background image

DES-3226S Layer 2 Fast Ethernet Switch User’s Guide 

52

 

Basic Switch Commands

 

 

 
 Success. 
 
DES3226S:4# 

 

Summary of Contents for DES-3226SM - 1000Mbps Ethernet Switch

Page 1: ...DES 3226S Layer 2 Switch Command Line Interface Reference Manual First Edition May 2001 651S3326S015 Printed In Taiwan RECYCLABLE ...

Page 2: ...sollten Sie es vom Stromnetz trennen Somit wird im Falle einer Überspannung eine Beschädigung vermieden 13 Durch die Lüftungsöffnungen dürfen niemals Gegenstände oder Flüssigkeiten in das Gerät gelangen Dies könnte einen Brand bzw Elektrischen Schlag auslösen 14 Öffnen Sie niemals das Gerät Das Gerät darf aus Gründen der elektrischen Sicherheit nur von authorisiertem Servicepersonal geöffnet werde...

Page 3: ...THE POSSIBILITY OF SUCH DAMAGE IF YOU PURCHASED A D LINK PRODUCT IN THE UNITED STATES SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU Limited Warranty Hardware D Link warrants each of its hardware products to be free from defects in workmanship and materials under normal use and service for a per...

Page 4: ...ovided when requesting warranty service The term purchase in this software warranty refers to the purchase transaction and resulting license to use such software D Link warrants that its software products will perform in substantial conformance with the applicable product documentation provided by D Link with such software product for a period of ninety 90 days from the date of purchase from D Lin...

Page 5: ...ink offices is provided in the back of this manual Trademarks Copyright 2001 D Link Corporation Contents subject to change without prior notice D Link is a registered trademark of D Link Corporation D Link Systems Inc All other trademarks belong to their respective proprietors Copyright Statement No part of this publication may be reproduced in any form or by any means or used to make any derivati...

Page 6: ...n radiate radio frequency energy and if not installed and used in accordance with this user s guide may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense CE Mark Warning This is a Class A product In a domestic environment ...

Page 7: ...agement 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 Arp Commands Error Bookmark not defined IP Filtering Commands 131 QOS Commands 136 Port Mirroring Commands 157 VLAN Commands 165 Link Aggregation Commands 183 ...

Page 8: ...viii IP Interface Commands 191 IGMP Snooping Commands 196 Stacking Configuration Commands 213 Command History List 216 Technical Specifications 223 Switch System Messages 226 ...

Page 9: ... provides a reference for all of the commands contained in the CLI Configuration and management of the switch via the web based management agent is discussed in the User s Guide Accessing the Switch via the Serial Port The switch s serial port s default settings are as follows 9600 baud no parity 8 data bits 1 stop bit A computer running a terminal emulation program capable of emulating a VT 100 A...

Page 10: ...initial username or password Just press the enter key twice to display the CLI input cursor DES 3226S 4 This is the command line where all commands are input 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 You...

Page 11: ...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 The switch has Layer 2 functionality so its ports can be sectioned into IP interfaces where each section has its own range of IP addresses specified by a network address and subnet mask By default an IP interface na...

Page 12: ...e 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 2 Alternaltively you can enter DES3226S 4 enter the commands config ipif System ipaddress xxx xxx xxx xxx z Where the x s represent the IP address to be assigned to the IP interface named System and the z represents the corresponding number of subnets in CIDR notat...

Page 13: ...h 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 This fact can be taken into account when you are placing the Switches in the equipment rack Administrators ma...

Page 14: ...uations where the new Master is determined by MAC address for example if the original Master is removed from the stack The Master Switch can be chosen automatically Switch software auto detects the MAC address of each Switch in the stack The Switch with the lowest value MAC address is elected to function as the Master The remaining Switches are ordered according to the relative value of their resp...

Page 15: ... to use the original Master Switch as the Master of the new stack read Switch Stacking Information in Chapter 6 for information on how to override the stack order auto detect function To override the automatic selection of the stack order you must attach the serial cable to the newly added Switch MAC address 001122334450 Now you can reconfigure the stack to place the original Master Switch MAC add...

Page 16: ... 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 AUTO mode uses a comparison of the individual switch s MAC addresses the switch with the lowest numerical value MAC address becomes the Master switch Detailed instructions for configuring and managing a switch stack ar...

Page 17: ...anagement software over the network This chapter describes how to use the console interface to access the switch change its settings and monitor its operation Switch configuration settings are saved to non volatile RAM using save command The current configuration will then be retained in the switch s NV RAM and reloaded when the switch is rebooted If the switch is rebooted without using the save c...

Page 18: ...ta bits No parity One stop bit 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 After the switch reboots and you have loged in...

Page 19: ...ide Using the Console CLI 19 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: ...ch User s Guide 20 Using the Console CLI 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: ...d with the parameter username The CLI will then prompt you to enter the username with the message Next possible completions Every command in the CLI has this feature and complex commands have several layers of parameter prompting To re enter the previous command at the command prompt press the up arrow currsor key The previous command will appear at the command prompt ...

Page 22: ... command config account at the command prompt Now the appropriate User name can be entered and the config account command re executed All commands in the CLI function in this way In addition the syntax of the help prompts are the same as presented in this manual angle brackets indicate a numerical value or character string braces indicate optional parameters or a choice of parameters and brackets ...

Page 23: ...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 For example if you enter the show command with no additional parameters the CLI will then display all of the possible next parameters ...

Page 24: ...ible 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 The CLI then displays the user accounts configured on the switch ...

Page 25: ...the console interface uses the same syntax angle brackets Purpose Encloses a variable or value which must be specified Syntax create ipif ipif_name vlan vlan_name ipaddress network_address Description In the above syntax example you must supply an IP interface name in the ipif_name space a VLAN name in the vlan_name space and the network address in the network_address space Do not type the angle b...

Page 26: ...ax example you must specify either an admin or a user level account to be created Do not type the square brackets Example Command create account admin backslash Purpose Seperates two or more mutually exclusive items in a list one of which must be entered Syntax show snmp community trap receiver detail Description In the above syntax example you must specify either community trap receiver or detail...

Page 27: ...e above syntax example you must choose to enter an IP interface name in the ipif_name space or all but version value query_interval sec max_response_time sec robustness_variable value last_member_query_interval value and state enabled disabled are all optional arguments You can specify any or all of the arguments contained by braces Do not type the braces Example command config igmp all version 2 ...

Page 28: ... the cursor to the left Right Arrow Moves the cursor to the right Tab Shifts the cursor to the next field to the left Multiple Page Display Control Keys Space Displays the next page CTRL c Stops the display of remaining pages when multiple pages are to be displayed ESC Stops the display of remaining pages when multiple pages are to be displayed n Displays the next page p Displays the previous page...

Page 29: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Command Syntax 29 Line Editing Key Usage pausing between pages Enter Displays the next line or table entry ...

Page 30: ...priate parameters in the following table Command Parameters create account admin user username config account username show account show session show switch show serial_port config serial_port baud_rate 9600 19200 38400 115200 auto_logout never 2_minutes 5_minutes 10_minutes 15_minutes enable clipaging disable clipaging enable telnet tcp_port_number disable telnet enable web tcp_port_number ...

Page 31: ...226S Layer 2 Fast Ethernet Switch User s Guide Basic Switch Commands 31 Command Parameters disable web save reboot reset config system login logout Each command is listed in detail in the following sections ...

Page 32: ...characters and a password of 0 to 15 characters Up to 8 user accounts can be created Parameters Admin username User username Restrictions Only Administrator level users can issue this command Usernames can be between 1 and 15 characters Passwords can be between 0 and 15 characters Example Usage To create an administrator level user account with the username dlink DES3226S 4 create account admin dl...

Page 33: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Basic Switch Commands 33 Enter the new password again for confirmation Success DES3226S 4 ...

Page 34: ... using the create account command Parameters username Restrictions Only Administrator level users can issue this command Usernames can be between 1 and 15 characters Passwords can be between 0 15 characters Example Usage To configure the user password of dlink account DES3226S 4 config account dlink Command config account dlink Enter a old password Enter a case sensitive new password Enter the new...

Page 35: ... 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 DES3226S 4 show account Command show account Current Accounts Username Access Level System user dlink Admin DES3226S 4 ...

Page 36: ...te account username Description The delete account command deletes a user account that has been created using the create account command Parameters username Restrictions Only Administrator level users can issue this command Example Usage To delete the user account System DES3226S 4 delete account System Command delete account System Success DES3226S 4 ...

Page 37: ...tly 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 Parameters none Restrictions none Example Usage To display the way that the users logged in DES3226S 4 show session ID Live Time From Level Name 8 0 17 16 2 Serial Port 4 Anonymous ...

Page 38: ...meters none Restrictions none Example Usage To display the switch information DES3226S 4 show switch Command show switch Device Type DES 3226 Fast Ethernet Switch Module ID 1 MAC Address 00 01 02 03 04 00 IP Address 10 90 90 90 Manual VLAN Name default Subnet Mask 255 0 0 0 Default Gateway 0 0 0 0 Boot PROM Version Build Firmware Version Build 2 00 043 Hardware Version 0B1 Device S N System Name S...

Page 39: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Basic Switch Commands 39 Spanning Tree Disabled GVRP Disabled IGMP Snooping Disabled RIP Disabled DVMRP Disabled PIM DM Disabled DES3226S 4 ...

Page 40: ...erial 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 DES3226S 4 show serial_port Command show serial_port Baud Rate 9600 Data Bits 8 Parity Bits None Stop Bits 1 Auto Logout 10 mins DES3226S 4 ...

Page 41: ...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 2_minutes the console will log out the current user if there is no user input for 2 minutes 5_minutes the console will log out the current user if there is no user input for 5 minutes 10_minutes the console will log out the current user if there is...

Page 42: ...S 3226S Layer 2 Fast Ethernet Switch User s Guide 42 Basic Switch Commands To configure baud rate DES3226S 4 config serial_port baud_rate 9600 Command config serial_port baud_rate 9600 Success DES3226S 4 ...

Page 43: ...when issuing the show command will cause the console screen to rapidly scroll through several pages This command will cause the console to pause at the end of each page The default setting is enabled Parameters none Restrictions Only administrator level users can issue this command Example Usage To enable pausing of the screen display when show command output reaches the end of the page DES3226S 4...

Page 44: ...yntax 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 display more than one screen of information Parameters none Restrictions Only administrator level users can issue this command Example Usage To disable pausing of the screen display when show command output reaches the end of the page DES3226S 4 ...

Page 45: ...he 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 TCP ports are numbered between 1 and 65535 The well known TCP port for the TELNET protocol is 23 Restrictions Only administrator level users can issue this command Example Usage To enable TELNET and configure port number D...

Page 46: ...otocol 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 Example Usage To disable the TELNET protocol on the switch DES3226S 4 disable telnet Command disable telnet Success DES3226S 4 ...

Page 47: ...ent software on the switch The user can specify the TCP port number the switch will use to listen for TELNET requests Parameters tcp_port_number the TCP port number TCP ports are numbered between 1 and 65535 The well known port for the Web based management software is 80 Restrictions Only administrator level users can issue this command Example Usage To enable HTTP and configure port number DES322...

Page 48: ...TTP based management software on the switch Syntax disable web Description This command disables the Web based management software on the switch Parameters none Restrictions Only administrator level users can issue this command Example Usage To disable HTTP DES3226S 4 disable web Command disable web Success DES3226S 4 ...

Page 49: ...to enter the current switch configuration into non volitale RAM The saved swtich configuration will be loaded into the switch s memory each time the switch is restarted 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 DES...

Page 50: ...e 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: ... settings are restored on the switch except for the IP address user accounts and the switch history log system if system is specified all of the factory default settings are restored on the switch If no parameter specified the switch s current IP address user accounts and switch history log are retained All other parameters are restored to their factory default settings Restrictions Only administr...

Page 52: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide 52 Basic Switch Commands Success DES3226S 4 ...

Page 53: ...d to log in a user to the switch s console Syntax login Description This command is used to initiate the login procedure The user will be prompted for his Username and Password Parameters none Restrictions none Example Usage To initiate the login procedure DES3226S 4 login Command login UserName ...

Page 54: ...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 DES3226S 4 logout ...

Page 55: ...rface 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 state enabled disabled show ports portlist Each command is listed in detail in the following sections ...

Page 56: ...effected Parameters all displays all ports on the switch portlist specifies a range of ports to be configured The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range also separeted by a colon are specified The beginning and end of the port list range are sepe...

Page 57: ... ports as either full or half duplex flowcontrol enabled disabled enables or disables flow control for the specified range of ports learning enabled disabled enables or disables the MAC address learning on the specified range of ports state enabled disabled enables or disables the specified range of ports Restrictions Only administrator level users can issue this command Example Usage To configure...

Page 58: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide 58 Switch Port Commands state enabled Success ...

Page 59: ... number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 specifies all of the ports between switch 1 port 3 and switch 2 port 4 in numeric...

Page 60: ...o Disabled Link Down Enabled 1 2 Enabled Auto Disabled Link Down Enabled 1 3 Enabled Auto Disabled Link Down Enabled 1 4 Enabled Auto Disabled Link Down Enabled 1 5 Enabled Auto Disabled Link Down Enabled 1 6 Enabled Auto Disabled Link Down Enabled 1 7 Enabled Auto Disabled Link Down Enabled ...

Page 61: ...opriate parameters in the following table Command Parameters create snmp community community_string readonly readwrite delete snmp community community_string create snmp trap_receiver ipaddr community_string delete snmp trap_receiver ipaddr enable rmon disable rmon config snmp community community_string readonly readwrite config snmp trap_reciever ipaddr community_string config snmp system_contact...

Page 62: ...able snmp traps disable snmp traps enable snmp authenticate traps disable snmp authenticate traps show trusted_hosts ipaddr show snmp community trap_receiver ping ipaddr times value timeout sec traceroute ipaddr port value timeout sec probe value Each command is listed in detail in the following sections ...

Page 63: ...ers community_string an alphanumeric string of up to 32 characters used to authentication of users wanting access to the switch s SNMP agent readonly allows the user using the above community string to have read only access to the switch s SNMP agent The default read only community string is public readwrite allows the user using the above community string to have read and write acces to the switc...

Page 64: ...Ethernet Switch User s Guide 64 Network Management Commands 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 ...

Page 65: ...lete an SNMP community string entered on the switch using the create snmp community command above Parameters community_string an alphanumeric string of up to 32 characters used to authentication of users wanting access to the switch s SNMP agent Restrictions Only administrator level users can issue this command Example Usage To delete a read only level SNMP community System DES3226S 4 delete snmp ...

Page 66: ...ed by the switch s SNMP agent and the community string that will be used to authenticate the management station s privileges Parameters ipaddr the IP address of a management station that will receive SNMP traps generated by the switch s SNMP agent community_string An alpha numeric string of up to 32 characters that will be used to authenticate management stations that want to receive SNMP traps fr...

Page 67: ...ES 3226S Layer 2 Fast Ethernet Switch User s Guide Network Management Commands 67 DES3226S 4 create snmp trap_receiver 10 1 1 1 System Command create snmp trap_receiver 10 1 1 1 System Success DES3226S 4 ...

Page 68: ...viously using the create trap_receiver command above Parameters ipaddr the IP address of the management station that is currently specified to receive traps from the switch s SNMP agent This management station will be deleted from the list of up to three that can be entered using the create snmp trap_receiver commmand above Restrictions Only administrator level users can issue this command Example...

Page 69: ...sted _host ipaddr Description This command is used to delete a trusted host entry made using the create trusted_host command above Parameters ipaddr The IP address of the trusted host Restrictions Only administrator level users can issue this command Example Usage To delete a trusted host with an IP address 10 48 74 121 DES3226S 4 delete trusted_host 10 48 74 121 Command delete trusted_host 10 48 ...

Page 70: ...management software Parameters community_string An alpha numeric string of up to 32 characters that will be used to authenticate management stations that want to access the switch s SNMP agent readonly allows the user using the above community string to have read only access to the switch s SNMP agent The default read only community string is public readwrite allows the user using the above commun...

Page 71: ... Fast Ethernet Switch User s Guide Network Management Commands 71 To configure a SNMP community System DES3226S 4 config snmp community System readwrite Command config snmp community System readwrite Success DES3226S 4 ...

Page 72: ...cription 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 Restrictions Only administrator level users can issue this command Example Usage To configure the switch name for DES3226 DES3226S 4 config snmp system_name DES3226 Command config snmp system_name DES3226 Success DES3226S 4 ...

Page 73: ...mand 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 Restrictions Only administrator level users can issue this command Example Usage To configure the switch location for Taiwan DES3226S 4 config snmp system_location Taiwan Command config s...

Page 74: ...r the name and or other information to identify a contact person who is responsible for the switch A maximum of 128 character can be used Parameters sw_contact a maximum of 128 characters used to identify a contact person who is responsible for the switch Restrictions Only administrator level users can issue this command Example Usage To configure the switch contact to dlink DES3226S 4 config snmp...

Page 75: ...e 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 Parameters none Restrictions Only administrator level users can issue this command Example Usage DES3226S 4 enable rmon Command enable rmon Success DES3226S 4 ...

Page 76: ...e 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 Parameters none Restrictions Only administrator level users can issue this command Example Usage DES3226S 4 disable rmon Command disable rmon Success DES3226S 4 ...

Page 77: ...all of the community strings configured on the switch A community string is an alpha numeric string of up to 32 characters used to authenticate management stations wanting access to the switch s SNMP agent trap_receiver Displays all of the 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 ...

Page 78: ...nagement Commands System Contact dlink SNMP Trap Enabled Authenticate Traps Enabled Community String Rights System Read Write public Read Only Develop Read Only private Read Write Total Entries 4 IP Address Community String 10 1 1 1 Develop Total Entries 1 DES3226S 4 ...

Page 79: ...ow 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 Parameters none Restrictions none Example Usage To display the list of trust hosts DES3226S 4 show trusted_host Command show trusted_host Management Station IP Addresses IP Address 10 48 74 121 Port 23 IP Address 10 48 75 100 Port 23 IP Address 10 48...

Page 80: ...ble 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 Example Usage To turn on SNMP trap support DES3226S 4 enable snmp traps Command enable snmp traps Success DES3226S 4 ...

Page 81: ...t on the switch Syntax enable snmp traps Description 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 ...

Page 82: ...t Syntax enable snmp authenticate traps Description This command is used to enable SNMP authentication trap support on the switch Parameters none Restrictions Only administrator level users can issue this command Example Usage To turn on SNMP authentication trap support DES3226S 4 enable snmp authenticate traps Command enable snmp authenticate traps Success DES3226S 4 ...

Page 83: ...rt Syntax disable snmp authenticate traps Description This command is used to disable SNMP authentication support on the switch Parameters none Restrictions Only administrator level users can issue this command Example Usage To turn off SNMP authentication trap support DES3226S 4 disable snmp authenticate traps Command disable snmp authenticate traps Success DES3226S 4 ...

Page 84: ...o confirm connectivity between the switch and the remote device Parameters ipaddr the IP address of the remote device 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 0 timeout sec defines the time out period while waiting for a response from the remote device A value of 1 to 99 seconds ...

Page 85: ...s 85 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 DES3226S 4 ...

Page 86: ...ddr the IP address of the remote device ttl value the time to live value of the trace route request This is the maximum number of routers the traceroute command will cross while seeking the network path between two devices The maximum value is port value the port number Must be above 1024 probe value the number of probing Restrictions Only administrator level users can issue this command Example U...

Page 87: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Network Management Commands 87 1 10 ms 10 48 74 121 1 10 ms 10 48 74 121 1 10 ms 10 48 74 121 DES3226S 4 ...

Page 88: ...nds 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 increment upload configuration log ipaddr path_filename Each command is listed in detail in the following sections ...

Page 89: ...wnload and install new firmware on the switch from a TFTP server configuration download a switch configuration file from a TFTP server ipaddr the IP address of the TFTP server path_filename the DOS path and filename of the firmware or switch configuration file on the TFTP server For example C 3326s had unit all unitid all specifies all units switches unitid is the unit id of the switch that will r...

Page 90: ...rictions The TFTP server must be on the same IP subnet as the switch Only administrator 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 Connecting to server Done Download configuration Done DES3226S 4 ...

Page 91: ...ies 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 path_filename specifies the location of the switch configuration file on the TFTP server This file will be replaced by the uploaded file from the ...

Page 92: ...226S Layer 2 Fast Ethernet Switch User s Guide 92 Download Upload Commands c cfg log txt Command upload configuration 10 48 74 121 c cfg log txt Connecting to server Done Upload configuration Done DES3226S 4 ...

Page 93: ...toring 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 show utilitzation clear counters ports portlist clear log show log index value Each command is listed in detail in the following sections ...

Page 94: ...e lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 specifies all of the ports between s...

Page 95: ...ork Monitoring Commands 95 64 3275 10 RX Bytes 408973 1657 65 127 755 10 RX Frames 4395 19 128 255 316 1 256 511 145 0 TX Bytes 7918 178 512 1023 15 0 TX Frames 111 2 1024 1518 0 0 Unicast RX 152 1 Multicast RX 557 2 Broadcast RX 3686 16 Broadcast RX 4495 42 ...

Page 96: ...configured The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 ...

Page 97: ... Network Monitoring Commands 97 DES3226 4 show errors port 1 3 RX Frames TX Frames CRC Error 0 Excessive Deferral 0 Undersize 0 CRC Error 0 Oversize 0 Late Collision 0 Fragment 0 Excessive Collision 0 Jabber 0 Single Collission 0 Drop Pkts 0 Collision 0 ...

Page 98: ...ization statistics for the switch Parameters none Restrictions none Example Usage To display the port utilization statistics DES3226 4 show utilization Port TX sec RX sec Util Port TX sec RX sec Util 1 1 0 0 0 1 22 0 0 0 1 2 0 0 0 1 23 0 0 0 1 3 0 0 0 1 24 0 0 0 1 4 0 0 0 1 25 0 0 0 1 5 0 0 0 1 26 19 49 1 1 6 0 0 0 2 1 0 0 0 1 7 0 0 0 2 2 0 0 0 1 8 0 0 0 2 3 0 0 0 1 9 0 0 0 2 4 0 0 0 1 10 0 0 0 2 ...

Page 99: ...User s Guide Network Monitoring Commands 99 1 13 0 0 0 2 8 0 0 0 1 14 0 0 0 2 9 30 0 1 1 15 0 0 0 2 10 0 0 0 1 16 0 0 0 2 11 0 0 0 1 17 0 0 0 2 12 0 0 0 1 18 0 0 0 2 13 0 0 0 1 19 0 0 0 2 14 0 0 0 1 20 0 0 0 2 15 0 0 0 1 21 0 0 0 2 16 0 0 0 ...

Page 100: ...ginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 specifies all of the ports between switch 1 port 3 and switch 2 port ...

Page 101: ...e Used to clear the switch s history log Syntax clear log Description This command will clear the switch s history log Parameters none Restrictions Only administrator level users can issue this command Example Usage To clear the log information DES3226S 4 clear log Command clear log Success DES3226S 4 ...

Page 102: ...he show log command will display the history log until the log number reaches this value Restrictions none Example Usage To display the switch history log DES3226S 4 show log Index Time Log Text 4 000d00h50m Unit 1 Successful login through Console Username Anonymous 3 000d00h50m Unit 1 Logout through Console Username Anonymous 2 000d00h49m Unit 1 Successful login through Console Username Anonymous...

Page 103: ...ong with the appropriate parameters in the following table Command Parameters config stp maxage value hellotime value forwarddelay value priority value fdpdu enabled disabled config stp_ports portlist cost value priority value priority value state enabled disabled enable stp disable stp show stp show stp_ports portlist Each command is listed in detail in the following sections ...

Page 104: ...he default is 20 seconds hellotime value the time interval between transmission of configuration messages by the root device The default is 2 seconds forwarddelay value the maximum amount of time in seconds that the root device will wait before changing states The default is 15 seconds priority value a numerical value between 0 and 65535 that is used in determining the root device root port and de...

Page 105: ...nds 105 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 DES3226S 4 ...

Page 106: ...t the default cost is 100 priority value a numeric value between 0 and 31 that is used in determing the root and designated port in an STP port list The default is 16 with 0 indicating the highest priority portlist specifies a range of ports to be configured The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest...

Page 107: ...ed for the ports specified in the port list The default is disabled Restrictions Only administrator level users can issue this command Example Usage To set the path cost 19 the priorty 15 and the state enabled of the ports 1 5 of module 1 DES3226S 4 config stp_ports 1 1 1 5 cost 19 priority 15 state enabled Command config stp_ports 1 5 cost 19 priority 15 state enabled Success DES3226S 4 ...

Page 108: ...ble 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 Example Usage To enable STP on the switch DES3226S 4 enable stp Command enable stp Success DES3226S 4 ...

Page 109: ...e 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 Example Usage To disable STP on the switch DES3226S 4 disable stp Command disable stp Success DES3226S 4 ...

Page 110: ...displays the switch s current STP configuration Parameters none Restrictions none Example Usage Status 1 STP enabled DES3226S 4 show stp Command show stp STP Status Enabled Max Age 18 Hello Time 4 Forward Delay 15 Priority 32768 Forwarding BPDU Enabled Designated Root Bridge 00 00 00 12 00 00 Root Priority 32768 Cost to Root 19 Root Port 33 Last Topology Change 13sec Topology Changes Count 0 ...

Page 111: ...Ethernet Switch User s Guide Spanning Tree Commands 111 Status 2 STP Disabled DES3226S 4 show stp Command show stp STP Status Disabled Max Age 18 Hello Time 4 Forward Delay 15 Priority 32768 Forwarding BPDU Enabled DES3226S 4 ...

Page 112: ...t switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 specifies all of the ports between switch 1...

Page 113: ...k Down Enabled 19 128 Forwarding s0 1 3 Link Down Enabled 19 128 Forwarding s0 1 4 Link Down Enabled 19 128 Forwarding s0 1 5 Link Down Enabled 19 128 Forwarding s0 1 6 Link Down Enabled 19 128 Forwarding s0 1 7 Link Down Enabled 19 128 Forwarding s0 1 8 Link Down Enabled 19 128 Forwarding s0 1 9 Link Down Enabled 19 128 Forwarding s0 ...

Page 114: ... Command Line Interface CLI are listed along with the appropriate parameters in the following table Command Parameters create fdb vlan_name macaddr port port create multicast_fdb vlan_name macaddr config multicast_fdb vlan_name macaddr add delete portlist config macentry unicast aging_time sec delete fdb vlan_name macaddr add delete portlist clear fdb vlan vlan_name port port all ...

Page 115: ...uide Layer 2 Forwarding Database Commands 115 Command Parameters show multicast_fdb vlan vlan_name 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 ...

Page 116: ... database Parameters vlan_name The name of the VLAN on which the MAC address resides macaddr The MAC address that will be added to the forwarding table port The port number corresponding to the MAC destination address The switch will always forward traffic to the specified device through this port Restrictions Only administrator level users can issue this command Example Usage To create an unicast...

Page 117: ...mmand will make an entry into the switch s multicast MAC address forwarding database Parameters vlan_name The name of the VLAN on which the MAC address resides macaddr The MAC address that will be added to the forwarding table Restrictions Only administrator level users can issue this command Example Usage To create multicast MAC forwarding DES3226S 4 create multicast_fdb default 01 00 5E 00 00 00...

Page 118: ... MAC address to the forwarding table delete will remove the MAC address from the forwarding table portlist specifies a range of ports to be configured The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range also separeted by a colon are specified The beginnin...

Page 119: ...orwarding Database Commands 119 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 ...

Page 120: ... switch s dynamic unicast MAC address forwarding tables Parameters aging_time sec Specifies the time in seconds that a dynamically learned MAC address will remain in the switch s MAC address forwarding table without being accessed before being dropped from the database Restrictions Only administrator level users can issue this command Example Usage To configure MAC address aging time DES3226S 4 co...

Page 121: ... to delete a previous entry to the switch s MAC address forwarding database Parameters vlan_name The name of the VLAN on which the MAC address resides macaddr The MAC address that will be added to the forwarding table Restrictions Only administrator level users can issue this command Example Usage To delete a permanent FDB entry DES3226S 4 delete fdb default 00 00 00 00 01 02 Command delete fdb de...

Page 122: ...ned entries to the switch s forwarding database Parameters vlan_name The name of the VLAN on which the MAC address resides 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 comm...

Page 123: ...s command is used to display the current contents of the switch s multicast MAC address forwarding database Parameters vlan_name The name of the VLAN on which the MAC address resides macaddr The MAC address that will be added to the forwarding table Restrictions none Example Usage To display multicast MAC address table DES3226S 4 show multicast_fdb Command show multicast_fdb VLAN Name default MAC ...

Page 124: ...ll display the current contents of the switch s forwarding 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 macaddr The MAC address that will be added to the forwarding table static Displays the static MAC address entr...

Page 125: ...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 Port Type 1 default 00 00 00 00 01 01 ALL BlackHole 1 default 00 00 00 00 01 02 2 5 Permanent 1 default 00 50 BA 6B 2A 29 2 9 Dynamic Total Entries 3 DES3226S 4 ...

Page 126: ...mmands in the Command Line Interface CLI are listed along with the appropriate parameters in the following table Command Parameters config traffic control storm_grouplist all broadcast enabled disabled multicast enabled disabled dlf enabled disabled show traffic control group_list storm_grouplist Each command is listed in detail in the following sections ...

Page 127: ...storm_grouplist used to specify a broadcast storm control group with the syntax module_id group_id all specifies all broadcast storm control groups on the switch broadcast enabled disabled enables or disables broadcast storm control multicast enabled disabled enables or disables multicast storm control dlf enabled disabled enables or disables dlf traffic control threshold value The upper threshold...

Page 128: ...nfig 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 DES3226S 4 ...

Page 129: ...list storm_grouplist used to specify a broadcast storm control group with the syntax module_id group_id Restrictions none Example Usage To display traffic control setting DES3226S 4 show traffic control Command show traffic control Traffic Control Broadcast Multicast Destination Module Group ports Threshold Storm Storm Lookup Fail 1 1 1 8 128 Enabled Disabled Disabled 1 2 9 16 128 Enabled Disabled...

Page 130: ...0 Broadcast Storm Control Commands 2 1 1 8 128 Enabled Disabled Disabled 2 2 9 16 128 Enabled Disabled Disabled 2 3 17 24 128 Disabled Disabled Disabled 2 4 25 128 Disabled Disabled Disabled 2 5 26 128 Disabled Disabled Disabled Total Entries 10 DES3226S 4 ...

Page 131: ...MMANDS 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 show ipfilter ipaddr Each command is listed in detail in the following sections ...

Page 132: ...to be filtered from the switch src Specifies the above IP address as the source of packets Packets with the above IP address as their source will be dropped when they are received by the switch dst Specifies the above IP address as the destination of packets Packets with the above IP address as their destination will be dropped when they are received by the switch either Specifies the above IP add...

Page 133: ...er 2 Fast Ethernet Switch User s Guide IP Filtering Commands 133 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 ...

Page 134: ...on This command is used to delete an entry made to the IP address filtering table Parameters ipaddr The IP address for which an entry was made into the switch s IP filtering table Restrictions Only administrator level users can issue this command Example Usage To delete 10 48 74 121 from filtering database DES3226S 4 delete ipfilter 10 48 75 100 Command delete ipfilter 10 48 75 100 Success DES3226...

Page 135: ...ay the switch s current IP filtering table In addition you can specify an IP address where you want the table to begin displaying Parameters ipaddr The IP address where you want the IP filtering table to begin displaying its contents Restrictions none Example Usage To display the filtering address table DES3226S 4 show ipfilter Command show ipfilter IP Address Src Dst 10 48 74 121 Either 10 48 74 ...

Page 136: ...ters in the following table Command Parameters config priority_add mac macaddr ipaddress ipaddr 802 1p value dscp value tcp tcp_port_number udp udp_port_number replace_dscp value priority value replace_priority config priority delete macaddr ipaddress ipaddr 802 1p value dscp value tcp tcp_port_number udp udp_port_number show priority config scheduling class_id mac_packet value max_latency value ...

Page 137: ...ds 137 Command Parameters show scheduling config 802 1p user_priority portlist class_id show 802 1p user_priority config 802 1p default_priority portlist all priority show 802 1p default_priority portlist Each command is listed in detail in the following sections ...

Page 138: ...e 802 1p user priority of a packet that meets the specified critera Otherwise a packet will have its incoming 802 1p user priority re written to its original value before being transmitted from the switch Syntax config priority_add mac macaddr ipaddress ipaddr 802 1p value dscp value tcp tcp_port_number udp upd_port_number replace_dscp value priority value replace_priority Description This commnad...

Page 139: ...e command contains the following parameters replace_dscp value priority value replace_priority Incoming packets that meet the characteristics defined in the first part of the command for example they are destined for TCP 23 will then be subject to the actions in the second part of the command for example priority 3 replace_priority In this example incoming packets destined for TCP 23 will have the...

Page 140: ...packet a number between 0 and 63 for the second part of the command to be executed tcp tcp_port_number The TCP port number that must be in the TCP field of an incoming packet for the second part of the command to be executed udp udp_port_number The UDP port number that must be in the UDP field of an incoming packet for the second part of the command to be executed Second Part Actions to Take repla...

Page 141: ...er_priority command described below This internal priority value will be over written by the orginal 802 1p user priority value when the packet egresses from the switch if the replace_priority parameter below is not specified replace priority This parameter will replace the 802 1p user priority with the priority value specified above If this parameter is not specified the packet will have the same...

Page 142: ... priority delete mac macaddr ipaddress ipaddr 802 1p value dscp value tcp tcp_port_number udp udp_port_number Description This command is 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 The priority sche...

Page 143: ...ield in an incoming packet a number between 0 and 63 for the second part of the command to be executed tcp tcp_port_number The TCP port number that must be in the TCP field of an incoming packet for the second part of the command to be executed udp udp_port_number The UDP port number that must be in the UDP field of an incoming packet for the second part of the command to be executed Restrictions ...

Page 144: ...tax show priority Description This command will display the current priority settings on the swich Parameters none Restrictions none Example Usage To configure the user password of dlink account DES3226S 4 show priority Command show priority QOS Priority Table Type Value Priority Setting MAC address 00 00 00 01 02 03 priority 1 Total Entries 1 DES3226S 4 ...

Page 145: ...ling command is entered with both max_packet and max_latency parameters are set to 0 is to empty the 4 hardware priority queues in order from the highest priority queue hardware queue 3 to the lowest priority queue hardware queue 0 Each hardware queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets When the lowest hardware priori...

Page 146: ...r a given hardware priority que A value between 0 and 255 can be specified This number is then multiplied by 16 ms to determine the maximum latency For example if 3 is specified the maximum latency allowed will be 3 X 16 48 ms When the specified hardware priority queue has been waiting to transmit packets for this amount of time the current queue will finish transmitting its current packet and the...

Page 147: ...ng the next lowest hardware priority queue to begin transmitting its packets A value between 0 and 255 can be specified with this value multiplied by 16 ms to arrive at the total allowed time for the queue to transmit packets For example a value of 3 specifies 3 X 16 48 ms The queue will continue transmitting the last packet until it is finished when the max_latency timer expires Restrictions Only...

Page 148: ...ntax show scheduling Description This command will display the current traffic scheduling mechanisms in use on the switch Parameters none Restrictions none Example Usage To configure the user password of dlink account DES3226S 4 show scheduling Command show scheduling QOS Output Scheduling MAX Packets MAX Latency Class 0 100 150 Class 1 99 100 Class 2 91 101 Class 3 21 201 DES3226S 4 ...

Page 149: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide QOS Commands 149 ...

Page 150: ...priority class_id Description This command allows you to configure the way the switch will map an incoming packet based on its 802 1p user priority to one of the four available hardware priority queues on the switch The switch s default is to map the fowllowing incoming 802 1p user priority values to the four hardware priority queues 802 1p Hardware Queue Remark 0 1 Mid low 1 0 Lowest 2 0 Lowest 3...

Page 151: ...02 1p user priority you want to associate with the class_id the number of the hardware queue with class_id The number of the switch s hardware priority queue The switch has four hardware priority queues available They are numbered between 0 the lowest priority and 3 the highest priority Restrictions Only administrator level users can issue this command Example Usage To configure the user password ...

Page 152: ...command will display the current 802 1p user priority to hardware priority queue mapping in use by the switch Parameters none Restrictions none Example Usage To configure the user password of dlink account DES3226S 4 show 802 1p user_priority Command show 802 1p user_priority QOS Class of Traffic Priority 0 Class 1 Priority 1 Class 3 Priority 2 Class 0 Priority 3 Class 1 Priority 4 Class 2 Priorit...

Page 153: ...ority queues the packet is forwarded to Parameters portlist This specifies a range of ports for which the default priority is to be configured That is a range of ports for which all untagged packets received will be assigned the priority specified below The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest swit...

Page 154: ... 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 Restrictions Only administrator level users can issue this command Example Usage DES3226S 4 config 802 1p default_priority all 5 Command config 802 1p default_priority all 5 Success DES3226S 4 ...

Page 155: ...witch Syntax show 802 1p default_priority Description This command is used to display the current default priority settings on the switch Parameters none Restrictions none Example Usage To configure the user password of dlink account DES3226S 4 show 802 1p default_priority Command show 802 1p default_priority Port Priority 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 ...

Page 156: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide 156 QOS Commands 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 DES3226S 4 ...

Page 157: ...rt mirroring commands in the Command Line Interface CLI are listed along with the appropriate parameters in the following table Command Parameters config mirror port port add delete source ports portlist rx tx both enable mirror disable mirror show mirror Each command is listed in detail in the following sections ...

Page 158: ...ifies the Target port the port where mirrored packets will be sent portlist This specifies a range of ports that will be mirrored That is a range of ports for which all traffic will be copied and sent to the Target port The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port num...

Page 159: ...ets sent flowing out of the port or ports in the port list both Mirrors all the packets received or sent by the port or ports in the port list Restrictions Only administrator level users can issue this command Example Usage To add the mirroring ports DES3226S 4 config mirror port 1 5 add source ports 1 1 1 5 both Command config mirror port 1 5 add source ports 1 1 1 5 both Success DES3226S 4 ...

Page 160: ... mirrored packets will be sent portlist This specifies a range of ports that will be mirrored That is a range of ports for which all traffic will be copied and sent to the Target port 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 both Mirrors all the pac...

Page 161: ... 3226S Layer 2 Fast Ethernet Switch User s Guide Port Mirroring Commands 161 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 ...

Page 162: ...Description This command combined with the disable mirror command below allows you to enter a port mirroring configuration into the switch and then turn the port mirroring on and off without having to modify the port mirroring configuration Parameters none Restrictions none Example Usage To enable mirroring configurations DES3226S 4 enable mirror Command enable mirror Success DES3226S 4 ...

Page 163: ... combined with the enable mirror command above allows you to enter a port mirroring configuration into the switch and then turn the port mirroring on and off without having to modify the port mirroring configuration Parameters none Restrictions Only administrator level users can issue this command Example Usage To disable mirroring configurations DES3226S 4 disable mirror Command disalbe mirror Su...

Page 164: ...ring configuration on the switch Syntax show mirror Description This command displays the current port mirroring configuration on the switch Parameters none Restrictions none Example Usage To display mirroring configuration DES3226S 4 show mirror Command show mirror Current Settings Target Port 9 Mirrored Port RX TX 1 1 1 5 DES3226S 4 ...

Page 165: ...parameters in the following table Command Parameters create vlan vlan_name tag vlanid advertisement delete vlan vlan_name config vlan vlan_name add tagged untagged forbidden portlist config vlan vlan_name delete portlist config vlan vlan_name advertisement enabled disabled config gvrp portlist all state enabled disabled ingress_checking enabled disabled pvid value enable gvrp ...

Page 166: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide 166 VLAN Commands Command Parameters disable gvrp show vlan vlan_name show gvrp portlist Each command is listed in detail in the following sections ...

Page 167: ...the VLAN to be created vlanid The VLAN ID of the VLAN to be created advertisement Specifies the VLAN as able to join GVRP If this parameter is not set the VLAN cannot be configured to have forbidden ports Restrictions Each VLAN name can be up to 32 characters If the VLAN is not given a tag it will be a port based VLAN Only administrator level users can issue this command Example Usage To create a ...

Page 168: ...e switch Syntax delete vlan vlan_name Description This command will delete a previously configured VLAN on the switch Parameters vlan_name The VLAN name of the VLAN you want to delete Restrictions Only administrator level users can issue this command Example Usage To remove a vlan v1 DES3226S 4 delete vlan v1 Command delete vlan v1 Success DES3226S 4 ...

Page 169: ...eters vlan_name The name of the VLAN you want to add ports to tagged Specifies the additional ports as tagged untagged Specifies the additional ports as untagged forbidden Specifies the additional ports as forbidden portlist A range of ports to add to the VLAN The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highe...

Page 170: ...the ports between switch 1 port 3 and switch 2 port 4 in numerical order Restrictions Only administrator level users can issue this command Example Usage To add 4 through 8 of module 2 as tagged ports to the VLAN v1 DES3226S 4 config vlan v1 add tagged 2 4 2 8 Command config vlan v1 add tagged 2 4 2 8 Success DES3226S 4 ...

Page 171: ...ant to delete from the above specified VLAN The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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...

Page 172: ...6S Layer 2 Fast Ethernet Switch User s Guide 172 VLAN Commands 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 ...

Page 173: ...e or diable GVRP on the specified VLAN Parameters vlan_name The name of the VLAN on which you want to enable or disable GVRP enabled Enables GVRP on the specified VLAN disabled Disables GVRP on the specified VLAN Restrictions Only administrator level users can issue this command Example Usage To enable the VLAN default advertisement DES3226S 4 config vlan default advertisement enabled Command conf...

Page 174: ...ort list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 s...

Page 175: ... device will use the PVID to make VLAN forwarding decisions If a packet is received by the port and Ingress Checking is enabled the prot will compare the VID of the incoming packet to its PVID If the two are unequal the port will drop the packet If the two are equal the port will receive and forward the packet Restrictions Only administrator level users can issue this command Example Usage To sets...

Page 176: ...his command along with disable gvrp below is used to enable and disable GVRP on the switch without changing the GVRP configuration on the switch Parameters none Restrictions Only administrator level users can issue this command Example Usage To enable the generic VLAN Registration Protocol GVRP DES3226S 4 enable gvrp Command enable gvrp Success DES3226S 4 ...

Page 177: ...his command along with disable gvrp below is used to enable and disable GVRP on the switch without changing the GVRP configuration on the switch Parameters none Restrictions Only administrator level users can issue this command Example Usage To disable the Generic VLAN Registration Protocol GVRP DES3226S 4 disable gvrp Command disable gvrp Success DES3226S 4 ...

Page 178: ... Untagging status and the Member Non member Forbidden status of each port that is a member of the VLAN Parameters vlan_name The VLAN name of the VLAN for which you want to display a summary of settings Restrictions none Example Usage To display VLAN settings DES3226S 4 show vlan Command show vlan VID 1 VLAN Name default VLAN TYPE static Advertisement Enabled Member ports 1 1 1 26 2 1 2 26 Static p...

Page 179: ...26S Layer 2 Fast Ethernet Switch User s Guide VLAN Commands 179 VLAN TYPE static Advertisement Disabled Member ports 1 26 2 26 Static ports 1 26 2 26 Untagged ports Forbidden ports Total Entries 2 DES3226S 4 ...

Page 180: ...h number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range 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 4 1 3 2 4 specifies all of the ports between switch 1 port 3...

Page 181: ...1 12 1 Disabled Disabled 1 13 1 Disabled Disabled 1 14 1 Disabled Disabled 1 15 1 Disabled Disabled 1 16 1 Disabled Disabled 1 17 1 Disabled Disabled 1 18 1 Disabled Disabled 1 19 1 Disabled Disabled 1 20 1 Disabled Disabled 1 21 1 Disabled Disabled 1 22 1 Disabled Disabled 1 23 1 Disabled Disabled 1 24 1 Disabled Disabled 1 25 1 Disabled Disabled 1 26 0 Enabled Disabled 2 1 1 Disabled Disabled 2 ...

Page 182: ...3 1 Disabled Disabled 2 14 1 Disabled Disabled 2 15 1 Disabled Disabled 2 16 1 Disabled Disabled 2 17 1 Disabled Disabled 2 18 1 Disabled Disabled 2 19 1 Disabled Disabled 2 20 1 Disabled Disabled 2 21 1 Disabled Disabled 2 22 1 Disabled Disabled 2 23 1 Disabled Disabled 2 24 1 Disabled Disabled 2 25 1 Disabled Disabled 2 26 0 Enabled Disabled Total Entries 52 DES3226S 4 ...

Page 183: ... appropriate parameters in the following table Command Parameters create link_aggregation group_id value delete link_aggregation group_id value config link_aggregation group_id value master_port port ports portlist state enabled disabled config link_aggregation algorithm mac_source mac_destination mac_source_dest ip_source ip_destination ip_source_dest show link_aggregation group_id value algorith...

Page 184: ...egation group_id value Description This command will create a link aggregation group Parameters value Specifies the group id The switch allows up to 6 link aggregation groups to be configured The group number identifies each of the groups Restrictions Only administrator level users can issue this command Example Usage To create link aggregation group DES3226S 4 create link_aggregation group_id 1 C...

Page 185: ... 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 The group number identifies each of the groups Restrictions Only administrator level users can issue this command Example Usage To delete link aggregation group DES3226S 4 delete link_aggregation group_id 6 Command dele...

Page 186: ... each of the groups port Master port ID Specifies which port by port number of the link aggregation group will be the master port All of the ports in a link aggregation group will share the port configuration with the master port portlist Specifies a range of ports that will belong to the link aggregation group The port list is specified by listing the lowest switch number and the beginning port n...

Page 187: ...you to enable or disable the specified link aggregation group Restrictions Only administrator level users can issue this command Example Usage To define a load sharing group of ports group id 1 master port 17 of module 2 DES3226S 4 config link_aggregation group_id 1 master_port 2 17 ports 1 5 1 10 Command config link_aggregation group_id 1 master_port 2 17 ports 1 5 1 10 Success DES3226S 4 ...

Page 188: ...s only available using the address based load sharing algorithm Parameters mac_source Indicates that the switch should examine the MAC source address mac_destination Indicates that the switch should examin the MAC destination address mac_source_dest Indicates that the switch should examine the MAC source and ddestination addresses ip_source Indicates that the switch should examine the IP source ad...

Page 189: ...Guide Link Aggregation Commands 189 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 ...

Page 190: ...onfiguration of the switch Parameters value Specifies the group id The switch allows up to 6 link aggregation groups to be configured The group number identifies each of the groups algorithm Allows you to specify the display of link aggregation by the algorithm in use by that group Restrictions none Example Usage DES3226S 4 show link_aggregation Command show link_aggregation Link Aggregation Algor...

Page 191: ...d 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 state enabled disabled bootp dhcp show ipif ipif_name Each command is listed in detail in the following sections Each command is listed in detail in the following sections ...

Page 192: ... IP interface network_address IP address and netmask of th IP interface to be created You can specify the address and mask information using the traditional format for example 10 1 2 3 255 0 0 0 or in CIDR format 10 1 2 3 16 state enabled disabled Allows you to enable or disable the IP interface bootp Allows the selection of the BOOTP protocol for the assignment of an IP address to the switch s Sy...

Page 193: ...ernet Switch User s Guide IP Interface Commands 193 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 ...

Page 194: ...rface on the switch Parameters ipif_name The name of the IP interface you want to disable all Specifies that all IP interfaces configured on the switch will be disabled Restrictions none Example Usage To display IP interface settings DES3226S 4 show ipif System Command show ipif System IP Interface Settings Interface Name System IP Address 10 48 74 122 MANUAL Subnet Mask 255 0 0 0 VLAN Name defaul...

Page 195: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide IP Interface Commands 195 DES3226S 4 ...

Page 196: ...he following table Command Parameters config igmp_snooping vlan_name all host_timeout sec router_timeout sec leave_timer sec robustness_variable value last_member_query_interval sec state enabled disabled config igmp_snooping querier vlan_name all query_interval sec max_response_time sec robustness_variable value last_member_query_interval sec state enabled disabled config router_ports vlan_name a...

Page 197: ...ser s Guide IGMP Snooping Commands 197 Command Parameters enable igmp snopping forward_mcrouter_only show igmp snooping vlan vlan_name show router ports vlan vlan_name static dynamic Each command is listed in detail in the following sections ...

Page 198: ...he VLAN for which IGMP snooping is to be configured host_timeout sec Specifies the maximum amount of time a host can be a member of a multicast group without the switch receiving a host membership report The default is 260 seconds route_timeout sec Specifies the 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 membe...

Page 199: ...g 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 DES3226S 4 ...

Page 200: ..._member_query_interval sec state enabled disabled Description This command configures IGMP snooping querier Parameters vlan_name The name of the VLAN for which IGMP snooping querier is to be configured query_interval sec Specifies the amount of time in seconds between general query transmissions the default setting is 125 seconds max_response_time sec Specifies the maximum time in seconds to wait ...

Page 201: ...efore a multicast router decides that there is no longer another multicast router that is the querier This interval is calculated as follows robustness variable x query interval 0 5 x query response interval Last member query count Number of group specific queries sent before the router assumes there are no local members of a group The default number is the value of the robustness variable By defa...

Page 202: ...detect the loss of the last member of a group state enabled disabled Allows the switch to be specified as an IGMP Querier or Non querier Restrictions Only administrator level users can issue this command Example Usage To configure the igmp snooping DES3226S 4 config igmp_snooping querier default query_interval 125 state enabled Command config igmp_snooping querier default query_interval 125 state ...

Page 203: ...me of the VLAN on which the router port resides portlist Specifies a range of ports which will be configured as router ports The port list is specified by listing the lowest switch number and the beginning port number on that switch separated by a colon Then highest switch number and the highest port number of the range also separeted by a colon are specified The beginning and end of the port list...

Page 204: ...st Ethernet Switch User s Guide 204 IGMP Snooping Commands 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 ...

Page 205: ...forward all multicast traffic to the multicast router only Otherwise the switch forwards all mulitcast traffic to any IP router Parameters forward_mcrouter_only Specifies that the switch should forward all multicast traffic to a multicast enabled router only Otherwise the switch will forward all multicast traffic to any IP router Restrictions Only administrator level users can issue this command E...

Page 206: ... snooping on the switch IGMP snooping can be disabled only if IP multicast routing is not being used Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface Parameters none Restrictions Only administrator level users can issue this command Example Usage To disable IGMP snooping on the switch DES3226S 4 disable igmp_snooping Command disable igmp_snoopin...

Page 207: ...iguration on the switch Parameters vlan_name The name of the VLAN for which you want to view the IGMP snooping configuration Restrictions none Example Usage To show igmp snooping DES3226S 4 show igmp_snooping Command show igmp_snooping IGMP Snooping Global State Disabled Multicast router Only Disabled VLAN Name default Query Interval 125 Max Response Time 10 Robustness Value 2 Last Member Query In...

Page 208: ...er Behavior Non Querier State Disabled VLAN Name vlan2 Query Interval 125 Max Response Time 10 Robustness Value 2 Last Member Query Interval 1 Host Timeout 260 Route Timeout 260 Leave Timer 2 Querier State Disabled Querier Router Behavior Non Querier State Disabled Total Entries 2 DES3226S 4 ...

Page 209: ...nt IGMP snooping group configuration on the swtich Parameters vlan_name The name of the VLAN for which you want to view IGMP snooping group configuration information Restrictions none Example Usage To show igmp snooping group DES3226S 4 show igmp_snooping group Command show igmp_snooping group VLAN Name default Multicast group 224 0 0 2 MAC address 01 00 5E 00 00 02 Reports 1 Port Member 1 26 2 7 ...

Page 210: ...s 1 Port Member 1 26 2 9 VLAN Name default Multicast group 236 54 63 75 MAC address 01 00 5E 36 3F 4B Reports 1 Port Member 1 26 2 7 VLAN Name default Multicast group 239 255 255 250 MAC address 01 00 5E 7F FF FA Reports 2 Port Member 1 26 2 7 VLAN Name default Multicast group 239 255 255 254 MAC address 01 00 5E 7F FF FE Reports 1 Port Member 1 26 2 7 Total Entries 6 DES3226S 4 ...

Page 211: ...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 dynamic Displays router ports that have been dynamically configued Restrictions none Example Usage To display the router ports DES3226S 4 show router_ports Command show router_ports VLAN Name default Static rout...

Page 212: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide 212 IGMP Snooping Commands Dynamic router port Total Entries 2 DES3226S 4 ...

Page 213: ...TION COMMANDS The stacking configuration commands in the Command Line Interface CLI are listed along with the appropriate parameters in the following table Command Parameters config stacking mode master auto slave standalone show stacking mode version Each command is listed in detail in the following sections ...

Page 214: ...cking order based upon the numerical value of the individual switch s MAC address The lowest MAC address becomes the master switch slave Forces a given switch in the switch stack to never become the master switch standalone No stacking functions enabled The switch is not stacked Restrictions The switch s stacking mode can only be configured when the switch is in standalone mode Only administrator ...

Page 215: ...on This command will display the current stacking mode Parameters mode Displays the current stacking mode version Displays the version number of the stacking firmware Restrictions none Usage Example To display the current stacking mode DES3226S 4 show stacking Command show stacking Module ID MAC Address Start Port Port Range Mode Version 1 00 01 02 03 04 00 1 26 AUTO 1 Total number 1 DES3226S 4 ...

Page 216: ...OMMAND HISTORY LIST 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 dir config command_history value Each command is listed in detail in the following sections ...

Page 217: ...le through the Command Line Interface CLI Parameters none Restrictions none Usage Example To display all of the commands in the CLI DES3226S 4 Command clear clear arptable clear counters ports portlist2 clear log clear macentry unicast vlan vlan_name port port all config account username config auto logout 0 2 5 10 15 config baud rate 9600 19200 38400 115200 config bootprelay hops value 1 16 time ...

Page 218: ... command will display the command history Parameters none Restrictions none Usage Example To display the command history DES3226S 4 show command_history Command show command_history show show vlan config router_ports vlan2 add 1 1 1 10 config router_ports vlan2 add config router_ports vlan2 config router_ports show vlan create vlan vlan2 tag 3 create vlan vlan2 tag 2 show router_ports ...

Page 219: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Command History List 219 show router ports login DES3226S 4 ...

Page 220: ...lay all commands Parameters none Restrictions none Usage Example To display all of the commands DES3226S 4 dir Command dir clear clear arptable clear counters clear log clear macentry unicast config account config auto logout config baud rate config bootprelay config bootprelay add ipif config bootprelay delete ipif config command history config dnsr config dvmrp ...

Page 221: ...DES 3226S Layer 2 Fast Ethernet Switch User s Guide Command History List 221 config gvrp config igmp config igmp snooping config ingress_checking config ipif config ipif System more ...

Page 222: ...sed 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 DES3226S 4 config command_history 20 Command config command_history 20 Success DES3226S 4 ...

Page 223: ... 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 Data Transfer Rates Ethernet Fast Ethernet Gigabit Ethernet Half duplex Full duplex 10 Mbps 20Mbps 100Mbps 200Mbps n a 2000Mbps Topology Star ...

Page 224: ...mode Both types use MTRJ or SC optical connector Number of Ports 24 x 10 100 Mbps NWay ports 2 Gigabit Ethernet optional Physical and Environmental AC inputs 100 240 VAC 50 60 Hz internal universal power supply Power Consumption 40 watts maximum DC fans 2 built in 40 x 40 x10 mm fan Operating Temperature 0 to 50 degrees Celsius Storage Temperature 25 to 55 degrees Celsius Humidity Operating 5 to 9...

Page 225: ...k AS NZS3548 BSMI CNS 13438 Safety UL CSA CE Mark TUV GS UL 1950 CSA22 2 No 950 IEC 950 CB TUV EN60950 Performance Transmission Method Store and forward RAM Buffer 16 MB per device Filtering Address Table 8K MAC address per device Packet Filtering Forwarding Rate Full wire speed for all connections 148 800 pps per port for 100Mbps 1 488 000 pps per port for 1000Mbps MAC Address Learning Automatic ...

Page 226: ...uccess 2 Error applying data 3 Invalid IP address 4 Invalid subnet mask 5 Invalid gateway address 7 All changes are saved 8 Invalid MAC address 9 No more MAC Based VLANs can be added 10 No more MAC addresses can be added 11 Invalid VLAN Description 12 The entry does not exist 13 Duplicate IP address Enter a unique IP address ...

Page 227: ...odified 21 You have more than 255 IGMP snooping entries 22 IGMP state in the VLAN is disabled or current VID is invalid 23 The external module port is not exist 24 You must select at least one port member 25 Target mirror port can t be set in the trunk please change it first 26 Invalid port or width setting 27 Untagged ports overlapped 28 Invalid VLAN name 29 Invalid duplicate VLAN ID 30 Incorrect...

Page 228: ... Delete and Update user 41 One active Admin user must exist Delete or Update user 42 Confirmation error Passwords do not match Add or Update user 43 No more user accounts can be added Add user 44 Please wait loading factory parameters 45 You need to configure a port within the range selected to view 46 Invalid port settings 47 The TFTP process was stopped 48 Cannot upload log The switch does not h...

Page 229: ...ou entered is existing 66 The VLAN name you entered does not exist Check IP Address or VLAN name 67 Invalid Interface name Check Interface Name 68 The interface name already exists Enter a unique interface name Check Interface Name 69 The interface name does not exist Check Interface Name 70 VLAN table is full 71 The specified VID has no MAC addresses 72 The specified port has no MAC addresses 73 ...

Page 230: ...ername 15 String password 15 String ipaddr 15 IP Address netmask 15 IP Address gateway 15 IP Address vlan_name 32 String sw_name 128 String sw_location 128 String sw_contact 128 String Password 15 String community_string 32 String server_ip 15 IP Address path_filename 64 String macaddr 17 MAC Address ipif 12 String ...

Page 231: ... LINK GERMANY Bachstr 22 D 65830 Kriftel Germany TEL 49 0 6192 97110 FAX 49 0 6192 971111 WEB www dlink de BBS 49 0 6192 971199 Analog 49 0 6192 9711 98 ISDN INFO 00800 7250 0000 toll free HELP 00800 7250 4000 toll free INDIA D LINK INDIA Plot No 5 Kurla Bandra Complex Road Off Cst Road Santacruz E Bombay 400 098 India TEL 91 22 6526578 FAX 91 22 6528476 WEB www dlink india com ITALY D LINK ITALY ...

Page 232: ...r product 1 Where and how will the product primarily be used Home Office Travel Company Business Home Business Personal Use 2 How many employees work at installation site 1 employee 2 9 10 49 50 99 100 499 500 999 1000 or more 3 What network protocol s does your organization use XNS IPX TCP IP DECnet Others_____________________________ 4 What network operating system s does your organization use D...

Page 233: ......

Reviews: