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

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

Layer 2 switch
Hide thumbs Also See for DGS-3224TGR:

Advertisement

Quick Links

DGS-3224TGR

Command Line Interface

Reference Manual
First Edition (October 2003)
6S24TGRCLI01
Printed In China
RECYCLABLE

Layer 2 Switch

i

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-3224TGR

  • Page 1: Layer 2 Switch

    DGS-3224TGR Layer 2 Switch Command Line Interface Reference Manual First Edition (October 2003) 6S24TGRCLI01 Printed In China RECYCLABLE...
  • Page 2: Copyright Statement

    No part of this publication may be reproduced in any form or by any means or used to make any derivative such as translation, transformation, or adaptation without permission from D-Link Corporation/D-Link Systems Inc., as stipulated by the United States Copyright Act of 1976.
  • Page 3: Table Of Contents

    Table of Contents Introduction ...1 Using the Console CLI ...6 Command Syntax... 14 Basic Switch Commands... 19 Switch Port Commands ... 44 Network Management Commands ... 49 Download/Upload Commands ... 66 Network Monitoring Commands ... 70 Spanning Tree Commands ... 78 Layer 2 Forwarding Database Commands ...
  • Page 4 Link Aggregation Commands... 141 IP Interface Commands ... 149 IGMP Snooping Commands... 154 Routing Table Commands ... 168 802.1X Commands ... 173 Access Control List (ACL) Commands... 197 SSH Commands ... 213 Command History List ... 224 Technical Specifications ... 230...
  • Page 5: Introduction

    DGS-3224TGR Layer 2 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-3224TGR:4#. This is the command line where all commands are input. Setting the Switch’s IP Address...
  • Page 7 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide The switch is also assigned a unique MAC address by the factory that cannot be changed. Figure 1-2. Boot Screen The switch’s MAC address can be found from the console program under the Switch Information menu item, as shown below.
  • Page 8 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide The IP address may be set using the Command Line Interface (CLI) over the console serial port as follows: 1. Starting command 3224TGR:4# − enter the commands config ipif System xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the IP interface named System and the y’s represent the...
  • Page 9 DGS-3224TGR Layer 2 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.24.22.9 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-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide SING THE The DGS-3224TGR supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program.
  • Page 11 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide terminal emulator program (e.g., the HyperTerminal program included with the Windows operating system) using an RS-232C serial cable. Your terminal parameters will need to be set to: • VT-100 compatible • 9,600 baud •...
  • Page 12 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DGS- 3224TGR: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-3224TGR Layer 2 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-3224TGR Layer 2 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:.
  • Page 15 DGS-3224TGR Layer 2 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-3224TGR Layer 2 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-3224TGR Layer 2 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-3224TGR Layer 2 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-3224TGR Layer 2 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] Example Syntax Description In the above syntax example, you must specify either an admin or a user level account to be created.
  • Page 20 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide {braces} Purpose Encloses an optional value or set of optional arguments. config igmp [<ipif_name>|all] {version Example 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-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Line Editing Key Usage line to the left. Insert Can be toggled on or off. When toggled on, inserts text at the current cursor position and shifts the remainder of the line to the left.
  • Page 22 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Line Editing Key Usage Enter Displays the next line or table entry.
  • Page 23: Basic Switch Commands

    DGS-3224TGR Layer 2 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>...
  • Page 24 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters show jumbo_frame enable clipaging disable clipaging enable telnet {<tcp_port_number 1-65535>} disable telnet enable web {<tcp_port_number 1-65535>} disable web save reboot reset {config|system} login logout config realtime <date ddmthyyyy> <time hour:min:sec>...
  • Page 25 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create account Parameters Admin <username> User <username> Restrictions Only Administrator-level users can issue this command. Usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters. Example Usage: To create an administrator-level user account with the username “dlink”:...
  • Page 26 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config account Syntax config account <username> Description The config account command configures a user account that has been created using the create account command. Parameters <username> Restrictions Only Administrator-level users can issue this command.
  • Page 27 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show account Purpose Used to display user accounts show account Syntax Description Displays all user accounts created on the switch. Up to eight user accounts can exist on the switch at one time.
  • Page 28 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide delete account Description The delete account command deletes a user account that has been created using the create account command. Parameters <username> Restrictions Only Administrator-level users can issue this command. Example Usage: To delete the user account “System”:...
  • Page 29 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show session Restrictions None. Example Usage: To display the way that the users logged in: DGS-3224TGR:4#show session ID Login Time Live Time --- ------------------- -------------------- 8 2003/10/01 15:13:40 00:17:27 8 2003/10/01 15:13:40 00:17:29...
  • Page 30 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To display the switch information: DGS-3224TGR:4#show switch Command: show switch Device Type : DGS-3224TGR Gigabit-Ethernet Switch MAC Address : 00-01-02-03-04-00 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0...
  • Page 31 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show serial_port settings. Syntax show serial_port Description This command displays the current serial port settings. Parameters None. Restrictions None Example Usage: To display the serial port setting: DGS-3224TGR:4#show serial_port Command: show serial_port...
  • Page 32 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config serial_port [never|2_minutes|5_minutes|10_minutes| 15_minutes]} Description This command is used to configure the serial port’s baud rate and auto logout settings. Parameters [9600|19200|38400|115200] − The serial bit rate that will be used to communicate with the management host.
  • Page 33 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#config serial_port baud_rate 9600 Command: config serial_port baud_rate 9600 Success. DGS-3224TGR:4# enable jumbo_frame Purpose Used to enable support for Jumbo Frames. enable jumbo_frame Syntax Description This command is used to enable support for Jumbo Frames up to 9216 bytes.
  • Page 34 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable jumbo_frame Purpose Used to disable support for Jumbo Frames. disable jumbo_frame Syntax Description This command is used to disable support for Jumbo Frames of up to 9216 bytes. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 35 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show jumbo_frame bytes is enabled. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To display jumbo frame support on the switch: DGS-3224TGR:4#show jumbo_frame Command: show jumbo_frame DGS-3224TGR:4# enable clipaging...
  • Page 36 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable clipaging 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: DGS-3224TGR:4#enable clipaging Command: enable clipaging Success.
  • Page 37 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable clipaging 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-3224TGR:4#disable clipaging Command: disable clipaging Success.
  • Page 38 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable telnet 1 and 65535. The “well-known” TCP port for the Telnet protocol is 23. Restrictions Only administrator-level users can issue this command. Example Usage: To enable Telnet and configure port number:...
  • Page 39 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To disable the Telnet protocol on the switch: DGS-3224TGR:4#disable telnet Command: disable telnet Success. DGS-3224TGR:4# enable web Purpose Used management software on the switch. Syntax enable web <tcp_port_number> Description This command is used to enable the Web- based management software on the switch.
  • Page 40 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To enable HTTP and configure port number: DGS-3224TGR:4#enable web 80 Command: enable web 80 Success. DGS-3224TGR:4# disable web Purpose Used management software on the switch. disable web Syntax Description This command disables the Web-based management software on the switch.
  • Page 41 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR: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. The saved switch configuration will be loaded into the switch’s memory each time...
  • Page 42 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide reboot Purpose Used to restart the switch. reboot Syntax Description This command is used to restart the switch. Parameters None. Restrictions None. Example Usage: To restart the switch: DGS-3224TGR:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y|n) Please wait, the switch is rebooting...
  • Page 43 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide reset 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 44 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide login Purpose Used to log in a user to the switch’s console. Syntax login Description This command is used to initiate the login procedure. The user will be prompted for his Username and Password.
  • Page 45 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide logout Parameters None. Restrictions None. Example Usage: To terminate the current user’s console session: DGS-3224TGR:4#logout config realtime date Purpose Used to configure the date and time on the switch. config realtime date <date ddmthyyyy>...
  • Page 46 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To configure the date: DGS-3224TGR:4#config 10:59:30 Command: config realtime date 23sep2003 10:59:30 Success. DGS-3224TGR:4# show realtime Purpose Used to display the date and time on the switch. Syntax show realtime Description This command is used to display the date and time on the switch.
  • Page 47 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#...
  • Page 48: Switch Port Commands

    DGS-3224TGR Layer 2 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 49 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ports Purpose Used to configure the switch’s Ethernet port settings. Syntax config ports [<portlist|all>] {speed [auto|10_half|10_full|100_half|100_full| 1000_full] flow_control [enable|disable] learning [enable|disable] state [enable|disable]} Description This command allows for the configuration of the switch’s Ethernet ports.
  • Page 50 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ports slower speeds. [half|full] − Configures the specified range of ports as either full- or half-duplex. flow_control [enable|disable] disables flow control for the specified range of ports. learning [enable|disable] − Enables or disables the MAC address learning on the specified range of ports.
  • Page 51 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ports Purpose Used to display the current configuration of a range of ports. Syntax show ports {<portlist>} Description This command is used to display the current configuration of a range of ports.
  • Page 52 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#show ports 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 53: Network Management Commands

    DGS-3224TGR Layer 2 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_string 33> view <view_name> community [read_only|read_write] delete snmp <community_string>...
  • Page 54 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters trusted_hosts ping <ipaddr> times <value> timeout <sec> create snmp user <username 32> <groupname 32> {encrypted(1) [by_password auth [md5 <auth_password 8-16> | sha(3) <auth_password 8-20>] priv [none| des <priv_password 8-16>] | by_key auth [md5 <auth_key 32-32>...
  • Page 55 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters show snmp view {<view_name 32>} show snmp {<community_string 33>} community show snmp host {ipaddr>} show snmp traps create <ipaddr> trusted_host delete <ipaddr> trusted_host config snmp <sw_name> system_name config snmp <sw_location>...
  • Page 56 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create snmp community the switch’s SNMP agent. <view_name> − An alphanumeric string of up to 32 characters that identifies the SNMP view that will be created. read_only − Allows the user using the above community string to have read only access to the switch’s SNMP agent.
  • Page 57 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide delete snmp community Purpose Used to delete an SNMP community string previously entered on the switch. Syntax delete snmp community <community_string> Description This command is used to delete an SNMP community string entered on the switch using command above.
  • Page 58 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide delete trusted_host Purpose Used to delete a trusted host entry made using the create trusted_host command above. delete trusted _host <ipaddr> Syntax Description This command is used to delete a trusted host entry trusted_host command above.
  • Page 59 DGS-3224TGR Layer 2 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 60 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config snmp system_location <sw_location> Description This command description of the location of the switch. A maximum of 128 characters can be used. Parameters <sw_location> location of the switch. A maximum of 128 characters can be used.
  • Page 61 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config snmp system_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. A maximum of 128 character can be used.
  • Page 62 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable rmon enable and disable remote monitoring (RMON) on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To enable RMON: DGS-3224TGR:4#enable rmon Command: enable rmon Success.
  • Page 63 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable rmon Restrictions Only administrator-level users can issue this command. Example Usage: To disable RMON: DGS-3224TGR:4#disable rmon Command: disable rmon Success. DGS-3224TGR: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 64 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show trusted_host Restrictions None. Example Usage: To display the list of trust hosts: DGS-3224TGR:4#show trusted_host Command: show trusted_host Management Station IP Addresses: IP Address: 10.48.74.121 Port: 23 IP Address: 10.48.75.100 Port: 23 IP Address: 10.48.69.23 Port: 21...
  • Page 65 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To turn on SNMP trap support: DGS-3224TGR:4#enable snmp traps Command: enable snmp traps Success. DGS-3224TGR:4#...
  • Page 66 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable snmp traps Purpose Used to disable SNMP trap support on the switch. Syntax enable snmp traps Description This command is used to disable SNMP trap support on the switch. Parameters None.
  • Page 67 DGS-3224TGR Layer 2 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 68 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable snmp authenticate traps this command. Example Usage: To turn off SNMP authentication trap support: DGS-3224TGR:4#disable snmp authenticate traps Command: disable snmp authenticate traps Success. DGS-3224TGR:4# ping Purpose Used to test the connectivity between network devices.
  • Page 69 DGS-3224TGR Layer 2 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 70: Download/Upload Commands

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide OWNLOAD The download/upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters download firmware <ipaddr> <path_filename> configuration <ipaddr> <path_filename> {increment} upload configuration <ipaddr>...
  • Page 71 DGS-3224TGR Layer 2 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 72 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide download level users can issue this command. Example Usage: DGS-3224TGR:4#download configuration 10.48.74.121 c:\cfg\setting.txt Command: download configuration 10.48.74.121 c:\cfg\setting.txt Connecting to server... Done. Download configuration... Done. DGS-3224TGR:4# upload Purpose Used to upload the current switch settings or the switch history log to a TFTP server.
  • Page 73 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide upload <ipaddr> − The IP address of the TFTP server. The TFTP server must be on the same IP subnet as the switch. <path_filename> − Specifies the location of the switch configuration file on the TFTP server.
  • Page 74: Network Monitoring Commands

    DGS-3224TGR Layer 2 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...
  • Page 75: Command Parameters

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters state(5) [enabled(51)|diabled(52)]} Delete syslog [<index 1-4> |all] host Show syslog [index 1-4>] host Each command is listed, in detail, in the following sections. show packet ports Purpose Used to display statistics about the packets sent and received by the switch.
  • Page 76 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To display the packets analysis for port 7: DGS-3224TGR:4# show packet port 7 Port number : 7 Frame Size Frame Counts Frames|sec Total|sec ------------ ------------ ---------- 3275 RX Bytes 65-127...
  • Page 77 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show error ports highest port number of the range. The beginning and end of the port list range are separated by a dash. For example, 3 would specify port 3. 4 specifies port 4. 3-4 specifies all of the ports between port 3 and port 4 −...
  • Page 78 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show utilization Description This command will display the real-time port utilitization statistics for the switch. Parameters None. Restrictions None. Example Usage: To display the port utilization statistics: DGS-3224TGR:4# show utilization Port TX|sec...
  • Page 79 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide clear counters Purpose Used clear counters. clear counters {ports <portlist>} Syntax Description This command will clear the counters used by the switch to compile statistics. Parameters <portlist> − Specifies a range of ports to be configured.
  • Page 80 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# clear log Purpose Used to clear the switch’s history log. clear log Syntax Description This command will clear the switch’s history log. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 81 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show log Syntax show log {index <value>} Description This command will display the contents of the switch’s history log. Parameters index <value> − The show log command will display the history log until the log number reaches this value.
  • Page 82: Spanning Tree Commands

    DGS-3224TGR Layer 2 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 Parameters config stp maxage <value> hellotime <value> forwarddelay <value>...
  • Page 83 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config stp Purpose Used to setup STP on the switch. Syntax config <value>|forwarddelay <value>|fbpdu [enabled|disabled]} Description This command is used to setup the Spanning Tree Protocol (STP) for the entire switch. maxage <value> − The maximum amount of...
  • Page 84 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config stp other network devices when STP is disabled on the switch. The default is enabled. Restrictions Only administrator-level users can issue this command. Example Usage: To set maxage to 18 and hellotime to 4:...
  • Page 85 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config stp ports port the default cost is 100. priority <value> − A numeric value between 0 and 255 that is used in determining the root and designated port in an STP port list.
  • Page 86 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# enable stp Purpose Used to globally enable STP on the switch. enable stp Syntax Description This command allows the Spanning Tree Protocol to be globally enabled on the switch. Parameters None.
  • Page 87 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable stp Purpose Used to globally disable STP on the switch. disable stp Syntax 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 88 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show stp current STP configuration. Parameters None Restrictions None. Example Usage: Status 1: STP enabled DGS-3224TGR:4#show stp Command: show stp STP Status Max Age Hello Time Forward Delay Priority Forwarding BPDU Designated Root Bridge...
  • Page 89 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Max Age Hello Time Forward Delay Priority Forwarding BPDU DGS-3224TGR:4# show stp ports Purpose Used to display the switch’s current per- port group STP configuration. Syntax show stp ports <portlist> Description This command current per-port group STP configuration.
  • Page 90 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Port Connection State Cost ---- ---------------- ----------- ----- Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19 Link Down Enabled 19...
  • Page 91: Layer 2 Forwarding Database Commands

    DGS-3224TGR Layer 2 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 92 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters vlan <vlan_name> mac_address <macaddr> static aging_time 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...
  • Page 93 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create fdb Restrictions Only administrator-level users can issue this command. Example Usage: To create an unicast MAC forwarding: DGS-3224TGR:4#create fdb default 00-00-00-00-01-02 port 5 Command: create fdb default 00-00-00-00-01-02 port 5 Success.
  • Page 94 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create multicast_fdb added to the forwarding table. Restrictions Only administrator-level users can issue this command. Example Usage: To create multicast MAC forwarding: DGS-3224TGR:4# create multicast_fdb default 01-00-5E- 00-00-00 Command: create multicast_fdb default 01-00-5E-00-00- Success.
  • Page 95 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config multicast_fdb added to the forwarding table. [add|delete] − Add will add the MAC address to the forwarding table, delete will remove forwarding table. <portlist> − Specifies a range of ports to be configured.
  • Page 96 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide delete fdb Purpose Used to delete an entry to the switch’s forwarding database. Syntax delete fdb <vlan_name> <macaddr> Description This command is used to delete a previous entry forwarding database. Parameters <vlan_name> − The name of the VLAN on which the MAC address resides.
  • Page 97 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide clear fdb Purpose Used to clear the switch’s forwarding database of all dynamically learned MAC addresses. clear Syntax <port>|all] Description This command is used to clear dynamically learned entries to the switch’s forwarding database.
  • Page 98 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. show Syntax <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 99 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# show fdb Purpose Used to display the current unicast MAC address forwarding database. Syntax show <vlan_name>|mac_address <macaddr>|static|aging_time} Description This command will display the current contents database. <port> − The port number corresponding to Parameters the MAC destination address.
  • Page 100 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To display unicast MAC address table: DGS-3224TGR:4#show fdb Command: show fdb Unicast MAC Address Ageing Time = 300 VID VLAN Name MAC Address ---- ---------------- ----------------- default 00-00-00-00-01-02 default 00-50-BA-6B-2A-29 9...
  • Page 101: Broadcast Storm Control Commands

    DGS-3224TGR Layer 2 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_portlist> control broadcast [enable|disable]...
  • Page 102 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config traffic control Purpose Used configure traffic control. Syntax config [<storm_portlist>|all] [enable|disable]|multicast [enable|disable]|dlf [enable|disable]|threshold <value> Description This command broadcast storm control. <storm_grouplist> − Used to specify a Parameters broadcast storm control group with the syntax: module_id:group_id.
  • Page 103 DGS-3224TGR Layer 2 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-3224TGR:4#config traffic control 2-3 broadcast enable Command: config traffic control 2-3 broadcast enable Success.
  • Page 104 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To display traffic control setting: DGS-3224TGR:4#show traffic control Command: show traffic control Traffic Control Port Broadcast Multicast State/Threshold (kbps) State/Threshold (kbps) ------ ------------------------------- -------------------------------- Disabled/128 Disabled/128 Disabled/128 Disabled/128 Disabled/128 Disabled/128...
  • Page 105: Arp Commands

    DGS-3224TGR Layer 2 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 <min 0-65535> show arpentry {ipif(1) <ipif_name 12> | ipaddress(2) <ipaddr>...
  • Page 106 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config arp_aging Description This command sets the maximum amount 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.
  • Page 107 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show arpentry current contents of the switch’s ARP table. Parameters <ipif_name> − The name of the IP interface the end node or station for which the ARP table entry was made, resides on.
  • Page 108 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide System 10.14.82.24 00-50-BA-90-37-10 System 10.15.1.60 00-80-C8-17-42-55 System 10.17.42.153 00-80-C8-4D-4E-0A System 10.19.72.100 00-50-BA-38-7D-5E System 10.21.32.203 00-80-C8-40-C1-06 System 10.40.44.60 00-50-BA-6B-2A-1E System 10.42.73.221 00-01-02-03-04-00 System 10.44.67.1 00-50-BA-DA-02-51 System 10.47.65.25 00-50-BA-DA-03-2B System 10.50.8.7 00-E0-18-45-C7-28 System 10.90.90.90...
  • Page 109 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To remove dynamic entries in the ARP table: DGS-3224TGR:4#clear arptable Command: clear arptable Success. DGS-3224TGR:4#...
  • Page 110: Qos Commands

    DGS-3224TGR Layer 2 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 scheduling <class_id 0-7> weight <value 1-15>...
  • Page 111 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters show hol_prevention config <portlist>{rx_rate [no_limit | <value 1- bandwidth_control 1000>] | tx_rate [no_limit | <value 1- 1000>]} show {<portlist>} bandwidth_control Each command is listed, in detail, in the following sections.
  • Page 112 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config scheduling queue has finished transmitting all of its packets, queue can again transmit any packets it may have received. Parameters <class_id> − This specifies which of the eight hardware priority scheduling command will apply to. The eight hardware priority queues are identified by number −...
  • Page 113 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show scheduling Syntax 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-3224TGR:4# show scheduling...
  • Page 114 DGS-3224TGR Layer 2 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|weight_fair] Description This command is use to specify how the switch handle packets in priority queues.
  • Page 115 DGS-3224TGR Layer 2 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.
  • Page 116 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1p user_priority Syntax config 802.1p user_priority <priority 0-7> <class_id 0-7> The config 802.1p user_priority command Description allows you to configure the way the switch will map an incoming packet, based on its 802.1p user priority, to one of the eight...
  • Page 117 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1p user_priority 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). <priority> − The 802.1p user priority you want to associate with the <class_id>...
  • Page 118 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show 802.1p user_priority priority to hardware priority queue mapping in use by the switch. Syntax show 802.1p user_priority Description This command will display the current 802.1p user priority to hardware priority queue mapping in use by the switch.
  • Page 119 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide 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 120 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1p default_priority Restrictions Only administrator-level users can issue this command. Example Usage: To configure 802.1p default priority: DGS-3224TGR:4#config 802.1p default_priority all 5 Command: config 802.1p default_priority all 5 Success. DGS-3224TGR:4# show 802.1p default_priority...
  • Page 121 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# show 802.1p default_priority Command: show 802.1p default_priority Port Priority ------- ----------- DGS-3224TGR:4# enable hol_prevention...
  • Page 122 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide 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: To enable HOL prevention:...
  • Page 123 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable hol_prevention Restrictions You must have administrator privileges. Example Usage: To disable HOL prevention: DGS-3224TGR:4# disable hol_prevention Command: disable hol_prevention Success. DGS-3224TGR:4# show hol_prevention Purpose Used to show HOL prevention. Syntax show hol_prevention...
  • Page 124 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command: show hol_prevention Success. DGS-3224TGR:4#...
  • Page 125: Port Mirroring Commands

    DGS-3224TGR Layer 2 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]...
  • Page 126 DGS-3224TGR Layer 2 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 127 Restrictions Only administrator-level users can issue this command. Example Usage: To add the mirroring ports: DGS-3224TGR:4#config mirror port 10 add source ports 1-5 both Command: config mirror port 10 add source ports 1-5 both Success. DGS-3224TGR:4# config mirror delete Purpose...
  • Page 128 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config mirror delete sent to the Target port. rx − Allows the mirroring of only packets received (flowing into) the port or ports in the port list. tx − Allows the mirroring of only packets sent (flowing out of) the port or ports in the port list.
  • Page 129 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable mirror Description This command, combined with the disable mirror command below, allows you to enter a port mirroring configuration into the switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration.
  • Page 130 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable mirror and off without having to modify the port mirroring configuration. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To disable mirroring configurations: DGS-3224TGR:4#disable mirror Command: disable mirror Success.
  • Page 131 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To display mirroring configuration: DGS-3224TGR:4#show mirror Command: show mirror Current Settings Target Port: 9 Mirrored Port: TX: 1-5 DGS-3224TGR:4#...
  • Page 132: Vlan Commands

    DGS-3224TGR Layer 2 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 <vlanid> advertisement delete vlan <vlan_name>...
  • Page 133 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters show vlan <vlan_name> show gvrp <portlist> Each command is listed, in detail, in the following sections. create vlan Purpose Used to create a VLAN on the switch. Syntax create vlan <vlan_name> {tag <vlanid>|advertisement}...
  • Page 134 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Example Usage: To create a VLAN v1, tag 2: DGS-3224TGR:4#create vlan v1 tag 2 Command: create vlan v1 tag 2 Success. DGS-3224TGR:4# delete vlan Purpose Used to delete a previously configured VLAN on the switch.
  • Page 135 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# config vlan add ports Purpose Used to add additional ports to a previously configured VLAN. config vlan <vlan_name> add Syntax [tagged|untagged|forbidden] <portlist> Description This command allows you to add ports to the port list of a previously configured VLAN.
  • Page 136 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config vlan add ports numerical order. Restrictions Only administrator-level users can issue this command. Example Usage: To add 4 through 8 as tagged ports to the VLAN v1: DGS-3224TGR:4#config vlan v1 add tagged 4-8 Command: config vlan v1 add tagged 4-8 Success.
  • Page 137 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config vlan delete ports port list is specified by listing the beginning port number and the highest port number of the range. The beginning and end of the port list range are separated by a dash. For example, 3 would specify port 3.
  • Page 138 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config vlan advertisement VLAN. Parameters <vlan_name> − The name of the VLAN on which you want to enable or disable sending GVRP messages. enable − Enables sending GVRP messages on the specified VLAN.
  • Page 139 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config gvrp Syntax config gvrp [<portlist>|all] {state [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 140 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To sets the ingress checking status and the GVRP status: DGS-3224TGR:4#config gvrp 1-5 state enable ingress_checking enable Command: config gvrp 1-5 state enable ingress_checking enable Success. enable gvrp Purpose Used to enable GVRP on the switch.
  • Page 141 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# disable gvrp Purpose Used to disable GVRP on the switch. Syntax disable gvrp Description This command, along with disable gvrp below, is used to enable and disable GVRP on the switch − without changing the GVRP configuration for each port on the switch.
  • Page 142 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show vlan Purpose Used display configuration on the switch Syntax show vlan {<vlan_name>} Description This command information about each VLAN including the VLAN Tagging/Untagging Member/Non-member/Forbidden status of each port that is a member of the VLAN.
  • Page 143 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# show gvrp Purpose Used to display the GVRP status for a port list on the switch. Syntax show gvrp {<portlist>} Description This command displays the Parameters <portlist> − Specifies a range of ports for which the GVRP statust is to be displayed.
  • Page 144 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Port PVID GVRP Ingress Checking ---- -------- -------- -------------------- Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable...
  • Page 145: Link Aggregation Commands

    DGS-3224TGR Layer 2 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 <value1-32>|algorithm} link_aggregation delete group_id <value> link_aggregation config group_id <value>...
  • Page 146 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters create <value 1-32> link_aggregation group_id delete <value 1-32> link_aggregation group_id config <value 1-32> {master_prot <port> | ports link_aggregation <portlist> | state [enabled|disabled]}(1) group_id Each command is listed, in detail, in the following sections.
  • Page 147 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To create link aggregation group: DGS-3224TGR:4#create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DGS-3224TGR:4# delete link_aggregation group_id Purpose Used to delete a previously configured link aggregation group. delete link_aggregation group_id <value>...
  • Page 148 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# config link_aggregation Purpose Used to configure a previously created link aggregation group. config link_aggregation group_id <value> Syntax {master_port <port>|ports <portlist>| state [enable|disable] Description This command allows you to configure a...
  • Page 149 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config link_aggregation port 1 and port 4 − in numerical order. state [enable|disable] − Allows you to enable aggregation group. Restrictions Only administrator-level users can issue this command. Example Usage: To define a load-sharing group of ports, group-id 1,...
  • Page 150 DGS-3224TGR Layer 2 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 151 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success. DGS-3224TGR:4# show link_aggregation Purpose Used aggregation configuration on the switch. Syntax show link_aggregation {group_id <value>|algorithm} Description This command will display the current link aggregation configuration of the switch.
  • Page 152 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-source Group ID Master Port Member Port : 1-8 Status : Disabled Flooding Port DGS-3224TGR:4#...
  • Page 153: Ip Interface Commands

    DGS-3224TGR Layer 2 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 vlan <vlan_name> ipaddress <network_address>...
  • Page 154 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ipif System Syntax config ipif System [{vlan <vlan_name>|ipaddress <network_address>|state [enable|disable]|bootp|dhcp}] Description This command is used to configure the System IP interface on the switch. Parameters <vlan_name> − The name of the VLAN corresponding to the System IP interface.
  • Page 155 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#config ipif System ipaddress 10.48.74.122/8 Command: config ipif System ipaddress 10.48.74.122/8 Success. DGS-3224TGR:4# config ipif Purpose Used to configure an IP interface on the switch. Syntax config ipif <ipif_name> {vlan <vlan_name>|ipaddress <network_address>|state...
  • Page 156 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ipif enable or disable the IP interface. Restrictions Only administrator-level users can issue this command. Example Usage: To configure the IP interface ip2: DGS-3224TGR:4#config ipif ip2 vlan vlan1 Command: config ipif ip2 vlan vlan1 Success.
  • Page 157 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ipif Restrictions None. Example Usage: To display IP interface settings: DGS-3224TGR:4#show ipif System Command: show ipif System IP Interface Settings Interface Name : System IP Address : 10.48.74.122 Subnet Mask : 255.0.0.0...
  • Page 158: Igmp Snooping Commands

    DGS-3224TGR Layer 2 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 <vlan_name 32> igmp_snooping host_timeout <sec 1-16711450>...
  • Page 159 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters show igmp_ vlan <vlan_name 32> snooping show router ports vlan <vlan_name 32> static dynamic show {vlan <vlan_name 32>} igmp_snooping group config <vlan_name 32> [add|delete] <portlist> router_ports disable igmp_snooping Each command is listed, in detail, in the following sections.
  • Page 160 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config igmp_snooping host_timeout <sec 1-16711450> − Specifies the maximum amount of time a host can be a member of a multicast group without the switch receiving a host membership report. The default is 260 seconds.
  • Page 161 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# 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. Syntax config igmp_snooping querier [<vlan_name 32>|all] {query_interval...
  • Page 162 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config igmp_snooping querier packet loss on a subnet. The value of the robustness variable is used in calculating 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.
  • Page 163 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config igmp_snooping querier − The maximum amount of time between group-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...
  • Page 164 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config router_ports Purpose Used to configure ports as router ports. config router_ports <vlan_name 32> Syntax [add|delete] <portlist> Description This command allows you to designate a range of ports as being connected to multicast-enabled routers.
  • Page 165 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#config router_ports default add1-10 Command: config router_ports default add 1-10 Success. DGS-3224TGR:4# enable igmp_snooping Purpose Used to enable IGMP snooping on the switch. Syntax enable igmp_snooping {forward_mcrouter_only} Description This command allows you to enable IGMP...
  • Page 166 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To enable IGMP snooping on the switch: DGS-3224TGR:4#enable igmp_snooping Command: enable igmp_snooping Success. DGS-3224TGR:4# disable igmp_snooping Purpose Used to enable IGMP snooping on the switch. disable igmp_snooping Syntax Description This command disables IGMP snooping on the switch.
  • Page 167 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4# show igmp_snooping Purpose Used to show the current status of IGMP snooping on the switch. show igmp_snooping {vlan <vlan_name Syntax 32>} Description This command will display the current IGMP snooping switch.
  • Page 168 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Robustness Value Last Member Query Interval Host Timeout : 260 Route Timeout : 260 Leave Timer Querier State : Disabled Querier Router Behavior : Non-Querier State : Disabled VLAN Name : vlan2...
  • Page 169 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show igmp_snooping group Parameters <vlan_name 32> − The name of the VLAN for which you want to view IGMP snooping group configuration information. Restrictions None. Example Usage: To show IGMP snooping group:...
  • Page 170 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show router_ports Purpose Used to display the currently configured router ports on the switch. Syntax show router_ports {vlan <vlan_name 32>} {static|dynamic} Description This command will display the router ports currently configured on the switch.
  • Page 171 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide VLAN Name : vlan2 Static router port Dynamic router port : Total Entries: 2 DGS-3224TGR:4#...
  • Page 172: Routing Table Commands

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide OUTING The routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create iproute default <network_address> <ipaddr> <metric> delete iproute default <network_address>...
  • Page 173 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create iproute Purpose Used to create an IP route entry to the switch’s IP routing table. Syntax create iproute [default|<network_address>] <ipaddr> {<metric>} Description This command is used to create an IP route entry to the switch’s IP routing table.
  • Page 174 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#create iproute 10.48.74.121/255.0.0.0 10.1.1.254 1 Command: create iproute 10.48.74.121/8 10.1.1.254 1 Success. DGS-3224TGR:4# delete iproute Purpose Used to delete an IP route entry from the switch’s IP routing table. Syntax delete iproute [default|<network_address>]...
  • Page 175 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To delete a static address 10.48.75.121, mask 255.0.0.0 from the routing table: DGS-3224TGR:4#delete iproute 10.48.74.121/255.0.0.0 Command: delete iproute 10.48.74.121/8 Success. DGS-3224TGR:4# show iproute Purpose Used to display the switch’s current IP routing table.
  • Page 176 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4#show iproute Command: show iproute IP Address Netmask Gateway --------------- --------------- --------------- 0.0.0.0 0.0.0.0 10.1.1.254 10.0.0.0 255.0.0.0 10.48.74.122 Total Entries: 2 DGS-3224TGR:4# Interface Name Hops Protocol --------------- ---- ----------- System Default System...
  • Page 177: Commands

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide 802.1X C The DGS-3224TGR 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 178 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters enable_reauth [enabled|disabled] config 802.1x init ports [<portlist>|all] config 802.1x reauth ports [<portlist>|all] config radius add <server_index 1-3> <server_ip> key <passwd 32> default auth_port <udp_port_number 1- 65535> acct_port <udp_port_number 1-65535> config radius delete <server_index 1-3>...
  • Page 179 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable 802.1x Purpose Used to enable the 802.1x server on the switch. Syntax enable 802.1x Description The enable 802.1x command enables the 802.1x Port-based Network Access control server application on the switch.
  • Page 180 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide disable 802.1x Access control server application on the switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example Usage: To disable 802.1x on the switch: disable 802.1x DGS-3224TGR:4# Command: disable 802.1x Success.
  • Page 181 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x auth_protocol Restrictions Only administrator-level users can issue this command. Example Usage: To configure 802.1x authentication protocol: config 802.1x auth_protocol DGS-3224TGR:4# Command: config 802.1x auth_protocol Success. DGS-3224TGR:4# config 802.1x capability Purpose Used to configure the 802.1x capability of a...
  • Page 182 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x capability all − Specifies all of the ports on the switch. authenticator − A user must pass the authentication process to gain access to the network. none − The port is not controlled by the 802.1x functions.
  • Page 183 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x auth_parameter <value 1-10>|reauth_period 65535>|enable_reauth [enabled|disabled]}] Description config command is used to configure the 802.1x Authentication parameters on a range of ports. The default parameter will return all ports in the specified range to their default 802.1x settings.
  • Page 184 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x auth_parameter auto − Allows the port’s status to reflect outcome process. force_unauth − Forces the Authenticator for the port to become unauthorized. Network access will be blocked. quiet_period <sec 0-65535> − Configures...
  • Page 185 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide both Success. DGS-3224TGR:4# config 802.1x init Purpose Used to initialize the 802.1x functions on a range of ports. config 802.1x init ports [<portlist>|all] Syntax Description The config 802.1x init command is used to immediately initialize the 802.1x functions...
  • Page 186 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x init ports 1-15 DGS-3224TGR:4# Command: config 802.1x init ports 1-15 Success. DGS-3224TGR:4# config 802.1x reauth Purpose Used authentication feature of the switch. config 802.1x Syntax [<portlist>|all] Description The config 802.1x reauth command is used to enable the 802.1x re-authentication...
  • Page 187 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x reauth ports 1-15 DGS-3224TGR:4# Command: config 802.1x reauth ports 1-15 Success. DGS-3224TGR:4# config radius add Purpose Used to configure the settings the switch will use to communicate with a RADIUS server.
  • Page 188 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config radius add switch. Up to 32 characters can be used. default − Returns all of the ports in the range to their default RADIUS settings. auth_port <udp_port_number 1-65535> − The UDP port number for authentication requests.
  • Page 189 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config radius delete Description The config radius delete command is used to delete a previously entered RADIUS server configuration. Parameters <server_index 1-3> − Assigns a number to the current set of RADIUS server settings.
  • Page 190 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config radius Description The config radius command is used to configure the switch’s RADIUS settings. <server_index 1-3> − Assigns a number to Parameters the current set of RADIUS server settings. Up to three groups of RADIUS server settings can be entered on the switch.
  • Page 191 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide DGS-3224TGR:4# show radius Purpose Used display configurations on the switch. show radius Syntax Description The show radius command is used to display the current RADIUS configurations on the switch. Parameters None. Restrictions None.
  • Page 192 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show 802.1x user Purpose Used to display the current configuration of the 802.1x server on the switch. show 802.1x user Syntax Description The show 802.1x user command is used to display the current configuration of the 802.1x Port-based Network Access Control...
  • Page 193 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create 802.1x user many as 15 alphanumeric characters. Restrictions Only administrator-level users can issue this command. Example Usage: To create an 802.1x user: create 802.1x user ctsnow DGS-3224TGR:4# Command: create 802.1x user ctsnow...
  • Page 194 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command: delete 802.1x user ctsnow Are you sure to delete the user?(y/n) Success. DGS-3224TGR: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.
  • Page 195 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Port number : 1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIDFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 00-00-00-00-00-00 CTRL+C ESC q Quit SPACE n Next Page show auth_diagnostics Purpose Used to display the switch’s authentication diagnostics statistics.
  • Page 196 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show auth_diagnostics this command. Example Usage: To display authentication diagnostics statistics: show auth_diagnostics DGS-3224TGR:4# Command: show auth_diagnostics Port number EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses...
  • Page 197 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show auth_session_statistics Syntax show auth_session_statistics <portlist>} Description The show auth_session_statistics command used authentication session statistics. Parameters ports <portlist> − Specifies a range of ports. The port list is specified by listing the beginning port number and the highest port number of the range.
  • Page 198 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide CTRL+C ESC q Quit SPACE n Next Page show radius auth_client Purpose Used to display the switch’s RADIUS authentication client statistics. Syntax show radius auth_client Description The show radius auth_client command is used to display RADIUS authentication client statistics.
  • Page 199 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped CTRL+C ESC q Quit SPACE n Next Page show radius acct_client Purpose Used to configure the switch’s RADIUS account client statistics. show radius acct_client Syntax...
  • Page 200 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh...
  • Page 201: Access Control List (Acl) Commands

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide CCESS ONTROL (ACL) C The DGS-3224TGR 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...
  • Page 202 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters dst_port_mask <hex 0x0-0xffff> udp src_port_mask <hex 0x0-0xffff> dst_port_mask <hex 0x0-0xfff> protocol_id user_mask <hex 0x0-0xffffffff> permit deny profile_id <value 1-8>} delete profile_id <value 1-8> access_profile config profile_id <value 1-8> access_profile add access_id <value 1-255>...
  • Page 203 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters protocol_id <value 0-255> user_define <hex 0x0-0xffffffff> priority <value 0-7> replace_priority replace_dscp <value 0-63> delete <value 1-255> Due to a chipset limitation, the switch currently supports a maximum of ten access profiles, each containing a maximum of 50 rules −...
  • Page 204 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide when a logical AND operation between an IP address specified in the next step and the ip_source_mask match. The default for an access profile on the switch is to permit traffic flow. If you want to restrict traffic, you must use the deny parameter.
  • Page 205 DGS-3224TGR Layer 2 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 206 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create access_profile 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 207 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create access_profile dscp <value 0-63> − Specifies that the switch will examine the DiffServ Code Point (DSCP) field in each frame’s header. tos <value 0-127>− Specifies that the switch will examine the Type of Service value in each frame’s header.
  • Page 208 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide create access_profile Protocol (UDP) field. 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 209 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To create an access profile that will deny service to the subnet ranging from 10.42.73.0 to 10.42.73.255: create access_profile ip source_ip_mask DGS-3224TGR:4# 255.255.255.0 profile_id 1 deny Command: create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 deny Success.
  • Page 210 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To delete the access profile with a profile ID of 1: delete access_profile profile_id 1 DGS-3224TGR:4# Command: delete access_profile profile_id 1 Success. DGS-3224TGR:4# config access_profile Purpose Used to configure an access profile on the...
  • Page 211 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config access_profile <value 0-65535>}|protocol_id <value 0- 255> {user_define <hex 0x0- 0xffffffff>}]}]{priority <value 0-7> {replace_priority}|replace_dscp <value 0- 63>}|delete <value 1-255>] Description The config access_profile command is used to configure an access profile on the switch...
  • Page 212 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config access_profile 802.1p <value 0-7> − Specifies that the access profile will apply only to packets with this 802.1p priority value. ethernet_type <hex 0x0-0xffff> − Specifies that the access profile will apply only to packets with this hexidecimal 802.1Q Ethernet type value...
  • Page 213 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config access_profile access profile will apply to this ICMP code. igmp − Specifies that the switch will examine the Internet Group Management Protocol (IGMP) field within each packet. type <value 0-255> − Specifies that the access profile will apply to packets that have this IGMP type value.
  • Page 214 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config access_profile field in each packet and if this field contains the value entered here, apply the following rules. user_define <hex 0x0-0xfffffff> − Specifies a mask to be combined with the value found in the frame header using a logical AND operaiton.
  • Page 215 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To configure the access profile with the profile ID of 1 to filter frames that have IP addresses in the range between 10.42.73.0 to 10.42.73.255: config access_profile profile_id 1 add access_id DGS-3224TGR:4# 1 ip source_ip 10.42.73.1...
  • Page 216 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To display all of the currently configured access profiles on the switch: DGS-3224TGR:4#show access_profile Command: show access_profile Access Profile Table Access Profile ID:1 ==================================================== MASK Option Source IP MASK 255.255.255.0 -------------------- ----------------------...
  • Page 217: Ssh Commands

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide SSH C The Secure Shell (SSH) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ssh [3DES|Blowfish|MD5|SHA1| DSA|RSA] algorithm [enable|disable]...
  • Page 218 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Command Parameters disable ssh Each command is listed, in detail, in the following sections. config ssh algorithm Purpose Used to configure the SSH algorithm. Syntax config [3DES|Blowfish|MD5|SHA1|DSA|RSA] [enable|disable] Description This command allows you to configure the desired type of SSH algorithm.
  • Page 219 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ssh algorithm Purpose Used to display the SSH algorithm setting. show ssh algorithm Syntax Description This command will display the current SSH algorithm setting status. Parameters None. Restrictions None. Usage Example:...
  • Page 220 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ssh authmode Purpose Used to configure the SSH authentication mode setting. Syntax config |publickey|hostbased] [enable|disable] Description This command will allow you to configure the SSH authentication mode. Parameters [password |publickey|hostbased] – Choose the desired SSH authentication mode.
  • Page 221 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ssh authmode Purpose Used to display the SSH authentication mode setting. Syntax show ssh authmode Description This command will allow you to display the current SSH authentication mode. Parameters None. Restrictions None.
  • Page 222 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ssh user [Publickey [host_name 32>|hostname_IP <ipaddr>]] Description This command allows you to modify the parameters of the SSH user. Parameters <username> – Enter an optional SSH user name. authmode – Select the type of security authentication mode: [Publickey |Password |Hostbased [host_name <domain_ name...
  • Page 223 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ssh user Purpose Used to display the SSH user setting. show ssh user Syntax Description This command allows you to display the current SSH user setting. Parameters None. Restrictions None. Usage Example:...
  • Page 224 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config ssh server Parameters maxsession <int 1-8> – Allows the user to set the number of times an outside guest may attempt to log on to the switch. contimeout <min 2-20> – Allows the user to set the connection timeout.
  • Page 225 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show ssh server Purpose Used to display the SSH server setting. show ssh server Syntax Description This command allows you to display the current SSH server setting. Parameters None. Restrictions None. Usage Example:...
  • Page 226 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide enable ssh on the switch. Parameters None. Restrictions None. Usage Example: To enable SSH: DGS-3224TGR:4#enable ssh Command: enable ssh Success. DGS-3224TGR:4# disable ssh Purpose Used to disable SSH. disable ssh Syntax Description This command allows you to disable SSH on the switch.
  • Page 227 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide To disable SSH: DGS-3224TGR:4#disable ssh Command: disable ssh Success. DGS-3224TGR:4#...
  • Page 228: Command History List

    DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide OMMAND The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show command_history config <value> command_history Each command is listed, in detail, in the following sections.
  • Page 229 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Description This command will display all of the commands Command Line Interface (CLI). Parameters None. Restrictions None. Usage Example: To display all of the commands in the CLI: DGS-3224TGR:4#? Command: ? clear...
  • Page 230 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config fdb aging_time config gvrp config hol prevention CTRL+C ESC q Quit SPACE n Next Page show command_history Purpose Used to display the command history. show command_history Syntax Description This command will display the command history.
  • Page 231 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide show router_ports show router ports login DGS-3224TGR:4# Purpose Used to display all commands. Syntax Description This command will display all commands. Parameters None. Restrictions None. Usage Example: To display all of the commands:...
  • Page 232 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide config 802.1x auth_protocol config 802.1x capability ports config 802.1x init ports config 802.1x reauth ports config access_profile profile_id config account config arp_aging time config bandwidth_control config command_history config fdb aging_time config gvrp...
  • Page 233 DGS-3224TGR Layer 2 Gigabit Ethernet Switch User’s Guide Success. DGS-3224TGR:4#...
  • Page 234: Technical Specifications

    DGS-3224TGR Layer 2 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...
  • Page 235: Physical And Environmental

    DGS-3224TGR Layer 2 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 –...
  • Page 236 DGS-3224TGR Layer 2 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