D-Link xStack DGS-3324SRi Command Line Interface Reference Manual
D-Link xStack DGS-3324SRi Command Line Interface Reference Manual

D-Link xStack DGS-3324SRi Command Line Interface Reference Manual

High-density layer 3 intelligent gigabit switch
Hide thumbs Also See for xStack DGS-3324SRi:

Advertisement

Quick Links

xStack
High-density Layer 3 Intelligent Gigabit Switch
Command Line Interface Reference Manual
Release IV
First Edition (October 2004)
6XSTACKCLI01
RECYCLABLE

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack DGS-3324SRi

  • Page 1 High-density Layer 3 Intelligent Gigabit Switch Command Line Interface Reference Manual Release IV First Edition (October 2004) 6XSTACKCLI01 RECYCLABLE...
  • Page 2: Warranty And Registration Information

    Leitung nicht leichter als H05VV-F, 3G, 0.75mm2 einzusetzen. WARRANTIES EXCLUSIVE IF THE D-LINK PRODUCT DOES NOT OPERATE AS WARRANTED ABOVE, THE CUSTOMER'S SOLE REMEDY SHALL BE, AT D-LINK'S OPTION, REPAIR OR REPLACEMENT. THE FOREGOING WARRANTIES AND REMEDIES ARE EXCLUSIVE AND ARE IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, EITHER IN FACT OR BY OPERATION OF LAW, STATUTORY OR OTHERWISE, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  • Page 3: Limitation Of Liability

    Warranty service may be obtained by contacting a D-Link office within the applicable warranty period, and requesting a Return Material Authorization (RMA) number. If a Registration Card for the product in question has not been returned to D-Link, then a proof of purchase (such as a copy of the dated purchase invoice) must be provided.
  • Page 4 Hardware. Repaired or replacement Hardware will be warranted for the remainder of the original Warranty Period from the date of original retail purchase. If a material defect is incapable of correction, or if D-Link determines in its sole discretion that it is not practical to repair or replace the defective Hardware, the price paid by the original purchaser for the defective Hardware will be refunded by D-Link upon return to D-Link of the defective Hardware.
  • Page 5: Copyright Statement

    Expedited shipping is available if shipping charges are prepaid by the customer. D-Link may reject or return any product that is not packaged and shipped in strict compliance with the foregoing requirements, or for which an RMA number is not visible from the outside of the package. The product owner agrees to pay D-Link’s reasonable handling and return shipping charges for any product that is not packaged and shipped in accordance with the foregoing requirements, or that is determined by D-Link not to be defective or non-conforming.
  • Page 6 FCC Warning This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
  • Page 7: Table Of Contents

    Table of Contents Introduction ... 1 Using the Console CLI ... 4 Command Syntax... 9 Basic Switch Commands ... 11 Switch Port Commands ... 26 Port Security Commands... 29 Network Management (SNMP) Commands ... 32 Switch Utility Commands ... 54 Network Monitoring Commands ...
  • Page 8 D-Link Single IP Management Commands... 243 Time and SNTP Commands ... 254 ARP Commands ... 261 VRRP Commands ... 265 Routing Table Commands ... 273 Route Redistribution Commands ... 277 BOOTP Relay Commands ... 284 DNS Relay Commands ... 288 RIP Commands ...
  • Page 9: Introduction

    Ctrl+r to refresh the console screen. There is no initial username or password. Just press the Enter key twice to display the CLI input cursor − DGS-3324SRi:4#. This is the command line where all commands are input.
  • Page 10: Setting The Switch's Ip Address

    Configuration menu. The IP address for the Switch must be set before it can be managed with the Web-based manager. The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the Switch must be known.
  • Page 11 Figure 1-3. Assigning an IP Address In the above example, the Switch was assigned an IP address of 10.53.13.144 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully. The Switch can now be configured and managed via...
  • Page 12: Using The Console Cli

    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 13 Figure 2-1. Initial Console Screen Commands are entered at the command prompts, DGS-3324SRi:4#, DGS-3324SR:4#, DXS-3326GSR:4#, DXS-3350SR:4#. There are a number of helpful features included in the CLI. Entering the ? command will display a list of all of the top-level commands.
  • Page 14 Gigabit Layer 3 Switch Command Line Interface Manual 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 the <username> with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 15 Gigabit Layer 3 Switch Command Line Interface Manual All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual − angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of parameters, and brackets [ ] indicate required parameters.
  • Page 16 Gigabit Layer 3 Switch Command Line Interface Manual In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter. The CLI then displays the user...
  • Page 17: Command Syntax

    Gigabit Layer 3 Switch Command Line Interface Manual The following symbols are used 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 18 Gigabit Layer 3 Switch Command Line Interface Manual Purpose Syntax Description Example command Line Editing Key Usage Delete Backspace Left Arrow Right Arrow Up Arrow Down Arrow Multiple Page Display Control Keys Space CTRL+c Enter {braces} Encloses an optional value or set of optional arguments.
  • Page 19: Basic Switch Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command create account config account show account delete account show config...
  • Page 20 <username> - Entering this parameter will give the specified user administrative-level priviledges over configuring functions of the Switch. This user may perform any function listed in this manual. A username of up to 15 characters must be created with this command to identify the admin user.
  • Page 21 Example usage: To delete the admin account “System”: Used to display user accounts. show account Displays all user accounts created on the Switch. Up to 8 user accounts can exist on the Switch at one time. None. None. Access Level...
  • Page 22 Description Parameters Restrictions Example usage: To view configurations entered on the Switch that were saved to NVRAM: Used to display a list of configuration commands entered into the Switch. show config [current_config | config_in_NVRAM] This command displays a list of configuration commands entered into the Switch.
  • Page 23 Gigabit Layer 3 Switch Command Line Interface Manual Command: show config config_in_NVRAM #------------------------------------------------------------------------------------------------------ Copyright(C) 2004-2007 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------------------------------ # BASIC config serial_port baud_rate 115200 auto_logout never enable telnet 23 enable web 80 enable clipaging # STORM...
  • Page 24 Serial Port Anonymous Used to display information about the Switch. show switch This command displays information about the Switch. None. None. : DGS-3324SRi Stackable Ethernet Switch : DA-10-21-00-00-01 : 10.41.44.22 (Manual) : default : 255.0.0.0 : 0.0.0.0 : Build 4.00-B13...
  • Page 25 This command displays the current mode of operation of the Switch. None. None. Used to display the current status of the hardware of the Switch. show device_status This command displays the current status of the Switch’s physical elements. None.
  • Page 26 3326GSR and the DXS-3350SR members of the xStack family have the capability to add the optional DEM-420X module. Although the DGS-3324SR and the DGS-3324SRi do not support the optional module, information about the module can be viewed on these switches if they are stacked with one of the switches that support the optional module.
  • Page 27 This parameter is fixed at 115200. auto_logout – The user may select a time period from the following list which the Switch will automatically log out of the serial port. never − No time limit on the length of time the console can...
  • Page 28 Gigabit Layer 3 Switch Command Line Interface Manual config serial_port Restrictions Example usage: To configure baud rate: DGS-3324SRi:4#config serial_port baud_rate 115200 Command: config serial_port baud_rate 115200 Success. DGS-3324SRi:4# enable clipaging Purpose Syntax Description Parameters Restrictions Example usage: To enable pausing of the screen display when the command output reaches the end of the page:...
  • Page 29 Switch using the Telnet protocol. enable telnet <tcp_port_number 1-65535> This command is used to enable the Telnet protocol on the Switch. The user can specify the TCP or UDP port number the Switch will use to listen for Telnet requests. −...
  • Page 30 <tcp_port_number 1-65535> This command is used to enable the Web-based management software on the Switch. The user can specify the TCP port number the Switch will use to listen for Telnet requests. <tcp_port_number 1-65535> − The TCP port number. TCP ports are numbered between 1 and 65535.
  • Page 31 NV-Ram. log – Entering the log parameter will save only the log file to NV-RAM. all – Entering the all command will save both the log file and the Switch configuration to NV-RAM. Only administrator-level users can issue this command.
  • Page 32 Gigabit Layer 3 Switch Command Line Interface Manual NOTE: The DGS-3324SRi does not support a change in box mode from Auto to Static. reboot Purpose Syntax Description Parameters Restrictions Example usage: To restart the Switch: DGS-3324SRi:4#reboot Command: reboot Are you sure want to proceed with the system reboot? (y/n) Please wait, the Switch is rebooting...
  • Page 33 Example usage: To terminate the current user’s console session: DGS-3324SRi:4#logout Used to log in a user to the Switch’s console. login This command is used to initiate the login procedure. The user will be prompted for his Username and Password.
  • Page 34: Switch Port Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config ports show ports Each command is listed, in detail, in the following sections.
  • Page 35 Example usage: To configure the speed of port 3 of unit 1 to be 10 Mbps, full duplex, learning and state enable: DGS-3324SRi:4#config ports 1:1-1:3 speed 10_full learning enable state enable Command: config ports 1:1-1:3 speed 10_full learning enable state enable Success.
  • Page 36 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To display the configuration of all ports on a standalone switch: DGS-3324SRi:4#show ports Command:show ports Port Port State ------ -------- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled...
  • Page 37: Port Security Commands

    1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Configure port security for all ports on the Switch.
  • Page 38 <portlist> − Specifies a port or range of ports to be viewed. The port list 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 39 Disabled 1:19 Disabled DGS-3324SRi:4# delete port_security_entry_vlan_name Purpose Used to delete an entry from the Switch’s port security settings. Syntax delete port_security_entry_vlan_name <vlan_name 32> port <port> mac_address <macaddr> Description This command is used to remove an entry from the port security entries learned by the Switch and entered into the forwarding database.
  • Page 40: Network Management (Snmp) Commands

    The xStack family of switches support the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. You can specify which version of the SNMP you want to use to monitor and control the Switch. The three versions of SNMP vary in the level of security provided between the management station and the network device.
  • Page 41 Gigabit Layer 3 Switch Command Line Interface Manual Command delete snmp group show snmp groups create snmp host delete snmp host show snmp host create trusted_host delete trusted_host show trusted_host enable snmp traps enable snmp authenticate_traps show snmp traps...
  • Page 42 Gigabit Layer 3 Switch Command Line Interface Manual create snmp user Encryption − Scrambles the contents of messages to prevent it from being viewed by an unauthorized source. <username 32> − An alphanumeric name of up to 32 characters Parameters that will identify the new SNMP user.
  • Page 43 Restrictions Example usage: To create an SNMP user on the Switch: DGS-3324SRi:4#create snmp user dlink default encrypted by_password auth md5 auth_password priv none Command: create snmp user dlink default encrypted by_password auth md5 auth_password priv none Success.
  • Page 44 Gigabit Layer 3 Switch Command Line Interface Manual show snmp user Purpose Syntax Description Parameters Restrictions Example usage: To display the SNMP users currently configured on the Switch: DGS-3324SRi:4#show snmp user Command: show snmp user Username --------------- initial Total Entries: 1 DGS-3324SRi:4#...
  • Page 45 <view_name 32> − An alphanumeric string of up to 32 characters that identifies the SNMP view to be deleted. all − Specifies that all of the SNMP views on the Switch will be deleted. <oid> − The object ID that identifies an object tree (MIB tree) that will be deleted from the Switch.
  • Page 46 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. One or more of the following characteristics can be associated with...
  • Page 47 Gigabit Layer 3 Switch Command Line Interface Manual create snmp community Restrictions Example usage: To create the SNMP community string “dlink:” DGS-3324SRi:4#create snmp community dlink view ReadView read_write Command: create snmp community dlink view ReadView read_write Success. DGS-3324SRi:4# delete snmp community...
  • Page 48 View Name ReadView CommunityView CommunityView Used to configure a name for the SNMP engine on the Switch. config snmp engineID <snmp_engineID> The config snmp engineID command configures a name for the SNMP engine on the Switch. <snmp_engineID> − An alphanumeric string that will be used to identify the SNMP engine on the Switch.
  • Page 49 Purpose Syntax Description Parameters Restrictions Example usage: To display the current name of the SNMP engine on the Switch: DGS-3324SRi:4#show snmp engineID Command: show snmp engineID SNMP Engine ID : 0035636666 DGS-3324SRi:4# create snmp group Purpose Syntax...
  • Page 50 Gigabit Layer 3 Switch Command Line Interface Manual create snmp group Restrictions Example usage: To create an SNMP group named “sg1:” DGS-3324SRi:4#create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Command: create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 Success.
  • Page 51 WriteView Name Only administrator-level users can issue this command. Used to display the group-names of SNMP groups currently configured on the Switch. The security model, level, and status of each group are also displayed. show snmp groups The show snmp groups command displays the group-names of SNMP groups currently configured on the Switch.
  • Page 52 Gigabit Layer 3 Switch Command Line Interface Manual Notify View Name : NotifyView Security Model : SNMPv3 Security Level : authNoPriv Group Name : Group6 ReadView Name : ReadView WriteView Name : WriteView Notify View Name : NotifyView Security Model...
  • Page 53 − Specifies that there will be no authorization and no encryption of packets sent between the Switch and a remote SNMP manager. auth_nopriv − Specifies that authorization will be required, but there will be no encryption of packets sent between the Switch and a remote SNMP manager.
  • Page 54 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#create snmp host 10.48.74.100 v3 auth_priv public Command: create snmp host 10.48.74.100 v3 auth_priv public Success. DGS-3324SRi:4# delete snmp host Purpose Syntax Description Parameters Restrictions Example usage: To delete an SNMP host entry: DGS-3324SRi:4#delete snmp host 10.48.74.100...
  • Page 55 <ipaddr> The create trusted_host command creates the trusted host. The Switch allows you to specify up to four IP addresses that are allowed to manage the Switch via in-band SNMP or TELNET based management software. These IP addresses must be members of the Management VLAN.
  • Page 56 Gigabit Layer 3 Switch Command Line Interface Manual show trusted_host Parameters Restrictions Example Usage: To display the list of trust hosts: DGS-3324SRi:4#show trusted_host Command: show trusted_host Management Stations IP Address -------------------- 10.53.13.94 Total Entries: 1 DGS-3324SRi:4# delete trusted_host Purpose...
  • Page 57 Switch. None. Only administrator-level users can issue this command. Used to show SNMP trap support on the Switch . show snmp traps This command is used to view the SNMP trap support status currently configured on the Switch.
  • Page 58 Authenticate Traps : Enabled DGS-3324SRi:4# disable snmp traps Purpose Syntax Description Parameters Restrictions Example Usage: To prevent SNMP traps from being sent from the Switch: DGS-3324SRi:4#disable snmp traps Command: disable snmp traps Success. DGS-3324SRi:4# disable snmp authenticate_traps Purpose Syntax Description...
  • Page 59 DGS-3324SRi:4# config snmp system_contact Purpose Syntax Description Parameters Restrictions Example usage: To configure the Switch contact to “ DGS-3324SRi:4#config snmp system_contact MIS Department II Command: config snmp system_contact MIS Department II Success. DGS-3324SRi:4# config snmp system_location Purpose Syntax Description Parameters...
  • Page 60 Purpose Syntax Description Parameters Restrictions Example usage: To configure the Switch name for “ DGS-3324SRi:4#config snmp system_name DGS-3324SRi Stackable Switch Command: config snmp system_name DGS-3324SRi Stackable Switch Success. DGS-3324SRi:4# enable rmon Purpose Syntax Description Parameters Restrictions Example Usage: To enable RMON: Used to configure the name for the Switch.
  • Page 61 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#enable rmon Command: enable rmon Success. DGS-3324SRi:4# disable rmon Purpose Syntax Description Parameters Restrictions Example Usage: To disable RMON: DGS-3324SRi:4#disable rmon Command: disable rmon Success. DGS-3324SRi:4# Used to disable RMON on the Switch.
  • Page 62: Switch Utility Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The switch utility commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Please note that commands concerning the CompactFlash card (cfg_fromCf, firmware_to CF, etc.) are specific to the DGS-3324SRi only.
  • Page 63 All other switch parameters will remain unchanged. The TFTP server must be on the same IP subnet as the Switch. Only administrator-level users can issue this command. Used to upload the current switch settings or the switch history log to a TFTP server or a CompactFlash memory card.
  • Page 64 Switch. This parameter is only used for the firmware_toCF parameter. The TFTP server must be on the same IP subnet as the Switch. Only administrator-level users can issue this command. To configure firmware currently in the Switch’s NV-RAM.
  • Page 65 Gigabit Layer 3 Switch Command Line Interface Manual config firmware Restrictions Example usage: To delete a firmware from the Switch’s memory: DGS-3324SRi:4#config firmware image_id 2 delete Command: config firmware image_id 2 delete Success. DGS-3324SRi:4# Example usage: To configure a firmware as the boot up runtime image firmware:...
  • Page 66 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show firmware information Command: show firmware information Box ID Version -------- 4.00-B02 3.00-B13 '*' means boot up section (R) means firmware update thru SerialPort (RS232) (T) means firmware update thru TELNET...
  • Page 67 Parameters Restrictions Example usage: To trace the routed path between the Switch and 10.48.74.121. DGS-3324SRi:4#traceroute 10.48.74.121 p r o b e 3 Command: traceroute 10.48.74.121 p r o b e 3 1 <10ms 10.254.254.251 2 <10ms 10.55.25.35 3 <10ms 10.22.35.1...
  • Page 68: Network Monitoring Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command show packet ports show error ports show utilization clear counters...
  • Page 69 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 70 Gigabit Layer 3 Switch Command Line Interface Manual show error ports Restrictions Example usage: To display the errors of the port 3 of module 1: DGS-3324SRi:4#show errors ports 1:3 Command:show errors ports 1:3 CRC Error Undersize Oversize Fragment Jabber...
  • Page 71 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3- 2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 72 Used to display the Switch history log. show log {index <value_list>} This command will display the contents of the Switch’s history log. index <value_list> − Enter a value that corresponds to an entry made in the log. Multiple entries may be made in the form of x-x where x is the number of an entry in the log.
  • Page 73 Used to disable the system log function on the Switch. disable syslog The disable syslog command disables the system log function on the Switch. After disabling, Syslog entries will no longer be sent to a remote host. None. Only administrator-level users can issue this command.
  • Page 74 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#disable syslog Command: disable syslog Success. DGS-3324SRi:4# show syslog Purpose Syntax Description Parameters Restrictions Example usage: To display the current status of the syslog function: DGS-3324SRi:4#show syslog Command: show syslog Syslog Global State: Enabled...
  • Page 75 − Specifies that all of the currently supported syslog messages that are generated by the Switch will be sent to the remote host. facility − Some of the operating system daemons and processes have been assigned Facility values. Processes and daemons that have not been explicitly assigned a Facility may use any of the "local use"...
  • Page 76 Gigabit Layer 3 Switch Command Line Interface Manual create syslog host Restrictions Example usage: To create syslog host: DGS-3324SRi:4#create syslog host 1 severity all facility local0 ipaddress 10.53.13.94 state enable Command: create syslog host 1 severity all facility local0 ipaddress 10.53.13.94 state enable Success.
  • Page 77 This corresponds to number 4 from the list above. all − Specifies that all of the currently supported syslog messages that are generated by the Switch will be sent to the remote host. facility − Some of the operating system daemons and processes have been assigned Facility values.
  • Page 78 Gigabit Layer 3 Switch Command Line Interface Manual config syslog host local0 − Specifies that local use 0 messages will be sent to the remote host. This corresponds to number 16 from the list above. local1 − Specifies that local use 1 messages will be sent to the remote host.
  • Page 79 Success. DGS-3324SRi:4##config syslog host 1 facility local0 Command: config syslog host 1 facility local0 Success. DGS-3324SRi:4# config syslog host 1 udp_port 6000 Command: config syslog host 1 udp_port 6000 Success. DGS-3324SRi:4# config syslog host 1 ipaddress 10.44.67.8 Command: config syslog host 1 ipaddress 10.44.67.8 Success.
  • Page 80 This corresponds to number 4 from the list above. all − Specifies that all of the currently supported syslog messages that are generated by the Switch will be sent to the remote host. facility − Some of the operating system daemons and processes have been assigned Facility values.
  • Page 81 Command: config syslog host all severity all Success. DGS-3324SRi:4##config syslog host all facility local0 Command: config syslog host all facility local0 Success DGS-3324SRi:4# config syslog host all udp_port 6000 Command: config syslog host all udp_port 6000 Success. clock daemon local use 0 (local0)
  • Page 82 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4# config syslog host all ipaddress 10.44.67.8 Command: config syslog host all ipaddress 10.44.67.8 Success. DGS-3324SRi:4# config syslog host all state enable Command: config syslog host all state enable Success. DGS-3324SRi:4#...
  • Page 83 Description This command is used to configure the system severity levels on the Switch. When an event occurs on the Switch, a message will be sent to the SNMP agent (trap), the Switch’s log or both. Events occurring on the Switch are separated into three main categories.
  • Page 84 Purpose Syntax Description Parameters Restrictions Example usage: To view the system severity settings currently implemented on the Switch: DGS-3324SRi:4#show system_severity Command: show system_severity system_severity log system_severity trap DGS-3324SRi:4# critical – Entering this parameter along with the proper •...
  • Page 85: Multiple Spanning Tree Protocol (Mstp) Commands

    VLANs and their respective spanning trees. Each switch utilizing the MSTP on a network will have a single MSTP configuration that will have the following three attributes: a) A configuration name defined by an alphanumeric string of up to 32 characters (defined in the config stp mst_config_id command as name <string>).
  • Page 86 Gigabit Layer 3 Switch Command Line Interface Manual Command config stp priority config stp mst_config_id config stp mst_ports show stp show stp ports show stp instance_id show stp mst_config id Each command is listed, in detail, in the following sections.
  • Page 87 Success. DGS-3324SRi:4# config stp version Purpose Syntax Description Parameters Restrictions Example usage: To set the Switch globally for the Multiple Spanning Tree Protocol (MSTP): DGS-3324SRi:4#config stp version mstp Command: config stp version mstp Success. DGS-3324SRi:4# config stp Purpose Syntax Description Parameters Used to globally set the version of STP on the Switch.
  • Page 88 Gigabit Layer 3 Switch Command Line Interface Manual config stp Restrictions Example usage: To configure STP with maxage 18 and maxhops of 15: DGS-3324SRi:4#config stp maxage 18 maxhops 15 Command: config stp maxage 18 maxhops 15 Success. DGS-3324SRi:4# config stp ports...
  • Page 89 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. externalCost − This defines a metric that indicates the relative cost of forwarding packets to the specified port list.
  • Page 90 To configure STP with path cost 19, hellotime set to 5 seconds, migration enable, and state enable for ports 1-5 of module 1. DGS-3324SRi:4#config stp ports 1:1-1:5 externalCost 19 hellotime 5 migrate yes state enable Command: config stp ports 1:1-1:5 externalCost 19 hellotime 5 migrate yes state enable Success.
  • Page 91 Description Parameters Restrictions Example usage: To configure instance id 2 to add VID 10: DGS-3324SRi:4#config stp instance_id 2 add_vlan 10 Command : config stp instance_id 2 add_vlan 10 Success. DGS-3324SRi:4# Example usage: To remove VID 10 from instance id 2:...
  • Page 92 <value 0-61440> instance_id <value 0-15> This command is used to update the STP instance configuration settings on the Switch. The MSTP will utilize the priority in selecting the root bridge, root port and designated port. Assigning higher priorities to STP regions will instruct the Switch to give precedence to the selected instance_id for forwarding packets.
  • Page 93 Syntax Description Parameters Restrictions Example usage: To configure the MSTP region of the Switch with revision_level 10 and the name “Trinity”: DGS-3324SRi:4#config stp mst_config_id revision_level 10 name Trinity Command : config stp mst_config_id revision_level 10 name Trinity Success. DGS-3324SRi:4# config stp mst_ports...
  • Page 94 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. instance_id <value 0-15> - Enter a numerical value between 0 and 15 to identify the instance_id previously configured on the Switch.
  • Page 95 Gigabit Layer 3 Switch Command Line Interface Manual show stp Purpose Syntax Description Parameters Restrictions Example usage: To display the status of STP on the Switch: Status 1: STP enabled with STP compatible version DGS-3324SRi:4#show stp Command: show stp...
  • Page 96 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 97 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To display the STP instance configuration for instance 0 (the internal CIST) on the Switch: DGS-3324SRi:4#show stp instance 0 Command: show stp instance 0 STP Instance Settings --------------------------- Instance Type...
  • Page 98 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show stp mst_config_id Command: show stp mst_config_id Current MST Configuration Identification ---------------------------------------- Configuration Name : 00:53:13:1A:33:24 MSTI ID Vid list ------- ----------- CIST 2-4094 DGS-3324SRi:4# Revision Level :0...
  • Page 99: Forwarding Database Commands

    The port is specified by listing the switch number and the port number on that switch, separated by a colon. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4.
  • Page 100 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#create fdb default 00-00-00-00-01-02 port 2:5 Command: create fdb default 00-00-00-00-01-02 port 2:5 Success. DGS-3324SRi:4# create multicast_fdb Purpose Syntax Description Parameters Restrictions Example usage: To create multicast MAC forwarding: DGS-3324SRi:4#create multicast_fdb default 01-00-00-00-00-01 Command: create multicast_fdb default 01-00-00-00-00-01 Success.
  • Page 101 Gigabit Layer 3 Switch Command Line Interface Manual config multicast_fdb Restrictions Example usage: To add multicast MAC forwarding: DGS-3324SRi:4#config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Command: config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Success. DGS-3324SRi:4# config fdb aging_time Purpose Syntax Description...
  • Page 102 Used to delete an entry to the Switch’s forwarding database. delete fdb <vlan_name 32> <macaddr> This command is used to delete a previous entry to the Switch’s MAC address forwarding database. <vlan_name 32> − The name of the VLAN on which the MAC address resides.
  • Page 103 MAC address resides. port <port> − The port number corresponding to the MAC destination address. The Switch will always forward traffic to the specified device through this port. The port is specified by listing the switch number and the port number on that switch, separated by a colon.
  • Page 104 The port is specified by listing the switch number and the port number on that switch, separated by a colon. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4.
  • Page 105 Used to display the current IP address forwarding database table. show ipfdb <ipaddr> This command will display the current contents of the Switch’s IP forwarding database. <ipaddr> - The user may enter an IP address to view the table by.
  • Page 106 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. <all> - Specifies that all ports on the Switch will be enabled or disabled as destination hit ports.
  • Page 107 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3- 2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 108 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show fdb destination_hit ports 1:1-1:10 Command: show fdb destination_hit ports 1:1-1:10 Port # Destination Hit State -------- ----------------------------- Enabled Enabled Enabled Enabled Enabled Disabled Disabled Disabled Disabled 1:10 Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All...
  • Page 109: Broadcast Storm Control Commands

    1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Specifies all broadcast storm control groups on the Switch.
  • Page 110 The beginning and end of the port list range are separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. None. Broadcast...
  • Page 111: Qos Commands

    To use implement weight fair priority, the Switch’s seven hardware classes of service can be configured to reduce the buffer in a weighted round-robin (WRR) fashion - beginning with the highest hardware class of service, and proceeding to the lowest hardware class of service before returning to the highest hardware class of service.
  • Page 112 Gigabit Layer 3 Switch Command Line Interface Manual before being allowed to transmit its accumulated packets. This establishes a Class of Service (CoS) for each of the Switch’s seven hardware classes. The possible range for maximum packets is: 0 to 15 packets.
  • Page 113 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Using this command without adding a portlist entry will show the bandwidth control for all ports in the Switch stack.
  • Page 114 1:10 no_limit DGS-3324SRi:4# config scheduling Purpose Used to configure traffic scheduling for each of the Switch’s hardware priority classes. Syntax config scheduling <class_id 0-6> {max_packet <value 0-15>} Description The Switch contains seven hardware classes of service per device. The Switch’s default settings draw down seven hardware classes of service in order, from the highest priority class (Class 6) to the lowest priority class (Class 0).
  • Page 115 Parameters Restrictions Example usage: To configure traffic scheduling: DGS-3324SRi:4# config scheduling 0 max_packet 15 Command: config scheduling 0 max_packet 15 Success. DGS-3324SRi:4# Example usage: To configure a Combination Queue with a Class 6 priority class with strict priority and the remaining classes as weighted round robin (WRR) scheduling: Entering a 0 into the <value 0-15>...
  • Page 116 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4# config scheduling 6 max_packet 0 Command: config scheduling 6 max_packet 0 Success. DGS-3324SRi:4# show scheduling Purpose Syntax Description Parameters Restrictions Example usage: To display the current scheduling configuration with Class 1 as the strict priority class of a Combination Queue:...
  • Page 117 Gigabit Layer 3 Switch Command Line Interface Manual config 802.1p user_priority Syntax Description Parameters Restrictions Example usage: To configure 802.1 user priority on the Switch: DGS-3324SRi:4# config 802.1p user_priority 1 3 Command: config 802.1p user_priority 1 3 Success. DGS-3324SRi:4# show 802.1p user_priority Purpose Syntax Description config 802.1p user_priority <priority 0-7>...
  • Page 118 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Specifies that the config 802.1p default_priority command will be applied to all ports on the Switch.
  • Page 119 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. None.
  • Page 120 The Switch’s default is to empty the seven priority classes of service in order − from the highest priority class of service (queue 6) to the lowest priority class of service (queue 0). Each queue will transmit all of the packets in its buffer before allowing the next lower priority class of service to transmit its packets.
  • Page 121 Gigabit Layer 3 Switch Command Line Interface Manual config scheduling_mechanism Parameters Restrictions Example usage: To configure the traffic scheduling mechanism for each COS queue: DGS-3324SRi:4#config scheduling_mechanism strict Command: config scheduling_mechanism strict Success. DGS-3324SRi:4# show scheduling_mechanism Purpose Syntax Description Parameters...
  • Page 122 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show scheduling_mechanism Command: show scheduling_mechanism QOS scheduling_mechanism CLASS ID Mechanism -------- ----------- Class-0 strict Class-1 strict Class-2 strict Class-3 strict Class-4 strict Class-5 strict Class-6 strict DGS-3324SRi:4# enable hol_prevention Purpose Syntax...
  • Page 123 Gigabit Layer 3 Switch Command Line Interface Manual Example Usage: To disable HOL prevention: DGS-3324SRi:4#disable hol_prevention Command: disable hol_prevention Success. DGS-3324SRi:4# show hol_prevention Purpose Syntax Description Parameters Restrictions Example Usage: To view the HOL prevention status: DGS-3324SRi:4#show hol_prevention Command: show hol_prevention...
  • Page 124: Port Mirroring Commands

    Parameters Parameters <port> [add | delete] source ports <portlist> [rx | tx | both] Used to configure a mirror port − source port pair on the Switch. config mirror port <port> add source ports <portlist> [rx | tx | both]...
  • Page 125 Gigabit Layer 3 Switch Command Line Interface Manual config mirror port add Restrictions Example usage: To add the mirroring ports: DGS-3324SRi:4# config mirror port 1:10 add source ports 1:1-1:5 both Command: config mirror port 1:10 add source ports 1:1-1:5 both Success. DGS-3324SRi:4# config mirror port delete...
  • Page 126 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To delete the mirroring ports: DGS-3324SRi:4#config mirror port 1:10 delete source port 1:1-1:5 both Command: config mirror 1:10 delete source 1:1-1:5 both Success. DGS-3324SRi:4# enable mirror Purpose Syntax Description...
  • Page 127 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#disable mirror Command: disable mirror Success. DGS-3324SRi:4# show mirror Purpose Syntax Description Parameters Restrictions Example usage: To display mirroring configuration: DGS-3324SRi:4#show mirror Command: show mirror Current Settings Mirror Status: Enabled Target Port : 9...
  • Page 128: Vlan Commands

    VLANs by examining the type octet within the packet header to discover the type of protocol associated with it. After assessing the protocol, the Switch will forward the packets to all ports within the protocol- assigned VLAN.
  • Page 129 Novell and the Sub Network Access Protocol (SNAP). the Switch to forward packets to this VLAN if the tag in the packet header is concurrent with this protocol. This packet header information is defined by Novell Ethernet II Protocol.
  • Page 130 Digital Equipment Corporation (DEC) Protocol. the Switch to forward packets to this VLAN if the tag in the packet header is concurrent with this protocol. This packet header information is defined by the Systems Network Architecture (SNA) 802.2 Protocol.
  • Page 131 Message. (For example, if a user creates an Ethernet2 protocol VLAN, the user can not create a userDefined protocol VLAN with an Ethernet encapsulation) Example usage: To create a protocol VLAN: DGS-3324SRi:4#create vlan v5 tag 2 protocol-ipxSnap Command: create vlan v5 tag 2 protocol-ipxSnap Success. DGS-3324SRi:4# Example usage:...
  • Page 132 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 133 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 134 Restrictions Example usage: To set the ingress checking status, the sending and receiving GVRP information : DGS-3324SRi:4#config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Command: config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Success.
  • Page 135 Used to disable GVRP on the Switch. disable gvrp This command, along with enable gvrp below, is used to enable and disable GVRP on the Switch, without changing the GVRP configuration on the Switch. None. Only administrator-level users can issue this command.
  • Page 136 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 137 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show gvrp Command: show gvrp Global GVRP : Disabled Port PVID GVRP ------ ---- -------- Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled 1:10 Disabled 1:11 Disabled 1:12 Disabled 1:13...
  • Page 138: Link Aggregation Commands

    This command will create a link aggregation group with a unique identifier. <value 1-32> − 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 139 This command allows you to configure a link aggregation group that was created with the create link_aggregation command above. The DGS-3324SRi supports link aggregation cross box which specifies that link aggregation groups may be spread over multiple switches in the Switching stack.
  • Page 140 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Ports may be listed in only one port aggregation group, that is, link aggregation groups may not overlap.
  • Page 141 {group_id <value 1-32> | algorithm} This command will display the current link aggregation configuration of the Switch. <value 1-32> − 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 142 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. mode – Select the mode to determine if LACP ports will initially send LACP control frames.
  • Page 143 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 144: Ip Commands (Including Ip Multinetting)

    IP Multinetting is a valuable tool for network administrators requiring a multitude of IP addresses, but configuring the Switch for IP multinetting may cause troubleshooting and bandwidth problems, and should not be used as a long term solution. Problems may include: The Switch may use extra resources to process packets for multiple IP interfaces.
  • Page 145 Command: create ipif p1 ipaddress 10.1.1.1 Trinity state enable Success. DGS-3324SRi:4# To create the secondary IP interface, s1 on VLAN Trinity: DGS-3324SRi:4#create ipif p1 ipaddress 12.1.1.1 Trinity secondary state enable Command: create ipif p1 ipaddress 12.1.1.1 Trinity secondary state enable Success. DGS-3324SRi:4#...
  • Page 146 Gigabit Layer 3 Switch Command Line Interface Manual config ipif Description Parameters Restrictions Example usage: To configure the IP interface System: DGS-3324SRi:4#config ipif System ipaddress 10.48.74.122/8 Command: config ipif System ipaddress 10.48.74.122/8 Success. DGS-3324SRi:4# enable ipif Purpose Syntax Description...
  • Page 147 Restrictions Example usage: To delete the IP interface named s2: Used to disable the configuration of an IP interface on the Switch. disable ipif {<ipif_name 12> | all} This command will disable an IP interface on the Switch, without altering its configuration values.
  • Page 148 FALSE denotes that the IP interface is a primary IP interface while TRUE denotes a secondary IP interface. Used to display the configuration of an IP interface on the Switch. show ipif {<ipif_name 12>} This command will display the configuration of an IP interface on the Switch.
  • Page 149: Igmp Commands (Including Igmp V3)

    IGMP or Internet Group Management Protocol is a protocol implemented by systems utilizing IPv4 to collect the membership information needed by the multicast routing protocol through various query messages sent out from the router or switch. Computers and network devices that want to receive multicast transmissions need to inform nearby routers that they will become members of a multicast group.
  • Page 150 Gigabit Layer 3 Switch Command Line Interface Manual config igmp Description Parameters Restrictions Example Usage: To configure the IGMPv3 for all IP interfaces. DGS-3324SRi:4#config igmp all version 3 state enable Command: config igmp all version 3 state enable Success. DGS-3324SRi:4# show igmp Purpose Syntax...
  • Page 151 Gigabit Layer 3 Switch Command Line Interface Manual show igmp Restrictions Example Usage: To display IGMP configurations: DGS-3324SRi:4#show igmp Command: show igmp IGMP Interface Configurations Interface IP Address/Netmask Ver- Query ------------ --------------- System 10.90.90.90/8 20.1.1.1/8 Total Entries: 2 DGS-3324SRi:4#...
  • Page 152 Total Entries: 5 DGS-3324SRi:4# Example usage: To view details regarding the IGMP group in version 3: DGS-3324SRi:4#show igmp group group 224.0.1.1 ipif System Command: show igmp group group 224.0.1.1 ipif System IGMP Group Detail Inforamtion Interface Last Reporter : 10.50.77.16...
  • Page 153: Igmp Snooping Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config igmp_snooping config igmp_snooping querier enable igmp_snooping disable igmp_snooping...
  • Page 154 “Cannot set Fast leave when IGMP is running” and consequently will not be implemented. Example usage: To configure igmp snooping including fast leave.: DGS-3324SRi:4#config igmp_snooping default host_timeout 250 state enable fast_leave enable Command: config igmp_snooping default host_timeout 250 state enable fast_leave enable Success.
  • Page 155 [enable | disable] − Allows the Switch to be specified as an IGMP Querier or Non-querier. Only administrator-level users can issue this command.
  • Page 156 − Specifies that the Switch should only forward all multicast traffic to a multicast-enabled router. Otherwise, the Switch will forward all multicast traffic to any IP router. Only administrator-level users can issue this command. Used to enable IGMP snooping on the Switch.
  • Page 157 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Only administrator-level users can issue this command.
  • Page 158 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Only administrator-level users can issue this command.
  • Page 159 To show igmp snooping: : default : 2:1-2:10 : vlan2 Used to show the current status of IGMP snooping on the Switch. show igmp_snooping {vlan <vlan_name 32>} This command will display the current IGMP snooping configuration on the Switch. <vlan_name 32> − The name of the VLAN for which you want to view the IGMP snooping configuration.
  • Page 160 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State Multicast router Only VLAN Name Query Interval Max Response Time Robustness Value Last Member Query Interval Host Timeout Route Timeout Leave Timer...
  • Page 161 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show igmp_snooping group Command: show igmp_snooping group VLAN Name : default Multicast group: 224.0.0.2 MAC address : 01-00-5E-00-00-02 Reports Port Member : 1:26,2:7 VLAN Name : default Multicast group: 224.0.0.9 MAC address...
  • Page 162 Syntax Description Parameters Restrictions Example usage: To view the IGMP snooping forwarding table for VLAN “Trinity”: DGS-3324SRi:4#show igmp_snooping forwarding vlan Trinity Command: show igmp_snooping forwarding vlan Trinity VLAN Name Multicast group : 224.0.0.2 MAC address Port Member Total Entries: 1...
  • Page 163: Mac Notification Commands

    This command is used to enable MAC Address Notification without changing configuration. None. Only administrator-level users can issue this command. Used to disable global MAC address table notification on the Switch. disable mac_notification This command is used to disable MAC Address Notification without changing configuration.
  • Page 164 Description Parameters Restrictions Example usage: To configure the Switch’s MAC address table notification global settings: DGS-3324SRi:4#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DGS-3324SRi:4# Only administrator-level users can issue this command. Used to configure MAC address notification.
  • Page 165 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3- 2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 166 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3- 2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 167 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ------------------------------------ Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled 1:10 Disabled 1:11 Disabled 1:12 Disabled...
  • Page 168: Access Authentication Control Commands

    These built-in server groups are used to authenticate users trying to access the Switch. The users will set server hosts in a preferable order in the built-in server group and when a user tries to gain access to the Switch, the Switch will ask the first server host for authentication.
  • Page 169 NOTE: TACACS, XTACACS and TACACS+ are separate entities and are not compatible. The switch and the server must be configured exactly the same, using the same protocol. (For example, if the Switch is set up for TACACS authentication, so must be the host server.) The Access Authentication Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 170 Used to enable system access authentication policy. enable authen_policy This command will enable an administrator-defined authentication policy for users trying to access the Switch. When enabled, the device will check the method list and choose a technique for user authentication upon login.
  • Page 171 <string 15> This command is used to create a list for authentication techniques for user login. The Switch can support up to eight method lists, but one is reserved as a default and cannot be deleted. Multiple method lists must be created and configured separately.
  • Page 172 Switch will send an authentication request to the second tacacs host in the server group and so on, until the list is exhausted. At that point, the Switch will restart the same sequence with the following protocol listed, xtacacs.
  • Page 173 Restrictions Example usage: To configure the user defined method list “Trinity” with authentication methods TACACS, XTACACS and local, in that order. DGS-3324SRi:4#config authen_login method_list_name Trinity method tacacs xtacacs local Command: config authen_login method_list_name Trinity method tacacs xtacacs local Success.
  • Page 174 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To configure the default method list with authentication methods XTACACS, TACACS+ and local, in that order: DGS-3324SRi:4#config authen_login default method xtacacs tacacs+ local Command: config authen_login default method xtacacs tacacs+ local Success.
  • Page 175 Administrator level privileges using authentication methods on the Switch. Once a user acquires normal user level privileges on the Switch, he or she must be authenticated by a method on the Switch to gain administrator privileges on the Switch, which is defined by the Administrator.
  • Page 176 Administrator level privileges using authentication methods on the Switch. Once a user acquires normal user level privileges on the Switch, he or she must be authenticated by a method on the Switch to gain administrator privileges on the Switch, which is defined by the Administrator.
  • Page 177 Switch. local_enable – Adding this parameter will require the user to be authenticated using the local user account database on the Switch. The local enable password of the device can be configured using the “config admin local_password” command.
  • Page 178 Success. DGS-3324SRi:4# Example usage: To configure the default method list with authentication methods XTACACS, TACACS+ and local, in that order: DGS-3324SRi:4#config authen_enable default method xtacacs tacacs+ local Command: config authen_enable default method xtacacs tacacs+ local Success. DGS-3324SRi:4# delete authen_enable method_list_name...
  • Page 179 Gigabit Layer 3 Switch Command Line Interface Manual show authen_enable Purpose Syntax Description Parameters Restrictions Example usage: To display all method lists for promoting user level privileges to administrator level privileges. Used to display the method list of authentication methods for promoting normal user level privileges to Administrator level privileges on the Switch.
  • Page 180 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show authen_enable all Command: show authen_enable all Method List Name Priority Method Name Comment ---------------- -------- Permit default Total Entries : 2 DGS-3324SRi:4# config authen application Purpose Used to configure various applications on the Switch for authentication using a previously configured method list.
  • Page 181 Purpose Syntax Description Parameters Restrictions Example usage: To display the login and enable method list for all applications on the Switch: DGS-3324SRi:4#show authen application Command: show authen application Application Login Method List Enable Method List ---------------- ------------------ Console Telnet...
  • Page 182 TACACS+ server only. Specify an alphanumeric string up to 254 characters. timeout <int 1-255> - Enter the time in seconds the Switch will wait for the server host to reply to an authentication request. The default value is 5 seconds.
  • Page 183 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#create authen server_host 10.1.1.121 protocol tacacs+ port 1234 timeout 10 retransmit 5 Command: create authen server_host 10.1.1.121 protocol tacacs+ port 1234 timeout 10 retransmit 5 Success. DGS-3324SRi:4# config authen server_host Purpose Used to configure a user-defined authentication server host.
  • Page 184 To configure a TACACS authentication server host, with port number 4321, a timeout value of 12 seconds and a retransmit count of 4. DGS-3324SRi:4#config authen server_host 10.1.1.121 protocol tacacs port 4321 timeout 12 retransmit 4 Command: config authen server_host 10.1.1.121 protocol tacacs port 4321 timeout 12 retransmit 4 Success.
  • Page 185 Port – The virtual port number on the server host. The default value is Timeout - The time in seconds the Switch will wait for the server host to reply to an authentication request.
  • Page 186 Gigabit Layer 3 Switch Command Line Interface Manual create authen server_group Purpose Syntax Description Parameters Restrictions Example usage: To create the server group “group_1”: DGS-3324SRi:4#create authen server_group group_1 Command: create authen server_group group_1 Success. DGS-3324SRi:4# config authen server_group Purpose Syntax Description Parameters Used to create a user-defined authentication server group.
  • Page 187 Gigabit Layer 3 Switch Command Line Interface Manual config authen server_group Restrictions Example usage: To add an authentication host to server group “group_1”: DGS-3324SRi:4#config authen server_group group_1 add server_host 10.1.1.121 protocol tacacs+ Command: config authen server_group group_1 add server_host 10.1.1.121 protocol tacacs+ Success.
  • Page 188 This command will display the following fields: Group Name: The name of the server group currently configured on the Switch, including built in groups and user defined groups. IP Address: The IP address of the server host. Protocol: The authentication protocol used by the server host.
  • Page 189 Syntax Description Parameters Used to configure the amount of time the Switch will wait for a user to enter authentication before timing out. config authen parameter response_timeout <int 0-255> This command will set the time the Switch will wait for a response of authentication from the user.
  • Page 190 Gigabit Layer 3 Switch Command Line Interface Manual config authen parameter attempt Restrictions Example usage: To set the maximum number of authentication attempts at 5: DGS-3324SRi:4#config authen parameter attempt 5 Command: config authen parameter attempt 5 Success. DGS-3324SRi:4# show authen parameter...
  • Page 191 To configure the password for the “local_enable” authentication method. enable admin This command is for users who have logged on to the Switch on the normal user level, to become promoted to the administrator level. After logging on to the Switch users, will have only user level privileges.
  • Page 192 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#config admin local_enable Command: config admin local_enable Enter the old password: ****** Enter the case-sensitive new password:****** Enter the new password again for confirmation:****** Success. DGS-3324SRi:4#...
  • Page 193: Ssh Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The steps required to use the SSH protocol for secure communication between a remote PC (the SSH Client) and the Switch (the SSH Server), are as follows: Create a user account with admin-level access using the create account admin <username> <password> command.
  • Page 194 DGS-3324SRi:4# config ssh authmode Purpose Syntax Description This command allows you to enable SSH on the Switch. None. Only administrator-level users can issue this command. Used to disable SSH. disable ssh This command allows you to disable SSH on the Switch.
  • Page 195 Gigabit Layer 3 Switch Command Line Interface Manual config ssh authmode Parameters Restrictions Example usage: To enable the SSH authentication mode by password: DGS-3324SRi:4#config ssh authmode password enable Command: config ssh authmode password enable Success. DGS-3324SRi:4# show ssh authmode Purpose...
  • Page 196 Purpose Syntax Description Parameters Restrictions Usage Example: To configure the SSH server: DGS-3324SRi:4# config ssh server maxsession 2 contimeout 300 authfail 2 Command: config ssh server maxsession 2 contimeout 300 authfail 2 Success. DGS-3324SRi:4# show ssh server Purpose Syntax Description...
  • Page 197 Syntax Description Parameters Restrictions Example usage: To configure the SSH user: DGS-3324SRi:4# config ssh user Trinity authmode Password Command: config ssh user Trinity authmode Password : Disabled : 120 (sec) : Never : 22 Used to configure the SSH user.
  • Page 198 Note: To configure the SSH user, the administrator must create a user account on the Switch. For information concerning configuring a user account, please see the section of this manual entitled Basic Switch Commands and then the command, create user account.
  • Page 199 Gigabit Layer 3 Switch Command Line Interface Manual config ssh algorithm Restrictions Usage Example: To configure SSH algorithm: DGS-3324SRi:4# config ssh algorithm Blowfish enable Command: config ssh algorithm Blowfish enable Success. DGS-3324SRi:4# show ssh algorithm Purpose Syntax Description Parameters...
  • Page 200 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show ssh algorithm Command: show ssh algorithm Encryption Algorithm -------------------------------------- 3DES :Enabled AES128 :Enabled AES192 :Enabled AES256 :Enabled ARC4 :Enabled Blowfish :Enabled Cast128 :Enabled Twofish128 :Enabled Twofish192 :Enabled Twofish256 :Enabled Data Integrity Algorithm...
  • Page 201: Ssl Commands

    The Switch supports two types of cryptology algorithms: Stream Ciphers – There are two types of stream ciphers on the Switch, RC4 with 40-bit keys and RC4 with 128-bit keys. These keys are used to encrypt messages and need to be consistent between client and host for optimal use.
  • Page 202 Note: Web will be disabled if SSL is enabled. Success. DGS-3324SRi:4# NOTE: Enabling SSL on the Switch will enable all ciphersuites, upon initial configuration. To utilize a particular ciphersuite, the user must eliminate other ciphersuites by using the disable ssl command along with the appropriate ciphersuites.
  • Page 203 Gigabit Layer 3 Switch Command Line Interface Manual NOTE: Enabling the SSL function on the Switch will disable the port for the web manager (port 80). To log on to the web based manager, the entry of your URL must begin with https://. (ex. https://10.90.90.90)
  • Page 204 Gigabit Layer 3 Switch Command Line Interface Manual To disable ciphersuite RSA_EXPORT_with_RC4_40_MD5 only: DGS-3324SRi:4#disable ssl ciphersuite RSA_EXPORT_with_RC4_40_MD5 Command: disable ssl ciphersuite RSA_EXPORT_with_RC4_40_MD5 Success. DGS-3324SRi:4# config ssl cachetimeout Purpose Syntax Description Parameters Restrictions Example usage: To set the SSL cachetimeout for 7200 seconds:...
  • Page 205 Used to view the SSL status and the certificate file status on the Switch. show ssl {certificate} This command is used to view the SSL status on the Switch. Adding the certificate parameter will allow the user to view the certificate file information currently set on the Switch.
  • Page 206 <path_filename 64> keyfilename <path_filename 64> This command is used to download a certificate file for the SSL function on the Switch from a TFTP server. The certificate file is a data record used for authenticating devices on the network. It contains information on the owner, keys for authentication and digital signatures.
  • Page 207: Commands

    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 208 Gigabit Layer 3 Switch Command Line Interface Manual Command statistics show auth_statistics Each command is listed, in detail, in the following sections. enable 802.1x Purpose Syntax Description Parameters Restrictions Example usage: To enable 802.1x switch wide: DGS-3324SRi:4#enable 802.1x Command: enable 802.1x Success.
  • Page 209 802.1x user Purpose Syntax Description Parameters Restrictions Example Usage: To create an 802.1x user: DGS-3324SRi:4#create 802.1x user dtremblett Command: create 802.1x user dtremblett Enter a case-sensitive new password:****** Enter the new password again for confirmation:****** Success. DGS-3324SRi:4# show 802.1x user Purpose...
  • Page 210 802.1x user Purpose Syntax Description Parameters Restrictions Example Usage: To delete 802.1x users: DGS-3324SRi:4# delete 802.1x user dtremblett Command: delete 802.1x user dtremblett Success. DGS-3324SRi:4# show 802.1x auth_configuration Purpose Syntax Description Used to delete an 802.1x user account on the Switch.
  • Page 211 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 212 Access Control server application on the Switch. The following details what is displayed: Port number − Shows the physical port number on the Switch. Auth PAE State: Initialize / Disconnected / Connecting / Authenticating / Authenticated / Held / ForceAuth / ForceUnauth −...
  • Page 213 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show 802.1x auth_state Command: show 802.1x auth_state Port Auth PAE State ------ ----------------------- ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth ForceAuth 1:10 ForceAuth 1:11 ForceAuth 1:12 ForceAuth 1:13 ForceAuth 1:14...
  • Page 214 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 215 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#config 802.1x capability ports 1:1 – 1:10 authenticator Command: config 802.1x capability ports 1:1 – 1:10 authenticator Success. DGS-3324SRi:4# config 802.1x auth_parameter Purpose Used to configure the 802.1x Authentication parameters on a range of ports.
  • Page 216 802.1x auth_parameter Restrictions Example usage: To configure 802.1x authentication parameters for ports 1 – 20 of switch 1: DGS-3324SRi: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. DGS-3324SRi:4# config 802.1x auth_protocol...
  • Page 217 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all − Specifies all of the ports on the Switch.
  • Page 218 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success. DGS-3324SRi:4# config 802.1x reauth ports Purpose Syntax Description Parameters Restrictions Example usage: Used to configure the 802.1x re-authentication feature of the Switch.
  • Page 219 Description Parameters Restrictions Example usage: To configure the RADIUS server communication settings: DGS-3324SRi: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-3324SRi:4# Used to add a new RADIUS server. config radius add <server_index 1-3> <server_ip> key <passwd 32>...
  • Page 220 − Specifies that a password and encryption key will be used between the Switch and the RADIUS server. <passwd 32> − The shared-secret key used by the RADIUS server and the Switch. Up to 32 characters can be used. auth_port <udp_port_number> − The UDP port number for authentication requests.
  • Page 221 Gigabit Layer 3 Switch Command Line Interface Manual To configure the RADIUS settings: DGS-3324SRi:4#config radius 1 10.48.74.121 key dlink default Command: config radius 1 10.48.74.121 key dlink default Success. DGS-3324SRi:4# show radius Purpose Syntax Description Parameters Restrictions Example usage:...
  • Page 222 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show acct_client Command: show acct_client radiusAcctClient --------------------------------------------------------------------------------------- radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier radiusAuthServerEntry --------------------------------------------------------------------------------------- radiusAccServerIndex radiusAccServerAddress radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped CTRL+C ESC q show auth_client Purpose Syntax...
  • Page 223 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 224 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. all – Specifies that all ports will be viewed.
  • Page 225 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 226: Access Control List (Acl) Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The xStack family of switches implement Access Control Lists that enable the Switch to deny network access to specific devices or device groups based on IP settings, MAC address, packet content and IPv6 settings.
  • Page 227 − in this case, 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 228 <ipv6addr>} port <port> [permit {priority <value 0-7> {replace_priority}} | deny] | delete <value 1-100>] Used to create an access profile on the Switch by examining the Ethernet part of the packet header. Masks entered can be combined with the values the Switch finds in the specified frame header fields.
  • Page 229 Only administrator-level users can issue this command. Used to configure the Ethernet access profile on the Switch and to define specific values for the rules that will be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks...
  • Page 230 Up to 100 different rules may be configured for the Ethernet access profile. ethernet - Specifies that the Switch will look only into the layer 2 part of each packet to determine if it is to be filtered or forwarded based on one or more of the following: vlan <vlan_name 32>...
  • Page 231 IP, as stated below. ip - Specifies that the Switch will look into the IP fields in each packet with special emphasis on one or more of the following: vlan −...
  • Page 232 <netmask> − 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 examine the Internet •...
  • Page 233 Purpose Used to configure the IP access profile on the Switch and to define specific values for the rules that will be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks entered using the create access_profile command will be combined, using a logical AND operational method, with the values the Switch finds in the specified frame header fields.
  • Page 234 <port> - The access profile for Ethernet may be defined for each port on the Switch. Up to 100 rules may be configured for each port. The port list is specified by listing the switch ID number and the port number on that switch, separated by a colon.
  • Page 235 (IP) Restrictions Example usage: To configure a rule for the IP access profile: DGS-3324SRi:4#config access_profile profile_id 2 add access_id 2 ip protocol_id 2 port 1:2 deny Command: config access_profile profile_id 2 add access_id 2 ip protocol_id 2 port 1:2 deny Success.
  • Page 236 Description Parameters Restrictions Example usage: To create an access profile by packet content mask: DGS-3324SRi:4#create access_profile packet_content_mask offset_0- 15 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF offset_16-31 0xFFFF 0xFFFF0000 0xF 0xF000000 profile_id 3 Command: create access_profile packet_content_mask offset_0-15 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF offset_16-31 0xFFFF 0xFFFF0000 0xF 0xF000000 profile_id 3 Success.
  • Page 237 <port> - The access profile for Ethernet may be defined for each port on the Switch. Up to 100 rules may be configured for each port. The port list is specified by listing the switch ID number and the port number on that switch, separated by a colon.
  • Page 238 (packet content mask) Restrictions Example usage: To create an access profile by packet content mask: DGS-3324SRi:4# config access_profile profile_id 3 add access_id 1 packet_content offset_0-15 0x11111111 0x11111111 0x11111111 0x11111111 offset_16-31 0x11111111 0x11111111 0x11111111 0x11111111 port 1:1 deny...
  • Page 239 Only administrator-level users can issue this command. Used to configure the IPv6 access profile on the Switch and to define specific values for the rules that will be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks...
  • Page 240 <port> - The access profile for Ethernet may be defined for each port on the Switch. Up to 100 rules may be configured for each port. The port list is specified by listing the switch ID number and the port number on that switch, separated by a colon.
  • Page 241 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To configure a previously created access profile based on IPv6 classification: DGS-3324SRi:4#config access_profile profile_id 4 add access_id 1 ipv6 class 1 flowlabel 0xABCD port 1:4 deny Command: config access_profile profile_id 4 add access_id 1 ipv6 class 1 flowlabel 0xABCD port 1:4 deny Success.
  • Page 242 Gigabit Layer 3 Switch Command Line Interface Manual show access_profile Restrictions Example usage: To display all of the currently configured access profiles on the Switch: DGS-3324SRi:4#show access_profile Command: show access_profile Access Profile Table Access Profile ID: 1 ====================================================================== MASK Option : VLAN 802.1p...
  • Page 243 Gigabit Layer 3 Switch Command Line Interface Manual ABCD ===================================================================== Total Entries: 4 DGS-3324SRi:4#...
  • Page 244: Traffic Segmentation Commands

    For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 245 For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order.
  • Page 246 Gigabit Layer 3 Switch Command Line Interface Manual 1:16 1:1-1:24,2:1-2:24 1:17 1:1-1:24,2:1-2:24 1:18 1:1-1:24,2:1-2:24 CTRL+C ESC q Quit SPACE n Next Page Enter Next Entry...
  • Page 247: Stacking Commands

    Syntax Description Parameters Restrictions Usage Example: To configure box priority: DGS-3324SRi:4#config box_priority current_box_id 1 priority 1 Command: config box_priority current_box_id 1 priority 1 Success. DGS-3324SRi:4# Parameters current_box_id <value 1-12> priority <value 1-16> current_box_id <value 1-12> new_box_id [AUTO | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12] current_box_id <value 1-12>...
  • Page 248 This command will pre-assign the box type of switches in a stack. current_box_id – Identifies the Switch being configured. Range is 1-12. type – Enter the type of switch to be configured. The user may choose between the following: DGS-3324SR – Name of a xStack switch that can be set in •...
  • Page 249 Gigabit Layer 3 Switch Command Line Interface Manual Usage Example: To configure box type: DGS-3324SRi:4#config box_type current_box_id 3 type BOX_NOTEXIST Command: config box_type current_box_id 3 type BOX_NOTEXIST Success. DGS-3324SRi:4# config all_boxes_id Purpose Syntax Description Parameters Restrictions Usage Example: To configure box type:...
  • Page 250 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show stack_information Command: show stack_information User Type ---- ----------- AUTO DGS-3324SRi USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG USR-NOT-CFG ----------------------------------------------------------------- Topology :STAR My Box ID Current state :MASTER...
  • Page 251: D-Link Single Ip Management Commands

    It is connected to the CS through the CS management VLAN. Candidate Switch (CaS) – This is a switch that is ready to join a SIM group but is not yet a member of the SIM group. The Candidate Switch may join the SIM group by manually configuring it to be a MS of a SIM group. A switch configured as a CaS is not a member of a SIM group and will take on the following characteristics: It is not a CS or MS of another Single IP group.
  • Page 252 After configuring one switch to operate as the CS of a SIM group, additional switches may join the group by manually configuring the Switch to be a MS. The CS will then serve as the in band entry point for access to the MS. The CS’s IP address will become the path to all MS’s of the group and the CS’s Administrator’s password, and/or authentication will control access...
  • Page 253 Syntax Description enabled. None. Only administrator-level users can issue this command. Used to disable Single IP Management (SIM) on the Switch. disable sim This command will disable SIM globally on the Switch. None. Only administrator-level users can issue this command.
  • Page 254 Device Name - Displays the user-defined device name on the Switch. MAC Address - Displays the MAC Address of the Switch. Capabilities – Displays the type of switch, be it Layer 2 (L2) or Layer 3 (L3). Platform – Switch Description including name and model number.
  • Page 255 --- ----------------- 00-01-04-03-04-00 00-55-35-00-55-00 Total Entries: 2 DGS-3324SRi:4# : VER-1 : Build 4.00-B13 : 00-35-26-11-11-00 : L3 : DGS-3324SRi L3 Switch : Enabled : Commander : 30 sec : 100 sec Platform / Capability ------------------------ DGS-3324SR L3 Switch DGS-3324SR L3 Switch...
  • Page 256 Gigabit Layer 3 Switch Command Line Interface Manual To show other groups information in summary, if group is specified: DGS-3324SRi:4#show sim group Command: show sim group SIM Group Name : default ID MAC Address --- ----------------- *1 00-01-02-03-04-00 SIM Group Name : default...
  • Page 257 The CaS may be defined by its ID number and a password (if necessary). delete <member_id 1-32> - Use this parameter to delete a member switch of a SIM group. The member switch should be defined by it ID number. Only administrator-level users can issue this command.
  • Page 258 <sec 100-255> – Using this parameter, the user may set the time, in seconds, the Switch will hold information sent to it from other switches, utilizing the discovery interval protocol. The user may set the hold time from 100 to 255 seconds.
  • Page 259 DGS-3324SRi:4#config sim commander dp_interval 30 Command:config sim commander dp_interval 30 Success. DGS-3324SRi:4# To change the hold time of the discovery protocol: DGS-3324SRi:4# config sim commander hold_time 120 Command: config sim commander hold_time 120 Success. DGS-3324SRi:4# To transfer the commander switch to be a candidate:...
  • Page 260 Purpose Syntax Description Parameters Restrictions Example usage: To download firmware: DGS-3324SRi:4# download sim_ms firmware 10.53.13.94 c:/dgssri.had members all Command: download sim_ms firmware 10.53.13.94 c:/dgssri.had members all This device is updating firmware. Please wait... Download Status : MAC Address ----------------- 00-01-02-03-04-00 Success...
  • Page 261 Syntax Description Parameters Restrictions Example usage: To upload configuration files to a TFTP server: DGS-3324SRi:4#upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Command: upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Success. DGS-3324SRi:4# Result ---------------- User to upload a configuration file to a TFTP server from a specified member of a SIM group.
  • Page 262: Time And Sntp Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The Simple Network Time Protocol (SNTP) {an adaptation of the Network Time Protocol (NTP)} commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 263 Gigabit Layer 3 Switch Command Line Interface Manual To configure SNTP settings: DGS-3324SRi:4#config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS-3324SRi:4# show sntp Purpose Syntax Description Parameters Restrictions Example usage:...
  • Page 264 Gigabit Layer 3 Switch Command Line Interface Manual To enable the SNTP function: DGS-3324SRi:4#enable sntp Command: enable sntp Success. DGS-3324SRi:4# disable sntp Purpose Syntax Description Parameters Restrictions Example: To stop SNTP support: DGS-3324SRi:4#disable sntp Command: disable sntp Success. DGS-3324SRi:4#...
  • Page 265 Purpose Syntax Description Parameters Restrictions Example usage: To configure time zone settings: DGS-3324SRi:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success. DGS-3324SRi:4# config dst Purpose Syntax Used to determine the time zone used in order to adjust the system clock.
  • Page 266 Gigabit Layer 3 Switch Command Line Interface Manual config dst | 90 | 120]}] Description DST can be enabled and configured using this command. When enabled this will adjust the system clock to comply with any DST requirement. DST adjustment effects system time for both manually configured time and time set using SNTP service.
  • Page 267 Example usage: To configure daylight savings time on the Switch: DGS-3324SRi:4#config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Command: config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 Success.
  • Page 268 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show time Command: show time Current Time Source : System Clock Boot Time : 2 Jul 2003 10:59:59 Current Time : 10 Jul 2003 01:43:41 Time Zone : GMT +02:30 Daylight Saving Time : Repeating...
  • Page 269: Arp Commands

    {<ipaddr> | all} This command is used to delete a static ARP entry, made using the create arpentry command above, by specifying either the IP address of the entry or all. Specifying all clears the Switch’s ARP table. ARP C...
  • Page 270 <value 0-65535> This command sets the maximum amount of time, in minutes, that an ARP entry can remain in the Switch’s ARP table, without being accessed, before it is dropped from the table. time <value 0-65535> − The ARP age-out time, in minutes. The value may be set in the range of 0-65535 minutes with a default setting of 20 minutes.
  • Page 271 Used to remove all dynamic ARP table entries. clear arptable This command is used to remove dynamic ARP table entries from the Switch’s ARP table. Static ARP table entries are not affected. None. Only administrator-level users can issue this command.
  • Page 272 Gigabit Layer 3 Switch Command Line Interface Manual Example Usage: To remove dynamic entries in the ARP table: DGS-3324SRi:4#clear arptable Command: clear arptable Success. DGS-3324SRi:4#...
  • Page 273: Vrrp Commands

    LAN. This retains the link and the connection is kept alive, regardless of the point of failure. To configure VRRP for virtual routers on the Switch, an IP interface must be present on the system and it must be a part of a VLAN.
  • Page 274 {ping} - Adding this parameter to the command will stop the virtual IP address from being pinged from other host end nodes to verify connectivity. This will only disable the ping connectivity check function. To disable the VRRP protocol on the Switch, omit this parameter. Only administrator-level users can issue this command.
  • Page 275 <int 1-255> | preempt [true | false] | critical_ip <ipaddr> | critical_ip_state [enable | disable]} This command is used to create a VRRP interface on the Switch. vrid <vrid 1-255> - Enter a value between 1 and 255 to uniquely identify this VRRP group on the Switch.
  • Page 276 Restrictions Example usage: To create a VRRP entry: DGS-3324SRi:4#create vrrp vrid 1 ipif Darren ipaddress 11.1.1.1 state enable priority 200 advertisement_interval 1 preempt true critical_ip 10.53.13.224 critical_ip_state enable Command: create vrrp vrid 1 ipif Darren ipaddress 11.1.1.1 state enable priority 200 advertisement_interval 1 preempt true critical_ip 10.53.13.224...
  • Page 277 Gigabit Layer 3 Switch Command Line Interface Manual config vrrp vrid Restrictions Example usage: To configure a VRRP entry: state [enable | disable] – Used to enable and disable the VRRP router on the Switch. priority <int 1-254> - Enter a value between 1 and 254 to indicate the router priority.
  • Page 278 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#config vrrp vrid 1 ipif Trinity state enable priority 100 advertisement_interval 2 config vrrp ipif Purpose Syntax Description Parameters Restrictions Example usage: To set the authentication type for a VRRP entry:...
  • Page 279 Gigabit Layer 3 Switch Command Line Interface Manual show vrrp Purpose Syntax Description Parameters Restrictions Example Usage: To view the global VRRP settings currently implemented on the Switch (VRRP Enabled): DGS-3324SRi:4#show vrrp Command: show vrrp Global VRRP Non-owner response PING : Disabled Interface Name Authentication type VRID...
  • Page 280 Gigabit Layer 3 Switch Command Line Interface Manual delete vrrp Restrictions Example usage: To delete a VRRP entry: DGS-3324SRi:4#delete vrrp vrid 2 ipif Trinity Command: delete vrrp vrid 2 ipif Trinity Success. DGS-3324SRi:4# deleted. Not entering this parameter will delete all VRRP entries on the Switch.
  • Page 281: Routing Table Commands

    <ipaddr> <network_address> <ipaddr> {[primary | backup]} {<network_address>} {[static | rip | ospf]} Used to create IP route entries to the Switch’s IP routing table. create iproute <network_address> <ipaddr> {<metric 1- 65535>} {[primary | backup]} This command is used to create a primary and backup IP route entry to the Switch’s IP routing table.
  • Page 282 The default setting is 1. Only administrator-level users can issue this command. Used to delete an IP route entry from the Switch’s IP routing table. delete iproute <network_address> <ipaddr> [primary | backup] This command will delete an existing entry from the Switch’s IP routing table.
  • Page 283 Syntax Description Parameters Only administrator-level users can issue this command. Used to delete a default IP route entry from the Switch’s IP routing table. delete iproute default <ipaddr> This command will delete an existing default entry from the Switch’s IP routing table.
  • Page 284 Gigabit Layer 3 Switch Command Line Interface Manual show iproute Restrictions Example Usage: To display the contents of the IP routing table: DGS-3324SRi:4#show iproute Command: show iproute Routing Table IP Address/Netmask Gateway --------------- 0.0.0.0 10.0.0.0/8 Total Entries: 2 DGS-3324SRi:4# rip –...
  • Page 285: Route Redistribution Commands

    OSPF and RIP routing protocols to all routers on the network that are running OSPF or RIP. Routing information entered into the Static Routing Table on the local xStack switch is also redistributed. src [static | rip | local] − Allows for the selection of the protocol for the source device.
  • Page 286 Allowed Metric Type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in OSPF as the metric 20. Example Usage: To add route redistribution settings: DGS-3324SRi:4#create route redistribute dst ospf src rip Command: create route redistribute dst ospf src rip Success. DGS-3324SRi:4#...
  • Page 287 Entering the combination internal external is functionally equivalent to all. Entering the metric 0 specifies transparency. Example Usage: To add route redistribution settings: DGS-3324SRi:4#create route redistribute dst rip src ospf all metric 2 Command: create route redistribute dst rip src ospf all metric 2 Success. DGS-3324SRi:4#...
  • Page 288 Allowed Metric Type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in OSPF as the metric 20. Example Usage: To configure route redistributions: DGS-3324SRi:4#config route redistribute dst ospf src all metric 2 Command: config route redistribute dst ospf src all metric 2 Success. DGS-3324SRi:4#...
  • Page 289 Description Parameters Restrictions Example Usage: To configure route redistributions: DGS-3324SRi:4#config route redistribute dst ospf src rip mettype type_1 metric 2 Command: config route redistribute dst ospf src rip mettype type_1 metric 2 Success. DGS-3324SRi:4# internal | external | type_1 | type_2 | inter+e1 | inter+e2]] {metric <value>}...
  • Page 290 Gigabit Layer 3 Switch Command Line Interface Manual delete route redistribute Purpose Syntax Description Parameters Restrictions Example Usage: To delete route redistribution settings: DGS-3324SRi:4#delete route redistribute dst rip src ospf Command: delete route redistribute dst rip src ospf Success. DGS-3324SRi:4# show route redistribute Purpose Syntax Description Parameters...
  • Page 291 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show route redistribute Command: show route redistribute Source Destination Type Protocol Protocol -------- ------------ -------- STATIC LOCAL OSPF Type-2 Total Entries : 2 DGS-3324SRi:4# Metric --------...
  • Page 292: Bootp Relay Commands

    Purpose Syntax Description Parameters Restrictions Example Usage: To configure bootp relay status. DGS-3324SRi:4#config bootp_relay hops 4 time 2 Command: config bootp_relay hops 4 time 2 Success. DGS-3324SRi:4# BOOTP R Parameters {hops <value 1-16> | time <sec 0-65535>} <ipif_name 12> <ipaddr>...
  • Page 293 Gigabit Layer 3 Switch Command Line Interface Manual config bootp_relay add Purpose Syntax Description Parameters Restrictions Example Usage: To add a BOOTP relay. DGS-3324SRi:4#config bootp_relay add ipif System 10.43.21.12 Command: config bootp_relay add ipif System 10.43.21.12 Success. DGS-3324SRi:4# config bootp_relay delete Purpose Syntax Description Parameters...
  • Page 294 DGS-3324SRi:4#disable bootp_relay Command: disable bootp_relay Success. DGS-3324SRi:4# Used to enable the BOOTP relay function on the Switch. enable bootp_relay This command, in combination with the disable bootp_relay command below, is used to enable and disable the BOOTP relay function on the Switch.
  • Page 295 {ipif <ipif_name 12>} This command will display the current BOOTP relay configuration for the Switch, or if an IP interface name is specified, the BOOTP relay configuration for that IP interface. <ipif_name 12> − The name of the IP interface for which to display the current BOOTP relay configuration.
  • Page 296: Dns Relay Commands

    Syntax Description Parameters Restrictions Example Usage: To set IP address 10.43.21.12 of primary. DGS-3324SRi:4#config dnsr primary 10.43.21.12 Command: config dnsr primary 10.43.21.12 Success DGS-3324SRi:4# Example Usage: To add an entry domain name dns1, IP address 10.43.21.12 to DNS static table:...
  • Page 297 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#config dnsr add static dns1 10.43.21.12 Command: config dnsr add static dns1 10.43.21.12 Success. DGS-3324SRi:4# Example Usage: To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table.
  • Page 298 {cache | static} This command is used, in combination with the enable dnsr command above, to enable and disable DNS Relay on the Switch. cache – This parameter will allow the user to disable the cache lookup for the DNS rely on the Switch.
  • Page 299 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#disable dnsr cache Command: disable dnsr cache Success. DGS-3324SRi:4# Example Usage: To disable static table lookup for DNS relay. DGS-3324SRi:4#disable dnsr static Command: disable dnsr static Success. DGS-3324SRi:4# show dnsr Purpose...
  • Page 300: Rip Commands

    | v2_only] | rx_mode [v1_only | v2_only | v1_or_v2 | disable] state [enable | disable]} This command is used to configure RIP on the Switch. <ipif_name 12> − The name of the IP interface. all – To configure all RIP receiving mode for all IP interfaces.
  • Page 301 Gigabit Layer 3 Switch Command Line Interface Manual config rip Restrictions Example Usage: To change the RIP receive mode for the IP interface System: DGS-3324SRi:4#config rip ipif System rx_mode v1_only Command: config rip ipif System rx_mode v1_only Success. DGS-3324SRi:4# enable rip...
  • Page 302 Total Entries : 1 DGS-3324SRi:4# Used to disable RIP. disable rip This command is used to disable RIP on the Switch. None. Only administrator-level users can issue this command. Used to display the RIP configuration and statistics for the Switch.
  • Page 303: Dvmrp Commands

    | probe <sec 1-65535> | neighbor_timeout <sec 1-65535> | state [enable | disable]} This command is used to configure DVMRP on the Switch. ipif <ipif_name 12> − The name of the IP interface for which DVMRP is to be configured.
  • Page 304 Gigabit Layer 3 Switch Command Line Interface Manual config dvmrp Restrictions Example Usage: To configure DVMRP configurations of IP interface System: DGS-3324SRi:4#config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Command: config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Success DGS-3324SRi:4# enable dvmrp...
  • Page 305 Gigabit Layer 3 Switch Command Line Interface Manual Example Usage: To disable DVMRP: DGS-3324SRi:4#disable dvmrp Command: disable dvmrp Success. DGS-3324SRi:4# show dvmrp routing_table Purpose Syntax Description Parameters Restrictions Example Usage: To display DVMRP routing table: DGS-3324SRi:4#show dvmrp routing_table Command: show dvmrp routing_table...
  • Page 306 Gigabit Layer 3 Switch Command Line Interface Manual show dvmrp neighbor Parameters Restrictions Example Usage: To display DVMRP neighbor table: DGS-3324SRi:4#show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address Generation ID --------------- ----------------------- System 10.2.1.123...
  • Page 307 DGS-3324SRi:4# --------------- System System Used to display the current DVMRP settings on the Switch. show dvmrp {<ipif_name 12>} The command will display the current DVMRP routing table. <ipif_name 12> − This parameter will allow the user to display DVMRP settings for a specific IP interface.
  • Page 308: Pim Commands

    1-18724> | state [enable | disable]} {ipif <ipif_name 12> | ipaddress <network_address>} {ipif <ipif_name 12>} Used to configure PIM settings for the Switch or for specified IP interfaces. config pim [ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> | state [enable | disable]} The config pim command is used to configure PIM settings and enable or disable PIM settings for specified IP interfaces.
  • Page 309 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#config pim ipif System hello 35 jp_interval 70 state enable Command: config pim ipif System hello 35 jp_interval 70 state enable Success. DGS-3324SRi:4# enable pim Purpose Syntax Description Parameters Restrictions Usage Example:...
  • Page 310 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#disable pim Command: disable pim Success. DGS-3324SRi:4# show pim neighbor Purpose Syntax Description Parameters Restrictions Example usage: To display PIM settings as configured on the Switch: DGS-3324SRi:4#show pim neighbor Command: show pim neighbor...
  • Page 311 Gigabit Layer 3 Switch Command Line Interface Manual show pim Purpose Syntax Description Parameters Restrictions Usage Example: To display PIM settings as configured on the Switch: DGS-3324SRi:4#show pim Command: show pim PIM Global State : Disabled PIM-DM Interface Table...
  • Page 312: Ip Multicasting Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The IP multicasting commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command show ipmc cache show ipmc Each command is listed, in detail, in the following sections.
  • Page 313 Purpose Syntax Description Parameters Restrictions Usage Example To display the current IP multicast interface table by DVMRP entry: DGS-3324SRi:4#show ipmc protocol dvmrp Command: show ipmc protocol dvmrp Interface Name --------------- System Total Entries: 1 DGS-3324SRi:4# Used to display the IP multicast interface table.
  • Page 314: Md5 Configuration Commands

    Purpose Syntax Description Parameters Restrictions Usage Example To create an entry in the MD5 key table: DGS-3324SRi:4# create md5 key 1 dlink Command: create md5 key 1 dlink Success. DGS-3324SRi:4# config md5 key Purpose Syntax Description Parameters...
  • Page 315 Gigabit Layer 3 Switch Command Line Interface Manual config md5 key Restrictions Usage Example To configure an MD5 Key password: DGS-3324SRi:4#config md5 key 1 taboo Command: config md5 key 1 taboo Success. DGS-3324SRi:4# delete md5 key Purpose Syntax Description...
  • Page 316 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show md5 Command: show md5 MD5 Key Table Configurations Key-ID ------ ---------- dlink develop fireball intelligent Total Entries: 4 DGS-3324SRi:4#...
  • Page 317: Ospf Configuration Commands

    Gigabit Layer 3 Switch Command Line Interface Manual The OSPF configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config ospf router_id enable ospf disable ospf show ospf...
  • Page 318 Each command is listed, in detail, in the following sections. config ospf router_id Purpose Syntax Description Parameters Restrictions Usage Example To configure the OSPF router ID: DGS-3324SRi:4#config ospf router_id 10.48.74.122 Command: config ospf router_id 10.48.74.122 Success. DGS-3324SRi:4# enable ospf Purpose Syntax Description Parameters...
  • Page 319 OSPF on the Switch. None. Only administrator-level users can issue this command. Used to display the current OSPF state on the Switch. show ospf This command will display the current state of OSPF on the Switch, divided into the following categories:...
  • Page 320 Gigabit Layer 3 Switch Command Line Interface Manual To show OSPF state: DGS-3324SRi:4#show ospf Command: show ospf OSPF Router ID : 10.1.1.2 State : Enabled OSPF Interface Settings Interface IP Address ------------ ------------------ --------- System 10.90.90.90/8 0.0.0.0 20.1.1.1/8 30.1.1.1/8...
  • Page 321 Gigabit Layer 3 Switch Command Line Interface Manual create ospf area Purpose Syntax Description Parameters Restrictions Usage Example: To create an OSPF area: DGS-3324SRi:4#create ospf area 10.48.74.122 type normal Command: create ospf area 10.48.74.122 type normal Success. DGS-3324SRi:4# delete ospf area Purpose Syntax Description Parameters...
  • Page 322 Syntax Description Parameters Restrictions Usage Example To configure an OSPF area’s settings: DGS-3324SRi:4#config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Command: config ospf area 10.48.74.122 type stub stub_summary enable metric 1 Success. DGS-3324SRi:4# show ospf area Purpose Syntax...
  • Page 323 Purpose Syntax Description Parameters Restrictions Usage Example To configure the OSPF host route settings: DGS-3324SRi:4#create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3324SRi:4# delete ospf host_route Purpose...
  • Page 324 Purpose Syntax Description Parameters Restrictions Usage Example To configure an OSPF host route: DGS-3324SRi:4#config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3324SRi:4# show ospf host_route Purpose Syntax Description <ipaddr>...
  • Page 325 Gigabit Layer 3 Switch Command Line Interface Manual show ospf host_route Parameters Restrictions Usage Example: To display the current OSPF host route table: DGS-3324SRi:4#show ospf host_route Command: show ospf host_route Host Address --------------- 10.48.73.21 10.48.74.122 Total Entries: 2 DGS-3324SRi:4#...
  • Page 326 Purpose Syntax Description Parameters Restrictions Usage Example To configure the OSPF area aggregation settings: DGS-3324SRi:4#delete ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary Command: delete ospf aggregation 10.1.1.1 10.48.76..122/16 lsdb_type summary Success. DGS-3324SRi:4# config ospf aggregation Purpose Syntax Description Parameters Used to delete an OSPF area aggregation configuration.
  • Page 327 Gigabit Layer 3 Switch Command Line Interface Manual config ospf aggregation Restrictions Usage Example To configure the OSPF area aggregation settings: DGS-3324SRi:4#config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable Command: config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable Success.
  • Page 328 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated Network Address Type ------------ --------------------- 10.1.1.1 10.0.0.0/8 10.1.1.1 20.2.0.0/16 Total Entries: 2 DGS-3324SRi:4# show ospf lsdb Purpose...
  • Page 329 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4#show ospf lsdb Command: show ospf lsdb Area LSDB Type ----------- -------------- 0.0.0.0 RTRLink 0.0.0.0 Summary 1.0.0.0 RTRLink 1.0.0.0 Summary 1.0.0.0 Summary ASExtLink Total Entries: 5 DGS-3324SRi:4# show ospf neighbor Purpose...
  • Page 330 Gigabit Layer 3 Switch Command Line Interface Manual show ospf virtual_neighbor Parameters Restrictions Usage Example To display the current OSPF virtual neighbor table: DGS-3324SRi:4#show ospf virtual_neighbor Command: show ospf virtual_neighbor Transit Router ID of Area ID Virtual Neighbor Virtual Neighbor State...
  • Page 331 Gigabit Layer 3 Switch Command Line Interface Manual config ospf ipif Restrictions Usage Example To configure OSPF interface settings: DGS-3324SRi:4#config ospf ipif System priority 2 hello_interval 15 metric 2 state enable Command: config ospf ipif System priority 2 hello_interval 15 metric 2 state enable Success.
  • Page 332 Gigabit Layer 3 Switch Command Line Interface Manual config ospf all Restrictions Usage Example To configure all of the OSPF interfaces on the Switch with a single group of parameters: DGS-3324SRi:4#config ospf all state enable Command: config ospf all state enable Success.
  • Page 333 Purpose Syntax Description Parameters Restrictions Usage Example: To display the current OSPF interface settings, for all OSPF interfaces on the Switch: DGS-3324SRi:4#show ospf all Command: show ospf all Interface Name: System Network Medium Type: BROADCAST Area ID: 0.0.0.0 Priority: 1 DR Address: 10.42.73.10...
  • Page 334 Gigabit Layer 3 Switch Command Line Interface Manual Priority: 1 DR Address: 123.234.12.34 Hello Interval: 10 Transmit Delay: 1 Authentication: None Total Entries: 2 DGS-3324SRi:4# create ospf virtual_link Purpose Syntax Description Parameters Restrictions Usage Example DR State: DR Backup DR Address: None...
  • Page 335 Gigabit Layer 3 Switch Command Line Interface Manual To create an OSPF virtual interface: DGS-3324SRi:4#create ospf virtual_link 10.1.12 20.1.1.1 hello_interval 10 Command: create ospf virtual_link 10.1.12 20.1.1.1 hello_interval 10 Success. DGS-3324SRi:4# config ospf virtual_link Purpose Syntax Description Parameters Restrictions Usage Example Used to configure the OSPF virtual interface settings.
  • Page 336 Gigabit Layer 3 Switch Command Line Interface Manual To configure the OSPF virtual interface settings: DGS-3324SRi:4#config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10 Command: config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10 Success. DGS-3324SRi:4# delete ospf virtual_link Purpose Syntax Description Parameters...
  • Page 337 Gigabit Layer 3 Switch Command Line Interface Manual show ospf virtual_link Parameters Restrictions Usage Example: To display the current OSPF virtual interface configuration: DGS-3324SRi:4#show ospf virtual_link Command: show ospf virtual_link Virtual Interface Configuration Transit Virtual Area ID Neighbor Router Interval --------------- ---------------------- 10.0.0.0...
  • Page 338: Route Preference Commands

    Switch. 2. If the user is not fully aware of all the features and functions of the routing protocols on the Switch, a change in the default route preference value may cause routing loops or black holes.
  • Page 339 Purpose Syntax Description Parameters Restrictions Example usage: To configure the route preference value for RIP as 50: DGS-3324SRi:4#config route preference rip 50 Command: config route preference rip 50 Success. DGS-3324SRi:4# show route preference Purpose Syntax Description Used to configure the route preference of each route type.
  • Page 340 Gigabit Layer 3 Switch Command Line Interface Manual show route preference Parameters Restrictions Example usage: To view the route preference values for all routes: DGS-3324SRi:4# show route preference Command: show route preference Route Preference Settings Route Type ---------- OSPF Intra...
  • Page 341 Gigabit Layer 3 Switch Command Line Interface Manual DGS-3324SRi:4# show route preference rip Command: show route preference rip Route Preference Settings Route Type Preference ---------- ---------- DGS-3324SRi:4#...
  • Page 342: Jumbo Frame Commands

    Used to enable the jumbo frame function on the Switch. enable jumbo_frame This command will allow ethernet frames larger than 1536 bytes to be processed by the Switch. The maximum size of the jumbo frame may not exceed 9k. None.
  • Page 343 To show the jumbo frame status currently configured on the Switch: DGS-3324SRi:4#show jumbo_frame Command: show jumbo_frame Off. DGS-3324SRi:4# Used to show the status of the jumbo frame function on the Switch. show jumbo_frame This command will show the status of the jumbo frame function on the Switch. None.
  • Page 344: File System Commands

    File System commands are used to configure files stored on a storage accessory located in the Switch, such as a CompactFlash card that can be used with the DGS-3324SRi only. These commands are based on DOS commands, cannot be used with the Switch’s internal memory and are specific to the DGS-3324SRi member of the xStack family.
  • Page 345 Gigabit Layer 3 Switch Command Line Interface Manual Example usage: To view the storage media accessory information: DGS-3324SRi:4#show storage_media_info Command: show storage_media_info ------------------------------------------------ Drive Media_Type Size ------------------------------------------------ DGS-3324SRi:4# Purpose Syntax Description Parameters Restrictions Example usage: To change the name of a file directory located on the storage media accessory:...
  • Page 346 Gigabit Layer 3 Switch Command Line Interface Manual copy Restrictions Example usage: To copy a file: DGS-3324SRi:4#copy c:/abc.cfg c:/def.txt Command: copy c:/abc.cfg c:/def.txt processing...100 % Done!! DGS-3324SRi:4# Purpose Syntax Description Parameters Restrictions Example usage: To view the directory files on the media storage accessory:...
  • Page 347 Gigabit Layer 3 Switch Command Line Interface Manual erase Purpose Syntax Description Parameters Restrictions Example usage: To delete a file: DGS-3324SRi:4#erase c:/aaa.cfg Command: erase c:/aaa.cfg processing...100 % Done!! DGS-3324SRi:4# format Purpose Syntax Description Parameters Restrictions Example usage: To fast format the storage media accessory: Used to delete a file from the storage media accessory.
  • Page 348 DGS-3324SRi:4#format c: FAT16 fast Command: format c: FAT16 fast formatting...100 % Format media successfully!! DGS-3324SRi:4# To full format the storage media accessory: DGS-3324SRi:4#format c: FAT16 full DOG Command: format c: FAT16 full DOG formatting...100 % Format media successfully!! DGS-3324SRi:4# Purpose...
  • Page 349 Gigabit Layer 3 Switch Command Line Interface Manual mkdir Parameters Restrictions Example usage: To create a new directory: DGS-3324SRi:4#mkdir c:/abc Command: mkdir c:/abc Done!! DGS-3324SRi:4# Purpose Syntax Description Parameters Restrictions Example usage: To delete a file: DGS-3324SRi:4#rd c:/test Command: rd c:/test...
  • Page 350 Gigabit Layer 3 Switch Command Line Interface Manual Restrictions Example usage: To rename a file: DGS-3324SRi:4#ren c:/abc.txt c:/cba.txt Command: ren c:/abc.txt c:/cba.txt Done!! DGS-3324SRi:4# rename Purpose Syntax Description Parameters Restrictions Example usage: To rename a file: DGS-3324SRi:4#rename c:/abc.txt c:/cba.txt Command: rename c:/abc.txt c:/cba.txt...
  • Page 351 Gigabit Layer 3 Switch Command Line Interface Manual rmdir Restrictions Example usage: To delete a diectory: DGS-3324SRi:4#rmdir c:/test Command: rmdir c:/test Done!! DGS-3324SRi:4# Only administrator-level users can issue this command.
  • Page 352: Command History List

    Gigabit Layer 3 Switch Command Line Interface Manual The command history list commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command show command_history config command_history Each command is listed, in detail, in the following sections.
  • Page 353 Gigabit Layer 3 Switch Command Line Interface Manual config authen_application CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All Example usage: To display the parameters for a specific command: DGS-3324SRi:4#? config stp Command:? config stp Command: config stp Usage: {maxage <value 6-40>...
  • Page 354 Gigabit Layer 3 Switch Command Line Interface Manual config command_history Purpose Syntax Description Parameters Restrictions Example usage To configure the command history: DGS-3324SRi:4#config command_history 20 Command: config command_history 20 Success. DGS-3324SRi:4# Used to configure the command history. config command_history <value 1-40>...
  • Page 355: Technical Specifications

    44 mm (1U), 19 inch rack-mount width DXS-3326GSR / DXS-3350SR – 441 mm x 430 mm x 44 mm (1U), 19 inch rack-mount width DGS-3324SR and DGS-3324SRi – 3.15kg DXS-3326GSR – 6.5kg DXS-3350SR – 6.41kg FCC Part 15 Class A / IECES-003 Class...
  • Page 356 UTP Cat.3, 4, 5 for 10Mbps EIA/TIA-568 100-ohm screened twisted-pair (STP)(100m) DGS-3324SRi - 24 x 10/100/1000 Mbps NWay ports, 8 SFP Ports, 6 10-Gigabit Staking ports DGS-3324SR - 24 x 10/100/1000 Mbps NWay ports, 4 SFP Ports, 2 10-Gigabit Staking ports DXS-3326GSR –...
  • Page 357 Gigabit Layer 3 Switch Command Line Interface Manual Transmission Method: RAM Buffer: Filtering Address Table: Packet Filtering/Forwarding Rate: MAC Address Learning: Forwarding Table Age Time: Performance Store-and-forward DGS-3324SR / DGS-3324SR / DXS-3326GSR – 2 MB per device DXS-3350SR – 4 MB per device...

Table of Contents