D-Link DGS-3100 SERIES Cli Manual
D-Link DGS-3100 SERIES Cli Manual

D-Link DGS-3100 SERIES Cli Manual

Gigabit stackable managed switch
Hide thumbs Also See for DGS-3100 SERIES:
Table of Contents

Advertisement

D-Link™ DGS-3100 SERIES
GIGABIT STACKABLE MANAGED SWITCH
CLI Manual
V2.10

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-3100 SERIES

  • Page 1 D-Link™ DGS-3100 SERIES GIGABIT STACKABLE MANAGED SWITCH CLI Manual V2.10...
  • Page 2 Reproduction in any manner whatsoever without the written permission of D-Link Computer Corporation is strictly forbidden. Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Computer Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
  • Page 3 Table of Contents INTRODUCTION ..............................1 USING THE CONSOLE CLI.............................4 COMMAND SYNTAX ...............................8 BASIC SWITCH COMMANDS..........................11 create account..................................12 config account..................................12 show account..................................13 show session..................................13 show switch..................................14 show serial_port .................................. 15 config serial_port ................................15 enable clipaging .................................. 16 disable clipaging .................................
  • Page 4 show snmp engineID................................35 create snmp group ................................35 delete snmp group ................................37 show snmp groups................................37 create snmp host.................................. 38 delete snmp host.................................. 39 show snmp host................................... 39 create trusted_host................................40 show trusted_host................................40 delete trusted_host................................41 enable snmp traps................................41 disable snmp traps................................
  • Page 5 show stp instance_id ................................65 show stp mst_config_id ..............................66 config stp instance_id................................67 config stp priority................................68 config stp mst_config_id..............................68 config stp mst_ports ................................69 FORWARDING DATABASE COMMANDS......................71 create fdb..................................... 71 create multicast_fdb ................................72 config multicast_fdb ................................72 config fdb aging_time .................................
  • Page 6 BASIC IP COMMANDS............................97 config ipif system................................97 show ipif....................................98 IGMP SNOOPING COMMANDS..........................99 config igmp_snooping................................. 99 config router_port ................................100 enable igmp_snooping ..............................100 disable igmp_snooping ..............................101 show igmp_snooping ................................ 101 show igmp_snooping group .............................. 102 show igmp_snooping forwarding............................102 show router_port ................................
  • Page 7 create iproute..................................126 delete iproute..................................126 show iproute..................................127 ARP COMMANDS..............................128 create arpentry................................... 128 config arpentry .................................. 128 delete arpentry................................... 129 show arpentry..................................130 config arp_aging time ............................... 130 clear arptable..................................131 BANNER COMMANDS............................132 config login_banner ................................132 COMMAND HISTORY LIST COMMANDS ......................133 ?......................................
  • Page 8 config authen application ..............................154 show authen application..............................155 create authen server_host ..............................156 config authen server_host ..............................157 delete authen server_host ..............................158 show authen server_host ..............................158 local_enable admin ................................159 config admin local_enable ..............................159 LACP COMMANDS .............................161 config lacp port_priority ..............................
  • Page 9: Introduction

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual INTRODUCTION The DGS-3100 series is a D-Link DGS-3100 switch family. The DGS-3100 series of products family consists of 24 / 48 -port 10/100/1000Base-T PoE / NonPoE L2 Stackable Management Switches with 4 Combo SFPs and DGS-3100-24TG, a switch with 16 SFPs and 8 copper GE ports.
  • Page 10 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Figure 1–2. Boot Screen The Switch’s MAC address can also be found in the Web management program on the Device Information window on the Configuration menu. The IP address for the Switch must be set before it can be managed with the Web-based manager. The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the Switch must be known.
  • Page 11 IP address to connect to the Switch. NOTE: The DGS-3100 series of switches have the capability to be configured to have no IP address. This function maybe used to disable Layer 3 functions of the Switch. When the IP address is disabled, the Switch can only be managed through the console port.
  • Page 12: Using The Console Cli

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual USING THE CONSOLE CLI The Switch supports a console management interface that allows the user to connect to the Switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program.
  • Page 13 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Figure 2–1. Initial Console Screen after Logging In Commands are entered at the command prompt, DGS3100#. There are a number of helpful features included in the CLI. Entering the ? command displays a list of all of the top-level commands.
  • Page 14 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Figure 2–3. Example Command Parameter Help In this case, the command config account was entered with the parameter <username>. The CLI will then prompt to enter the <username> with the message, command: config account. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
  • Page 15 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Figure 2–5. Available Commands 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 16: Command Syntax

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax.
  • Page 17 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset Description execute “reset” will return the switch to its factory default setting. Example reset command Please be aware that all configuration will be reset to default value.
  • Page 18 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Multiple Page Display Control Keys Space Displays the next page. CTRL+c Stops the display of remaining pages when multiple pages are to be displayed. Stops the display of remaining pages when multiple pages are to be displayed.
  • Page 19: Basic Switch Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 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 Parameter create account [admin | oper | user] <username 15>...
  • Page 20: Create Account

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create account Purpose To create user accounts. Syntax create account [admin | oper | user] <username 15> The create account command creates an administrator, operator, Description or user account that consists of a username and an optional password.
  • Page 21: Show Account

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To configure the user password of ‘dlink’ account: DGS3100# config account dlink Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS3100# show account Purpose To display information about all user accounts on the Switch.
  • Page 22: Show Switch

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions None. Example usage: To display the way users logged in: DGS3100# show session Protocol From Level Name ------- ------------------- --------------------- -------- ----------------- HTTP 10.6.10.43 admin HTTP 10.6.10.43 admin Telnet 10.6.60.13 admin...
  • Page 23: Show Serial_Port

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show serial_port Purpose To display the current serial port settings. Syntax show serial_port Description The show serial_port command displays the current serial port settings. Parameters None. Restrictions None. Example usage: To display the serial port settings:...
  • Page 24: Enable Clipaging

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# config serial_port baud_rate 9600 Success. DGS3100# enable clipaging Purpose To pause the scrolling of the console screen after each page when a show command displays more than one page. Syntax enable clipaging...
  • Page 25: Delete Account

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual delete account Purpose To delete an existing user account. Syntax delete account <username 15> Description The delete account command deletes a user account that has been created using the create account command.
  • Page 26: Save

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable HTTP-based management software on the Switch: DGS3100# disable web Success. DGS3100# save Purpose To save changes in the Switch’s configuration to non-volatile RAM.
  • Page 27: Reset

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions Only Administrator or operate-level users can issue this command. Example usage: To restart the Switch unit 1: DGS3100# reboot 1 Are you sure you want to proceed with system reboot now? (Y/N)[N] Y...
  • Page 28: Logout

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters None. Restrictions None. Example usage: To initiate the login procedure: DGS3100# login UserName: logout Purpose To log out a user from the Switch’s console. Syntax Logout Description The logout command terminates the current user’s session on the Switch’s console.
  • Page 29: Show Cpu Utilization

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 56 bytes from 10.6.150.34: icmp_seq=2. time=0 ms 56 bytes from 10.6.150.34: icmp_seq=3. time=0 ms ----10.6.150.34 PING Statistics---- 3 packets transmitted, 3 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/0/0 Success.
  • Page 30: Enable Jumbo_Frame

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# show configuration running config snmp system_name DGS-3100 create vlan 2 tag 2 enable 802.1x config 802.1x auth_protocol radius config radius add 10.6.41.226 key 123456 auth_port 1812 acct_port 1813 priori ty first...
  • Page 31: Show Jumbo_Frame

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To disable jumbo_frames: DGS3100# disable jumbo_frame Jumbo frames will be disabled after save and restart. Success. DGS3100# show jumbo_frame Purpose To display the jumbo frame configuration. Syntax show jumbo_frame Description The show jumbo_frame command displays the jumbo frame configuration.
  • Page 32: Switch Port Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 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 Parameter [all | <portlist>] {speed [auto | 10_half | 10_full | 100_half | 100_full | 1000_full] |...
  • Page 33: Show Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To configure the speed of ports 1-3 to be 10 Mbps, full duplex, learning and state enabled: DGS3100# config ports 1-3 speed 10_full learning enable state enable Success. DGS3100# show ports Purpose To display the current configuration of a range of ports.
  • Page 34: Config Ports Description

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config ports description Purpose To add a description to an interface or ranges of interface. Syntax config ports description <portlist> <string 1-64> Description The config ports description command adds a description to an interface or a range of interfaces.
  • Page 35 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To display the description of port 1: DGS3100# show ports description 1:1 Port Description ------------- ----------------- For testing purposes only DGS3100#...
  • Page 36: Network Management (Snmp) Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual NETWORK MANAGEMENT (SNMP) COMMANDS The Network Management commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter <username 24> <groupname 30> [encrypted [by_password auth [md5 create snmp user <auth_password 1-32>...
  • Page 37: Create Snmp User

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Command Parameter disable snmp authenticate trap show snmp traps config snmp <sw_contact> system_contact config snmp <sw_location> system_location config snmp <sw_name> system_name Each command is listed in detail, as follows: create snmp user Purpose To create a new SNMP user and add the user to an SNMP group.
  • Page 38: Delete Snmp User

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual • <auth password 1-32> - A string of between 1 and 32 alphanumeric characters used to authorize the agent to receive packets for the host. • <auth_key 40 or 72> - A string of exactly 40 or 72 alphanumeric characters, in hex form, to define the key used to authorize the agent to receive packets for the host.
  • Page 39: Create Snmp View

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To display the SNMP users currently configured on the Switch: DGS3100# show snmp user Username Group Name SNMP Version Auth-Protocol --------------- --------------- ------------ ------------- Initial initial None Total Entries: 1...
  • Page 40: Show Snmp View

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 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 is deleted from the Switch.
  • Page 41: Create Snmp Community

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create snmp community Purpose To create an SNMP community string to define the relationship between the SNMP manager and an SNMP agent. Syntax create snmp community <community_string 20> view <view_name 30> [read_only | read_write]...
  • Page 42: Show Snmp Community

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual to delete. This string is used like a password to give remote SNMP managers access to MIB objects in the Switch’s SNMP agent. Restrictions Only administrator or operate-level users can issue this command.
  • Page 43: Show Snmp Engineid

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters default − defines the automatically created engineID based on the device mac. <snmp_engineID 10-64> − A string, of between 10 and 64 alphanumeric characters, to be used to identify the SNMP engine on the Switch.
  • Page 44 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual with. v1 – Specifies that SNMP version 1 is to be used. The Simple Network Management Protocol (SNMP), version 1, is a network management protocol that provides a means to monitor and control network devices.
  • Page 45: Delete Snmp Group

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# delete snmp group Purpose To remove an SNMP group from the Switch. Syntax delete snmp group <groupname 30> Description The delete snmp group command removes an SNMP group from the Switch.
  • Page 46: Create Snmp Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create snmp host Purpose To create a recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax create snmp host <ipaddr> [v1<community_string 20> | v2c<community_string 20> | v3 [noauth_nopriv | auth_nopriv | auth_priv]<auth_string 24>]...
  • Page 47: Delete Snmp Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# delete snmp host Purpose To remove a recipient of SNMP traps generated by the Switch’s SNMP agent. Syntax delete snmp host <ipaddr> Description The delete snmp host command deletes a recipient of SNMP traps generated by the Switch’s SNMP agent.
  • Page 48: Create Trusted_Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Total Entries: 2 DGS3100# create trusted_host Purpose To create a trusted host. Syntax create trusted_host <ipaddr> Description The create trusted_host command creates a trusted host. The Switch allows specifying up to three IP addresses that are allowed to manage the Switch via in-band based management software.
  • Page 49: Delete Trusted_Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Total Entries: 1 DGS3100# delete trusted_host Purpose To delete a trusted host entry made using the create trusted_host command above. Syntax delete trusted_host <ipaddr> Description The delete trusted_host command deletes a trusted host entry made using the create trusted_host command above.
  • Page 50: Enable Snmp Authenticate Trap

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions Only Administrator or operator-level users can issue this command. Example usage: To prevent SNMP traps from being sent from the Switch: DGS3100# disable snmp traps Success. DGS3100# enable snmp authenticate trap Purpose To enable SNMP authentication trap support.
  • Page 51: Config Snmp System_Contact

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Syntax show snmp traps Description The show snmp traps command displays the SNMP trap support status currently configured on the Switch. Parameters None. Restrictions None Example usage: To view the current SNMP trap support:...
  • Page 52: Config Snmp System_Name

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions Only Administrator or operator-level users can issue this command Example usage: To configure the Switch location for ‘HQ 5F’: DGS3100# config snmp system_location HQ 5F Success. DGS3100# config snmp system_name Purpose To define the name for the Switch.
  • Page 53: Download/Upload Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DOWNLOAD/UPLOAD COMMANDS The Download/Upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter configuration <ipaddr> <path_filename 1-64> [firmware <ipaddr> <path_filename download 1-64>...
  • Page 54: Upload

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# download firmware 1.1.1.23 1\dgs_31xx-10032.ros 01–Jan–2000 01:19:48 %COPY–I–FILECPY: Files Copy – source URL tftp://1.1.1.23 /1\ dgs_3lxx—10032.ros destination URL Unit all flash://image !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!01–Jan–2000 01:22:49 %COPY–W–TRAP:...
  • Page 55: Config Dhcp_Auto Enable

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual startup − Indicates the Startup Configuration file is to be uploaded. running − Indicates the Running Configuration file is to be uploaded. Restrictions The TFTP server must be on the same IP subnet as the Switch.
  • Page 56: Config Firmware

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To display the current state of the auto update feature: DGS3100# show dhcp_auto Dhcp auto update status: Disable DGS3100# config firmware Purpose To specify the system image that the device will load at reboot.
  • Page 57: Network Monitoring Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual NETWORK MONITORING COMMANDS The Network Monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter show packet ports <portlist> show error ports <portlist>...
  • Page 58: Show Error Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To display the packets analysis for port 7: DGS3100# show packet ports 7 Port number : 7 Frame Size Frame Counts Frames/sec Frame Type Total Total/sec ------------------ -------------------- ---------------- ----------------- -------...
  • Page 59: Show Utilization

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show utilization Purpose To display real-time port utilization statistics. Syntax show utilization Description The show utilization command displays the real-time port utilization statistics for the Switch. Parameters None. Restrictions None. Example usage:...
  • Page 60: Clear Log

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual To clear the counters: DGS3100# clear counters Success. DGS3100# clear log Purpose To clear the Switch’s history log. Syntax clear log Description The clear log command clears the Switch’s history log. Parameters None.
  • Page 61: Enable Syslog

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ver console , source 0.0.0.0 destination 0.0.0.0 TERMINATED. The Telnet/SSH se ssion may still be connected. 03-Jan-2000 17:26:24 %COPY-W-TRAP: The copy operation was completed succe ssfully 03-Jan-2000 17:26:17 %COPY-I-FILECPY: Files Copy - source URL running-con...
  • Page 62: Show Syslog

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show syslog Purpose To display the syslog protocol status. Syntax show syslog Description The show syslog command displays the syslog status (enabled or disabled). Parameters None. Restrictions None. Example usage: To display the current status of the syslog function:...
  • Page 63 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual informational − Specifies that informational messages are to be sent to the remote host. This corresponds to number 6 from the list above. warning − Specifies that warning messages are to be sent to the remote host.
  • Page 64: Config Syslog Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual local3 − Specifies that local use 3 messages are to be sent to the remote host. This corresponds to number 19 from the list above. local4 − Specifies that local use 4 messages are to be sent to the remote host.
  • Page 65 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational − Specifies that informational messages are to be sent to the remote host. This corresponds to number 6 from the list above.
  • Page 66: Delete Syslog Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual remote host. This corresponds to number 16 from the list above. local1 − Specifies that local use 1 messages are to be sent to the remote host. This corresponds to number 17 from the list above.
  • Page 67: Show Syslog Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show syslog host Purpose To display the syslog hosts currently configured on the Switch. Syntax show syslog host {<index 1-4>} Description The show syslog host command displays the syslog hosts that are currently configured on the Switch.
  • Page 68: Spanning Tree Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual SPANNING TREE COMMANDS The Spanning Tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {maxage <value 6-40> | maxhops <value 1-20> | hellotime <value 1-10> | config stp forwarddelay <value 4-30>| fbpdu [enable | disable]}...
  • Page 69: Config Stp Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual BPDU has still not been received from the Root Bridge, the Switch starts sending its own BPDU to all other switches for permission to become the Root Bridge. If your switch has the lowest priority, it becomes the Root Bridge.
  • Page 70: Config Stp Version

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual forwarding packets to the specified port list. Port cost can be set automatically or as a metric value. The default value is auto. • auto – Automatically sets the speed for forwarding packets to the specified port(s) in the list for optimal efficiency.
  • Page 71: Enable Stp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual the Switch. rstp – Sets the Rapid Spanning Tree Protocol (RSTP) globally on the Switch. stp – Sets the Spanning Tree Protocol (STP) globally on the Switch. Restrictions Only administrator or operator-level users can issue this command.
  • Page 72: Show Stp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# show stp Purpose To display the Switch’s current STP configuration. Syntax show stp Description The show stp command displays the Switch’s current STP configuration. Parameters None. Restrictions None. Example usage:...
  • Page 73: Show Stp Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Max Age : 20 Hello Time Forward Delay : 15 Max Age : 20 Forwarding BPDU : Enabled DGS3100# show stp ports Purpose To display the Switch’s current instance_id configuration. Syntax show stp ports {<portlist> | <ch1-32>}...
  • Page 74: Show Stp Mst_Config_Id

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters <value 0-15> - The value of the previously configured instance_id on the Switch. The value may be between 0 and 15. An entry of 0 displays the STP configuration for the CIST internally set on the Switch.
  • Page 75: Config Stp Instance_Id

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual CIST 2-4094 DGS3100# config stp instance_id Purpose To add or delete VLANs of STP instance ID. Syntax config stp instance_id <value 1-15> [add_vlan | remove_vlan] <vidlist> Description The config stp instance_id command maps VIDs (VLAN IDs) STP instances on the Switch.
  • Page 76: Config Stp Priority

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config stp priority Purpose To update the STP instance configuration. Syntax config stp priority <value 0-61440> instance_id <value 0-15> Description The config stp priority command updates the STP instance configuration settings on the Switch. The MSTP uses the priority in selecting the root bridge, root port and designated port.
  • Page 77: Config Stp Mst_Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To configure the MSTP region of the Switch with revision_level 10 and the name ‘Trinity’: DGS3100# config stp mst_config_id revision_level 10 name Trinity Success. DGS3100# config stp mst_ports Purpose To update the port configuration for a MSTP instance.
  • Page 78 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual To designate ports 1 through 5 on module one, with instance ID 2, to have an auto internalCost and a priority of 16: DGS3100# config stp mst_ports 1:1-5 instance_id 2 internalCost auto priority 16 Success.
  • Page 79: Forwarding Database Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual FORWARDING DATABASE COMMANDS The Forwarding Database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create fdb <vlan_name 32> <macaddr> port <port>...
  • Page 80: Create Multicast_Fdb

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create multicast_fdb Purpose To create a static entry in the multicast MAC address forwarding table (database). Syntax create multicast_fdb <vlan_name 32> <macaddr> Description The create multicast_fdb command creates a static entry in the multicast MAC address forwarding table (database).
  • Page 81: Config Fdb Aging_Time

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config fdb aging_time Purpose To set the aging time of the forwarding database. Syntax config fdb aging_time <value 10-630> Description The config fdb aging_time command sets the aging time of the forwarding database. The aging time affects the learning process of the Switch.
  • Page 82: Clear Fdb

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual clear fdb Purpose To clear the Switch’s forwarding database of all dynamically learned MAC addresses. Syntax clear fdb all Description The clear fdb command clears dynamically learned entries from the Switch’s forwarding database.
  • Page 83: Show Fdb

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show fdb Purpose To display the current unicast MAC address forwarding database. Syntax show fdb {port <port> | vlan <vlan_name 32> | mac_address <macaddr> | static | aging_time} Description The show fdb command displays the current contents of the Switch’s forwarding database.
  • Page 84 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual To display the aging time: DGS3100# show fdb aging_time Unicast MAC Address Aging Time = 5 DGS3100#...
  • Page 85: Broadcast Storm Control Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual BROADCAST STORM CONTROL COMMANDS The Broadcast Storm Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {[<portlist> | all] state [enable | disable] | storm_type [broadcast | config traffic control broadcast_multicast | broadcast_multicast_dlf ] threshold <int 3500-1000000>}...
  • Page 86: Show Traffic Control

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show traffic control Purpose To display current traffic control settings. Syntax show traffic control {ports <portlist>} Description The show traffic control command displays the current storm traffic control configuration on the Switch.
  • Page 87: Qos Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual QOS COMMANDS The QoS commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config scheduling <class_id 0-3> max_packet <value 0-15> show scheduling config 802.1p...
  • Page 88: Show Scheduling

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual maximum number of packets a given hardware priority queue can transmit before allowing the next lowest hardware priority queue to begin transmitting its packets. A value between 0 and 15 can be specified.
  • Page 89: Config 802.1P User_Priority

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Class-0 Class-1 Class-2 Class-3 DGS3100# config 802.1p user_priority Purpose To map the 802.1p user priority of an incoming packet to one of the four hardware classes of service available on the Switch.
  • Page 90: Config 802.1P Default_Priority

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Syntax show 802.1p user_priority Description The show 802.1p user_priority command displays the current mapping of an incoming packet’s 802.1p priority value to one of the Switch’s four hardware priority queues. Parameters None.
  • Page 91: Show 802.1P Default_Priority

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show 802.1p default_priority Purpose To display the currently configured 802.1p priority value that is assigned to an incoming, untagged packet before being forwarded to its destination. Syntax show 802.1p default_priority {<portlist>} Description The show 802.1p default_priority command displays the currently...
  • Page 92: Show Scheduling_Mechanism

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Description The config scheduling_mechanism command configures the scheduling mechanism for the QoS function. It allows the user to select between a round robin (WRR) and a strict mechanism for emptying the priority classes of service of the QoS function. The Switch contains four hardware priority classes of service.
  • Page 93: Config Rate_Limit

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual CLASS ID Mechanism -------------- ------------------- Class-0 strict Class-1 strict Class-2 strict Class-3 strict DGS3100# config rate_limit Purpose To enable rate limitation of specific ingress ports. Syntax config rate_limit [<portlist> | all] [disable | <value 3500- 1000000>]...
  • Page 94 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Port Rate Limit ------ --------------- 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 3500 CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a ALL...
  • Page 95: Port Mirroring Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual PORT MIRRORING COMMANDS The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config mirror target <port> source <port> direction [ingress | egress | both] delete mirror target <port>...
  • Page 96: Delete Mirror

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual delete mirror Purpose To remove a previously entered port mirroring configuration. Syntax delete mirror target <port> source <port> Description The delete mirror command removes a previously configured mirror port − source port pair on the Switch.
  • Page 97: Vlan Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual VLAN COMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create vlan <vlan_name 32> {tag <vlanid 2-4094>} delete vlan <vlan_name 32>...
  • Page 98: Delete Vlan

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual delete vlan Purpose To delete a previously configured VLAN on the Switch. Syntax delete vlan <vlan_name 32> Description The delete vlan command deletes a previously configured VLAN on the Switch. Parameters <vlan_name 32> − The name of the VLAN to be deleted.
  • Page 99: Config Gvrp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config gvrp Purpose To configure GVRP on the Switch. Syntax config gvrp [<portlist> | <ch1-32> | all] { state [enable | disable] { ingress_checking [enable | disable] | acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1-4094>}...
  • Page 100: Disable Gvrp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# disable gvrp Purpose To disable GVRP on the Switch. Syntax disable gvrp Description The disable gvrp command, along with the enable gvrp command above, is used to enable and disable GVRP on the Switch, without changing the GVRP configuration on the ports and the LAGs.
  • Page 101: Show Gvrp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show gvrp Purpose To display the GVRP status for a port list or port channel on the Switch. Syntax show gvrp {<portlist> | <ch1-32> ]} Description The show gvrp command displays the GVRP status for a port list or a port channel on the Switch.
  • Page 102: Link Aggregation Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual LINK AGGREGATION COMMANDS The Link Aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create link_aggregation group_id <value 1-32> {type [lacp | static]} delete link_aggregation group_id <value 1-32>...
  • Page 103: Delete Link_Aggregation

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# delete link_aggregation Purpose To delete a previously configured link aggregation group. Syntax delete link_aggregation group_id <value 1-32> Description The delete link_aggregation group_id command deletes a previously configured link aggregation group.
  • Page 104: Show Link_Aggregation

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# show link_aggregation Purpose To display the current link aggregation configuration on the Switch. Syntax show link_aggregation {group_id <value 1-32>} Description The show link_aggregation command displays the current link aggregation configuration of the Switch.
  • Page 105: Basic Ip Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual BASIC IP COMMANDS The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]}...
  • Page 106: Show Ipif

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show ipif Purpose To display the configuration of an IP interface on the Switch. Syntax show ipif {system} Description The show ipif command displays the configuration of an IP interface on the Switch.
  • Page 107: Igmp Snooping Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual IGMP SNOOPING COMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<vlan_name 32> | all] {host_timeout <sec 60-16711450> | router_timeout <sec config igmp_snooping 1-16711450>...
  • Page 108: Config Router_Port

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions Only administrator or operator-level users can issue this command Example usage: To configure the igmp snooping: DGS3100# config igmp_snooping default host_timeout 250 state enable Success. DGS3100# config router_port Purpose To configure ports as router ports.
  • Page 109: Disable Igmp_Snooping

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# disable igmp_snooping Purpose To disable IGMP snooping on the Switch. Syntax disable igmp_snooping Description The disable igmp_snooping command disables IGMP snooping on the Switch. IGMP snooping can be disabled only if IP multicast routing is not being used.
  • Page 110: Show Igmp_Snooping Group

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# show igmp_snooping group Purpose To display the current IGMP snooping group configuration on the Switch. Syntax show igmp_snooping group {vlan <vlan_name 32>} Description The show igmp_snooping group command displays the current IGMP snooping group configuration on the Switch.
  • Page 111: Show Router_Port

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Port Member : 3,4 Total Entries DGS3100# show router_port Purpose To display the currently configured router ports on the Switch. Syntax show router_port {vlan <vlan_name 32> | static | dynamic} Description The show router_port command displays the router ports currently configured on the Switch.
  • Page 112: X Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 802.1X COMMANDS The 802.1X commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable 802.1x disable 802.1x show 802.1x {ports <portlist>} auth_state show 802.1x...
  • Page 113: Disable 802.1X

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To enable 802.1x switch wide: DGS3100# enable 802.1x Success. DGS3100# disable 802.1x Purpose To disable the 802.1x server on the Switch.
  • Page 114: Show 802.1X Auth_Configuration

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters ports <portlist> − A port or range of ports whose settings are to be displayed. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To display the 802.1x authentication states (stacking disabled) for Port-based 802.1x: DGS3100# show 802.1x auth_state ports 1:1-5...
  • Page 115: Config 802.1X Auth_Parameter Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual packets. ServerTimeout − Shows the length of time to wait for a response from a RADIUS server. MaxReq − Shows the maximum number of times to retry sending packets to the supplicant.
  • Page 116: Config 802.1X Init

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual <portlist> – A port or range of ports to be configured. Parameters all – Specifies all of the ports on the Switch. default – Returns all of the ports in the specified range to their 802.1x default settings.
  • Page 117: Config 802.1X Auth_Protocol

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ports <portlist> – A port or range of ports to be configured. all – Specifies all of the ports on the Switch. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 118: Config Radius Add

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To configure 802.1x reauthentication for ports 1-18: DGS3100# config 802.1x reauth port_based ports 1-18 Success. DGS3100# config radius add Purpose To configure the settings the Switch uses to communicate with a RADIUS server.
  • Page 119: Config Radius

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To delete previously configured RADIUS server communication settings: DGS3100# config radius delete 10.48.74.121 Success. DGS3100# config radius Purpose To configure the Switch’s RADIUS settings. Syntax config radius <server_ip> {| key <passwd 32> | auth_port <udp_port_number 1-65535>...
  • Page 120: Config 802.1X Auth_Mode

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To display RADIUS settings on the Switch: DGS3100# show radius Index IP Address Auth-Port Acct-Port Status Number Number -------- ---------------- -------------- -------------- ------------ --------------------- 10.1.1.1 1812 1813 Active switch DGS3100# config 802.1x auth_mode...
  • Page 121: Config Guest_Vlan Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To enable a Guest VLAN: DGS3100# config guest_vlan guestusers state enable DGS3100# config guest_vlan ports Purpose Defines a port or range of ports to be members of the Guest VLAN.
  • Page 122: Mac Authentication Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual MAC AUTHENTICATION COMMANDS The MAC Authentication commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable mac_based_access_control disable mac_based_access_control config {ports [<portlist> | all] state [enable | disable] }...
  • Page 123: Disable Mac_Based_Access_Control

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual disable mac_based_access_control Purpose To globally disable MAC based access control. Syntax disable mac_based_access_control Description The disable mac_based_access_control command disables the functionality of MAC-based access control globally on the switch. This command disables 802.1x if it is enabled, as 802.1x functionality is used to activate MAC authentication.
  • Page 124: Config Mac_Based_Access_Control

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config mac_based_access_control Purpose To enable/disable MAC based access control on a port(s). Syntax config mac_based_access_control {ports [<portlist> | all] state [enable | disable] } Description The config mac_based_access_control command enables or disables the functionality of MAC-based access control on a port(s).
  • Page 125: Show Mac_Based_Access_Control

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show mac_based_access_control Purpose To show the port MAC authentication status. Syntax show mac_based_access_control {ports [<portlist> | all]} Description The show mac_based_access_control command displays MAC authentication status on the configured ports. Parameters <portlist> − A port or range of ports displayed with the MAC authentication status.
  • Page 126: Port Security Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual PORT SECURITY COMMANDS The Port Security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<portlist> | all] {admin_state [enable | disable] | max_learning_addr <0-64> | trap config port_security <1-1000000>}...
  • Page 127: Show Port_Security

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show port_security Purpose To display the current port security configuration. Syntax show port_security {<portlist>} Description The show port_security command displays port security information for the Switch’s ports. The information displayed includes port security, admin state, maximum number of learning address and lock mode and trap interval.
  • Page 128: Time And Sntp Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual TIME AND SNTP COMMANDS The Time and SNTP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config sntp {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 60-86400>}...
  • Page 129: Show Sntp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS3100# show sntp Purpose To display the SNTP information. Syntax show sntp Description The show sntp command displays SNTP settings information, including the source IP address, time source and poll interval.
  • Page 130: Disable Sntp

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual disable sntp Purpose To disable SNTP server support. Syntax disable sntp Description The disable sntp command disables SNTP support. Parameters None. Restrictions Only administrator or operator level users can issue this command.
  • Page 131: Config Time_Zone

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config time_zone Purpose To determine the time zone used in order to adjust the system clock. Syntax config time_zone {operator [+ hour <gmt_hour 0-13> minute <minute 0-59> | - hour <gmt_hour 0-12> minute <minute 0-59>]}...
  • Page 132 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual expressed numerically. • <hh:mm> - The time of day to begin DST in hours and minutes, expressed using a 24-hour clock. • <week 1-4,last> - The week of the month in which DST ends, where 1 is the first week, 2 is the second week and so on, and last is the last week of the month.
  • Page 133: Show Time

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show time Purpose To display the current time settings and status. Syntax show time Description The show time command displays the system time and date configuration, as well as displays the current system time.
  • Page 134: Routing Table Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ROUTING TABLE COMMANDS The Routing Table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create iproute [default] <ipaddr> {<metric 1-65535>}...
  • Page 135: Show Iproute

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To delete the default IP route: DGS3100# delete iproute default Success. DGS3100# show iproute Purpose To display the Switch’s current IP routing table. Syntax show iproute Description The show iproute command displays the Switch’s current IP routing table.
  • Page 136: Arp Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ARP COMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create arpentry <ipaddr> <macaddr> config arpentry <ipaddr> <macaddr>...
  • Page 137: Delete Arpentry

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters <ipaddr> − The IP address of the end node or station. <macaddr> − The MAC address corresponding to the IP address above. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 138: Show Arpentry

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show arpentry Purpose To display the ARP table. Syntax show arpentry {ipif system | ipaddress <ipaddr> | static } Description The show arpentry command displays the current contents of the Switch’s ARP table.
  • Page 139: Clear Arptable

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual clear arptable Purpose To remove all dynamic ARP table entries. Syntax clear arptable Description The clear arptable command is used to remove dynamic ARP table entries from the Switch’s ARP table. Static ARP table entries are not affected.
  • Page 140: Banner Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual BANNER COMMANDS The Banner commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config login_banner <text 0-159> show login_banner Each command is listed in detail, as follows:...
  • Page 141: Command History List Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual COMMAND HISTORY LIST COMMANDS The Command History List commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter show command_history config <value 10-237>...
  • Page 142: Show Command_History

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config account config admin local_enable config arp_aging time config arpentry config authen application CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All show command_history Purpose To display the command history.
  • Page 143: Config Command_History

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config 802.1p user_priority config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.1x init config 802.1x reauth config account config admin local_enable config arp_aging time config arpentry config authen application...
  • Page 144: Ssh Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual SSH COMMANDS The SSH commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable ssh disable ssh config ssh authmode publickey [enable | disable]...
  • Page 145: Disable Ssh

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual disable ssh Purpose To disable SSH. Syntax disable ssh Description The disable ssh command disables SSH on the Switch. Parameters None. Restrictions Only administrator or operator-level users can issue this command. Example usage:...
  • Page 146: Config Ssh Server

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To view the cuurent authentication mode set on the Switch: DGS3100# show ssh authmode The SSH User Authentication Support -------------------------------------------------------------------------- Publickey : Enabled DGS3100# config ssh server Purpose To configure the SSH server.
  • Page 147: Show Ssh Algorithm

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Authenticate failed attempts Listened Port Number : 22 DGS3100# show ssh algorithm Purpose To display the SSH algorithm setting. Syntax show ssh algorithm Description The show ssh algorithm command displays the current SSH algorithm setting status.
  • Page 148: Show Ssh Crypto

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual <username 1-48> – The username of the remote SSH client. Parameters rsa – Indicates the RSA key pair is manually configured. dsa – Indicates the DSA key pair is manually configured. <sequences> – Specifies User’s public key that Identifiers the user upon login.
  • Page 149: Delete Ssh Crypto

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual delete ssh crypto Purpose To remove a specified user’s SSH public key from the device. Syntax delete ssh crypto <username 1-48> Description The delete ssh crypto command deletes the specified user’s SSH public key from the device.
  • Page 150: Ssl Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual SSL COMMANDS The SSL commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable ssl disable ssl show ssl show ssl cachetimeout <number 1-2>...
  • Page 151: Disable Ssl

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# disable ssl Purpose To disable the SSL function on the Switch. Syntax disable ssl Description The disable ssl command disables SSL on the Switch and can be used to disable all combinations of listed ciphersuites on the Switch.
  • Page 152: Show Ssl Cachetimeout

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show ssl cachetimeout Purpose To show the SSL cache timeout. Syntax show ssl cachetimeout Description The show ssl cachetimeout command displays the SSL cache timeout currently implemented on the Switch. Parameters None.
  • Page 153: Crypto Certificate (Request)

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# crypto certificate (request) Purpose To generate and display certificate requests for HTTPS. Syntax crypto certificate <number 1-2> request {cn <common-name 1- 64> | ou <organization-unit 1-64>| or <organization 1-64> | loc <location 1-64>...
  • Page 154: Crypto Certificate (Import)

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual crypto certificate (import) Purpose To import a certificate signed by the Certification Authority for HTTPS. Syntax crypto certificate <number 1-2> import Description The crypto certificate (import) command imports an external certificate (signed by a Certification Authority) to the device. To end the session, add a period (.) on a separate line after the input.
  • Page 155: Show Crypto Certificate Mycertificate

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Syntax config ssl certificate <number 1-2> Description The config ssl certificate command activates SSL certificate. Parameters number — Specifies the certificate number (Range: 1 - 2). Restrictions Only administrator or operator-level users can issue this command.
  • Page 156: Access Authentication Control Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ACCESS AUTHENTICATION CONTROL COMMANDS The Access Authentication Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create authen_login <string 12>...
  • Page 157: Create Authen_Login Method_List_Name

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create authen_login method_list_name Purpose To create a user-defined list of authentication methods for users logging on to the Switch. Syntax create authen_login method_list_name <string 12> Description The create authen_login method_list_name command creates a list of authentication techniques for user login.
  • Page 158: Delete Authen_Login Method_List_Name

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual the RADIUS protocol from the remote RADIUS server hosts of the RADIUS server group list. local - Specifies that the user is to be authenticated using the local user account database on the Switch.
  • Page 159: Show Authen_Login

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual DGS3100# delete authen_login method_list_name Trinity Success. DGS3100# show authen_login Purpose To display a previously configured user defined method list of authentication methods for users logging on to the Switch. Syntax show authen_login {all | default | method_list_name <string 12>}...
  • Page 160: Config Authen_Enable

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual which is defined by the Administrator. A maximum of eight (8) enable method lists can be implemented on the Switch. Parameters <string 12> - Defines the authen_enable method_list_name to be created as a string of up to 12 alphanumeric characters.
  • Page 161: Delete Authen_Enable Method_List_Name

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual using the local user account database on the Switch. • none – Specifies that no authentication is required to access the Switch. method_list_name <string 12> – Specifies a previously created authen_enable method_list_name. The user may add one or more of the following authentication methods to this method list: •...
  • Page 162: Show Authen_Enable

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show authen_enable Purpose To display the list of authentication methods for promoting normal user level privileges to Administrator level privileges on the Switch. Syntax show authen_enable [all | default | method_list_name <string 12>]...
  • Page 163: Show Authen Application

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual • console – Configures the command line interface login method. • telnet – Configures the Telnet login method. • ssh – Configures the Secure Shell login method. • all – Configures all applications as (console, Telnet, SSH) login methods.
  • Page 164: Create Authen Server_Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual create authen server_host Purpose To create an authentication server host. Syntax create authen server_host <ipaddr> protocol tacacs+ {port <int 1-65535> | key [<key_string 128> | none] | timeout <int 1-30>} priority [first | second | third}...
  • Page 165: Config Authen Server_Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config authen server_host Purpose To configure a user-defined authentication server host. Syntax config authen server_host <ipaddr> protocol [tacacs+ | radius] {port <int 1-65535> | key [<key_string 128> | none] | timeout <int 1-30>...
  • Page 166: Delete Authen Server_Host

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual delete authen server_host Purpose To delete a user-defined authentication server host. Syntax delete authen server_host <ipaddr> protocol [tacacs+ | radius] Description The delete authen server_host command deletes a user-defined authentication server host previously created on the Switch.
  • Page 167: Local_Enable Admin

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Example usage: To view authenticaion server hosts currently set on the Switch: DGS3100# show authen server_host IP Address Protocol Port Timeout Retransmit Key --------------- ------------ ------ ----------- --------------- ------------------ 10.53.13.94 TACACS ---------...
  • Page 168 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual of no more than 15 alphanumeric characters, and finally prompted to enter the new password again for confirmation. See the example below. Parameters None. Restrictions Only administrator-level users can issue this command.
  • Page 169: Lacp Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual LACP COMMANDS The LACP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config lacp port_priority <portlist> [priority 1-65535] [timeout <90sec | 3sec>] show lacp {<portlist>}...
  • Page 170 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual status for all ports. Restrictions None Example usage: To display LACP port mode settings: DGS3100# show lacp Port Priority Timeout ------ ----------- ------------ 90 sec 90 sec 90 sec 90 sec 90 sec...
  • Page 171: Stacking Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual STACKING COMMANDS The Stacking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config box_id current_box_id <value 1-6> new_box_id [auto | 1 | 2 | 3 | 4 | 5 | 6]...
  • Page 172 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual To display information about units in the stack: DGS3100# show stack_information Master ID Backup ID : 2 Box ID User Set Boot version Firmware version H/W version --------- ------------ ------------------ ------------------------ ----------------- Auto 1.0.0.03...
  • Page 173: Poe Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual POE COMMANDS The PoE commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. These commands are available only on DGS-3100-24P and DGS-3100- 48P.
  • Page 174: Config Poe Ports

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Success. DGS3100# config poe ports Purpose To configure the PoE port settings. Syntax config poe ports <portlist> { state [enable | disable] | priority [ low | high | critical ] | power_limit <value 1-15400>}...
  • Page 175 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters None. Restrictions None. Example usage: To display the power settings for the Switch: DGS3100# show poe Port State Priority Power Limit --------- ----------- -------------- ----------------------- DGS3100#...
  • Page 176: Access Control List Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ACCESS CONTROL LIST COMMANDS The Access Control List commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter profile_id <value 1-15> [ethernet {vlan | source_mac <macmask 000000000000- create access_profile ffffffffffff>...
  • Page 177: Create Access_Profile (For Ip)

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual stated below. Parameters profile_id <value 1-15> – Specifies an index number between 1 and 15 that identifies the access profile being created with this command. ethernet - Specifies that the Switch examines the layer 2 part of each packet header with emphasis on one or more of the following: •...
  • Page 178 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual • source_ip_mask <netmask> – Specifies an IP address mask for the source IP address. • destination_ip_mask <netmask> – Specifies an IP address mask for the destination IP address. • dscp – Specifies that the Switch examines the DiffServ Code Point (DSCP) field in each frame’s header.
  • Page 179: Config Access_Profile (For Ethernet)

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual config access_profile (for Ethernet) Purpose To configure the Ethernet access profile on the Switch and to define specific values for the rules that to be used to by the Switch to determine if a given packet should be forwarded or filtered. Masks...
  • Page 180: Config Access_Profile (For Ip)

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual previously in this command, before forwarding it on to the specified CoS queue. Otherwise, a packet will have its incoming 802.1p user priority re-written to its original value before being forwarded by the Switch.
  • Page 181 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual specified access profile. The value specifies the relative priority of the additional rule. Up to 240 different rules may be configured for the IP access profile. • auto_assign – Configures the Switch to automatically assign a numerical value (between 1 and 240) for the rule being configured.
  • Page 182: Config Access_Profile

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual in their header. • protocol_id <value 0-255> – Specifies that the Switch examine the Protocol field in each packet and if this field contains the value entered here, apply the appropriate rules.
  • Page 183: Delete Access_Profile

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Restrictions Only administrator or operate-level users can issue this command. Example usage: To delete a rule from the access profile: DGS3100# config access_profile profile_id 2 delete access_id 2 Success. DGS3100# delete access_profile...
  • Page 184 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual ----------- ------ Access ID : 3 Mode: Permit(replaced) priority: 1 Ports: 1 ----------- ------ Trinity ====================================================================== Access Profile ID: 2 TYPE : IP ====================================================================== MASK Option : Protocol ID -------------------- Access ID : 2...
  • Page 185: Traffic Segmentation Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual TRAFFIC SEGMENTATION COMMANDS The Traffic Segmentation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config [<port> | <ch1-32>] forward_list [null | <port> | <ch1-32>]...
  • Page 186 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Parameters <portlist> – A port or a port channel for which the current traffic segmentation configuration on the Switch is to be displayed. Restrictions The port lists for segmentation and the forward list must be on the same Switch.
  • Page 187: Traceroute Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual TRACEROUTE COMMANDS The Traceroute commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {ipv4-address | hostname} [size 40-1500] [ttl 1-255] [count 1-10] [timeout 1-60]...
  • Page 188 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Tos - Specifies the Type-Of-Service byte in the IP Header of the packet. (Range: 0-255) Restrictions Only Administrator or operator-level users can issue this command. Example usage: To discover the routes packets take when traveling to their destination: DGS3100# traceroute umaxp1.physics.lsa.umich.edu...
  • Page 189: Safeguard Commands

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual SAFEGUARD COMMANDS The Safeguard commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable safeguard disable safeguard show safeguard Each command is listed in detail, as follows:...
  • Page 190: Show Safeguard

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual show safeguard Purpose To show the safeguard engine status on the switch. Syntax show safeguard Description To show the safeguard engine on the switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 191: Device Specifications

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual 36 3 DEVICE SPECIFICATIONS This appendix contains the device specifications, and contains the following topics: • Technical Specifications • Cable Lengths Technical Specifications Performance Store-and-forward Transmission Method 512Kbytes per device RAM Buffer Full-wire speed for all connections.
  • Page 192 DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual General IEEE 802.3 10BASE-T Ethernet Standards IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z Gigabit Ethernet IEEE 802.1Q Tagged VLAN IEEE 802.1P Tagged Packets IEEE 802.3ab 1000BASE-T IEEE 802.3x Full-duplex Flow Control ANSI/IEEE 802.3 NWay auto-negotiation...
  • Page 193: Cable Lengths

    DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual Cable Lengths Use the following table to as a guide for the maximum cable lengths: Standard Media Type Maximum Distance DEM-310GT: SFP Transceiver for 1000BASE-LX, Single-mode fiber 10km Mini GBIC module DEM-311GT: SFP Transceiver for 1000BASE-SX, Multi-mode fiber module...

This manual is also suitable for:

Dgs-3100-24tg

Table of Contents