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

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

12-port gigabit layer 3 stackable switch
Hide thumbs Also See for DGS-3312SR:

Advertisement

Quick Links

DGS-3312SR
Release 3.5
12-Port Gigabit Layer 3 Stackable Switch
Command Line Interface Reference Manual
Third Edition
(Oct 2005)
Version 0.35
Printed In China
RECYCLABLE

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-3312SR

  • Page 1 DGS-3312SR Release 3.5 12-Port Gigabit Layer 3 Stackable Switch Command Line Interface Reference Manual Third Edition (Oct 2005) Version 0.35 Printed In China RECYCLABLE...
  • Page 3 Microsoft Corporation. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. D-Link Computer Corporation disclaims any proprietary interest in trademarks and trade names other than its own.
  • Page 5: Table Of Contents

    802.1X Commands... 174 Access Control List (ACL) Commands ... 186 Traffic Segmentation Commands... 195 Stacking Commands... 197 D-Link Single IP Management Commands ... 200 Time and SNTP Commands... 210 ARP Commands... 216 VRRP Commands ... 220 Routing Table Commands... 227 Route Redistribution Commands ...
  • Page 6 RIP Commands ...245 DVMRP Commands ...248 PIM Commands ...253 IP Multicasting Commands...257 MD5 Configuration Commands ...259 OSPF Configuration Commands ...262 Command History List...282 Technical Specifications ...284 ...286 VCCI Warning...
  • Page 7: Introduction

    Interface (CLI) can be used to configure and manage the switch via the serial port or Telnet interfaces. This manual provides a reference for all of the commands contained in the CLI. Configuration and management of the switch via the Web-based management agent is discussed in the User’s Guide.
  • Page 8: Setting The Switch's Ip Address

    There is no initial username or password. Just press the Enter key twice to display the CLI input cursor − DGS-3312SR:4#. This is the command line where all commands are input. Setting the Switch’s IP Address Each Switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP).
  • Page 9 Figure 1-3. Assigning an IP Address In the above example, the switch was assigned an IP address of 10.53.13.144/8 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 10: 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 11 DGS-3312SR Layer 3 Gigabit Switch Figure 2-1. Initial Console Screen Commands are entered at the command prompt, DGS-3312SR: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 12 DGS-3312SR Layer 3 Gigabit Switch When you enter a command without its required parameters, the CLI will prompt you with a Next possible completions: message. 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>...
  • Page 13 DGS-3312SR Layer 3 Gigabit Switch Figure 2-4. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username> prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt.
  • Page 14 DGS-3312SR Layer 3 Gigabit Switch Figure 2-5. The Next Available Commands Prompt The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter.
  • Page 15 DGS-3312SR Layer 3 Gigabit Switch 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 16: Command Syntax

    Purpose Syntax Description Example Command Purpose DGS-3312SR Layer 3 Gigabit Switch <angle brackets> Encloses a variable or value that must be specified. create ipif <ipif_name> vlan <vlan_name 32> ipaddress <network_address> In the above syntax example, you must supply an IP interface name in the <ipif_name>...
  • Page 17 DGS-3312SR Layer 3 Gigabit Switch 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} reset {[config | system]} In the above syntax example, you have the option to specify config or system.
  • Page 18: Basic Switch Commands

    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 session show switch show config show serial_port config serial_port...
  • Page 19 Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters. Used to configure user accounts config account <username>...
  • Page 20 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch 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 21 GVRP IGMP Snooping TELNET RMON DVMRP PIM-DM OSPF DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display information about the switch. show switch This command displays information about the switch. None. None. : DGS-3312SR Gigabit-Ethernet Switch : Empty : Empty...
  • Page 22 NVRAM. config_in_NVRAM − displays the switch’s configuration saved in the switch’s NVRAM. Any configuration commands that have been entered, but not saved in the switch’s NVRAM will not be shown. Only Administrator-level users can issue this command.
  • Page 23 [9600 | 19200 | 38400 | 115200] − The serial bit rate used to communicate with the management host. auto logout – This parameter will set the time that the switch will wait before logging out automatically, if left idle. The choices that...
  • Page 24 Command: enable clipaging Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch never − No time limit on the length of time the console can be open with no user input. 2_minutes − The console will log out the current user if there is no user input for 2 minutes.
  • Page 25 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 26 To enable HTTP and configure port number: DGS-3312SR:4#enable web 80 Command: enable web 80 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to disable the Telnet protocol on the switch. disable telnet This command is used to disable the Telnet protocol on the switch.
  • Page 27 To save the switch’s current configuration to non-volatile RAM: DGS-3312SR:4#save Command: save Saving all configurations to NV-RAM… Done DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to disable the HTTP-based management software on the switch. disable web This command disables the Web-based management software on the switch.
  • Page 28 Please wait, the switch is rebooting... reset Purpose Syntax Description Parameters Restrictions Example usage: To restore all of the switch’s parameters to their default values: DGS-3312SR:4#reset config Command: reset config Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to restart the switch. reboot This command is used to restart the switch.
  • Page 29 Restrictions Example usage: To terminate the current user’s console session: DGS-3312SR:4#logout DGS-3312SR Layer 3 Gigabit Switch 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 30: Switch Port Commands

    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. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 31 Restrictions Example usage: To configure the speed of port 3 to be 10 Mbps, full duplex, learning and state enable: DGS-3312SR: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 32 15:11 Enabled 15:12 Enabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh Example usage: To view port 1:1 with description DGS-3312SR:4# show ports 15:1 description Command: show ports 15:1 description Port Port State ------ -------- Enabled Desc: Darren’s...
  • Page 33: Port Security Commands

    The switch port security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config port_security ports show port_security delete port_security_entry vlan_name clear port_security_entry port Each command is listed, in detail, in the following sections.
  • Page 34 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 35 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 36 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 37: Network Management (Snmp) Commands

    The DGS-3312SR supports 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 38 Each command is listed, in detail, in the following sections. create snmp user Purpose Syntax Description DGS-3312SR Layer 3 Gigabit Switch Parameters <groupname 32> {v1 | v2c |v3 [noauth_nopriv | auth_nopriv | auth_priv ]} {read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>} <groupname 32>...
  • Page 39 DGS-3312SR Layer 3 Gigabit Switch create snmp user source. Encryption − Scrambles the contents of messages to prevent it being viewed by an unauthorized source. Parameters <username 32> − An alphanumeric name of up to 32 characters that will identify the new SNMP user.
  • Page 40 Restrictions Example usage: To create an SNMP user on the switch: DGS-3312SR: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 41 Parameters Restrictions Example usage: To create an SNMP view: DGS-3312SR Layer 3 Gigabit Switch Used to display information about each SNMP username in the SNMP group username table. show snmp user The show snmp user command displays information about each SNMP username in the SNMP group username table.
  • Page 42 <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 43 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 44 Restrictions Example usage: To create the SNMP community string “dlink:” DGS-3312SR:4#create snmp community dlink view ReadView read_write Command: create snmp community dlink view ReadView read_write Success. DGS-3312SR:4# delete snmp community Purpose Syntax Description Parameters Restrictions Example usage: To delete the SNMP community string “dlink:”...
  • Page 45 ReadView read_write 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 46 Purpose Syntax Description Parameters Restrictions Example usage: To display the current name of the SNMP engine on the switch: DGS-3312SR:4#show snmp engineID Command: show snmp engineID SNMP Engine ID : 0035636666 DGS-3312SR:4# create snmp group Purpose Syntax...
  • Page 47 Restrictions Example usage: To create an SNMP group named “sg1:” DGS-3312SR: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. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Message integrity −...
  • Page 48 Group Name ReadView Name WriteView Name DGS-3312SR Layer 3 Gigabit Switch Used to remove an SNMP group from the switch. delete snmp group <groupname 32> The delete snmp group command is used to remove an SNMP group from the switch.
  • Page 49 DGS-3312SR Layer 3 Gigabit Switch Notify View Name : NotifyView Security Model : SNMPv3 Security Level : authNoPriv Group Name : Group5 ReadView Name : ReadView WriteView Name : WriteView Notify View Name : NotifyView Security Model : SNMPv3 Security Level...
  • Page 50 Restrictions Example usage: To create an SNMP host to receive SNMP messages: DGS-3312SR: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-3312SR:4# delete snmp host Purpose Syntax Description Parameters Restrictions...
  • Page 51 <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 52 Example Usage: To delete a trusted host with an IP address 10.48.74.121: DGS-3312SR Layer 3 Gigabit Switch Used to display a list of trusted hosts entered on the switch using the create trusted_host command above. show trusted_host This command is used to display a list of trusted hosts entered on the switch using the create trusted_host command above.
  • Page 53 To turn on SNMP authentication trap support: DGS-3312SR:4#enable snmp authenticate_traps Command: enable snmp authenticate_traps Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to enable SNMP trap support. enable snmp traps The enable snmp traps command is used to enable SNMP trap support on the switch.
  • Page 54 DGS-3312SR Layer 3 Gigabit Switch Used to disable SNMP trap support on the switch. disable snmp traps This command is used to disable SNMP trap support on the Switch. None. Only administrator-level users can issue this command. Used to disable SNMP authentication trap support.
  • Page 55 Example usage: To configure the switch contact to “ DGS-3312SR:4#config snmp system_contact MIS Department II Command: config snmp system_contact MIS Department II Success. DGS-3312SR:4# config snmp system_location Purpose Syntax Description Parameters Restrictions Example usage: To configure the switch location for “...
  • Page 56 To configure the switch name for “ DGS-3312SR:4#config snmp system_name DGS-3312SR Stackable Switch Command: config snmp system_name DGS-3312SR Stackable Switch Success. DGS-3312SR:4# enable rmon Purpose Syntax Description Parameters Restrictions Example Usage: To enable RMON: DGS-3312SR:4#enable rmon Command: enable rmon Success.
  • Page 57 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#disable rmon Command: disable rmon Success. DGS-3312SR:4#...
  • Page 58: Switch Utility Commands

    The switch utility commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command download upload ping traceroute Each command is listed, in detail, in the following sections. download Purpose Syntax Description...
  • Page 59 Upload configuration...Done. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch 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.
  • Page 60 Pinging an IP address without the times parameter will ping the target device an infinite amount of times. Only administrator-level users can issue this command. Used to trace the routed path between the switch and a destination endstation. <ipaddr> {ttl <value 1-60> | port <value 30000-64900> | timeout <sec 1-65535>...
  • Page 61 DGS-3312SR Layer 3 Gigabit Switch between 1 and 65535 seconds. probe <value 1-9> - The probe value is the number of times the switch will send probe packets to the next hop on the intended traceroute path. The default is 1. None.
  • Page 62: Network Monitoring Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 63 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 64 – Entering this parameter will display the current cpu utilization of the switch, as a percentage. unit_id <int> - Entering this parameter, along with the appropriate switch number, will display the current utilization of all ports on the switch of a switch stack. None.
  • Page 65 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 66 Parameters Restrictions Example usage: To the syslog function on the switch: DGS-3312SR Layer 3 Gigabit Switch Used to display the switch history log. show log {index <value>} This command will display the contents of the switch’s history log. index <value> − Enter a value that corresponds to an entry made in the log.
  • Page 67 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 68 DGS-3312SR Layer 3 Gigabit Switch Example usage: To display the current status of the syslog function: DGS-3312SR:4#show syslog Command: show syslog Syslog Global State: Enabled DGS-3312SR:4#...
  • Page 69 − 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 70 Restrictions Example usage: To create syslog host: DGS-3312SR Layer 3 Gigabit Switch Numerical Facility Code kernel messages user-level messages mail system system daemons security/authorization messages messages generated internally by line printer subsystem network news subsystem UUCP subsystem...
  • Page 71 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#create syslog host 1 ipaddress 10.53.13.200 severity all facility local0 state enable Command: create syslog host 1 ipaddress 10.53.13.200 severity all facility local0 state enable Success. DGS-3312SR:4# config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host.
  • Page 72 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 73 Restrictions Example usage: To configure a syslog host: DGS-3312SR:4#config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch local use 0 (local0) local use 1 (local1)
  • Page 74 10.40.2.3 10.21.13.1 Total Entries : 3 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to remove a syslog host, that has been previously configured, from the switch. delete syslog host [<index 1-4> | all] The delete syslog host command is used to remove a syslog host that has been previously configured from the switch.
  • Page 75: 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 76 DGS-3312SR:4# disable stp Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Parameters <portlist> instance_id <value 0-15> {internalCost [auto | value 1- 200000000] | priority <value 0-240>} {<portlist>} {<value 0-15>} Used to globally enable STP on the Switch. enable stp This command allows the Spanning Tree Protocol to be globally enabled on the Switch.
  • Page 77 Success. DGS-3312SR:4# config stp version Purpose Syntax Description Parameters Restrictions Example usage: To set the Switch globally for the Multiple Spanning Tree Protocol (MSTP): DGS-3312SR:4#config stp version mstp Command: config stp version mstp Success. DGS-3312SR:4# config stp Purpose Syntax Description...
  • Page 78 Restrictions Example usage: To configure STP with maxage 18 and maxhops of 15: DGS-3312SR:4#config stp maxage 18 maxhops 15 Command: config stp maxage 18 maxhops 15 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch in the network, preventing the effective propagation of the new information.
  • Page 79 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 80 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-3312SR: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 81 Description Parameters Restrictions Example usage: To configure instance id 2 to add VID 10: DGS-3312SR:4#config stp instance_id 2 add_vlan 10 Command : config stp instance_id 2 add_vlan 10 Success. DGS-3312SR:4# Example usage: To remove VID 10 from instance id 2:...
  • Page 82 Description Parameters Restrictions Example usage: To set the priority value for instance_id 2 as 4096: DGS-3312SR:4#config stp priority 4096 instance_id 2 Command : config stp priority 4096 instance_id 2 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to delete a STP instance ID from the Switch.
  • Page 83 Syntax Description Parameters Restrictions Example usage: To configure the MSTP region of the Switch with revision_level 10 and the name “Trinity”: DGS-3312SR:4#config stp mst_config_id revision_level 10 name Trinity Command : config stp mst_config_id revision_level 10 name Trinity Success. DGS-3312SR:4# config stp mst_ports...
  • Page 84 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 85 Command: show stp STP Status STP Version Max Age Forward Delay Max Age TX Hold Count Forwarding BPDU DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch : Enabled : STP Compatible : 20 : 15 : 20 : Enabled : Enabled : RSTP...
  • Page 86 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 87 Example usage: To display the STP instance configuration for instance 0 (the internal CIST) on the Switch: DGS-3312SR:4#show stp instance 0 Command: show stp instance 0 STP Instance Settings --------------------------- Instance Type Instance Status Instance Priority STP Instance Operational Status...
  • Page 88: Forwarding Database Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 89 DGS-3312SR: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-3312SR:4# create multicast_fdb Purpose Syntax Description Parameters Restrictions Example usage: To create multicast MAC forwarding: DGS-3312SR:4#create multicast_fdb default 01-00-00-00-00-01 Command: create multicast_fdb default 01-00-00-00-00-01 Success. DGS-3312SR:4#...
  • Page 90 Restrictions Example usage: To add multicast MAC forwarding: DGS-3312SR: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-3312SR:4# config fdb aging_time Purpose Syntax Description Parameters Restrictions Example usage: To set the fdb aging time:...
  • Page 91 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 92 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 93 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 94 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. Adding no parameters will display all entries in the IP forwarding database.
  • Page 95: Broadcast Storm Control Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 96 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 97: Qos Commands

    The DGS-3312SR switch supports 802.1p priority queuing. The switch has nine hardware priority queues, one of which is internal and not configurable. These hardware priority queues are numbered from 7 (Class 7) — the highest hardware priority queue — to 0 (Class 0) — the lowest hardware priority queue. The eight priority tags specified in IEEE 802.1p (p0 to p7) are mapped to the switch’s hardware priority queues as follows:...
  • Page 98 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 – Choose this parameter to select all configurable ports.
  • Page 99 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 100 802.1p user_priority Parameters Restrictions Example usage: To configure 802.1 user priority on the switch: DGS-3312SR:4# config 802.1p user_priority 1 3 Command: config 802.1p user_priority 1 3 Success. DGS-3312SR:4# show 802.1p user_priority Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch queues available on the switch.
  • Page 101 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 102 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 103 The switch’s default is to empty the eight priority queues in order − from the highest priority queue (queue 7) to the lowest priority queue (queue 0). Each queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets.
  • Page 104 DGS-3312SR Layer 3 Gigabit Switch Example Usage: To show the scheduling mechanism: DGS-3312SR: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 Class-7 strict...
  • Page 105: Port Mirroring Commands

    15 for all configurations, graphs and tables. NOTE: Port mirroring can only be used for regular ports on the master DGS-3312SR switch. No port mirroring can be done between slave switches in a stacking configuration, and the master switch. config mirror port...
  • Page 106 Restrictions Example usage: To add the mirroring ports: DGS-3312SR:4# config mirror port 1:5 add source ports 1:1-1:5 both Command: config mirror port 1:5 add source ports 1:1-1:5 both Success. DGS-3312SR:4# config mirror delete Purpose Syntax Description Parameters DGS-3312SR Layer 3 Gigabit Switch mirrored.
  • Page 107 Restrictions Example usage: To delete the mirroring ports: DGS-3312SR:4#config mirror port 1:5 delete source port 1:1-1:5 both Command: config mirror 1:5 delete source 1:1-1:5 both Success. DGS-3312SR:4# enable mirror Purpose Syntax Description Parameters Restrictions Example usage: To enable mirroring configurations: DGS-3312SR Layer 3 Gigabit Switch mirrored.
  • Page 108 This command, combined with the enable mirror command above, allows you to enter a port mirroring configuration into the switch, and then turn the port mirroring on and off without having to modify the port mirroring configuration. None.
  • Page 109 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#show mirror Command: show mirror Current Settings Mirror Status: Enabled Target Port : 1:9 Mirrored Port: TX: 1:1-1:5 DGS-3312SR:4#...
  • Page 110: Vlan Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 111 DGS-3312SR:4#create vlan v1 tag 2 Command: create vlan v1 tag 2 Success. DGS-3312SR:4# delete vlan Purpose Syntax Description Parameters Restrictions Example usage: To remove the vlan “v1”: DGS-3312SR:4#delete vlan v1 Command: delete vlan v1 Success. DGS-3312SR:4# config vlan Purpose Syntax...
  • Page 112 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 113 [tagged_only | admit_all] – This parameter states the frame type that will be accepted by the switch for this function. tagged_only implies that only VLAN tagged frames will be accepted, while admit_all implies tagged and untagged frames will be accepted by the switch.
  • Page 114 Parameters Restrictions Example usage: To display the switch’s current VLAN settings: DGS-3312SR Layer 3 Gigabit Switch Used to disable GVRP on the switch. disable gvrp This command, along with enable gvrp above, is used to enable and disable GVRP on the switch, without changing the GVRP configuration on the switch.
  • Page 115 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 116 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#show gvrp Command: show gvrp Global GVRP : Disabled Port PVID GVRP Ingress Checking Acceptable Frame Type ------ ---- -------- ---------------- Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled...
  • Page 117: Link Aggregation Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 118 <value 1-6> This command is used to delete a previously configured link aggregation group. <value 1-6> − Specifies the group ID. The switch allows up to 6 link aggregation groups to be configured. The group number identifies each of the groups.
  • Page 119 To define a load-sharing group of ports, group-id 1, master port 5 of module 1 with group members ports 5-7 plus port DGS-3312SR:4#config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7, 1:9 Command: config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7, 1:9 Success.
  • Page 120 This command will display the current link aggregation configuration of the switch. group_id <value 1-6> − Specifies the group ID. The switch allows up to 6 link aggregation groups to be configured. The group number identifies each of the groups.
  • Page 121 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 process LACP control frames.
  • Page 122 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 123: Ip Commands (Including Ip Multinetting)

    NOTE: Only the primary IP interface will support the BOOTP relay agent. 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.
  • Page 124 Restrictions Example usage: To create an IP interface on the switch: DGS-3312SR Layer 3 Gigabit Switch Used to enable an IP interface on the switch. enable ipif {<ipif_name 12> | all} This command will enable the IP interface function on the switch.
  • Page 125 DGS-3312SR:4# create ipif p1 ipaddress 10.1.1.1 Trinity state enable Command: create ipif p1 ipaddress 10.1.1.1 Trinity state enable Success. DGS-3312SR:4# To create the secondary IP interface, s1 on VLAN Trinity: DGS-3312SR: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.
  • Page 126 Parameters Restrictions Example usage: DGS-3312SR Layer 3 Gigabit Switch 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. <ipif_name 12> − The name created for the IP interface to view.
  • Page 127 Command: disable ipif s2 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to disable the configuration of an IP interface on the switch. disable ipif <ipif_name 12> | all This command will disable the configuration of an IP interface on the switch.
  • Page 128: Igmp Commands

    Description Parameters Restrictions Example Usage: To configure the IGMP for the IP interface System. DGS-3312SR Layer 3 Gigabit Switch Parameters [ipif <ipif_name 12> | all] {version <value 1-2> | query_interval <sec 1-65535> max_response_time <sec 1-25> | robustness_variable <value 1-255> | last_member_query_interval <sec 1-25>...
  • Page 129 DGS-3312SR:4#config igmp all version 1 state enable Command: config igmp all version 1 state enable Success. DGS-3312SR:4# show igmp Purpose Syntax Description Parameters Restrictions Example Usage: To display IGMP configurations: DGS-3312SR:4#show igmp Command: show igmp IGMP Interface Configurations QI : Query Interval...
  • Page 130 DGS-3312SR Layer 3 Gigabit Switch To display IGMP group table: DGS-3312SR:4#show igmp group Command: show igmp group Interface Name Multicast Group Last Reporter -------------------- ------------------- System 224.0.0.2 System 224.0.0.9 System 224.0.1.24 System 224.0.1.41 System 224.0.1.149 Total Entries: 5 DGS-3312SR:4# IP Querier --------------------- ------------------ -------------- 10.42.73.111...
  • Page 131: Igmp Snooping Commands

    The switch port 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 config router_ports show router_ports show igmp_snooping show igmp_snooping...
  • Page 132 Restrictions Example usage: To configure the igmp snooping: DGS-3312SR:4#config igmp_snooping default host_timeout 250 state enable Command: config igmp_snooping default host_timeout 250 state enable Success. DGS-3312SR:4# config igmp_snooping querier Purpose Syntax Description Parameters DGS-3312SR Layer 3 Gigabit Switch without the switch receiving a host membership report. The default is 260 seconds.
  • Page 133 [enable | disable] − Allows the switch to be specified as an IGMP Querier or Non-querier.
  • Page 134 DGS-3312SR:4#disable igmp_snooping Command: disable igmp_snooping Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to enable IGMP snooping on the switch. enable igmp_snooping {forward_mcrouter_only} This command allows you to enable IGMP snooping on the switch. If forward_mcrouter_only is specified, the switch will only forward all multicast traffic to the multicast router, only.
  • Page 135 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 136 DGS-3312SR Layer 3 Gigabit Switch : 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.
  • Page 137 Reports Port Member VLAN Name Multicast group: 236.54.63.75 MAC address Reports Port Member DGS-3312SR Layer 3 Gigabit Switch : 260 : 260 : Disabled : Non-Querier : Disabled Used to display the current IGMP snooping group configuration on the switch.
  • Page 138 Syntax Description Parameters Restrictions Example usage: To view the IGMP snooping forwarding table for VLAN “Trinity”: DGS-3312SR: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 139: Mac Notification Commands

    Purpose Syntax Description Parameters Restrictions Example Usage: DGS-3312SR Layer 3 Gigabit Switch MAC N Parameters {interval <int 1-2147483647> | historysize <int 1-500>} [<portlist> | all] [enable | disable] <portlist> Used to enable global MAC address table notification on the switch.
  • 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.
  • Page 141 Restrictions Example usage: To enable port 7 for MAC address table notification: DGS-3312SR:4#config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-3312SR:4# show mac_notification Purpose Syntax Description Parameters Restrictions Example usage: To view the switch’s MAC address table notification global settings:...
  • Page 142 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 143: Access Authentication Control Commands

    If TACACS / XTACACS / TACACS+ / RADIUS authentication is enabled on the switch, it will contact a TACACS / XTACACS / TACACS+ / RADIUS server to verify the user. If the user is verified, he or she is granted access to the switch.
  • Page 144 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 145 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 146 <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 147 At that point, the switch will restart the same sequence with the following protocol listed, xtacacs.
  • Page 148 DGS-3312SR Layer 3 Gigabit Switch config authen_login Parameters default – The default method list for access authentication, as defined by the user. The user may choose one or a combination of up to four (4) of the following authentication methods: tacacs –...
  • Page 149 Success. DGS-3312SR:4# Example usage: To configure the default method list with authentication methods xtacacs, tacacs+ and local, in that order: DGS-3312SR:4#config authen_login default method xtacacs tacacs+ local Command: config authen_login default method xtacacs tacacs+ local Success. DGS-3312SR:4# delete authen_login method_list_name...
  • Page 150 GoHabs! Trinity default DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display a previously configured user defined method list of authentication methods for users logging on to the switch. show authen_login [default | method_list_name <string 15> | all] This command is used to show a list of authentication methods for user login.
  • Page 151 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 152 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 153 Success. DGS-3312SR:4# Example usage: To configure the default method list with authentication methods xtacacs, tacacs+ and local, in that order: DGS-3312SR:4#config authen_enable default method xtacacs tacacs+ local Command: config authen_enable default method xtacacs tacacs+ local Success. DGS-3312SR:4# delete authen_enable method_list_name...
  • Page 154 Description Parameters Restrictions Example usage: DGS-3312SR Layer 3 Gigabit Switch <string 15> Enter an alphanumeric string of up to 15 characters to define the given enable method list the user wishes to delete. Only administrator-level users can issue this command.
  • Page 155 DGS-3312SR Layer 3 Gigabit Switch To display all method lists for promoting user level privileges to administrator level privileges. DGS-3312SR:4#show authen_enable all Command: show authen_enable all Method List Name Priority Method Name Comment ---------------- Permit default Total Entries : 2...
  • Page 156 Purpose Syntax Description Parameters Restrictions Example usage: To display the login and enable method list for all applications on the switch: DGS-3312SR:4#show authen application Command: show authen application Application Login Method List Enable Method List ---------------- ------------------ Console Telnet...
  • Page 157 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 158 To create a TACACS+ authentication server host, with port number 1234, a timeout value of 10 seconds and a retransmit count of 5. DGS-3312SR: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.
  • Page 159 TACACS+ server only. Specify an alphanumeric string up to 254 characters or choose none. 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 160 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 161 Purpose Syntax Description Parameters DGS-3312SR Layer 3 Gigabit Switch Used to create a user-defined authentication server group. create authen server_group <string 15> This command will create an authentication server group. A server group is a technique used to group TACACS/XTACACS/TACACS+/RADIUS server hosts into user defined categories for authentication using method lists.
  • Page 162 Restrictions Example usage: To add an authentication host to server group “group_1”: DGS-3312SR: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. DGS-3312SR:4# delete authen server_group Purpose...
  • Page 163 (This group has no entry) Total Entries : 4 DGS-3312SR:4# config authen parameter response_timeout Purpose Used to configure the amount of time the switch will wait for a user to enter authentication before timing out. Protocol -------- TACACS TACACS...
  • Page 164 DGS-3312SR Layer 3 Gigabit Switch config authen parameter response_timeout <int 1-255> This command will set the time the switch will wait for a response of authentication from the user. response_timeout <int 1-255> - Set the time, in seconds, the switch will wait for a response of authentication from the user attempting to log in from the command line interface or telnet interface.
  • Page 165 Used to promote user level privileges to administrator level privileges 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 166 Enter the case-sensitive new password:****** Enter the new password again for confirmation:****** Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to configure the local enable password for administrator level privileges. config admin local_enable This command will configure the locally enabled password for the enable admin command.
  • Page 167: Ssh Commands

    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 168 Success. DGS-3312SR:4# config ssh authmode Purpose Syntax Description DGS-3312SR Layer 3 Gigabit Switch Used to disable SSH. disable ssh This command allows you to disable SSH on the switch. None. Only administrator-level users can issue this command. Used to configure the SSH authentication mode setting.
  • Page 169 Parameters Restrictions Example usage: To enable the SSH authentication mode by password: DGS-3312SR:4#config ssh authmode password enable Command: config ssh authmode password enable Success. DGS-3312SR:4# show ssh authmode Purpose Syntax Description Parameters Restrictions Example usage: To view the current authentication mode set on the switch:...
  • Page 170 Purpose Syntax Description Parameters Restrictions Usage Example: To configure the SSH server: DGS-3312SR:4# config ssh server maxsession 2 contimeout 300 authfail 2 Command: config ssh server maxsession 2 contimeout 300 authfail 2 Success. DGS-3312SR:4# show ssh server Purpose Syntax Description...
  • Page 171 Purpose Syntax Description Parameters Restrictions Example usage: DGS-3312SR Layer 3 Gigabit Switch : 300 (sec) : never : Disable : 22 Used to configure the SSH user. config ssh user <username> authmode {Hostbased [hostname <string> | hostname_IP <string> <ipaddr>} | Password |...
  • Page 172 To configure the SSH user: DGS-3312SR:4# config ssh user Trinity authmode Password Command: config ssh user Trinity authmode Password Success. DGS-3312SR:4# show ssh user authmode Purpose Syntax Description Parameters Restrictions Example usage: To display the SSH user: DGS-3312SR:4#show ssh user authmode...
  • Page 173 Restrictions Usage Example: To configure SSH algorithm: DGS-3312SR:4# config ssh algorithm blowfish enable Command: config ssh algorithm blowfish enable Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch AES128 - This parameter will enable or disable the Advanced Encryption Standard AES128 encryption algorithm.
  • Page 174 Blowfish Cast128 Twofish128 Twofish192 Twofish256 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display the SSH algorithm setting. show ssh algorithm This command will display the current SSH algorithm setting status. None. Only adminstrator-level users can issue this command. :Enable...
  • Page 175: 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 176 Command: enable ssl Success. DGS-3312SR:4# 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) DGS-3312SR Layer 3 Gigabit Switch To enable the SSL function on the switch.
  • Page 177 RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} This command will disable SSL on the switch and can be used to disable any one or combination of listed ciphersuites on the switch. ciphersuite - A security string that determines the exact cryptographic parameters, specific encryption algorithms and key sizes to be used for an authentication session.
  • Page 178 This command is used to view the SSL status on the switch. None. None. Used to download a certificate file for the SSL function on the switch. download certificate <ipaddr> certfilename <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.
  • Page 179 Certificate Loaded Successfully! DGS-3312SR:4# show certificate Purpose Used to view the certificate files for the SSL function on the switch. Syntax show certificate Description This command is used to view the SSL certificate currently in use on the switch.
  • Page 180: Commands

    The DGS-3312SR implements the server-side of the IEEE 802.1x Port-based Network Access Control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each port on the switch that a user or network device must meet before allowing that port to forward or receive frames.
  • Page 181 DGS-3312SR:4# show 802.1x auth_configuration Purpose Syntax Description DGS-3312SR Layer 3 Gigabit Switch Used to enable the 802.1x server on the switch. enable 802.1x The enable 802.1x command enables the 802.1x Port-based Network Access control server application on the switch. None.
  • Page 182 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 183 Example usage: To display the 802.1x authentication states (stacking disabled): DGS-3312SR:4#show 802.1x auth_configuration ports 1 Command: show 802.1x auth_configuration ports 1 802.1X Authentication Mode Authentication Protocol : Radius_EAP Port number Capability AdminCrlDir OpenCrlDir Port Control QuietPeriod TxPeriod SuppTimeout ServerTimeout MaxReq...
  • Page 184 Syntax Description Parameters Restrictions Example usage: To configure 802.1x authentication by MAC address: DGS-3312SR:4#config 802.1x auth_mode mac_based Command: config 802.1x auth_mode mac_based Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Backend State ----------------------- --------------------- Success Success Success Success Success Success Success...
  • Page 185 Syntax Description Parameters Restrictions Example usage: To configure 802.1x capability on ports 1-10 on switch 1: DGS-3312SR:4#config 802.1x capability ports 1:1 – 1:10 authenticator Command: config 802.1x capability ports 1:1 – 1:10 authenticator Success. DGS-3312SR:4# config 802.1x auth_parameter Purpose Syntax...
  • Page 186 Parameters Restrictions Example usage: To configure 802.1x authentication parameters for ports 1 – 20 of switch 1: DGS-3312SR Layer 3 Gigabit Switch <portlist> − Specifies a range of ports. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon.
  • Page 187 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR: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-3312SR:4# config 802.1x init Purpose Used to initialize the 802.1x function on a range of ports. Syntax config 802.1x init [port_based ports [<portlist | all>] |...
  • Page 188 Example usage: To initialize the authentication state machine of some or all: DGS-3312SR:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success. DGS-3312SR:4# config 802.1x reauth ports Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Used to configure the 802.1x re-authentication feature of the...
  • Page 189 Description Parameters Restrictions Example usage: To configure the RADIUS server communication settings: DGS-3312SR: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-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to add a new RADIUS server.
  • Page 190 Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Used to delete a previously entered RADIUS server configuration. config radius delete <server_index 1-3> The config radius delete command is used to delete a previously entered RADIUS server configuration. <server_index 1-3> − A number identifying the current set of RADIUS server settings the user wishes to delete.
  • Page 191 Example usage: To configure the RADIUS settings: DGS-3312SR:4#config radius 1 10.48.74.121 key dlink default Command: config radius 1 10.48.74.121 key dlink default Success. DGS-3312SR:4# show radius Purpose Syntax Description Parameters Restrictions Example usage: To display RADIUS settings on the switch:...
  • Page 192: Access Control List (Acl) Commands

    The DGS-3312SR implements Access Control Lists that enable the switch to deny network access to specific devices or device groups based on IP settings or MAC address. The ACL commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 193 − 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 194 Parameters ethernet − Specifies that the switch will examine the layer 2 part of each packet header. vlan − Specifies that the switch will examine the VLAN part of each •...
  • Page 195 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 – denotes all ports on the switch.
  • Page 196 Only administrator-level users can issue this command. Used to configure an access profile on the switch and to define specific values that will be used to by the switch to determine if a given packet should be forwarded or filtered. Masks entered using the...
  • Page 197 802.1Q Ethernet type value in the packet header. ip − Specifies that the switch will look into the IP fields in each packet. vlan <vlan_name 32> − Specifies that the access profile will •...
  • Page 198 DGS-3312SR Layer 3 Gigabit Switch config access_profile dscp <value 0-63> − Specifies that the access profile will apply • only to packets that have this value in their Type-of-Service (DiffServ code point, DSCP) field in their IP packet header. icmp − Specifies that the switch will examine the Internet Control •...
  • Page 199 To configure the access profile with the profile ID of 1 to filter frames that have IP addresses in the range between 10.42.73.0 to 10.42.73.255: DGS-3312SR:4# config access_profile profile_id 2 add access_id 1 ip source_ip 10.42.73.1 deny Command: config access_profile profile_id 1 add access_id 1 ip source_ip 10.42.73.1 deny...
  • Page 200 Purpose Syntax Description Parameters Restrictions Example usage: To display all of the currently configured access profiles on the switch: DGS-3312SR:4#show access_profile Command: show access_profile Access Profile Table Access Profile ID: 2 TYPE : Ethernet Frame Filter Ports: 1:1...
  • Page 201: 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 202 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 203: Stacking Commands

    Each command is listed, in detail, in the following sections. NOTE: As a stand-alone switch or as a master switch in a switch stack, the switch number will be referred to as 15 for all configurations, graphs and tables.
  • Page 204 It is also possible to use any of the built-in combination ports for stacking. Follow the example below to enable stacking for a built-in port. To configure built-n port number 4 to function as a stacking port: DGS-3312SR:4#config stacking mode enable ports 4 Command: config stacking mode enable ports 4 The new stacking mode configuration must be saved and the system restarted to put the new settings into effect.
  • Page 205 To show stacking mode: DGS-3312SR:4#show stacking mode Command: show stacking mode Stacking Topology : Disable Setting : STANDALONE Current : STANDALONE DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Port Range Mode Version ---------- ---------- -------- 1 - 12 MASTER 3.00-B12 Not Present DGS-3312SR...
  • Page 206: 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 through an automatic function of the switch, or by manually configuring it to be a MS of a SIM group.
  • Page 207 After configuring one switch to operate as the CS of a SIM group, additional switches may join the group by either an automatic method or 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.
  • Page 208 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 209 – Entering this parameter will display neighboring devices of the switch. A SIM neighbor is defined as a switch that is physically connected to the switch but is not part of the SIM group. This screen will produce the following results: Port –...
  • Page 210 Command: show sim neighbor Neighbor Info Table Port MAC Address ------ ------------------------- --------- 00-35-26-00-11-99 Commander 00-35-26-00-11-91 Member 00-35-26-00-11-90 Candidate Total Entries: 3 DGS-3312SR Layer 3 Gigabit Switch Platform / Hold Capability Time ------------------------ ---- DGS-3212SR L2 Switch DGS-3212SR L2 Switch Platform /...
  • Page 211 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 212 The user may set the hold time from 100 to 300 seconds. candidate – Used to change the role of a commander switch to a candidate switch. dp_interval <30-90>– The user may set the discovery protocol interval, in seconds that the switch will send out discovery packets.
  • Page 213 DGS-3312SR:4#config sim commander dp_interval 30 Command:config sim commander dp_interval 30 Success. DGS-3312SR:4# To change the hold time of the discovery protocol: DGS-3312SR:4# config sim commander hold_time 120 Command: config sim commander hold_time 120 Success. DGS-3312SR:4# To transfer the switch to be a commander:...
  • Page 214 Purpose Syntax Description Parameters Restrictions Example usage: To download firmware: DGS-3312SR: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 -----------------...
  • Page 215 Purpose Syntax Description Parameters Restrictions Example usage: To upload configuration files to a TFTP server: DGS-3312SR: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-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Result ---------------- User to upload a configuration file to a TFTP server from a specified member of a SIM group.
  • Page 216: Time And Sntp Commands

    Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Parameters {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} <date ddmmmyyyy > <time hh:mm:ss> {operator [+ | -] | hour <gmt_hour 0-13> | min <minute 0-59>} [disable | repeating {s_week <start_week 1-4,last> | s_day <start_day sun-sat>| s_mth <start_mth 1-12>...
  • Page 217 Example usage: To configure SNTP settings: DGS-3312SR: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-3312SR:4# show sntp Purpose Syntax Description Parameters Restrictions Example usage: To display SNTP configuration information: DGS-3312SR:4#show sntp...
  • Page 218 Purpose Syntax Description Parameters Restrictions Example usage: DGS-3312SR Layer 3 Gigabit Switch Disables SNTP server support. disable sntp This will disable SNTP support. SNTP service must be separately configured (see config sntp). None. Only administrator-level users can issue this command.
  • Page 219 Purpose Syntax Description Parameters Restrictions Example usage: To configure time zone settings: DGS-3312SR:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success. DGS-3312SR:4# config dst Purpose Syntax Description DGS-3312SR Layer 3 Gigabit Switch Used to determine the time zone used in order to adjust the system clock.
  • Page 220 DGS-3312SR Layer 3 Gigabit Switch config dst Parameters disable - Disable the DST seasonal time adjustment for the Switch. repeating - Using repeating mode will enable DST seasonal time adjustment. Repeating mode requires that the DST beginning and ending date be specified using a formula. For example, specify to begin DST on Saturday during the second week of April and end DST on Sunday during the last week of October.
  • Page 221 Example usage: To configure daylight savings time on the switch: DGS-3312SR: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 222: Arp Commands

    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. <ipaddr> − The IP address of the end node or station.
  • Page 223 <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 224 System System Total Entries = 20 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch This command is used to display the current contents of the switch’s ARP table. <ipif_name 12> − The name of the IP interface the end node or station for which the ARP table entry was made, resides on.
  • Page 225 DGS-3312SR:4#clear arptable Command: clear arptable Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch 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.
  • Page 226: 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 227 Command: disable vrrp Success. DGS-3312SR:4# Example usage: To disable the virtual IP address from being pinged: DGS-3312SR Layer 3 Gigabit Switch To disable a VRRP interface configuration. disable vrrp {ping} This command will disable the VRRP interface configuration on the switch.
  • Page 228 <int 1-255> | preempt [true | false] | critical_ip <ipaddr> | critical_ip_state [enable | disable]} Description This command is used to create a VRRP interface on the switch. Parameters <ipif_name 12> - Enter the name of a previously configured IP interface that you wish to create a VRRP entry for.
  • Page 229 Restrictions Example usage: To create a VRRP entry: DGS-3312SR:4#create vrrp ipif Darren vrid 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 ipif Darren vrid ipaddress 11.1.1.1 state enable priority 200 advertisement_interval 1 preempt true critical_ip 10.53.13.224...
  • Page 230 Restrictions Example usage: To configure a VRRP entry: DGS-3312SR:4#config vrrp ipif Trinity vrid 1 state enable priority 100 advertisement_interval 2 Command: config vrrp ipif Trinity vrid 1 state enable priority 100 advertisement_interval 2 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch router priority.
  • Page 231 Description Parameters Restrictions Example usage: To set the authentication type for a VRRP entry: DGS-3312SR:4#config vrrp ipif Trinity authtype simple authdata tomato Command: config vrrp ipif Trinity authtype simple authdata tomato Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch To configure the authentication type for a VRRP entry.
  • Page 232 Syntax Description Parameters Restrictions Example usage: To delete a VRRP entry: DGS-3312SR:4#delete vrrp ipif Trinity vrid 2 Command: delete vrrp ipif Trinity vrid 2 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to delete a vrrp entry from the switch.
  • Page 233: Routing Table Commands

    <ipaddr> {<metric 1-65535>} <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 234 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 235 Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Used to delete a default IP route entry from the switch’s IP routing table. delete iproute default This command will delete an existing default entry from the switch’s IP routing table.
  • Page 236 Example Usage: To display the contents of the IP routing table: DGS-3312SR:4#show iproute Command: show iproute IP Address/Netmask Gateway --------------- 0.0.0.0 10.0.0.0 Total Entries: 2 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Interface --------------- --------------- 10.1.1.254 System 10.48.74.122 System Hops Protocol ----...
  • Page 237: 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 DGS-3312SR switch is also redistributed. src [static | rip | local] − Allows for the selection of the protocol for the source device.
  • Page 238 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 DGS-3312SR switch is also redistributed src {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2} −...
  • Page 239 Entering the combination internal external is functionally equivalent to all. Entering the metric 0 specifies transparency. Example Usage: To add route redistribution settings: DGS-3312SR:4#create route redistribute dst rip src ospf all metric 2 Command: create route redistribute dst rip src ospf all metric 2 Success. DGS-3312SR:4#...
  • Page 240 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-3312SR:4#config route redistribute dst ospf src all metric 2 Command: config route redistribute dst ospf src all metric 2 Success. DGS-3312SR:4#...
  • Page 241 Purpose Syntax Description Parameters Restrictions Example Usage: To delete route redistribution settings: DGS-3312SR:4#delete route redistribute dst rip src ospf Command: delete route redistribute dst rip src ospf Success. DGS-3312SR:4# show route redistribute Purpose Syntax Description Parameters Restrictions...
  • Page 242 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#show route redistribute Command: show route redistribute Source Destination Type Protocol Protocol -------- ------------ -------- STATIC LOCAL OSPF Type-2 Total Entries : 2 DGS-3312SR:4# Metric --------...
  • Page 243: Bootp Relay Commands

    Purpose Syntax Description Parameters Restrictions Example Usage: To configure bootp relay status. DGS-3312SR:4#config bootp_relay hops 4 time 2 Command: config bootp_relay hops 4 time 2 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch BOOTP R Parameters {hops <value 1-16> | time <sec 0-65535>} <ipif_name 12>...
  • Page 244 Purpose Syntax Description Parameters Restrictions Example Usage: To add a BOOTP relay. DGS-3312SR:4#config bootp_relay add ipif System 10.43.21.12 Command: config bootp_relay add ipif System 10.43.21.12 Success. DGS-3312SR:4# config bootp_relay delete Purpose Syntax Description Parameters Restrictions Example Usage: To delete a BOOTP relay: DGS-3312SR:4#config bootp_relay delete ipif System 10.43.21.12...
  • Page 245 DGS-3312SR:4#disable bootp_relay Command: disable bootp_relay Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch 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 246 {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 you what to display the current BOOTP relay configuration.
  • Page 247: Dns Relay Commands

    Command: config dnsr primary 10.43.21.12 Success DGS-3312SR:4# Example Usage: To add an entry domain name dns1, IP address 10.43.21.12 to DNS static table: DGS-3312SR Layer 3 Gigabit Switch DNS R Parameters {[primary | secondary] nameserver <ipaddr> | [add | delete] static <domain_name 32> <ipaddr>}...
  • Page 248 DGS-3312SR:4#config dnsr add static dns1 10.43.21.12 Command: config dnsr add static dns1 10.43.21.12 Success. DGS-3312SR:4# Example Usage: To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table. DGS-3312SR:4#config dnsr delete static dns1 10.43.21.12 Command: config dnsr delete static dns1 10.43.21.12 Success.
  • Page 249 Success. DGS-3312SR:4# Example Usage: To disable cache lookup for DNS relay. DGS-3312SR Layer 3 Gigabit Switch Used to disable DNS relay on the switch. disable dnsr {cache | static} This command is used, in combination with the enable dnsr command above, to enable and disable DNS Relay on the switch.
  • Page 250 Total Entries: 2 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display the current DNS relay status. show dnsr {static} This command is used to display the current DNS relay status. static − Allows the display of only the static entries into the DNS relay table.
  • Page 251: Rip Commands

    Purpose Syntax Description Parameters DGS-3312SR Layer 3 Gigabit Switch Parameters [ipif <ipif_name 12> | all] {authentication [enable <password 16> | disable] | tx_mode [disable | v1_only | v1_compatible | v2_only] | rx_mode [v1_only | v2_only | v1_or_v2 | disable] state [enable | disable]} ipif <ipif_name 12>...
  • Page 252 Restrictions Example Usage: To change the RIP receive mode for the IP interface System: DGS-3312SR:4#config rip ipif System rx_mode v1_only Command: config rip ipif System rx_mode v1_only Success. DGS-3312SR:4# enable rip Purpose Syntax Description Parameters Restrictions Example Usage:...
  • Page 253 ------------- ------------------ System 10.41.44.33/8 Total Entries : 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch 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 254: Dvmrp Commands

    Purpose Syntax Description Parameters DGS-3312SR Layer 3 Gigabit Switch Parameters [ipif <ipif_name 12> | all] {metric <value 1-31> | probe <sec 1- 65535> | neighbor_timeout <sec 1-65535> | state [enable | disable]} {ipif <ipif_name 12> | ipaddress <network_address>} {ipaddress <network_address>...
  • Page 255 Restrictions Example Usage: To configure DVMRP configurations of IP interface System: DGS-3312SR: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-3312SR:4# enable dvmrp Purpose Syntax...
  • Page 256 --------------- 10.0.0.0/8 20.0.0.0/8 30.0.0.0/8 Total Entries: 3 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to disable DVMRP. disable dvmrp This command, in combination with the enable dvmrp above, to enable and disable DVMRP on the switch. None. Only administrator-level users can issue this command.
  • Page 257 Parameters Restrictions Example Usage: To display DVMRP routing next hop table: DGS-3312SR Layer 3 Gigabit Switch Used to display the DVMRP neighbor table. show dvmrp neighbor {ipif <ipif_name 12> | ipaddress <network_address>} This command will display the current DVMRP neighbor table.
  • Page 258 To show DVMRP configurations: DGS-3312SR:4#show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address ------------ --------------- System 10.90.90.90/8 Total Entries: 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch --------------- ------ Leaf Leaf System Leaf Leaf System Leaf Leaf Used to display the current DVMRP routing table.
  • Page 259: 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>...
  • Page 260 Restrictions Usage Example: To configure PIM settings for IP interface “System”: DGS-3312SR: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-3312SR:4# enable pim Purpose Syntax...
  • Page 261 Restrictions Example usage: To display PIM settings as configured on the switch: DGS-3312SR Layer 3 Gigabit Switch This command will disable PIM for the switch. Any previously configured PIM settings will remain unchanged and may be enabled at a later time with the enable pim command.
  • Page 262 IP Address ------------ --------------- System 10.90.90.90/8 35 Total Entries : 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch ---------------- ----------- 10.48.74.122 Used to display current PIM configuration. show pim {ipif <ipif_name 12>} This command will list current PIM configuration settings for a specified IP interface or all IP interfaces.
  • Page 263: Ip Multicasting Commands

    ------------------ 224.1.1.1 224.1.1.1 224.1.2.3 Total Entries: 3 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch IP M Parameters {group <group>} {ipaddress <network_address>} {ipif <ipif_name 12> | protocol [dvmrp | pim]} Used to display the current IP multicast forwarding cache. show ipmc cache {group <group>} {ipaddress <network_address>}...
  • Page 264 Purpose Syntax Description Parameters Restrictions Usage Example To display the current IP multicast interface table by DVMRP entry: DGS-3312SR:4#show ipmc ipif System protocol dvmrp Command: show ipmc ipif System protocol dvmrp Interface Name --------------- System Total Entries: 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display the IP multicast interface table.
  • Page 265: Md5 Configuration Commands

    Purpose Syntax Description Parameters Restrictions Usage Example To create an entry in the MD5 key table: DGS-3312SR:4# create md5 key 1 dlink Command: create md5 key 1 dlink Success. DGS-3312SR:4# config md5 key Purpose Syntax Description Parameters...
  • Page 266 Usage Example To configure an MD5 Key password: DGS-3312SR:4#config md5 key 1 taboo Command: config md5 key 1 taboo Success. DGS-3312SR:4# delete md5 key Purpose Syntax Description Parameters Restrictions Usage Example The delete an entry in the MD5 key table:...
  • Page 267 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR:4#show md5 Command: show md5 MD5 Key Table Configurations Key-ID ------ ---------- dlink develop fireball intelligent Total Entries: 4 DGS-3312SR:4#...
  • Page 268: Ospf Configuration Commands

    DGS-3312SR Layer 3 Gigabit Switch OSPF C ONFIGURATION Parameters <ipaddr> <area_id> type [normal | stub {stub_summary [enable | disable] | metric <value 0-65535>}] <area_id>...
  • Page 269 Description Parameters Restrictions Usage Example To enable OSPF on the switch: DGS-3312SR Layer 3 Gigabit Switch Parameters <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]} <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535>...
  • Page 270 Purpose Syntax Description Parameters Restrictions DGS-3312SR Layer 3 Gigabit Switch Used to disable OSPF on the switch. disable ospf This command, in combination with the enable ospf command above, is used to enable and disable OSPF on the switch.
  • Page 271 OSPF Area Aggregation Settings Area ID --------------- Total Entries : 0 OSPF Host Route Settings Host Address --------------- 10.3.3.3 Total Entries : 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch : 10.1.1.2 : Enabled Area ID State -------- Disabled 0.0.0.0 Disabled 0.0.0.0...
  • Page 272 Purpose Syntax Description Parameters Restrictions Usage Example: To create an OSPF area: DGS-3312SR:4#create ospf area 10.48.74.122 type normal Command: create ospf area 10.48.74.122 type normal Success. DGS-3312SR:4# delete ospf area Purpose Syntax Description Parameters Restrictions Usage Example:...
  • Page 273 Purpose Syntax Description Parameters Restrictions Usage Example To configure an OSPF area’s settings: DGS-3312SR: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-3312SR:4# show ospf area Purpose...
  • Page 274 Purpose Syntax Description Parameters Restrictions Usage Example To configure the OSPF host route settings: DGS-3312SR: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-3312SR:4# delete ospf host_route Purpose Syntax Description...
  • Page 275 Purpose Syntax Description Parameters Restrictions Usage Example To configure an OSPF host route: DGS-3312SR: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-3312SR:4# show ospf host_route Purpose Syntax Description...
  • Page 276 Purpose Syntax Description Parameters Restrictions Usage Example: To create an OSPF area aggregation: DGS-3312SR:4#create ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable Command: create ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch None.
  • Page 277 Purpose Syntax Description Parameters Restrictions Usage Example To configure the OSPF area aggregation settings: DGS-3312SR: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-3312SR:4# config ospf aggregation Purpose Syntax Description...
  • Page 278 Usage Example To configure the OSPF area aggregation settings: DGS-3312SR: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. DGS-3312SR:4# show ospf aggregation Purpose Syntax Description Parameters Restrictions Usage Example...
  • Page 279 Restrictions Usage Example To display the current OSPF neighbor router table: DGS-3312SR Layer 3 Gigabit Switch OSPF domain. advertise_router <ipaddr> − The router ID of the advertising router. type [rtrlink | netlink | summary | assummary | asextlink] − The type of link.
  • Page 280 Command: show ospf virtual_neighbor Transit Router ID of Area ID Virtual Neighbor Virtual Neighbor State ------------ ---------------- 10.1.1.1 10.2.3.4 Total Entries : 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Router ID of Neighbor Neighbor Neighbor Priority State -------------- -------- ------------ 10.2.2.2 Initial Used to display the current OSPF virtual neighbor router table.
  • Page 281 Parameters Restrictions Usage Example To configure OSPF interface settings: DGS-3312SR Layer 3 Gigabit Switch Used to configure the OSPF interface settings. config ospf ipif <ipif_name 12> {area <area_id> | priority <value> | hello_interval <sec 1-65535>| dead_interval <sec 1- 65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>] | metric <value 1-65535>...
  • Page 282 DGS-3312SR: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. DGS-3312SR:4# config ospf all Purpose Syntax Description Parameters Restrictions Usage Example DGS-3312SR Layer 3 Gigabit Switch Used to configure all of the OSPF interfaces on the switch at one time.
  • Page 283 To configure all of the OSPF interfaces on the switch with a single group of parameters: DGS-3312SR:4#config ospf all state enable Command: config ospf all state enable Success. DGS-3312SR:4# show ospf ipif Purpose Syntax Description Parameters Restrictions Usage Example To display the current OSPF interface settings, for a specific OSPF interface:...
  • Page 284 Purpose Syntax Description Parameters Restrictions Usage Example To create an OSPF virtual interface: DGS-3312SR Layer 3 Gigabit Switch IP Address: 123.234.12.34/24 ((Link Up) Metric: 1 Administrative State: Enabled DR State: DR Backup DR Address: None Dead Interval: 40 Retransmit Time: 5 Used to create an OSPF virtual interface.
  • Page 285 DGS-3312SR Layer 3 Gigabit Switch DGS-3312SR: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-3312SR:4# config ospf virtual_link Purpose Used to configure the OSPF virtual interface settings. Syntax config ospf virtual_link <area_id> <neighbor_id>...
  • Page 286 Usage Example To configure the OSPF virtual interface settings: DGS-3312SR: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-3312SR:4# delete ospf virtual_link Purpose Syntax Description Parameters Restrictions Usage Example: To delete an OSPF virtual interface from the switch: DGS-3312SR:4#delete ospf virtual_link 10.1.12 20.1.1.1...
  • Page 287 10.0.0.0 20.0.0.0 Total Entries: 1 DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch <area_id> − A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain. <neighbor_id> − The OSPF router ID for the remote area. This is a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that...
  • Page 288: Command History List

    CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All DGS-3312SR Layer 3 Gigabit Switch Parameters <value 1-40> Used to display all commands in the Command Line Interface (CLI).
  • Page 289 Example usage To configure the command history: DGS-3312SR:4#config command_history 20 Command: config command_history 20 Success. DGS-3312SR:4# DGS-3312SR Layer 3 Gigabit Switch Used to display the command history. show command_history This command will display the command history. None. None. Used to configure the command history.
  • Page 290: Technical Specifications

    DGS-3312SR Layer 3 Gigabit Switch Physical and Environmental AC input & External Redundant Power Supply Power Consumption DC fans Operating Temperature Storage Temperature Humidity Dimensions Weight Safety Standards: Protocols: Data Transfer Rates: Ethernet ECHNICAL 100 – 120; 200 - 240 VAC, 50/60 Hz (internal...
  • Page 291 DGS-3312SR Layer 3 Gigabit Switch Fast Ethernet Gigabit Ethernet Fiber Optic Network Cables: 10BASE-T: 100BASE-TX Number of Ports Transmission Method RAM Buffer Filtering Address Table Packet Filtering/Forwarding Rate: MAC Address Learning Forwarding Table Age Time General 100Mbps 200Mbps 2000Mbps SFP (Mini GBIC) Support IEEE 802.3z 1000BASE-LX (DEM-310GT...
  • Page 292: Vcci Warning

    DGS-3312SR Layer 3 Gigabit Switch 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. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with this manual, may cause harmful interference to radio communications.
  • Page 293: Warranty And Registration Information

    Hardware: D-Link warrants each of its hardware products to be free from defects in workmanship and materials under normal use and service for a period commencing on the date of purchase from D-Link or its Authorized Reseller and extending for the length of time stipulated by the Authorized Reseller or D-Link Branch Office nearest to the place of purchase.
  • Page 294 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 295 The customer must submit with the product as part of the claim a written description of the Hardware defect or Software nonconformance in sufficient detail to allow D-Link to confirm the same, along with proof of purchase of the product (such as a copy of the dated purchase invoice for the product) if the product is not registered.
  • Page 296 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 297 DGS-3312SR Layer 3 Gigabit Switch Product Registration Register online your D-Link product at http://support.dlink.com/register/ Product registration is entirely voluntary and failure to complete or return this form will not diminish your warranty rights.
  • Page 298 The term “European Countries” in this D-LINK Limited Product Warranty only include the countries as listed in this addendum. The Limited Product Warranty will be honored in any country where D-LINK or its authorized service providers offer warranty service subject to the terms and conditions set forth in this Limited Product Warranty.
  • Page 299 Performance of the Limited Product Warranty If a product defect occurs, D-LINK’s sole obligation shall be to repair or replace any defective product free of charge to the original purchaser provided it is returned to an Authorized D-LINK Service Center during the warranty period. Such repair or replacement will be rendered by D-LINK at an Authorized D-LINK Service Center.
  • Page 300 Laufzeit der eingeschränkten Garantie Die Laufzeit der eingeschränkten Garantie beginnt mit dem Zeitpunkt, zu dem das Produkt von D-LINK gekauft wurde. Als Nachweis für den Zeitpunkt des Kaufs gilt der datierte Kauf- oder Lieferbeleg. Es kann von Ihnen verlangt werden, dass Sie zur Inanspruchnahme von Garantiediensten den Kauf des Produkts nachweisen.
  • Page 301 ; (e) d’une mauvaise utilisation ou d’un rangement dans des conditions inadaptées ; ou (f) du feu, de l’eau, d’une catastrophe naturelle ou autre. La présente garantie ne s’applique pas non plus à un produit dont le numéro de série D-LINK aurait été retiré ou altéré de quelque manière que ce soit.
  • Page 302 Período de la garantía limitada del producto El período de la garantía limitada del producto se inicia en la fecha en que se realizó la compra a D-LINK. Para el comprador, el comprobante de la fecha de la compra es el recibo de la venta o de la entrega, en el que figura la fecha de la compra del producto. Puede ser necesario tener que presentar el comprobante de la compra a fin de que se preste el servicio de garantía.
  • Page 303 D-LINK. La parte o el producto de repuesto adquiere, para el resto de la garantía limitada, el estatus de parte o producto eliminado. El producto de repuesto no ha de ser nuevo o de la misma marca, modelo o parte; D-LINK puede sustituir a discreción el producto defectuoso (o cualquier parte) con un producto equivalente reacondicionado (o superior) en cualquier material respecto al producto defectuoso.
  • Page 304 Per avere diritto alla garanzia può esserVi richiesto di esibire la prova di acquisto. Potete beneficiare delle prestazioni di assistenza previste dalla garanzia in conformità con i termini e le condizioni di cui sotto nel momento in cui il Vostro prodotto hardware D-LINK necessiti di una riparazione durante il Periodo di garanzia.
  • Page 305 DGS-3312SR Layer 3 Gigabit Switch www.dlink.co.uk...

This manual is also suitable for:

3312sr - switch

Table of Contents