D-Link DGS-3224SR Command Line Interface Reference Manual

Stackable ethernet switch
Hide thumbs Also See for DGS-3224SR:

Advertisement

Quick Links

DGS-3224SR
Stackable Ethernet Switch

Command Line Interface

Reference Manual
October 2003
PN 6GS3224SRC01
Printed In Taiwan
RECYCLABLE
i

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-3224SR

  • Page 1: Command Line Interface

    DGS-3224SR Stackable Ethernet Switch Command Line Interface Reference Manual October 2003 PN 6GS3224SRC01 Printed In Taiwan 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 ... 44 Network Management Commands ... 49 Utility Commands ... 89 Network Monitoring Commands ... 93 Spanning Tree Commands ... 109 Layer 2 Forwarding Database Commands ...
  • Page 4 Link Aggregation Commands... 174 IP Interface Commands ... 185 IGMP Snooping Commands... 189 802.1X Commands ... 204 Access Control List (ACL) Commands... 229 Traffic Segmentation Commands... 244 Stacking Commands ... 248 Routing Table Commands ... 255 ARP Command ... 259 SNTP Commands ...
  • Page 5: Introduction

    DGS-3224SR Stackable Gigabit 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 − DGS-3224SR:4#. This is the command line where all commands are input. Setting the Switch’s IP Address...
  • Page 7 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide switch IP address to meet the specification of your networking address scheme. The switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found from the initial boot console screen –...
  • Page 8 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide interfaces on the switch, the ports you assign to these VLANs and IP interfaces will be removed from the System interface. The IP address may be set using the Command Line Interface (CLI) over the console serial port as follows: 1.
  • Page 9 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Figure 1-3. Assigning the Switch an IP Address In the above example, the switch was assigned an IP address of 10.50.71.119 with a subnet mask of 255.0.0.0. The system message “Success” indicates that the command was executed successfully.
  • Page 10: Using The Console Cli

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide SING THE The DGS-3224SR supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP Telnet protocol.
  • Page 11 No flow control You can also access the same functions over a Telnet interface. Once you have set an IP address for your switch, you can use a Telnet program (in VT-100 compatible terminal mode) to access and control the switch. All of the screens are identical, whether accessed from the console port or from a Telnet interface.
  • Page 12 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DGS- 3224SR: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 DGS-3224SR Stackable Gigabit 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 DGS-3224SR Stackable Gigabit 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:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 15 DGS-3224SR Stackable Gigabit 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 DGS-3224SR Stackable Gigabit 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? or config what? Where the what? is the next parameter.
  • Page 17 DGS-3224SR Stackable Gigabit 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

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide OMMAND The following symbols are used in this manual to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax.
  • Page 19: Vertical Bar

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide [square brackets] Purpose Encloses a required value or set of required arguments. 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 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide | vertical bar show snmp community Example Command {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 [enabled|disabled]} Description In the above syntax example, you must choose to enter an IP interface name in the <ipif_name>...
  • Page 21 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Line Editing Key Usage Delete Deletes character under the cursor and then shifts the remaining characters in the line to the left. Backspace Delete the character to the left of the cursor and shifts the remaining characters in the line to the left.
  • Page 22 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Line Editing Key Usage Stops the display of remaining pages when multiple pages are to be displayed. Refreshes the pages currently displaying. Displays pausing between pages. Enter Displays the next line or table entry.
  • Page 23: Basic Switch Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ASIC The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create account [admin|user] <username 15> config account <username> show account delete account <username>...
  • Page 24: Command Parameters

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters enable web {<tcp_port_number 1-65535>} disable web 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 [admin|user] <username>...
  • Page 25 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create account Passwords can be between 0 and 15 characters. Example Usage: To create an administrator-level user account with the username “dlink”: DGS-3224SR: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 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config account Usernames can be between 1 and 15 characters. Passwords characters. Example Usage: To configure the user password of “dlink” account: DGS-3224SR:4#config account dlink Command: config account dlink Enter a old password:****...
  • Page 27 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show account Restrictions none. Example Usage: To display the accounts that have been created: DGS-3224SR:4#show account Command: show account Current Accounts: Username Access Level --------------- ------------ System user dlink Admin DGS-3224SR:4# delete account...
  • Page 28 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To delete the user account “System”: DGS-3224SR:4#delete account System Command: delete account System Success. DGS-3224SR:4# show session Purpose Used to display a list of currently logged-in users. show session Syntax Description...
  • Page 29 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show switch Purpose Used to display information about the switch. Syntax show switch Description This command displays information about the switch. Parameters none. Restrictions none. Example Usage: To display the switch information: DGS-3224SR:4#show switch...
  • Page 30 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide System Name System Location System Contact Spanning Tree : Disabled GVRP : Disabled IGMP Snooping : Disabled TELNET : Enabled(TCP 23) : Enabled(TCP 22) : Enabled(TCP 80) RMON : Disabled RPS State : Disabled...
  • Page 31 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins DGS-3224SR:4# config serial_port Purpose Used to configure the serial port. Syntax config serial_port {baud_rate 115200| auto_logout [never|2_minutes|5_minutes|10_minutes|...
  • Page 32 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config serial_port 15_minutes − The console will log out the current user if there is no user input for 15 minutes. Restrictions Only administrator-level users can issue this command. Example Usage: To configure auto logout:...
  • Page 33 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable clipaging 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:...
  • Page 34 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable clipaging 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: DGS-3224SR:4#disable clipaging Command: disable clipaging Success.
  • Page 35 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable telnet Parameters <tcp_port_number> 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:...
  • Page 36 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable telnet Restrictions Only administrator-level users can issue this command. Example Usage: To disable the Telnet protocol on the switch: DGS-3224SR:4#disable telnet Command: disable telnet Success. DGS-3224SR:4# enable web Purpose Used management software on the switch.
  • Page 37 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable web Restrictions Only administrator-level users can issue this command. Example Usage: To enable HTTP and configure port number: DGS-3224SR:4#enable web 80 Command: enable web 80 Success. DGS-3224SR:4# disable web Purpose Used management software on the switch.
  • Page 38 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#disable web Command: disable web Success. DGS-3224SR:4# save Purpose Used to save changes in the switch’s configuration to non-volatile RAM. Syntax save Description This command is used to enter the current switch configuration into non-volatile RAM.
  • Page 39 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide STATIC mode?(y/n) reboot Purpose Used to restart the switch. Syntax reboot Description This command is used to restart the switch. Parameters none. Restrictions none. Example Usage: To restart the switch: DGS-3224SR:4#reboot Command: reboot...
  • Page 40 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide reset Syntax reset {config|system} Description This command is used to restore the switch’s configuration settings assigned from the factory. Parameters config − If config is specified, all of the factory default settings are restored on the switch except for the IP address, user accounts, and the switch history log.
  • Page 41 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide except stack information?(y/n) y Success. DGS-3224SR:4# login Purpose Used to log in a user to the switch’s console. Syntax login Description This command is used to initiate the login procedure. The user will be prompted for his Username and Password.
  • Page 42 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide logout Purpose Used to log out a user from the switch’s console. Syntax logout Description This command terminates the current user’s session on the switch’s console. Parameters none. Restrictions none. Example Usage: To terminate the current user’s console session:...
  • Page 43 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To terminate the current user’s console session: DGS-3224SR:#show device_status Command:show device_status ID Internal Power External power Side Fan Back Fan --- ---------------- ---------------- ---------- ---------- Active Fail...
  • Page 44: Switch Port Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ports <portlist|all> speed [auto|10_half|10_full|100_half|100_full| |1000_full] flow_control [enabled|disabled] learning [enabled|disabled]...
  • Page 45 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config ports Purpose Used to configure the switch’s Ethernet port settings. config ports [<portlist|all>] {speed(11) Syntax [auto(1)|10_half(2)|10_full(3)|100_half(4)| 100_full(8) [master(81) | slave(82)| 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.
  • Page 46 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config ports statically set to 1000 and cannot be set to slower speeds. [half|full] − Configures the specified range of ports as either full- or half-duplex. flowcontrol [enabled|disabled] − Enables or disables flow control for the specified range of ports.
  • Page 47 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show ports Purpose Used to display the current configuration of a range of ports. show ports {<portlist>} Syntax Description This command is used to display the current configuration of a range of ports.
  • Page 48 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#show ports 1-1,1-7 Port Port Settings Connection State Speed|Duplex|FlowCtrl Speed|Duplex|FlowCtrl ---- -------- --------------------- --------------------- Enabled Auto|Disabled Enabled Auto|Disabled Enabled Auto|Disabled Enabled Auto|Disabled Enabled Auto|Disabled Enabled Auto|Disabled Enabled Auto|Disabled Address Learning -------- Link Down...
  • Page 49: Network Management Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ETWORK The network management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create snmp <community_string32> view community <view_name32> [readonly|readwrite] delete snmp <community_string32>...
  • Page 50 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters show <ipaddr> trusted_hosts ping <ipaddr> times <value> timeout <sec> create snmp user <SNMP_name 32> <groupname 32> {encrypted(1) [by_password(1) auth[md5(2) <auth_password 8-16> | sha(3) <auth_password 8-20>] priv [none(1) | des(2) <priv_password 8- 16>] | by_key(2) auth [md5(2) <auth_key 32-...
  • Page 51 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters show snmp groups show snmp [community | engineID | groups | host | traps | user | view] show snmp user show snmp view {<view_name 32>} show snmp {<community_string 33>} community show snmp host {ipaddr>}...
  • Page 52 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp user Purpose Used to create a new SNMP user and adds the user to an SNMP group that is also created by this command. Syntax create snmp user <SNMP_name32> <groupname 32> {encrypted(1) [by_password(1) auth[md5(2) <auth_password 8-16 >...
  • Page 53 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp user auth – Initiates an authentication level setting session. The options are MD5 and SHA. md5 – The HMAC-MD5-96 authentication level. sha – The HMAC-SHA-96 authentication level. <auth_password 8-16> − An...
  • Page 54 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide delete snmp user Purpose Used to remove an SNMP user from an SNMP group and to delete the associated SNMP group. delete snmp user <SNMP_name32> Syntax Description The delete snmp user command removes an SNMP user from its SNMP group and then deletes the associated SNMP group.
  • Page 55 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show snmp user Purpose Used to display information about each SNMP username username table. show snmp user Syntax Description The show snmp user command displays information about each SNMP username in the SNMP group username table.
  • Page 56 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show snmp groups Purpose Used to display the group-names of SNMP groups currently configured on the switch. The security model, level, and status of each group is also displayed. Syntax show snmp groups...
  • Page 57 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Group Name : public ReadView Name : CommunityView WriteView Name : Notify View Name : CommunityView Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All...
  • Page 58 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp view manager can access. Restrictions Only administrator-level users can issue this command. Example Usage: To create an SNMP view: DGS-3224SR:4#create snmp view dlinkview 1.3.6 view_type included Command: create snmp view dlinkview 1.3.6 view_type included Success.
  • Page 59 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show snmp view Purpose Used to display an SNMP view previously created on the switch. Syntax show snmp view {<view_name>} Description The show snmp view command displays an SNMP view previously created on the switch.
  • Page 60 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide restricted 1.3.6.1.6.3.15.1.1 CommunityView CommunityView 1.3.6.1.6.3 CommunityView 1.3.6.1.6.3.1 Total Entries: 9 DGS-3224SR:4# create snmp community Purpose Used to create an SNMP community string to define the relationship between the SNMP manager and an agent. The community string acts like a password to permit access to the agent on the switch.
  • Page 61 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp community Description The create snmp community command is used to create an SNMP community string and to assign access-limiting characteristics to this community string. <community_string 32> − An alphanumeric Parameters string of up to 32 characters that is used to identify members of an SNMP community.
  • Page 62 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To create the SNMP community string “dlink:” DGS-3224SR:4#create snmp community dlink view CommunityView read_write Command: create snmp community dlink view CommunityView read_write Success. DGS-3224SR:4# delete snmp community Purpose Used to remove a specific SNMP community string from the switch.
  • Page 63 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To delete the SNMP community string “dlink:” DGS-3224SR:4#delete snmp community dlink Command: delete snmp community dlink Success. DGS-3224SR:4# show snmp community Purpose Used to display SNMP community strings configured on the switch.
  • Page 64 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To display the currently entered SNMP community strings: DGS-3224SR:4#show snmp community Command: show snmp community SNMP Community Table Community Name View Name Right -------------------------------- -------------------------------- ------------ private CommunityView public CommunityView Total Entries: 2...
  • Page 65 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To give the SNMP agent on the switch the name “0035636666:” DGS-3224SR:4#config snmp engineID 0035636666 Command: config snmp engineID 0035636666 Success. DGS-3224SR:4# show snmp engineID Purpose Used to display the identification of the SNMP engine on the switch.
  • Page 66 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide SNMP Engine ID : 0035636666 DGS-3224SR:4# 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> Syntax [v1|v2c|v3 noauth_nopriv|auth_nopriv|auth_priv]] {read_view <view_name>|notify_view...
  • Page 67 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp group improvements in the Structure of Management Information (SMI) and adds some security features. v3 – Specifies that the SNMP version 3 will be used. SNMP v3 provides secure access to devices through a combination of authentication and encrypting packets over the network.
  • Page 68 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp group that packets sent between the swtich and a remote SNMP manger will be encrypted. read_view – Specifies that the SNMP group being created can request SNMP messages. <view_name> − An alphanumeric...
  • Page 69 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# delete snmp group Purpose Used to remove an SNMP group from the switch. delete snmp group <groupname 32> Syntax Description The delete snmp group command is used to remove an SNMP group from the switch.
  • Page 70 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp host generated by the switch’s SNMP agent. Syntax create snmp host <ipaddr> [v1|v2c|v3 [noauth_nopriv|auth_nopriv|auth_priv] <auth_string 32>] Description The create snmp host command creates a recipient of SNMP traps generated by the switch’s SNMP agent.
  • Page 71 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create snmp host packets have not been tampered with in transit. • Authentication − determines that an SNMP message is from a valid source. • Encryption − scrambles the contents of messages to prevent it being seen by an unauthorized source.
  • Page 72 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To create an SNMP host to receive SNMP messages: DGS-3224SR:4#create snmp host 10.59.19.2 v3 noauth_nopriv initial Command: create snmp host 10.59.19.2 v3 noauth_nopriv initial Success. DGS-3224SR:4# delete snmp host Purpose Used to remove a recipient of SNMP traps generated by the switch’s SNMP agent.
  • Page 73 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To delete an SNMP host entry: DGS-3224SR:4#delete snmp host 10.52.19.2 Command: delete snmp host 10.52.19.2 Success. DGS-3224SR:4# show snmp host Purpose Used to display the recipient of SNMP traps generated by the switch’s SNMP agent.
  • Page 74 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide SNMP Host Table Host IP Address SNMP Version User Name --------------- --------------- --------------------------------- 10.59.19.2 V3 noauthnopriv initial Total Entries: 1 DGS-3224SR:4# show snmp traps Purpose Used to display the status of SNMP traps...
  • Page 75 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config snmp system_name Purpose Used to configure a name for the switch. config snmp system_name <sw_name> Syntax Description This command is used to give the switch an alpha-numeric characters. Parameters <sw_name> − An alpha-numeric name for the switch of up to 128 characters.
  • Page 76 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#config snmp system_name dgs3224srcliman Command: config snmp system_name dgs3224srcliman Success. DGS-3224SR:4# config snmp system_location Purpose Used to enter a description of the location of the switch. config Syntax <sw_location> Description This command description of the location of the switch. A maximum of 128 characters can be used.
  • Page 77 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# config snmp system_contact Purpose Used to enter the name of a contact person who is responsible for the switch. Syntax config <sw_contact> Description This command is used to enter the name and|or other information to identify a contact person who is responsible for the switch.
  • Page 78 DGS-3224SR Stackable Gigabit 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 79 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 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.
  • Page 80 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show snmp Parameters community communities configured on the switch. A community string is an alpha-numeric string used to authenticate management stations wanting access to the switch’s SNMP agent. engineID - Restrictions None. Example Usage:...
  • Page 81 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Develop Read-Only private Read|Write Total Entries: 4 IP Address Community String --------------- ------------------------------------------------------------ 10.1.1.1 Develop Total Entries: 1 DGS-3224SR:4# show trusted_host Purpose Used to display a list of trusted hosts entered on the switch using the create trusted_host command above.
  • Page 82 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command: show trusted_host Management Stations IP Addrress --------------- Total Entries: 0 DGS-3224SR:4# enable snmp traps Purpose Used to enable SNMP trap support. enable snmp traps Syntax Description This command is used to enable SNMP trap support on the switch.
  • Page 83 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#...
  • Page 84 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable snmp traps Purpose Used to disable SNMP trap support on the switch. Syntax disable snmp traps Description This command is used to disable SNMP trap support on the switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 85 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 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:...
  • Page 86 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable snmp authenticate traps this command. Example Usage: To turn off SNMP authentication trap support: DGS-3224SR:4#disable snmp authenticate_traps Command: disable snmp authenticate_traps Success. DGS-3224SR:4# ping Purpose Used to test the connectivity between network devices.
  • Page 87 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ping 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> − defines the time-out period while waiting for a response from the remote device.
  • Page 88 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide...
  • Page 89: Utility Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide TILITY The Utility (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_filename64> {unit [ all | <unitid> ]} | configuration <ipaddr>...
  • Page 90 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide download Purpose Used to download and install new firmware or a switch configuration file from a TFTP server. download [ firmware <ipaddr> Syntax <path_filename> |configuration <ipaddr> <path_filename> {increment}] Description This command is used to download a new firmware or a switch configuration file from a TFTP server.
  • Page 91 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide download parameters will remain unchanged. Restrictions The TFTP server must be on the same IP subnet as the switch. Only administrator- level users can issue this command. Example Usage: DGS-3224SR:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121...
  • Page 92 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide upload TFTP server. log − Specifies that the switch history log will be uploaded to the TFTP server. <ipaddr> − The IP address of the TFTP server. The TFTP server must be on the same IP subnet as the switch.
  • Page 93: Network Monitoring Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ETWORK The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show packet <portlist> ports show error <portlist> ports show...
  • Page 94 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters ipaddress <ipaddr> | state [enable | disable]} Create syslog {host(1) [all|<index 1-4>] { severity [informational | warning | all] | facility [local0 | local1 | local2 | local3 | local4 | local5 |local6 | local7] | |udp_port <udp_port_numer>...
  • Page 95 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show packet ports port 2 in switch 5 in a stack is listed as 2- 5. A range of ports would be shown as 2-5, 3-6 (port 3 in switch 6), with the beginning and the end of the range of switches separated by a comma.
  • Page 96 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show error ports Syntax show error ports <portlist> Description This command will display all of the packet error statistics collected and logged by the swtich for a given port list. Parameters <portlist> − specifies a range of ports to be configured.
  • Page 97 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide --------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment Excessive Collision 0 Jabber Single Collision Drop Pkts 234952 Collision show utilization Purpose Used to display real-time port utilization statistics. Syntax...
  • Page 98 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 1:10 1:11 1:12 1:13 1:14 1:15 1:16 1:17 1:18 1:19 1:20 1:21 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh clear counters Purpose Used clear counters. Syntax clear counters {ports <portlist>}...
  • Page 99 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide clear counters each port is designated as belonging to a particular switch in the stack. For example, port 2 in switch 5 in a stack is listed as 2- 5. A range of ports would be shown as 2-5,...
  • Page 100 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide clear log Restrictions Only administrator-level users can issue this command. Example Usage: To clear the log information: DGS-3224SR:4#clear log Command: clear log Success. DGS-3224SR:4# show log Purpose Used to display the switch history log.
  • Page 101 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To display the switch history log: DGS-3224SR:4# show log 2003-10-11 12:26:10 Unit 1, Console session timed out (Username: Anonymous 2003-10-11 12:14:31 Port 1:5 link up, 100Mbps FULL duplex 2003-10-11 12:14:31 Port 1:1 link up, 100Mbps FULL duplex...
  • Page 102 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable syslog sending. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To enable syslog: DGS-3224SR:4#enable syslog Command: enable syslog Success. DGS-3224SR:4# disable syslog Purpose Used to disable syslog sending message.
  • Page 103 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command: disable syslog Success. DGS-3224SR:4# show syslog Purpose Used to display the syslog protocol global state. Syntax show syslog Description This command will display the syslog protocol global state. Parameters none. Restrictions none...
  • Page 104 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config syslog host Purpose Used configure parameters. Syntax Config syslog {severity [informational | warning | all] | facility | local0 | local1 |local2 | local3 | local4 | local5 | local6 | local7 ] udpport ipaddress <ipaddr>...
  • Page 105 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command: config syslog host all severity all facility local0 Success. DGS-3224SR:4# create syslog host Purpose Used to create a new syslog host. Syntax create syslog host <index 1-4> ] {severity [informational | warning | all} | facility [...
  • Page 106 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create syslog host Restrictions Only administrator-level users can use this command. DGS-3224SR:4#create syslog host 1 severity all facility local0 Command: create syslog host 1 severity all facility local0 Success. DGS-3224SR:4# Success. DGS-3224SR:4# delete syslog host Purpose Used to delete syslog host(s).
  • Page 107 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#delete syslog host 1 Command: delete syslog host 1 Success. DGS-3224SR:4# show syslog host Purpose Used to display syslog host configurations. show syslog host {<index 1-4>} Syntax Description This command displays the syslog host configurations.
  • Page 108 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Host Id Host IP Address Severiry Status ------- --------------- -------------- -------- -------- -------- Total Entries : 0 DGS-3224SR:4# Facility UDP port...
  • Page 109: Spanning Tree Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide PANNING The spanning tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config stp maxage <value6-40>| hellotime <value1-10>| forwarddelay <value4-30>| priority <value0-61440>| version [rstp | stp]| txholdcount <value1-10>|...
  • Page 110 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Each command is listed, in detail, in the following sections. config stp Purpose Used to setup STP on the switch. Syntax config stp {maxage <value6-40>|hellotime <value1-10>|forwarddelay 30>|priority <value0-61440>|version [rstp | stp] | defaultpathcost [8021t | 8021d] |...
  • Page 111 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config stp value, the higher the priority. The default is 32,768. Range is 0 to 61440, in steps of 4096. fbpdu [enabled|disabled] − forwarding of STP BPDU packets from other network devices when STP is disabled on the switch.
  • Page 112 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config stp ports Purpose Used to setup STP on the port level. config stp ports <portlist> {cost [auto Syntax |<value1-20000000>|priority <value0- 240>|migrate [yes | no] | edge [true | false] | p2p [true | false | auto] | state...
  • Page 113 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config stp ports 2,000,000. priority <value> − A numeric value between 0 and 240, in steps of 16, that is used in determining the root and designated port in an STP port list. The default is 128, with 0 indicating the highest priority.
  • Page 114 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To set the path cost 19, the priority 16, and the state enabled of the ports 1-5: DGS-3224SR:4#config stp ports 1:1-1:5 cost 19 priority 16 state enabled Command: config stp ports 1:1-1:5 cost 19 priority 16 state enabled Success.
  • Page 115 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# disable stp Purpose Used to globally disable STP on the switch. Syntax disable stp Description This command allows the Spanning Tree Protocol to be globally disabled on the switch. Parameters none. Restrictions Only administrator-level users can issue this command.
  • Page 116 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show stp Syntax show stp Description This command current STP configuration. Parameters none Restrictions none. Example Usage: Status 1: STP enabled STP Status : Enabled Max Age : 10 Hello Time Forward Delay...
  • Page 117 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Hold Time CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh Status 2: STP Disabled DGS-3224SR:4#show stp Command: show stp STP Status : Disabled Max Age : 10 Hello Time...
  • Page 118 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show stp ports The DGS3224SR is a stackable switch and each port is designated as belonging to a particular switch in the stack. For example, port 2 in switch 5 in a stack is listed as 2- 5.
  • Page 119 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Disabled 1:9 Link Down Yes *20000 128 No Yes Disabled Disabled...
  • Page 120: Layer 2 Forwarding Database Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide AYER ATABASE The layer 2 forwarding database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create fdb <vlan_name> <macaddr> port <port>...
  • Page 121 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters config fdb <sec 10-1000000> aging_time Each command is listed, in detail, in the following sections. create fdb Purpose Used to create a static entry to the unicast MAC address forwarding table (database) Syntax create fdb {<vlan_name32>...
  • Page 122 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To create an unicast MAC forwarding: DGS-3224SR:4#create fdb default 00-00-00-00-01-02 port Command: create fdb default 00-00-00-00-01-02 port 1:5 Success. DGS-3224SR:4# create multicast_fdb Purpose Used to create a static entry to the...
  • Page 123 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To create multicast MAC forwarding: DGS-3224SR:4#create multicast_fdb default 01-00-5E-00- 00-00 Command: create multicast_fdb default 01-00-5E-00-00- Success. DGS-3224SR:4# config multicast_fdb Purpose Used to configure the switch’s multicast MAC address forwarding database. config...
  • Page 124 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config multicast_fdb The DGS3224SR is a stackable switch and each port is designated as belonging to a particular switch in the stack. For example, port 2 in switch 5 in a stack is listed as 2- 5.
  • Page 125 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config fdb aging_time address forwarding tables. Parameters aging_time – the time, in seconds, that a dynamically learned MAC address will remain in the MAC address forwarding table, without being accessed, before being dropped from the database. Range: 10- 1000000 seconds.
  • Page 126 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide delete fdb Syntax delete fdb <vlan_name32> <macaddr> Description This command is used to delete a previous entry forwarding database. Parameters <vlan_name> − The name of the VLAN on which the MAC address resides. Maximum length is 32 characters.
  • Page 127 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide clear fdb addresses. Syntax clear <port>|all] Description This command is used to clear dynamically learned entries to the switch’s forwarding database. <vlan_name> − The name of the VLAN on Parameters which the MAC address resides.
  • Page 128 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. Syntax show <vlan_name>|mac_address <macaddr>} Description This command is used to display the current contents of the switch’s multicast MAC address forwarding database.
  • Page 129 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# show fdb Purpose Used to display the current unicast MAC address forwarding database. show Syntax <vlan_name32>|mac_address <macaddr>|static|aging_time} Description This command will display the current contents database. Parameters <port> − The port number corresponding to the MAC destination address.
  • Page 130 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To display unicast MAC address table: DGS-3224SR:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID VLAN Name MAC Address ---- ---------------- ----------------- ------ ----------------- default 00-00-00-00-00-04 1:1 default 00-00-00-00-00-0D 1:1...
  • Page 131: Broadcast Storm Control Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ROADCAST ONTROL The broadcast storm control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config traffic [<storm_grouplist> | all] {broadcast control...
  • Page 132 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config traffic control Purpose Used configure traffic control. Syntax config [<storm_grouplist>|all] [enable|disable]|multicast [enable|disable]|dlf [enable|disable]|threshold <value>} Description This command broadcast/multicast/dlf storm control. <storm_grouplist> − Used to specify a Parameters broadcast storm control group with the syntax: unit_id.
  • Page 133 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config traffic control Restrictions Only administrator-level users can issue this command. Example Usage: To configure traffic control and state: DGS-3224SR:4#config traffic control all broadcast enable multicast enable dlf enable threshold 255 Command: config traffic control all broadcast enable...
  • Page 134 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show traffic control Restrictions none. Example Usage: To display traffic control setting: DGS-3224SR:4#show traffic control Command: show traffic control Traffic Control Broadcast Multicast Destination Module Group [ports] Threshold Storm ------ ------------- --------- --------- --------- -----------...
  • Page 135: Arp Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ARP C The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config arp_aging time <value 0-65535> show arpentry {ipif(1) <ipif_name 12> | ipaddress(2) <ipaddr>...
  • Page 136 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config arp_aging of time, in minutes, that a ARP entry can remain in the switch’s ARP table, without being accessed, before it is dropped from the table. Parameters time <value 0-65535> − The ARP age-out time, in minutes.
  • Page 137 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show arpentry Parameters <ipif_name> − The name of the IP interface the end node or station for which the ARP table entry was made, resides on. <network_address> − The network address corresponding to the IP interface name above.
  • Page 138 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide System 10.1.23.1 00-50-BA-0A-D5-B4 Dynamic System 10.1.49.9 00-08-02-0A-6F-D8 Dynamic System 10.1.53.1 00-50-BA-0A-F5-21 Dynamic System 10.2.26.1 00-80-C8-F7-93-73 Dynamic System 10.2.27.250 00-50-BA-DA-01-58 Dynamic System 10.2.33.1 00-50-BA-14-D8-A5 Dynamic System 10.2.33.201 00-80-C8-CD-25-3A Dynamic System 10.2.33.202 00-80-C8-CD-25-39 Dynamic Total Entries = 20...
  • Page 139: Qos Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide QOS C The MAC address priority commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config [<portlist>] {rx_rate [no_limit | <value 1- bandwidth_control 1000>] | tx_rate {no_limit | <value 1-...
  • Page 140 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters config 802.1p [<portlist>|all] <priority 0-7> default_priority show 802.1p <portlist> default_priority disable hol_prevention enable hol_prevention show hol_prevention Each command is listed, in detail, in the following sections. config bandwidth_control Purpose Used to configure the port bandwidth control.
  • Page 141 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config bandwidth_control (port 3 in switch 6), with the beginning and the end of the range of switches separated by a comma. Rx_rate – specifies the limitation of receive- data rate Tx_rate – specifies the limitation of the...
  • Page 142 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show bandwidth_control Description This command sdisplays the port bandwidth configurations. Parameters <portlist> - specifies the range of ports Restrictions none. Example Usage: To display port bandwidth control table: DGS-3224SR:4#show bandwidth_control 1-10 Command: show bandwidth_control 1:1-1:10...
  • Page 143 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config scheduling Purpose Used to configure the traffic scheduling mechanism for each COS queue. Syntax config scheduling <class_id 0-n> {max_packet <value 0-15> Description The switch contains n + 1 hardware priority queues. Incoming packets must be mapped to one of these n + 1 queues.
  • Page 144 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config scheduling being the lowest priority. (The max value of n is 6, and class_id 7 is reserved for internal control packet use.) max_packet – specifies the weights for weighted fari queueing. Max_packet is the...
  • Page 145 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show scheduling Description This command will display the current traffic scheduling mechanisms in use on the switch. Parameters none. Restrictions none. Example Usage: To show scheduling: DGS-3224SR:4#show scheduling Command: show scheduling QOS Output Scheduling MAX.
  • Page 146 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config scheduling_mechanism Purpose Used to configure the traffic scheduling mechanism for each COS queue. Syntax config scheduling_mechanism [strict(1)| weight_fair(2)] Description This command is use to specify how the switch handles packets in priority queues.
  • Page 147 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show scheduling_mechanism Purpose Used display scheduling mechanisms in use on the switch. show scheduling_mechanism Syntax Description This command will display the current traffic scheduling mechanisms in use on the switch. Parameters none. Restrictions none.
  • Page 148 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# config 802.1p user_priority Purpose Used to map the 802.1p user priority of an incoming packet hardware queues available on the switch. config 802.1p user_priority <priority 0-6> Syntax <class_id 0-n> The config 802.1p user_priority command...
  • Page 149 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1p user_priority This mapping recommendations 802.1D (page 40). You can change this mapping by specifying the 802.1p user priority you want to go to the <class_id> (the number of the hardware queue).
  • Page 150 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show 802.1p user_priority Purpose Used to display the current 802.1p user priority to hardware priority queue mapping in use by the switch. show 802.1p user_priority Syntax Description This command will display the current 802.1p user priority to hardware priority...
  • Page 151 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# config 802.1p default_priority Purpose Used to configure the 802.1p default priority settings on the switch. If an untagged packet is received by the switch, the priority configured with this command will be written to the packet’s priority field.
  • Page 152 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1p default_priority port 3 and switch 2, port 4, in numerical order. all − Specifies that the command applies to all ports on the switch (or in the switch stack). <priority 0-7> − The priority value you want to assign to untagged packets received by the switch or a range of ports on the switch.
  • Page 153 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 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 show 802.1p default priority: DGS-3224SR:4# show 802.1p default_priority Command: show 802.1p default_priority...
  • Page 154 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 1:18 5 1:19 5 1:20 5 enable hol_prevention Purpose Used to enable HOL prevention. enable hol_prevention Syntax Description enable enables Head of Line prevention. Parameters none. Restrictions You must have administrator privileges. Example Usage:...
  • Page 155 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable hol_prevention Syntax disable hol_prevention Description disable disables Head of Line prevention. Parameters none. Restrictions You must have administrator privileges. Example Usage: To disable HOL prevention: DGS-3224SR:4# DGS-3224SR:4#disable hol_prevention Command: disable hol_prevention Success.
  • Page 156 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To show HOL prevention: DGS-3224SR:4#show hol_prevention Command: show hol_prevention Device HOL Prevention State Disabled DGS-3224SR:4#...
  • Page 157: Port Mirroring Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide The port mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config mirror port <port> [add|delete] source ports <portlist> [rx|tx|both] enable mirror...
  • Page 158 DGS-3224SR Stackable Gigabit 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 159 Restrictions Only administrator-level users can issue this command. Example Usage: To add the mirroring ports: DGS-3224SR:4#config mirror port 1:6 add source ports 1:1-1:5 both Command: config mirror port 1:6 add source ports 1:1-1:5 both Success. DGS-3224SR:4# config mirror delete...
  • Page 160 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config mirror delete configuration. Parameters <port> − This specifies 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.
  • Page 161 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# enable mirror Purpose Used to enable a previously entered port mirroring configuration. enable mirror Syntax Description This command, combined with the disable mirror command below, allows you to enter a port mirroring configuration into...
  • Page 162 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable mirror Purpose Used to disable a previously entered port mirroring configuration. Syntax disable mirror Description This command, combined with the enable mirror command above, allows you to enter a port mirroring configuration into the...
  • Page 163 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show mirror 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: DGS-3224SR:4# DGS-3224SR:4#show mirror Command: show mirror...
  • Page 164: Vlan Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide VLAN C The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create vlan <vlan_name> {tag <vlanid1-4094> | advertisement} delete vlan <vlan_name>...
  • Page 165 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create vlan Purpose Used to create a VLAN on the switch. create vlan <vlan_name> {tag Syntax <vlanid>|advertisement} Description This command allows you to create a VLAN on the switch. Parameters <vlan_name> − The name of the VLAN to be created.
  • Page 166 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# delete vlan Purpose Used to delete a previously configured VLAN on the switch. delete vlan <vlan_name> Syntax Description This command will delete a previously configured VLAN on the switch. <vlan_name> − Parameters VLAN you want to delete.
  • Page 167 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config gvrp Purpose Used to configure GVRP on the switch. config gvrp [<portlist>|all] [state Syntax [enable|disable]] [ingress_checking [enable|disable]] Description This command is used to configure the Group VLAN Registration Protocol on the switch. You can configure ingress checking and the GVRP status for each port.
  • Page 168 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config gvrp state [enabled|disabled] disables GVRP for the ports specified in the port list. ingress_checking Enables or disables ingress checking for the specified port list. Restrictions Only administrator-level users can issue this command.
  • Page 169 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable gvrp on the switch − without changing the GVRP configuration for each port on the switch. Parameters none. Restrictions Only administrator-level users can issue this command. Example Usage: To enable the generic VLAN Registration Protocol (GVRP):...
  • Page 170 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable gvrp Restrictions Only administrator-level users can issue this command. Example Usage: To disable the Generic VLAN Registration Protocol (GVRP): DGS-3224SR:4#disable gvrp Command: disable gvrp Success. DGS-3224SR:4# DGS-3224SR:4#disable gvrp Command: disable gvrp Success.
  • Page 171 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show vlan 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:...
  • Page 172 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show gvrp Purpose Used to display the GVRP status for a port list on the switch. show gvrp {<portlist>} Syntax Description This command displays the Parameters <portlist> − The portlist is specified by...
  • Page 173 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Global GVRP : Disabled Port PVID GVRP Ingress Checking ----- -------- -------- -------------------- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled 1:10 Enabled...
  • Page 174: Link Aggregation Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide GGREGATION The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create {group_id <value> {type [lacp | static]} link_aggregation delete group_id <value>...
  • Page 175 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create link_aggregation group_id Purpose Used to create a link aggregation group on the switch. Syntax create link_aggregation group_id <value> Description This command aggregation group. Parameters <value> − Specifies the group id. The switch allows up to 32 link aggregation groups to be configured.
  • Page 176 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide delete link_aggregation group_id Syntax delete link_aggregation group_id <value> Description This command previously group. Parameters <value> − Specifies the group id. The switch allows up to 32 link aggregation groups to be configured. The group number identifies each of the groups.
  • Page 177 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config link_aggregation state [enable|disable] Description This command allows you to configure a link aggregation group that was created with the create link_aggregation command above. Parameters <value> − Specifies the group id. The switch allows up to 32 link aggregation groups to be configured.
  • Page 178 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config link_aggregation 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 10: DGS-3224SR:4#config link_aggregation group_id 1 master_port 1:10 ports 1:5-1:10...
  • Page 179 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config link_aggregation algorithm Description This command configures to part of the packet examined by the switch when selecting the egress port for transmitting load-sharing data. This feature is only available using the address- based load-sharing algorithm.
  • Page 180 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success. DGS-3224SR:4# show link_aggregation Purpose Used aggregation configuration on the switch. show link_aggregation {group_id Syntax <value>|algorithm} Description This command will display the current link aggregation configuration of the switch.
  • Page 181 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-source-dest Group ID Type : LACP Master Port : 1:10 Member Port : 1:5-1:10 Active Port : Status : Disabled Flooding Port : X...
  • Page 182 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config lacp_port hyphen. For example, 1:3 would specify switch number 1, port 3; 2:4 specifies switch number 2, port 4. Thus, 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4, in numerical order.
  • Page 183 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show lacp_port Control Protocol (LACP) status. Syntax show lacp_port {<portlist>} Description This command will show LACP status of a port or group of ports Parameters <portlist> − The portlist is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
  • Page 184 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Port Activity ----- -------- Active DGS-3224SR:4#...
  • Page 185: Ip Interface Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide IP I The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif System [{ipaddress <network_address> | vlan <vlan_name> | state [enabled|disabled]} |...
  • Page 186 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config ipif System Purpose Used to configure the System IP interface. config ipif System [{vlan Syntax <vlan_name>|ipaddress <network_address>|state [enable|disable]} |bootp|dhcp] Description This command is used to configure the System IP interface on the switch.
  • Page 187 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To configure the IP interface System: DGS-3224SR:4#config ipif System ipaddress 10.52.19.2/8 vlan george state enabled Command: config ipif System ipaddress 10.52.19.2/8 vlan george state enabled Success. DGS-3224SR:4# show ipif Purpose Used to display the configuration of an IP interface on the switch.
  • Page 188 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To display IP interface settings: DGS-3224SR:4#show ipif System Command: show ipif System IP Interface Settings Interface Name : System IP Address : 10.52.19.2 Subnet Mask : 255.0.0.0 VLAN Name : george Admin.
  • Page 189: Igmp Snooping Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide IGMP S The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp_snooping [<vlan_name32> | all] {host_timeout <sec> | router_timeout <sec>...
  • Page 190 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters forbidden} show igmp_snooping {vlan <vlan_name 32>} group config <vlan_name 32> [add|delete] <portlist> router_ports_forbidde disable igmp_snooping Each command is listed, in detail, in the following sections. config igmp_snooping Purpose Used to configure IGMP snooping on the switch.
  • Page 191 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config igmp_snooping value is 16711450. route_timeout maximum amount of time a route will can be a member of a multicast group without the switch receiving query. The default is 260 seconds. Maximum value is 16711450.
  • Page 192 DGS-3224SR Stackable Gigabit 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 packet loss snooping. config igmp_snooping querier Syntax [<vlan_name>|all] {query_interval <sec>|max_response_time...
  • Page 193 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config igmp_snooping querier the following IGMP message intervals: • Group member interval—Amount of time multicast router decides there are no more members of a group on a network. This interval is calculated as follows: (robustness variable query query response interval).
  • Page 194 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config igmp_snooping querier specific query messages, including those 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 Maximum value is 25.
  • Page 195 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config router_ports Syntax config router_ports <vlan_name> [add|delete] <portlist> Description This command allows you to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination enabled router −...
  • Page 196 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To set up static router ports: DGS-3224SR:4#config router_ports default add 1-10 Command: config router_ports default add 1:1-1:10 Success. DGS-3224SR:4# config router_ports_forbidden Purpose Used to configure ports as forbidden ports. config router_ports_forbidden Syntax <vlan_name 32> [add | delete] <portlist>...
  • Page 197 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config router_ports_forbidden between switch 1, port 3 and switch 2, port 4, in numerical Restrictions Only administrator-level users can issue this command. Example Usage: To configure ports 1-5 as forbidden ports: DGS-3224SR:4#config router_ports_forbidden default...
  • Page 198 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable igmp_snooping Parameters forward_mcrouter_only − Specifies that the switch should forward all multicast traffic multicast-enabled Otherwise, the switch will forward all multicast traffic to any IP router. Restrictions Only administrator-level users can issue this command.
  • Page 199 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable igmp_snooping 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: DGS-3224SR:4#disable igmp_snooping Command: disable igmp_snooping Success. DGS-3224SR:4#...
  • Page 200 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show igmp_snooping Restrictions none. Example Usage: To show IGMP snooping: DGS-3224SR:4#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Enabled Multicast router Only : Disabled VLAN Name : default Query Interval : 125...
  • Page 201 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the switch. Syntax show igmp_snooping group {vlan <vlan_name>} Description This command will display the current IGMP snooping group configuration on the swtich.
  • Page 202 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Reports Port Member : 1:1 VLAN Name : default Multicast group: 224.0.0.18 MAC address : 01-00-5E-00-00-12 Reports Port Member : 1:1 VLAN Name : default Multicast group: 224.0.0.251 MAC address : 01-00-5E-00-00-FB Reports...
  • Page 203 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show router_ports configured as forbidden ports. Restrictions none. Example Usage: To display the router ports: DGS-3224SR:4#show router_ports Command: show router_ports VLAN Name : default Static router port : 1:1-1:10 Dynamic router port: Forbidden router port:...
  • Page 204: Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide 802.1X C The DGS-3224SR 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 205 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters config 802.1x capability Ports [<portlist> | all] [authenticator | none] config 802.1x [port_based | mac_based] auth_mode config 802.1x init [port_based ports [<portlist>|all] config 802.1x reauth [port_based ports [<portlist>|all] config radius add <server_index 1-3>...
  • Page 206 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide enable 802.1x switch. Syntax enable 802.1x Description The enable 802.1x command enables the 802.1x Port-based Network Access control server application on the switch. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 207 DGS-3224SR Stackable Gigabit 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: DGS-3224SR:4#disable 802.1x Command: disable 802.1x Success. DGS-3224SR:4# config 802.1x auth_protocol Purpose Used authentication protocol on the switch.
  • Page 208 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x auth_protocol this command. Example Usage: To configure 802.1x authentication protocol: DGS-3224SR:4#config 802.1x auth_protocol local Command: config 802.1x auth_protocol local Success. DGS-3224SR:4# config 802.1x capability Purpose Used to configure the 802.1x capability of a range of ports on the switch.
  • Page 209 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x capability Thus, 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4, in numerical order. all − Specifies all of the ports on the switch.
  • Page 210 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x auth_parameter [<portlist>|all] [both|in]|port_control [force_unauth|auto|force_auth]| quiet_period <sec 0-65535>| tx_period <sec 1-65535> | supp_timeout <sec 1- 65535> | server_timeout <sec 1-65535> | max_req <value 1-10>|reauth_period <sec [enabled|disabled]}] Description config command is used to configure the 802.1x Authentication parameters on a range of ports.
  • Page 211 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x auth_parameter controlled port blocks communication in both receiving directions, or just the receiving direction. port_control administrative authentication process for the range of ports. force_auth − Forces the Authenticator for the port to become authorized.
  • Page 212 DGS-3224SR Stackable Gigabit 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: DGS-3224SR:4#config 802.1x auth_parameter ports 1:1-1:20 direction both Command: config 802.1x auth_parameter ports 1:1-1:20 direction both Success.
  • Page 213 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x init (also separated by a colon) are specified. The beginning and end of the portlist range are separated by a hyphen. For example, 1:3 would specify switch number 1, port 3;...
  • Page 214 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config 802.1x reauth Parameters <portlist> − Specifies a range of ports. The portlist is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then the highest switch number, and the highest port number of the range (also separated by a colon) are specified.
  • Page 215 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config radius add will use to communicate with a Radius server. Syntax config radius add <server_index 1-3> <server_ip> [default|{auth_port <udp_port_number>| acct_port <udp_port_number>}] Description The config radius add command is used to configure the settings the switch will use to communicate with a Radius server.
  • Page 216 1813. Restrictions Only administrator-level users can issue this command. Example Usage: To configure Radius server communication settings: DGS-3224SR:4#config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success. DGS-3224SR:4# config radius delete Purpose Used to delete a previously entered Radius server configuration.
  • Page 217 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config radius delete this command. Example Usage: delete previously communication settings: DGS-3224SR:4#config radius delete 1 Command: config radius delete 1 Success. DGS-3224SR:4# config radius Purpose Used to configure the switch’s Radius settings. Syntax...
  • Page 218 1813. Restrictions Only administrator-level users can issue this command. Example Usage: To configure Radius settings: DGS-3224SR:4#config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success. DGS-3224SR:4# show radius Purpose Used...
  • Page 219 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show radius configurations on the switch. Syntax show radius Description The show radius command is used to display the current Radius configurations on the switch. Parameters None. Restrictions None. Example Usage: To display Radius settings on the switch:...
  • Page 220 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show 802.1x user display the current configuration of the 802.1x Port-based Network Access Control server application on the switch. Parameters None. Restrictions None. Example Usage: To show the 802.1x user: DGS-3224SR:4#show 802.1x user Command: show 802.1x user...
  • Page 221 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Example Usage: To create an 802.1x user: DGS-3224SR:4#create 802.1x user jill Command: create 802.1x user jill Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS-3224SR:4# delete 802.1x user Purpose Used to delete the switch’s 802.1x users.
  • Page 222 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# show auth_statistics Purpose Used to display the switch’s authentication statistics. Syntax show auth_statistics {ports <portlist>} Description The show auth_statistics command is used to display authentication statistics. ports <portlist> − Specifies a range of ports.
  • Page 223 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Port number : 1:1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show auth_diagnostics Purpose Used to display the switch’s authentication diagnostics statistics.
  • Page 224 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show auth_diagnostics (also separated by a colon) are specified. The beginning and end of the portlist range are separated by a hyphen. For example, 1:3 would specify switch number 1, port 3; 2:4 specifies switch number 2, port 4.
  • Page 225 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide BackendAuthFails CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh show auth_session_statistics Purpose Used to display the authentication session statistics. Syntax show auth_session_statistics <portlist>} Description The show auth_session_statistics command used authentication session statistics.
  • Page 226 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# show auth_session_statistics ports 1 Command: show auth_session_statistics port 1:1 Port number : 1:1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff SessionUserName CTRL+C ESC q Quit SPACE n Next Page p Previous Page r...
  • Page 227 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# show radius auth_client Command: show radius auth_client radiusAuthClient ==> radiusAuthClientInvalidServerAddresses 0 radiusAuthClientIdentifier radiusAuthServerEntry ==> radiusAuthServerIndex :1 radiusAuthServerAddress radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped CTRL+C ESC q Quit SPACE n Next Page p Previous Page r...
  • Page 228 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show radius acct_client Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To display the Radius account client statistics: DGS-3224SR:4# show radius acct_client Command: show radius acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses 0...
  • Page 229: Access Control List (Acl) Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide CCESS ONTROL (ACL) C The DGS-3224SR implements Access Control Lists that enable the switch to deny network access to specific devices or device groups based on IP settings or MAC address. Command Parameters create [ethernet {vlan | source_mac <macmask>...
  • Page 230 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters | ip {vlan <vlan_name 32> | source_ip <ipaddr> | destination_ip <ipaddr> | dscp <value0-63> | icmp {type <value 0-255> | code <value 0-255>} | igmp {type <value 0- 255>} | tcp {src_port <value 0-65535> | dst_port <value 0-65535>} | udp {src_port <value 0-...
  • Page 231 Here we use the profile_id 1 which was specified when the access profile was created. The add parameter instructs the switch to add the criteria that follows to the list of rules that are associated with access profile 1. For each rule entered into the access profile, you can assign an access_id that both identifies the rule and establishes a priority within the list of rules.
  • Page 232 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create access_profile Purpose Used to create an access profile on the switch and to define which parts of each incoming frame’s header the switch will examine. Masks can be entered that will be combined with the values the switch finds in the specified frame header fields.
  • Page 233 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create access_profile Masks combined with the values the switch finds specified Specific values for the rules are entered using the config access_profile command, below. ethernet − Specifies that the switch will Parameters examine the layer 2 part of each packet header.
  • Page 234 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create access_profile destination_ip_mask Specifies an IP address mask for the destination IP address. dscp − Specifies that the switch will examine the DiffServ Code Point (DSCP) field in each frame’s header. icmp − Specifies that the switch will...
  • Page 235 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create access_profile src_port_mask Specifies a UDP port mask for the source port. dst_port_mask Specifies a UDP port mask for the destination port. protocol_id − Specifies that the switch will examine each frame’s Protocol ID field.
  • Page 236 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Success. DGS-3224SR:4# delete access_profile Purpose Used to delete a previously created access profile. Syntax delete access_profile [profile_id <value 1- 8>] Description The delete access_profile command is used to delete a previously created access profile on the swtich.
  • Page 237 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config access_profile Purpose Used to configure an access profile on the switch and to define specific values that will be used to by the switch to determine if a given packet should be forwarded or filtered.
  • Page 238 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config access_profile and to enter specific values that will be combined, using a logical AND operation, with masks entered with the create access_profile command, above. Parameters profile_id <value 1-8> − add access_id <value 1-255> − Adds an additional rule to the above specified access profile.
  • Page 239 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config access_profile ip − Specifies that the switch will look into the IP fields in each packet. vlan <vlan_name 32> − Specifies that the access profile will apply to only to this VLAN.
  • Page 240 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config access_profile tcp − Specifies that the switch will exmamine the Transmission Control Protocol (TCP) field within each packet. src_port <value 0-65535> − Specifies that the access profile will apply only to packets that have this TCP source port in their TCP header.
  • Page 241 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config access_profile access profile will apply to packets that contain this value in their 802.1p priority field of their header. replace_priority − This parameter is specified if you want to change the 802.1p user priority of a packet that meets the specified criteria.
  • Page 242 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ethernet vlan defaul t ethernet_type 0x800 Success. DGS-3224SR:4# show access_profile Purpose Used to display the currently configured access profiles on the switch. Syntax show access_profile Description The show access_profile command is used to display the currently configured access...
  • Page 243 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide MASK Option VLAN Source MAC 00-00-00-00-00-01 00-00-00-00-00-02 ----------- ------------ ----------------- ----------------- ------ -------- Access ID ----------- ------------ ----------------- ----------------- ------ -------- default 00-00-00-00-00-00 00-00-00-00-00-00 0 ============================================================ Total Entries: 1 DGS-3224SR:4# Destination MAC 802.1p Ethe...
  • Page 244: Traffic Segmentation Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide RAFFIC EGMENTATION Command Parameters config <portlist> forward_list [all | null | traffic_segmentatio <portlist>] show traffic_segmentatio {<portlist>} Each command is listed, in detail, in the following sections. config traffic_segmentation Purpose Used to configure the traffixc segmentation.
  • Page 245 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config traffic_segmentation switch number and the beginning port number on that switch, separated by a colon. Then the highest switch number, and the highest port number of the range (also separated by a colon) are specified.
  • Page 246 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show traffic_segmentation Purpose Used display segmentation table. Syntax show traffic_segmentation Description This command will display the current traffic segmentation table. Parameters <portlist> - Specifies a range of ports. The portlist is specified by listing the lowest...
  • Page 247 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Port Forward Portlist ---- -------------------------------------------------- 1:1-1:24 1:1-1:24 1:1-1:24 DGS-3224SR:4#...
  • Page 248: Stacking Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide TACKING Command Parameters config box_priority current_box_id <value 1-12> priority <value1-16> config box_id current_box_id <value1-12> new_box_id [auto|1|2|3|4|5|6|7|8|9|10|11|12] config box_type current_box_id <value1-12> type [DGS- 3224SR | DES-3352SR | BOX_NOTEXIST] config all_boxes_id [static_mode | auto_mode] show stack_information Each command is listed, in detail, in the following sections.
  • Page 249 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config box_priority priority. Parameters current_box_id – identifies the switch being configured. Range is 1-12. priority – assigns a priority value to the box, with lower numbers having higher priority. Range is 1-16. Restrictions Administrator privileges are needed to issue this command.
  • Page 250 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config box_id Parameters current_box_id – identifies the switch being configured. Range is 1-12. new_box_id – the new Id being assigned to the box. Range is 1-12. auto – allows the box ID to be assigned automatically.
  • Page 251 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config box_type BOX_NOTEXIST] Description This command will pre-assign the box type of switches in a stack. Parameters current_box_id – identifies the switch being configured. Range is 1-12. DGS-3224SR – DES-3352SR – BOX_NOTEXIST – identifies a switch which may be added to the stack in future.
  • Page 252 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config all_boxes_id Purpose Used to configure box IDs for switches in a stack. Syntax [static_mode | auto_mode] Description This command will determine the mode of assigning box IDs. Parameters static_mode – user assigns box IDs...
  • Page 253 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show stack_information Purpose Used to display the stack information table. Syntax Description This command display stack information. Parameters None. Restrictions None. Usage Example: To display stack information: DGS-3224SR:4#show stack_information Command: show stack_information Box User...
  • Page 254 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ----------------------------------------------------------------- Topology :DUPLEX_CHAIN My Box ID Current state:MASTER Box Count DGS-3224SR:4#...
  • Page 255: Routing Table Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide OUTING Command Parameters create iproute <ipaddr> {metric 1-65535} default delete iproute default show iproute Each command is listed, in detail, in the following sections. create iproute default Purpose Used to create a default IP route entry.
  • Page 256 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide create iproute default <ipaddr> − The IP address for the next hop router. <metric 1-65535> − The default setting is Restrictions Administrator privileges are needed to issue this command. Usage Example: To create an IP route for the routing table: DGS-3224SR:4#create iproute default 10.52.19.2...
  • Page 257 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide delete iproute default Restrictions Only administrator-level users can issue this command. Usage Example: To delete the default IP route from the switch’s routing table: DGS-3224SR:4#delete iproute default Command: delete iproute default Success. DGS-3224SR:4#...
  • Page 258 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show iproute Restrictions None. Usage Example: To display the switch’s routing table: DGS-3224SR:4#show iproute Command: show iproute Routing Table IP Address/Netmask Gateway ------------------ --------------- ------------ -------- -------- 10.0.0.0/8 0.0.0.0 System Total Entries : 1...
  • Page 259: Arp Command

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide ARP C show arpentry Purpose Used to display the ARP table. Syntax show arpentry {ipif <ipif_name12> | ipaddress <ipaddr> | static} Description This command will display the Address Resolution Protocol (ARP) table. Parameters ipif_name –...
  • Page 260 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide To display the ARP table for a specific IP address: DGS-3224SR:4#show arpentry ipaddress 10.52.19.2 Command: show arpentry ipaddress 10.52.19.2 ARP Aging Time : 20 Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.52.19.2...
  • Page 261: Sntp Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide SNTP C The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NPT)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 262 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config sntp Purpose Used to configure SNTP on the switch. config sntp {primary <ipaddr> | Syntax secondary <ipaddr> | poll-interval <int30-99999>} Description This command is used to configure SNTP on the switch. primary − This is the primary server the Parameters SNTP information will be taken from.
  • Page 263 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#config sntp primary 10.52.19.7 Command: config sntp primary 10.52.19.7 Success. DGS-3224SR:4# enable sntp Purpose Used to enable SNTP on the switch. Syntax enable sntp Description This command enables SNTP on a switch. Parameters none.
  • Page 264 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4# disable sntp Purpose Used to disable SNTP on the switch. disable sntp Syntax Description This command will disable SNTP on the switch. Parameters None. Restrictions None. Example Usage: To disable SNTP on the switch:...
  • Page 265 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show sntp Purpose Used to show SNTP on the switch. Syntax show sntp Description This command will show SNTP on the switch. Parameters None. Restrictions None. Example Usage: To show SNTP on the switch:...
  • Page 266 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config time Purpose Used to configure the clock on the switch. Syntax config time <date ddmthyyyy> <time hh:mm:ss> Description This command will set the time on the switch. Parameters <date ddmthyyyy> - the date as day, month and year, no spaces <time hh:mm:ss>...
  • Page 267 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config time_zone Purpose Used to configure the time zone on the switch. config time_zone {operator [+|-] hour < Syntax gmt_hour 0-13> | min <minute 0-59>} Description This command will set the time zone for the switch.
  • Page 268 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#config time_zone operator + hour 8 min 0 Command: config time_zone operator + hour 8 min 0 Success. DGS-3224SR:4# config dst Purpose Used to configure Daylight Saving Time (DST) on the switch. config dst {disable | repeating {s_week Syntax <start_week 1-4, last>...
  • Page 269 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config dst Description This command will enable and configure Daylight Saving Time (DST) settings for the switch. Parameters disable – DST is not used in many parts of the world repeating – set these parameters when DST...
  • Page 270 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command: config dst annual s_date 23 s_mth 3 s_time 00:01 e_date 10 e_mth 10 e_t ime 00:01 offset 60 Success. DGS-3224SR:4# show time Purpose Used to display the time, time zone, and DST settings on the switch.
  • Page 271 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide DGS-3224SR:4#show time Command: show time Current Time Scource : System Clock Boot Time : 11 Oct 2003 09:30:19 Current Time : 11 Oct 2003 11:25:28 Time zone : GMT +00:00 Daylight Saving Time : Disabled...
  • Page 272: Port Security Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Command Parameters config ports [<portlist> | all] {admin_state port_security [enabled |disabled] | max-learing_addr <max_lock_no> | lock_address_mode [DeleteOnTimeout | DeleteOnReset]} show port_security Each command is listed, in detail, in the following sections. config port_security Purpose Used to configure port security settings.
  • Page 273 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config port_security Syntax config port_security ports [ <portlist>| all ] {admin_state max_learning_addr |lock_address_mode [DeleteOnTimeout|DeleteOnReset]} Description This command allows for the configuration of the port security feature. Only the ports listed in the <portlist> are effected.
  • Page 274 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide config port_security Commands). Specify DeleteOnReset to delete all FDB entries, including static entries upon system reset or rebooting. Restriction Only administrator-level command. Usage Example: To display all of the commands in the CLI:...
  • Page 275 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show port_security learning address and lock mode. Parameters <portlist> − Specifies a range of ports to be configured. The portlist is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
  • Page 276 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide...
  • Page 277: Jumbo Frame Commands

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide UMBO enable jumbo_frame Purpose Used to enable jumbo frame. enable jumbo_frame Syntax Description This command configures the jumbo frame setting as enabled. Parameters None. Restrictions None. Usage Example: To enable jumbo frame: DGS-3224SR:4#enable jumbo_frame Command: enable jumbo_frame Success.
  • Page 278 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide disable jumbo_frame Purpose Used to disable jumbo frame. disable jumbo_frame Syntax Description This command configures the jumbo frame setting as disabled. Parameters None. Restrictions None. Usage Example: To disable jumbo frame: DGS-3224SR:4#disable jumbo_frame Command: disable jumbo_frame Success.
  • Page 279 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide show jumbo_frame setting. Parameters None. Restrictions None. Usage Example: To disable jumbo frame: DGS-3224SR:4#show jumbo_frame Command: show jumbo_frame Off. DGS-3224SR:4#...
  • Page 280: Technical Specifications

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide PECIFICATIONS General Standards: IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z 1000BASE-SX Gigabit Ethernet IEEE 802.1 P/Q VLAN IEEE 802.3x Full-duplex Flow Control ANSI/IEEE 802.3 Nway auto-negotiation Protocols: CSMA/CD Data Transfer...
  • Page 281: Physical And Environmental

    DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide General Network Cables: 10BASE-T: 2-pair UTP Cat. 3,4,5 (100 m) EIA/TIA- 568 100-ohm STP (100 m) 100BASE-TX: 2-pair UTP Cat. 5 (100 m) EIA/TIA-568 100-ohm STP (100 m) Fiber Optic: IEC 793-2:1992 Type A1a – 50/125um multimode Type A1b - 62.5/125um multimode...
  • Page 282 DGS-3224SR Stackable Gigabit Ethernet Switch User’s Guide Physical and Environmental rack-mount width 1U height Weight: 4 kg EMI: FCC Class A, CE Mark Class A, BSMI Class A, C-Tick Class A Safety: CSA International Performance Transmission Method: Store-and-forward RAM Buffer:...

Table of Contents