D-Link DGS-3100 SERIES Cli Manual - Config Radius Add

Manual is about: GIGABIT STACKABLE MANAGED SWITCH

Summary of DGS-3100 SERIES

  • Page 1

    D-link™ dgs-3100 series gigabit stackable managed switch cli manual v2.10

  • Page 2

    Information in this document is subject to change without notice. © 2007 d-link computer corporation. All rights reserved. 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 lo...

  • Page 3: Table of Contents

    Table of contents introduction ......................................................................................................................................................1 using the console cli...................................................................................................

  • Page 4

    Show snmp engineid........................................................................................................................................................... 35 create snmp group ............................................................................................................

  • Page 5

    Show stp instance_id ........................................................................................................................................................... 65 show stp mst_config_id ....................................................................................................

  • Page 6

    Basic ip commands..........................................................................................................................................97 config ipif system...............................................................................................................................

  • Page 7

    Create iproute..................................................................................................................................................................... 126 delete iproute.........................................................................................................

  • Page 8

    Config authen application .................................................................................................................................................. 154 show authen application.......................................................................................................

  • Page 9: Introduction

    Dgs-3100 series gigabit stackable managed switch cli manual 1 1 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...

  • Page 10

    Dgs-3100 series gigabit stackable managed switch cli manual 2 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-b...

  • Page 11

    Dgs-3100 series gigabit stackable managed switch cli manual 3 in the above example, the switch was assigned an ip address of 1.1.1.10 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 tel...

  • Page 12: Using The Console Cli

    Dgs-3100 series gigabit stackable managed switch cli manual 4 2 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. The console c...

  • Page 13

    Dgs-3100 series gigabit stackable managed switch cli manual 5 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 6 figure 2–3. Example command parameter help in this case, the command config account was entered with the parameter . The cli will then prompt to enter the with the message, command: config account. Every command in the cli has this featur...

  • Page 15

    Dgs-3100 series gigabit stackable managed switch cli manual 7 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? Wher...

  • Page 16: Command Syntax

    Dgs-3100 series gigabit stackable managed switch cli manual 8 3 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...

  • Page 17: {Braces}

    Dgs-3100 series gigabit stackable managed switch cli manual 9 {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 command reset please be aware that all configuration will be...

  • Page 18

    Dgs-3100 series gigabit stackable managed switch cli manual 10 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. Esc stops the display of remaining pages when multiple pages are to be displayed. N dis...

  • Page 21: Show Account

    Dgs-3100 series gigabit stackable managed switch cli manual 13 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...

  • Page 22: Show Switch

    Dgs-3100 series gigabit stackable managed switch cli manual 14 restrictions none. Example usage: to display the way users logged in: dgs3100# show session id protocol from level name ------- ------------------- --------------------- -------- ----------------- 0 http 10.6.10.43 15 admin 1 http 10.6.1...

  • Page 23: Show Serial_Port

    Dgs-3100 series gigabit stackable managed switch cli manual 15 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 displ...

  • Page 24: Enable Clipaging

    Dgs-3100 series gigabit stackable managed switch cli manual 16 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 description the e...

  • Page 25: Delete Account

    Dgs-3100 series gigabit stackable managed switch cli manual 17 delete account purpose to delete an existing user account. Syntax delete account description the delete account command deletes a user account that has been created using the create account command. Parameters − the account username. Res...

  • Page 26: Save

    Dgs-3100 series gigabit stackable managed switch cli manual 18 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 ...

  • Page 27: Reset

    Dgs-3100 series gigabit stackable managed switch cli manual 19 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 this action may take a few ...

  • Page 28: Logout

    Dgs-3100 series gigabit stackable managed switch cli manual 20 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 ...

  • Page 29: Show Cpu Utilization

    Dgs-3100 series gigabit stackable managed switch cli manual 21 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 22 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 config ports...

  • Page 31: Show Jumbo_Frame

    Dgs-3100 series gigabit stackable managed switch cli manual 23 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 descr...

  • Page 33: Show Ports

    Dgs-3100 series gigabit stackable managed switch cli manual 25 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 c...

  • Page 34: Config Ports Description

    Dgs-3100 series gigabit stackable managed switch cli manual 26 config ports description purpose to add a description to an interface or ranges of interface. Syntax config ports description description the config ports description command adds a description to an interface or a range of interfaces. P...

  • Page 35

    Dgs-3100 series gigabit stackable managed switch cli manual 27 example usage: to display the description of port 1: dgs3100# show ports description 1:1 port description ------------- ----------------- 1:1 for testing purposes only dgs3100#.

  • Page 36: Command

    Dgs-3100 series gigabit stackable managed switch cli manual 28 6 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 create snmp user [encrypted [by_passwor...

  • Page 37: Command

    Dgs-3100 series gigabit stackable managed switch cli manual 29 command parameter disable snmp authenticate trap show snmp traps config snmp system_contact config snmp system_location config snmp system_name each command is listed in detail, as follows: create snmp user purpose to create a new snmp u...

  • Page 38: Delete Snmp User

    Dgs-3100 series gigabit stackable managed switch cli manual 30 • - a string of between 1 and 32 alphanumeric characters used to authorize the agent to receive packets for the host. • - a string of exactly 40 or 72 alphanumeric characters, in hex form, to define the key used to authorize the agent to...

  • Page 39: Create Snmp View

    Dgs-3100 series gigabit stackable managed switch cli manual 31 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 v3 none total ...

  • Page 40: Show Snmp View

    Dgs-3100 series gigabit stackable managed switch cli manual 32 all − specifies that all of the snmp views on the switch will be deleted. − the object id that identifies an object tree (mib tree) that is deleted from the switch. Restrictions only administrator or operate-level users can issue this co...

  • Page 42: Show Snmp Community

    Dgs-3100 series gigabit stackable managed switch cli manual 34 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. Example usage: to delete the snm...

  • Page 43: Show Snmp Engineid

    Dgs-3100 series gigabit stackable managed switch cli manual 35 parameters default − defines the automatically created engineid based on the device mac. − a string, of between 10 and 64 alphanumeric characters, to be used to identify the snmp engine on the switch. Restrictions only administrator or o...

  • Page 44

    Dgs-3100 series gigabit stackable managed switch cli manual 36 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. V2c – specifies that snmp ve...

  • Page 45: Delete Snmp Group

    Dgs-3100 series gigabit stackable managed switch cli manual 37 dgs3100# delete snmp group purpose to remove an snmp group from the switch. Syntax delete snmp group description the delete snmp group command removes an snmp group from the switch. Parameters − a string of that identifies the snmp group...

  • Page 47: Delete Snmp Host

    Dgs-3100 series gigabit stackable managed switch cli manual 39 success. Dgs3100# delete snmp host purpose to remove a recipient of snmp traps generated by the switch’s snmp agent. Syntax delete snmp host description the delete snmp host command deletes a recipient of snmp traps generated by the swit...

  • Page 48: Create Trusted_Host

    Dgs-3100 series gigabit stackable managed switch cli manual 40 total entries: 2 dgs3100# create trusted_host purpose to create a trusted host. Syntax create trusted_host description the create trusted_host command creates a trusted host. The switch allows specifying up to three ip addresses that are...

  • Page 49: Delete Trusted_Host

    Dgs-3100 series gigabit stackable managed switch cli manual 41 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 description the delete trusted_host command deletes a trusted host entry ma...

  • Page 50: Show Snmp Traps

    Dgs-3100 series gigabit stackable managed switch cli manual 42 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 ...

  • Page 51: Config Snmp System_Contact

    Dgs-3100 series gigabit stackable managed switch cli manual 43 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: dgs3100# sh...

  • Page 52: Config Snmp System_Name

    Dgs-3100 series gigabit stackable managed switch cli manual 44 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 d...

  • Page 54: Upload

    Dgs-3100 series gigabit stackable managed switch cli manual 46 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...

  • Page 55: Config Dhcp_Auto Enable

    Dgs-3100 series gigabit stackable managed switch cli manual 47 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. Only administrator-leve...

  • Page 56: Config Firmware

    Dgs-3100 series gigabit stackable managed switch cli manual 48 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. Syntax con...

  • Page 57: Network Monitoring Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 49 8 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 show error ports show utiliz...

  • Page 58: Show Error Ports

    Dgs-3100 series gigabit stackable managed switch cli manual 50 example usage: to display the packets analysis for port 7: dgs3100# show packet ports 7 port number : 7 a b frame size frame counts frames/sec frame type total total/sec ------------------ -------------------- ---------------- ----------...

  • Page 59: Show Utilization

    Dgs-3100 series gigabit stackable managed switch cli manual 51 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 ...

  • Page 60: Clear Log

    Dgs-3100 series gigabit stackable managed switch cli manual 52 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. Restrictions only ...

  • Page 61: Enable Syslog

    Dgs-3100 series gigabit stackable managed switch cli manual 53 ver console , source 0.0.0.0 destination 0.0.0.0 terminated. The telnet/ssh se ssion may still be connected. 4 03-jan-2000 17:26:24 %copy-w-trap: the copy operation was completed succe ssfully 5 03-jan-2000 17:26:17 %copy-i-filecpy: file...

  • Page 62: Show Syslog

    Dgs-3100 series gigabit stackable managed switch cli manual 54 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...

  • Page 63

    Dgs-3100 series gigabit stackable managed switch cli manual 55 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. This corresponds to n...

  • Page 64: Config Syslog Host

    Dgs-3100 series gigabit stackable managed switch cli manual 56 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. This corresponds to number...

  • Page 65

    Dgs-3100 series gigabit stackable managed switch cli manual 57 3 error: error conditions 4 warning: warning conditions 5 notice: normal but significant condition 6 informational: informational messages 7 debug: debug-level messages informational − specifies that informational messages are to be sent...

  • Page 66: Delete Syslog Host

    Dgs-3100 series gigabit stackable managed switch cli manual 58 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. Local2 − specifies that local use 2 messag...

  • Page 67: Show Syslog Host

    Dgs-3100 series gigabit stackable managed switch cli manual 59 show syslog host purpose to display the syslog hosts currently configured on the switch. Syntax show syslog host {} description the show syslog host command displays the syslog hosts that are currently configured on the switch. Parameter...

  • Page 69: Config Stp Ports

    Dgs-3100 series gigabit stackable managed switch cli manual 61 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. The user ma...

  • Page 70: Config Stp Version

    Dgs-3100 series gigabit stackable managed switch cli manual 62 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 opti...

  • Page 71: Enable Stp

    Dgs-3100 series gigabit stackable managed switch cli manual 63 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. E...

  • Page 72: Show Stp

    Dgs-3100 series gigabit stackable managed switch cli manual 64 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: to...

  • Page 74: Show Stp Mst_Config_Id

    Dgs-3100 series gigabit stackable managed switch cli manual 66 parameters - 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. Restrictions none. Example usage: t...

  • Page 76: Config Stp Priority

    Dgs-3100 series gigabit stackable managed switch cli manual 68 config stp priority purpose to update the stp instance configuration. Syntax config stp priority instance_id description the config stp priority command updates the stp instance configuration settings on the switch. The mstp uses the pri...

  • Page 77: Config Stp Mst_Ports

    Dgs-3100 series gigabit stackable managed switch cli manual 69 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 c...

  • Page 78

    Dgs-3100 series gigabit stackable managed switch cli manual 70 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. Dgs3100#.

  • Page 79: Forwarding Database Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 71 10 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 port create multicast_fdb config...

  • Page 80: Create Multicast_Fdb

    Dgs-3100 series gigabit stackable managed switch cli manual 72 create multicast_fdb purpose to create a static entry in the multicast mac address forwarding table (database). Syntax create multicast_fdb description the create multicast_fdb command creates a static entry in the multicast mac address ...

  • Page 81: Config Fdb Aging_Time

    Dgs-3100 series gigabit stackable managed switch cli manual 73 config fdb aging_time purpose to set the aging time of the forwarding database. Syntax config fdb aging_time description the config fdb aging_time command sets the aging time of the forwarding database. The aging time affects the learnin...

  • Page 82: Clear Fdb

    Dgs-3100 series gigabit stackable managed switch cli manual 74 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. Parame...

  • Page 84

    Dgs-3100 series gigabit stackable managed switch cli manual 76 to display the aging time: dgs3100# show fdb aging_time unicast mac address aging time = 5 dgs3100#.

  • Page 86: Show Traffic Control

    Dgs-3100 series gigabit stackable managed switch cli manual 78 show traffic control purpose to display current traffic control settings. Syntax show traffic control {ports } description the show traffic control command displays the current storm traffic control configuration on the switch. Parameter...

  • Page 87: Qos Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 79 12 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 max_packet show scheduling config 802.1p user_priority sh...

  • Page 88: Show Scheduling

    Dgs-3100 series gigabit stackable managed switch cli manual 80 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. For example, if a value of 3 is ...

  • Page 89: Config 802.1P User_Priority

    Dgs-3100 series gigabit stackable managed switch cli manual 81 class-0 1 class-1 2 class-2 3 class-3 4 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. Syntax config 802.1p user_...

  • Page 90

    Dgs-3100 series gigabit stackable managed switch cli manual 82 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. Restrict...

  • Page 91: Show 802.1P Default_Priority

    Dgs-3100 series gigabit stackable managed switch cli manual 83 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 {} description...

  • Page 92: Show Scheduling_Mechanism

    Dgs-3100 series gigabit stackable managed switch cli manual 84 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...

  • Page 94

    Dgs-3100 series gigabit stackable managed switch cli manual 86 port rate limit ------ --------------- 1 3500 2 3500 3 3500 4 3500 5 3500 6 3500 7 3500 8 3500 9 3500 10 3500 11 3500 12 3500 13 3500 14 3500 15 3500 16 3500 17 3500 ctrl+c esc q quit space n next page enter next entry a all.

  • Page 96: Delete Mirror

    Dgs-3100 series gigabit stackable managed switch cli manual 88 delete mirror purpose to remove a previously entered port mirroring configuration. Syntax delete mirror target source description the delete mirror command removes a previously configured mirror port − source port pair on the switch. Par...

  • Page 98: Delete Vlan

    Dgs-3100 series gigabit stackable managed switch cli manual 90 delete vlan purpose to delete a previously configured vlan on the switch. Syntax delete vlan description the delete vlan command deletes a previously configured vlan on the switch. Parameters − the name of the vlan to be deleted. Restric...

  • Page 100: Disable Gvrp

    Dgs-3100 series gigabit stackable managed switch cli manual 92 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 ...

  • Page 103: Delete Link_Aggregation

    Dgs-3100 series gigabit stackable managed switch cli manual 95 success. Dgs3100# delete link_aggregation purpose to delete a previously configured link aggregation group. Syntax delete link_aggregation group_id description the delete link_aggregation group_id command deletes a previously configured ...

  • Page 104: Show Link_Aggregation

    Dgs-3100 series gigabit stackable managed switch cli manual 96 success. Dgs3100# show link_aggregation purpose to display the current link aggregation configuration on the switch. Syntax show link_aggregation {group_id } description the show link_aggregation command displays the current link aggrega...

  • Page 106: Show Ipif

    Dgs-3100 series gigabit stackable managed switch cli manual 98 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. Parameters - the name of the ip int...

  • Page 108: Config Router_Port

    Dgs-3100 series gigabit stackable managed switch cli manual 100 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 purpo...

  • Page 109: Disable Igmp_Snooping

    Dgs-3100 series gigabit stackable managed switch cli manual 101 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 ...

  • Page 110: Show Igmp_Snooping Group

    Dgs-3100 series gigabit stackable managed switch cli manual 102 dgs3100# show igmp_snooping group purpose to display the current igmp snooping group configuration on the switch. Syntax show igmp_snooping group {vlan } description the show igmp_snooping group command displays the current igmp snoopin...

  • Page 112: 802.1X Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 104 18 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 auth_state {ports } show 80...

  • Page 113: Disable 802.1X

    Dgs-3100 series gigabit stackable managed switch cli manual 105 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 o...

  • Page 114

    Dgs-3100 series gigabit stackable managed switch cli manual 106 parameters ports − 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 disable...

  • Page 115

    Dgs-3100 series gigabit stackable managed switch cli manual 107 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. Reauthperiod − shows the time interval between success...

  • Page 116: Config 802.1X Init

    Dgs-3100 series gigabit stackable managed switch cli manual 108 parameters – a port or range of ports to be configured. 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. Port_control – configures the administra...

  • Page 117: Config 802.1X Auth_Protocol

    Dgs-3100 series gigabit stackable managed switch cli manual 109 ports – 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. Example usage: to initialize the authentication state mac...

  • Page 118: Config Radius Add

    Dgs-3100 series gigabit stackable managed switch cli manual 110 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 s...

  • Page 120: Config 802.1X Auth_Mode

    Dgs-3100 series gigabit stackable managed switch cli manual 112 example usage: to display radius settings on the switch: dgs3100# show radius index ip address auth-port acct-port status key number number -------- ---------------- -------------- -------------- ------------ --------------------- 1 10....

  • Page 121: Config Guest_Vlan Ports

    Dgs-3100 series gigabit stackable managed switch cli manual 113 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. Syntax config guest_vlan ports descript...

  • Page 122: Mac Authentication Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 114 19 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_...

  • Page 123

    Dgs-3100 series gigabit stackable managed switch cli manual 115 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 contr...

  • Page 127: Show Port_Security

    Dgs-3100 series gigabit stackable managed switch cli manual 119 show port_security purpose to display the current port security configuration. Syntax show port_security {} description the show port_security command displays port security information for the switch’s ports. The information displayed ...

  • Page 129: Show Sntp

    Dgs-3100 series gigabit stackable managed switch cli manual 121 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, includ...

  • Page 130: Disable Sntp

    Dgs-3100 series gigabit stackable managed switch cli manual 122 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. Exampl...

  • Page 132

    Dgs-3100 series gigabit stackable managed switch cli manual 124 expressed numerically. • - the time of day to begin dst in hours and minutes, expressed using a 24-hour clock. • - 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 ...

  • Page 133: Show Time

    Dgs-3100 series gigabit stackable managed switch cli manual 125 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. Parameters none. Restric...

  • Page 134: Routing Table Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 126 22 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] {} delete iproute [default] s...

  • Page 135: Show Iproute

    Dgs-3100 series gigabit stackable managed switch cli manual 127 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 th...

  • Page 137: Delete Arpentry

    Dgs-3100 series gigabit stackable managed switch cli manual 129 parameters − the ip address of the end node or station. − the mac address corresponding to the ip address above. Restrictions only administrator or operator-level users can issue this command. Example usage: to configure a static arp en...

  • Page 139: Clear Arptable

    Dgs-3100 series gigabit stackable managed switch cli manual 131 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 affec...

  • Page 140: Banner Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 132 24 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 show login_banner each command is listed in deta...

  • Page 141: Command

    Dgs-3100 series gigabit stackable managed switch cli manual 133 25 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 dir config comman...

  • Page 142: Show Command_History

    Dgs-3100 series gigabit stackable managed switch cli manual 134 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. Syntax show...

  • Page 143: Config Command_History

    Dgs-3100 series gigabit stackable managed switch cli manual 135 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 arpe...

  • Page 145: Disable Ssh

    Dgs-3100 series gigabit stackable managed switch cli manual 137 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: to di...

  • Page 146: Config Ssh Server

    Dgs-3100 series gigabit stackable managed switch cli manual 138 example usage: to view the cuurent authentication mode set on the switch: dgs3100# show ssh authmode the ssh user authentication support -------------------------------------------------------------------------- publickey : enabled dgs3...

  • Page 147: Show Ssh Algorithm

    Dgs-3100 series gigabit stackable managed switch cli manual 139 authenticate failed attempts : 3 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...

  • Page 148: Show Ssh Crypto

    Dgs-3100 series gigabit stackable managed switch cli manual 140 parameters – the username of the remote ssh client. Rsa – indicates the rsa key pair is manually configured. Dsa – indicates the dsa key pair is manually configured. – specifies user’s public key that identifiers the user upon login. Re...

  • Page 149: Delete Ssh Crypto

    Dgs-3100 series gigabit stackable managed switch cli manual 141 delete ssh crypto purpose to remove a specified user’s ssh public key from the device. Syntax delete ssh crypto description the delete ssh crypto command deletes the specified user’s ssh public key from the device. Parameters - the user...

  • Page 150: Ssl Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 142 27 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 crypto certificate g...

  • Page 151: Disable Ssl

    Dgs-3100 series gigabit stackable managed switch cli manual 143 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 144 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. Restrictions no...

  • Page 154: Crypto Certificate (Import)

    Dgs-3100 series gigabit stackable managed switch cli manual 146 crypto certificate (import) purpose to import a certificate signed by the certification authority for https. Syntax crypto certificate import description the crypto certificate (import) command imports an external certificate (signed by...

  • Page 155

    Dgs-3100 series gigabit stackable managed switch cli manual 147 syntax config ssl certificate 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 iss...

  • Page 156: Command

    Dgs-3100 series gigabit stackable managed switch cli manual 148 28 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 me...

  • Page 157: Config Authen_Login

    Dgs-3100 series gigabit stackable managed switch cli manual 149 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 description the create authen_login method_list_name co...

  • Page 158

    Dgs-3100 series gigabit stackable managed switch cli manual 150 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. None – specifies that no authentication...

  • Page 159: Show Authen_Login

    Dgs-3100 series gigabit stackable managed switch cli manual 151 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 auth...

  • Page 160: Config Authen_Enable

    Dgs-3100 series gigabit stackable managed switch cli manual 152 which is defined by the administrator. A maximum of eight (8) enable method lists can be implemented on the switch. Parameters - defines the authen_enable method_list_name to be created as a string of up to 12 alphanumeric characters. R...

  • Page 161

    Dgs-3100 series gigabit stackable managed switch cli manual 153 using the local user account database on the switch. • none – specifies that no authentication is required to access the switch. Method_list_name – specifies a previously created authen_enable method_list_name . The user may add one or ...

  • Page 163: Show Authen Application

    Dgs-3100 series gigabit stackable managed switch cli manual 155 • 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 167: Local_Enable Admin

    Dgs-3100 series gigabit stackable managed switch cli manual 159 example usage: to view authenticaion server hosts currently set on the switch: dgs3100# show authen server_host ip address protocol port timeout retransmit key --------------- ------------ ------ ----------- --------------- ------------...

  • Page 168

    Dgs-3100 series gigabit stackable managed switch cli manual 160 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. Example usage...

  • Page 169: Lacp Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 161 29 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 [priority 1-65535] [timeout ] show lacp {} eac...

  • Page 170

    Dgs-3100 series gigabit stackable managed switch cli manual 162 status for all ports. Restrictions none example usage: to display lacp port mode settings: dgs3100# show lacp port priority timeout ------ ----------- ------------ 1:1 1 90 sec 1:2 1 90 sec 1:3 1 90 sec 1:4 1 90 sec 1:5 1 90 sec 1:6 1 9...

  • Page 172

    Dgs-3100 series gigabit stackable managed switch cli manual 164 to display information about units in the stack: dgs3100# show stack_information master id : 1 backup id : 2 box id user set boot version firmware version h/w version --------- ------------ ------------------ ------------------------ --...

  • Page 173: Poe Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 165 31 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. Command parameter confi...

  • Page 175

    Dgs-3100 series gigabit stackable managed switch cli manual 167 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 168 32 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 create access_profile (for ethernet) profi...

  • Page 177

    Dgs-3100 series gigabit stackable managed switch cli manual 169 stated below. Parameters profile_id – 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 wi...

  • Page 178

    Dgs-3100 series gigabit stackable managed switch cli manual 170 • source_ip_mask – specifies an ip address mask for the source ip address. • destination_ip_mask – specifies an ip address mask for the destination ip address. • dscp – specifies that the switch examines the diffserv code point (dscp) f...

  • Page 179

    Dgs-3100 series gigabit stackable managed switch cli manual 171 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 filte...

  • Page 180

    Dgs-3100 series gigabit stackable managed switch cli manual 172 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. • replace_dscp – spec...

  • Page 181

    Dgs-3100 series gigabit stackable managed switch cli manual 173 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...

  • Page 182: Config Access_Profile

    Dgs-3100 series gigabit stackable managed switch cli manual 174 in their header. • protocol_id – specifies that the switch examine the protocol field in each packet and if this field contains the value entered here, apply the appropriate rules. • user_define – specifies a hexadecimal value to identi...

  • Page 183: Delete Access_Profile

    Dgs-3100 series gigabit stackable managed switch cli manual 175 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_profi...

  • Page 184

    Dgs-3100 series gigabit stackable managed switch cli manual 176 ----------- ------ access id : 3 mode: permit(replaced) priority: 1 ports: 1 ----------- ------ trinity 1 ====================================================================== access profile id: 2 type : ip ============================...

  • Page 186

    Dgs-3100 series gigabit stackable managed switch cli manual 178 parameters – 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. Example usage...

  • Page 188

    Dgs-3100 series gigabit stackable managed switch cli manual 180 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...

  • Page 189: Safeguard Commands

    Dgs-3100 series gigabit stackable managed switch cli manual 181 35 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...

  • Page 190: Show Safeguard

    Dgs-3100 series gigabit stackable managed switch cli manual 182 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 t...

  • Page 191: 36  3

    Dgs-3100 series gigabit stackable managed switch cli manual 183 36 3 device specifications this appendix contains the device specifications, and contains the following topics: • technical specifications • cable lengths technical specifications performance transmission method store-and-forward ram bu...

  • Page 192

    Dgs-3100 series gigabit stackable managed switch cli manual 184 general standards ieee 802.3 10base-t ethernet 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 8...

  • Page 193: Cable Lengths

    Dgs-3100 series gigabit stackable managed switch cli manual 185 cable lengths use the following table to as a guide for the maximum cable lengths: standard media type maximum distance mini gbic dem-310gt: sfp transceiver for 1000base-lx, single-mode fiber module 10km dem-311gt: sfp transceiver for 1...