D-Link xStack Reference Manual

D-Link xStack Reference Manual

Dgs-3600 series layer 3 managed gigabit ethernet switch
Hide thumbs Also See for xStack:
Table of Contents

Advertisement

CLI Reference Guide

xStack
®
DGS-3600 Series
Product Model:
Layer 3 Managed Gigabit Ethernet Switch
Release 2.8

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack

  • Page 1: Cli Reference Guide

    CLI Reference Guide xStack ® DGS-3600 Series Product Model: Layer 3 Managed Gigabit Ethernet Switch Release 2.8...
  • Page 2: Table Of Contents

    DHCPV6 RELAY COMMANDS ............................223 DHCPV6 SERVER COMMANDS ............................229 D-LINK SINGLE IP MANAGEMENT COMMANDS ......................241 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS ................252 DOMAIN NAME SERVER (DNS)RELAY COMMANDS ....................254 DOMAIN NAME SYSTEM (DNS) RESOLVER COMMANDS ................... 258 DVMRP COMMANDS ................................
  • Page 3 INTERNET GROUP MANAGEMENT PROTOCOL (IGMP) COMMANDS ............... 329 IP DIRECTED BROADCAST COMMANDS ........................334 IP MULTICASTING COMMANDS............................336 IP ROUTE FILTER COMMANDS ............................338 IP-MAC-PORT BINDING (IMPB) COMMANDS ........................ 349 IPV6 NEIGHBOR DISCOVER COMMANDS ........................365 IPV6 ROUTE COMMANDS ..............................371 IPV6 TUNNEL COMMANDS ..............................
  • Page 4 STACKING COMMANDS ..............................643 STATIC MAC-BASED VLAN COMMANDS ........................648 STATIC MULTICAST ROUTE COMMANDS ........................650 SUBNET VLAN COMMANDS ............................652 SUPER VLAN COMMANDS .............................. 656 SWITCH PORT COMMANDS ............................660 SYSLOG OR TRAP SOURCE-INTERFACE COMMANDS ....................666 SYSTEM LOG COMMANDS .............................. 669 TECHNICAL SUPPORT COMMANDS ..........................
  • Page 5: Introduction

    This manual provides a reference for all of the commands contained in the CLI for the xStack® DGS-3612, DGS-3612G, DGS-3627, DGS-3627G, DGS-3627, DGS-3627G and DGS-3650 series of switches. Configuration and management of the Switch via the Web-based management agent is discussed in the User’s Guide.
  • Page 6 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found on the initial boot console screen – shown below.
  • Page 7: Using The Console Cli

    After the Switch reboots and you have logged in, the console looks like this: DGS-3627 Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.80.B31 Copyright(C) 2010 D-Link Corporation. All rights reserved. UserName: PassWord: DGS-3627:admin# _ Figure 2- 1. Initial Console Screen after logging in Commands are entered at the command prompt, DGS-3627:admin# .
  • Page 8 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ? Command: ? cable_diag ports clear clear address_binding dhcp_snoop binding_entry ports clear address_binding nd_snoop binding_entry ports clear arptable clear attack_log clear bgp clear bgp dampening clear bgp flap_statistics...
  • Page 9 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username> prompt. The up arrow cursor control key was pressed to re- enter the previous command (config account) at the command prompt.
  • Page 10: Command Syntax

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet 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 11 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual {braces} Syntax reset {[config | system]} Description In the above syntax example, users have the option to specify config or system. It is not necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified.
  • Page 12: Basic Switch Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual BASIC SWITCH COMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (with the appropriate parameters) in the following table. Command Parameters create account [admin | operator | user] <username 15>...
  • Page 13 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create account Purpose Used to create user accounts. Syntax create account [admin | operator | user] <username 15> The create account command is used to create user accounts that consist of a username of 1 to Description 15 characters and a password of 0 to 15 characters.
  • Page 14 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config account Purpose Used to configure user accounts. Syntax config account <username> {encrypt [plain_text| sha_1] <password>} The config account command configures a user account that has been created using the Description create account command.
  • Page 15 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete account Purpose Used to delete an existing user account. Syntax delete account <username> {<string>} The delete account command deletes a user account that has been created using the Description create account command.
  • Page 16 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show switch Purpose Used to display general information about the Switch. Syntax show switch Description This command displays information about the Switch. Parameters None. Restrictions None. Example usage: To display the Switch’s information:...
  • Page 17 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show serial_port Command: show serial_port Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins DGS-3627:admin# config serial_port Purpose Used to configure the serial port.
  • Page 18 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable clipaging Command: enable clipaging Success. DGS-3627:admin# disable clipaging Purpose Used to disable the pausing of the console screen scrolling at the end of each page when the show command displays more than one screen of information.
  • Page 19 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable telnet Purpose Used to disable the Telnet protocol on the Switch. Syntax disable telnet Description This command is used to disable the Telnet protocol on the Switch.
  • Page 20 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable web Purpose Used to enable the HTTP-based management software on the Switch. Syntax enable web {<tcp_port_number 1-65535>} Description This command is used to enable the Web-based management software on the Switch. The user can specify the TCP port number the Switch will use to listen for Telnet requests.
  • Page 21 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual save Purpose Used to save changes in the Switch’s configuration to non-volatile RAM. Syntax save {[config {<drive_id>} <pathname 64> | log | all]} Description This command is used to enter the current switch configuration or log file into non-volatile RAM.
  • Page 22 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual reset Purpose Used to reset the Switch to the factory default settings. Syntax reset {[config |system]} {<string>} Description This command is used to restore the Switch’s configuration to the default settings assigned from the factory.
  • Page 23 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual logout Purpose Used to log out a user from the Switch’s console. Syntax logout Description This command terminates the current user’s session on the Switch’s console. Parameters None.
  • Page 24 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual username configured on the Switch. Parameters <string 16> – Enter an alphanumeric string of no more than 16 characters to define the command prompt for the CLI interface.
  • Page 25 DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3627 Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.80.B31 Copyright(C) 2010 D-Link Corporation. All rights reserved. ================================================================================ <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W...
  • Page 26: Basic Ip Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet 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 Parameters create ipif <ipif_name 12>...
  • Page 27 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ipif address located in the same interface, the system will check this setting to determine whether to reply. Default: Disabled. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 28 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipif enable - Enabled the IP directed-broadcast state of the interface. disable - Disabled the IP directed-broadcast state of the interface. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 29 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ipif Intface_1 Command: disable ipif Intface_1 Success DGS-3627:admin# enable ipif_ipv6_link_local_auto Purpose Enable the auto configuration of link local address when no IPv6 address is configured. Syntax enable ipif_ipv6_link_local_auto [<ipif_name 12>...
  • Page 30 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipif Purpose This command is used to display the interface’s information. Syntax show ipif {<ipif_name 12>} Description To show an interface’s information. Configuration for both IPv4 and IPv6’ addresses will be displayed.
  • Page 31 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipif Syntax delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all] Description Delete an interface or all the interfaces. Note that the system interface can not be deleted. By using this command, a IPv6 address can be deleted from the ipif.
  • Page 32: Bpdu Tunneling Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual BPDU TUNNELING COMMANDS The BPDU Tunneling commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config bpdu_tunnel ports [<portlist>...
  • Page 33 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bpdu_tunnel Purpose Used to show BPDU Tunneling global state, tunnel destination MAC address and ports state. Syntax show bpdu_tunnel Description This command is used to show BPDU Tunneling global state, tunnel destination MAC address and ports state.
  • Page 34 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable bpdu_tunnel Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the BPDU Tunneling function: DGS-3627:admin# disable bpdu_tunnel Command: disable bpdu_tunnel Success. DGS-3627:admin#...
  • Page 35: 802.1X Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 802.1X COMMANDS The Switch implements the server-side of the IEEE 802.1X Port-based and MAC-based Network Access Control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each port on the Switch that a user or network device must meet before allowing that port to forward or receive frames.
  • Page 36 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable 802.1x disable 802.1x create 802.1x user < username 15 > delete 802.1x user < username 15 > show 802.1x user config 802.1x auth_protocol [ local | radius_eap ] config 802.1x fwd_pdu system...
  • Page 37 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. enable 802.1x Purpose Used to enable the 802.1X function. Syntax enable 802.1x Description The enable 802.1x command enables 802.1X function.
  • Page 38 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create an 802.1x user “test”: DGS-3627:admin# create 802.1x user test Command: create 802.1x user test Enter a case-sensitive new password: Enter the new password again for confirmation: Success.
  • Page 39 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show 802.1x user Command: show 802.1x user Username Password ---------- ---------- user1 abcds Total Entries : 1 DGS-3627:admin# config 802.1x auth_protocol Purpose Used to configure the 802.1X auth protocol.
  • Page 40 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-3627:admin# config 802.1x fwd_pdu ports Purpose Used to configure if the port will flood EAPOL PDU when 802.1X functionality is disabled.
  • Page 41 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x authorization attributes radius disable Command: config 802.1x authorization attributes radius disable Success. DGS-3627:admin# show 802.1x Purpose Used to display the 802.1X state or configurations. Syntax show 802.1x { [ auth_state | auth_configuration ] ports { <...
  • Page 42 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the 802.1X port level configurations: DGS-3627:admin# show 802.1x auth_configuration ports 1:1 Command: show 802.1x auth_configuration ports 1:1 Port number : 1:1 Capability : None AdminCrlDir : Both...
  • Page 43 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x max_users Parameters max_users - Specifies the maximum number of users. The range is 1 to 4000. By default, there is no limit on the maximum users.
  • Page 44 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x auth_parameter enable_reauth - You can enable or disable the re-authentication mechanism for a specific port. max_users - Specifies per port maximum number of users. The range is 1 to 128.
  • Page 45 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x init Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To initialize the authentication state machine of some or all: DGS-3627:admin# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all...
  • Page 46 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create a VLAN named “guestVLAN” as 802.1X guest VLAN: DGS-3627:admin# create 802.1x guest_vlan guestVLAN Command: create 802.1x guest_vlan guestVLAN Success. DGS-3627:admin# delete 802.1x guest_vlan Purpose Used to delete guest VLAN configuration.
  • Page 47 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x guest_vlan ports 1-8 state enable Command: config 802.1x guest_vlan ports 1-8 state enable Warning! GVRP of the ports were disabled! Success. DGS-3627:admin# show 802.1x guest_vlan Purpose Used to show guest VLAN setting.
  • Page 48 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config radius add Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add a new RADIUS server: DGS-3627:admin# config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default...
  • Page 49 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config radius is 1813. timeout - The time in second for waiting server reply. Default value is 5 seconds. retransmit - The count for re-transmitting. Default value is 2.
  • Page 50 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show radius Command: show radius Time Out : 5 seconds Retransmit Server 1 IP Address : fe80:fec0:56ab:34b0:20b2:6aff:fecf:7ec6 Auth-Port : 1812 Acct-Port Timeout Retransmit : adfdslkfjefiefdkgjdassdwtgjk6y1w Server 2 IP Address : 172.18.211.71...
  • Page 51 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_statistics ports 1 Command: show auth_statistics ports 1 Port number : 1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 00-00-00-00-00-00 DGS-3627:admin#...
  • Page 52 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_diagnostics ports 1 Command: show auth_diagnostics ports 1 Port number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges...
  • Page 53 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_session_statistics ports 1 Command: show auth_session_statistics ports 1 Port number : 1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff SessionUserName DGS-3627:admin#...
  • Page 54 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show acct_client Purpose Used to display information of RADIUS accounting client. Syntax show acct_client Description The show acct_client command displays information of RADIUS accounting client. Parameters None. Restrictions None.
  • Page 55 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config accounting service shell state enable Command: config accounting service shell state enable Success. DGS-3627:admin# show accounting service Purpose Used to show the status of RADIUS accounting services.
  • Page 56: Access Authentication Control Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ACCESS AUTHENTICATION CONTROL COMMANDS The TACACS / XTACACS / TACACS+ / RADIUS commands allow users to secure access to the Switch using the TACACS / XTACACS / TACACS+ / RADIUS protocols. When a user logs in to the Switch or tries to access the administrator level privilege, he or she is prompted for a password.
  • Page 57 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Please note that user granted access to the Switch will be granted normal user privileges on the Switch. To gain access to admin level privileges, the user must enter the enable admin command and then enter a password, which was previously configured by the administrator of the Switch.
  • Page 58 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable password encryption disable password encryption create account [admin | operator | user] <username 15> config account <username> {encrypt [plain_text | sha_1] <password>} show account delete account <username>...
  • Page 59: Command Parameters

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config admin local_enable Each command is listed, in detail, in the following sections. enable password encryption Purpose This command is used to enable password encryption. Syntax...
  • Page 60 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable password encryption Command: disable password encryption DGS-3627:admin# create account Purpose This command is used to create user accounts. Syntax create account [admin | operator | user] <username 15>...
  • Page 61 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the user password of the “alpha” account: DGS-3627:admin# config account alpha Command: config account alpha Enter an old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success.
  • Page 62 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete account System Command: delete account System Success. DGS-3627:admin# enable authen_policy Purpose This command is used to enable the system access authentication policy. Syntax enable authen_policy Description...
  • Page 63 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show authen_policy Purpose This command is used to display if the system access authentication policy is enabled or disabled. Syntax show authen_policy Description Displays if the system access authentication policy is enabled or disabled.
  • Page 64 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config authen_login hosts in the tacacs+ group are missing, the authentication request will be sent to the first server host in the tacacs group. If all server hosts in the tacacs group are missing, the local account database in the device will be used to authenticate the user.
  • Page 65 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-3627:admin# show authen_login Purpose This command is used to display the method list of authentication methods that will be used for users attempting to log in to the Switch.
  • Page 66 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create authen_enable method_list_name enable_list_1 Command: create authen_enable method_list_name enable_list_1 Success. DGS-3627:admin# config authen_enable Purpose This command is used to configure a user-defined or default method list of authentication methods for promoting a user's privilege to Admin level.
  • Page 67 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete authen_enable method_list_name Description Deletes a user-defined method list of authentication methods for promoting a user's privilege to Admin level. Parameters <string 15> - The user-defined method list name Restrictions Only Administrator level users can issue this command.
  • Page 68 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config authen application Purpose This command is used to configure login or enable method lists for all or the specified applications. Syntax config authen application [console | telnet | ssh | http | all] [login | enable] [default | method_list_name <string 15>]...
  • Page 69 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create authen server_group Purpose This command is used to create a user-defined authentication server group. Syntax create authen server_group <string 15> Description Creates a user-defined authentication server group. The maximum number of supported server groups, including the built-in server groups, is 8.
  • Page 70 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ Command: config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ Success. DGS-3627:admin# delete authen server_group Purpose This command is used to delete a user-defined authentication server group.
  • Page 71 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authen server_group Command: show authen server_group Server Group : mix_1 Group Name IP Address Protocol --------------- --------------- -------- mix_1 10.1.1.222 TACACS+ 10.1.1.223 TACACS radius 10.1.1.224 RADIUS tacacs 10.1.1.225...
  • Page 72 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout Command: create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 Success. DGS-3627:admin# config authen server_host Purpose This command is used to configure an authentication server host.
  • Page 73 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete authen server_host protocol xtacacs - Specify that the server host’s authentication protocol is XTACACS. protocol tacacs+ - Specify that the server host’s authentication protocol is TACACS+. protocol radius - Specify that the server host’s authentication protocol is RADIUS.
  • Page 74 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the amount of time the Switch will wait for a user to authenticate through a console, Telnet, or SSH application to 60 seconds: DGS-3627:admin# config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success.
  • Page 75 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authen parameter Command: show authen parameter Response timeout : 60 seconds User attempts DGS-3627:admin# enable admin Purpose This command is used to enter the administrator level privilege...
  • Page 76 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config admin local_enable Command: config admin local_enable Enter the old password: Enter the case-sensitive new password:****** Enter the new password again for confirmation:****** Success. DGS-3627:admin#...
  • Page 77: Access Control List (Acl) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ACCESS CONTROL LIST (ACL) COMMANDS The Switch implements Access Control Lists that enable the Switch to deny network access to specific devices or device groups based on IP settings and MAC address. Access profiles allow you to establish criteria to determine whether or not the Switch will forward packets based on the information contained in each packet’s header.
  • Page 78 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Access Control List (ACL) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create access_profile [ethernet {vlan | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff>...
  • Page 79 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create access_profile Purpose Used to create access list rules. Syntax create access_profile [ethernet {vlan | source_mac <macmask 000000000000- ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan | source_ip_mask <netmask> | destination_ip_mask <netmask>...
  • Page 80 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create access_profile Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create an Ethernet access profile: DGS-3627:admin# create access_profile ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type profile_id 1 Command: create access_profile ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type profile_id 1...
  • Page 81 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config access_profile Syntax config access_profile profile_id <value 1-14> [add access_id [auto_assign | <value 1- 128>] [ethernet {vlan <vlan_name 32> | source_mac <macaddr 000000000000- ffffffffffff> | destination_mac <macaddr 000000000000-ffffffffffff> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>} port [<portlist>...
  • Page 82 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config access_profile dst_port - Specifies the range of tcp destination port mask protocod_id - Specifies that the rule applies to the value of ip protocol id traffic user_define - Specifies that the rule applies to the ip protocol id and the mask options behind the IP header length is 20 bytes.
  • Page 83 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config access_profile profile_id 5 add access_id auto_assign packet_content offset_chunk_1 0xAAAAAAAA offset_chunk_2 0xBBBBBBBB offset_chunk_3 0xFFFFFFFF offset_chunk_4 0xEEEEEEEE port all permit Command: config access_profile profile_id 5 add access_id auto_assign packet_content...
  • Page 84 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id Purpose To configure packet flow-based metering based on an access profile and rule. Syntax config flow_meter profile_id <value 1-14> access_id <value 1-128>[ [ tr_tcm cir <value 0-156249>...
  • Page 85 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id The unit is Kbytes. The max set value is 16*1024. conform - Specify the action when packet is in “green color”. permit - Permit the packet.
  • Page 86 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show flow_meter Command: show flow_meter Flow Meter Information --------------------------------- Profile ID:4 Access ID:1 Mode : trTCM CIR:1000(64Kbps) CBS:200(Kbyte) PIR:2000(64Kbps) PBS:200(Kbyte) Action: Conform : Permit Counter: Disabled Exceed...
  • Page 87 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show time_range Parameters None. Restrictions None. Example usage: To display current time range setting: DGS-3627:admin#show time_range Command: show time_range Time Range Information ------------------------- Range Name weekend Weekdays Sun,Sat...
  • Page 88: Acl Flow Metering Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ACL FLOW METERING COMMANDS Before configuring the ACL Flow Meter, here is a list of acronyms and terms users will need to know. trTCM – Two Rate Three Color Marker. This, along with the srTCM, are two methods available on the switch for metering and marking packet flow.
  • Page 89 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters <value 1-14> access_id <value 1-128>[ [ tr_tcm cir <value 0-156249> {cbs <value 0-16384>} pir <value 0-156249> {pbs <value 0-16384>} | sr_tcm cir <value 0-156249> cbs <value 0-16384> ebs <value 0-16384> ] {conform [permit config flow_meter profile_id |replace_dscp <value 0-63>] {counter [enable |disable]}} exceed [permit |...
  • Page 90 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id Purpose Used to configure the flow metering function for ACL.. Syntax config flow_meter profile_id <value 1-14> access_id <value 1-128>[ [ tr_tcm cir <value 0- 156249> {cbs <value 0-16384>} pir <value 0-156249> {pbs <value 0-16384>} | sr_tcm cir <value 0-156249>...
  • Page 91 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id field rewritten using this parameter and entering the DSCP value to replace. • drop – Enter this parameter to drop packets that are in the yellow flow.
  • Page 92 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show flow_meter profile_id 1 access_id 1 Command: show flow_meter profile_id 1 access_id 1 Profile ID : 1 Access ID : 1 Mode: trTCM CIR: 1000(64kbps) CBS: 200(Kbyte)
  • Page 93: Address Resolution Protocol (Arp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ADDRESS RESOLUTION PROTOCOL (ARP) COMMANDS The Address Resolution Protocol (ARP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 94 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3627:admin# delete arpentry 10.48.74.121 Command: create arpentry 10.48.74.121 Success. DGS-3627:admin# config arpentry Purpose Used to configure a static entry’s MAC address in the ARP table.
  • Page 95 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear arptable Purpose Used to clear all the dynamic ARP entries from the ARP table. Syntax clear arptable Description This command is used to clear all the dynamic entries from ARP table.
  • Page 96 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show arpentry Command: show arpentry ARP Aging Time : 20 Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast System 10.1.1.1 00-02-03-04-05-06...
  • Page 97: Arp Spoofing Prevention Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ARP SPOOFING PREVENTION COMMANDS The ARP Spoofing Prevention commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config arp_spoofing_prevention [add gateway_ip <ipaddr>...
  • Page 98 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show arp_spoofing_prevention Purpose This command is used to show the ARP spoofing prevention entry. Syntax show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry.
  • Page 99: Border Gateway Protocol (Bgp) Debug Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual BORDER GATEWAY PROTOCOL (BGP) DEBUG COMMANDS BGP is a UNICAST Routing protocol. It can be used on any Layer 3 Ethernet switch supporting the IP routing function. The Border Gateway Protocol (BGP) debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 100 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug error_log The “error_log” here refers to the software error log stored in NVRAM. For more information on this command, please refer to the UIS-Debug topic Parameters dump - Displays debug messages occurring in the debug log.
  • Page 101 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug buffer buffer to the TFTP server. The “buffer” here refers to the module debug messages stored in the RAM. For more information on this command, please refer to the UIS-Debug topic Parameters utilization - Displays the debug buffer’s state...
  • Page 102 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show flag Purpose This command is used to display the current BGP debugging flags’ setting Syntax debug bgp show flag Description This command is used to display the current BGP debugging flags’ setting Parameters None.
  • Page 103 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp all flag enable Command: debug bgp all flag enable Success. DGS-3627:admin# debug bgp fsm_event Purpose This command is used to set the flag of debugged information related to the peer FSM Event...
  • Page 104 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp packet Direction of packet: enable - Enable the BGP debug function disable - Disable the BGP debug function Restrictions Only Administrator level users can issue this command.
  • Page 105 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual After configuring BGP to enable the error debug flag, it may print following information when an error happens: BGP: 10.1.1.1-10.2.2.2, NHop Validate: Invalid NHop address 250.3.0.0/8 received. BGP: Hold-Timer: Invalid Peer.
  • Page 106 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show peer Purpose This command is used to display information of all the peers in the BGP protocol database. Syntax debug bgp show peer Description This command is used to display information of all the peers in the BGP protocol database.
  • Page 107 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show peer Command: debug bgp show peer BGP neighbor: 10.10.10.2 (Internal Peer) ----------------------------------------------- Session State: Enabled Session Activity: Enabled Peer Group: NULL Remote AS: 1 Local AS:10 Remote Router ID:192.168.252.252...
  • Page 108 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show peer group Parameters None. Restrictions Only Administrator level users can issue this command. Example usage: Configure BGP to show the peer group’s configuration: DGS-3627:admin# :5#debug bgp show peer_group...
  • Page 109 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show network Command: debug bgp show network Network Route Map ------------- ----------- 192.168.0.0/8 NULL 172.16.0.0/16 map1 Total Entries :2 DGS-3627:admin# debug bgp show aggregate Purpose This command is used to display the current aggregate’s configuration in the BGP protocol...
  • Page 110 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show damp Command: debug bgp show damp Route Map : NULL Reach Half Life Time is : 900 seconds Reuse Value : 750 Suppress Value...
  • Page 111 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show interface_info Command: debug bgp show interface_info Interface Information: Name Index Network Flags Status ---- ----- ------------- ----- ------ System 0001 30.30.30.30/8 DGS-3627:admin# debug bgp show bgp_timer...
  • Page 112 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show redist_list Command: debug bgp show redist_list Last redistribution count summary: Type Route_count_rib total_count Time(msec) ------ ---------------- --------------- --------- OSPF STATIC LOCAL Redistributed routes summary:...
  • Page 113 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show community_list Parameters None. Restrictions Only Administrator level users can issue this command. Example usage: Configure BGP to show the current community list information: DGS-3627:admin# debug bgp show community_list...
  • Page 114 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Configure the access list debug flags’ state to be enabled: DGS-3627:admin# debug bgp access_list enable Command: debug bgp access_list enable Success. After configuring BGP to enable the access list debug flag, it may print following information when the access list is applied: access_list:<ac1>,apply bgp neighbor:<19.0.0.1>...
  • Page 115: Border Gateway Protocol (Bgp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual BORDER GATEWAY PROTOCOL (BGP) COMMANDS The Border Gateway Protocol (BGP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 116 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor general [<ipaddr> | peer_group <peer_group_name 16>] { ebgp_multihop <value 1-255> | weight [<value 0-65535>| default ] | update_source [add | delete] ipif <ipif_name 12>| send_community [standard | none] | next_hop_self [enable | disable] | soft_reconfiguration_inbound [enable | disable] | remove_private_as [enable | disable] | allowas_in [enable {<value 1-10>}| disable] | default_originate...
  • Page 117 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp confederation config bgp trap [peer_established | peer_idle | all ] [enable | disable] show bgp trap_state config bgp scan_timer [<sec 5-60> | default] config bgp [enable | disable]...
  • Page 118 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable bgp Command: disable bgp Success. DGS-3627:admin# create bgp Purpose This command is used to create a BGP process. It’s AS number must be set. Syntax create bgp <as_number 1-65535>...
  • Page 119 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp router_id Description The address of a loopback interface is preferred to an IP address on a physical interface because the loopback interface is more effective than a fixed interface as an identifier because there is no physical link to go down.
  • Page 120 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp enforce_first_as Purpose This command is used to enforce the neighbor’s AS as the first AS in the AS list. Syntax config bgp enforce_first_as [enable | disable] Description This command is used to enforce the neighbor’s AS as the first AS in the AS list.
  • Page 121 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp aggregate_address 10.0.0.0/8 summary_only Command: create bgp aggregate_address 10.0.0.0/8 summary_only Success. DGS-3627:admin# delete bgp aggregate_address Purpose This command is used to delete an aggregate entry in a Border Gateway Protocol (BGP) database.
  • Page 122 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create bgp network Purpose This command is used to specify the network advertised by the Border Gateway Protocol (BGP). Syntax create bgp network <network_address> {route_map <map_name 16>} Description BGP networks can be learned from connected routes, from dynamic routing, and from static route sources.
  • Page 123 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete bgp network Parameters <network_address> - Represents the local network that BGP will advertise. all - Deletes all BGP networks. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 124 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp timer The default value is 180 seconds. If the holdtime is set to zero, then the holdtime will never expire. If the two routers that build a BGP connection have a different hold time, then the smaller hold time will be used.
  • Page 125 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp bestpath If the routes have the same weight, use the route with the highest local preference. If the routes have the same local preference, prefer the route that was originated by BGP on this router.
  • Page 126 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp dampening Purpose This command is used to configure BGP process’s dampening configurations Syntax config bgp dampening [ route_map <map_name 16> | clear_routemap | { state [enable | disable] | half_life <min 1-45 >...
  • Page 127 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3427:5#config bgp dampening state disable Command: config bgp dampening state disable Success. DGS-3627:admin# show bgp dampening Purpose This command is used to show the BGP dampening configurations. Syntax...
  • Page 128 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp peer_group from the peer group. The following is a list of them: capability_orf_prefix_list next_hop_self route_reflector_client send_community soft_reconfiguration_inbound remove_private_as allowas_in holdtime keepalive unsuppress_map filter_list for out direction...
  • Page 129 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp peer_group local delete 10.2.2.2 Command: config bgp peer_group local delete 10.2.2.2 Success. DGS-3627:admin# config bgp peer_group remote_as Purpose This command is used to configure the BGP peer group’s remote AS number.
  • Page 130 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create a neighbor peer whose address is 10.10.10.2: DGS-3627:admin# create bgp neighbor 10.10.10.2 remote_as 10 Command: create bgp neighbor 10.10.10.2 remote_as 10 Success. DGS-3627:admin# delete bgp neighbor Purpose This command is used to delete the BGP neighbor.
  • Page 131 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor 10.10.10.2 description EBGP-neighbor Command: config bgp neighbor 10.10.10.2 description EBGP-neighbor Success. DGS-3627:admin# config bgp neighbor session Purpose This command is used to configure the BGP neighbor’s session attribute.
  • Page 132 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor session 10.1.1.1 activity disable Command: config bgp neighbor session 10.1.1.1 activity disable Success. DGS-3627:admin# config bgp neighbor general Purpose This command is used to configure the BGP neighbor’s general setting.
  • Page 133 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor general Parameters <ipaddr> - Specifies the IP address of the neighbor to be configured. <peer_group_name> - Specifies the peer group to be configured. ebgp_multihop - Specifies the TTL of the BGP packet sent to the neighbor. For an EBGP neighbor the default setting is 1.
  • Page 134 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor timer messages to its peer. The valid value is from 0 to 65535. If this value is set to zero, the update or withdrawn message will be sent immediately.
  • Page 135 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor route_reflector_client neighbor command. When the router is in reflection mode, the router will exchange information with client neighbors in the reflection way and with the remaining neighbors in the ordinary way.
  • Page 136 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Command: config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Success. DGS-3627:admin# config bgp neighbor filter Purpose This command is used to configure the BGP neighbor’s filter related setting.
  • Page 137 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp peer_group Syntax show bgp peer_group {<peer_group_name 16>} Description To display the BGP peer group’s information. <peer_group_name> - The name of the BGP peer group. The length is up to 16 bytes.
  • Page 138 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp neighbor peer_group local1 Command:4#create bgp neighbor peer_group local1 Success. DGS-3627:admin# create bgp neighbor 10.2.2.2 remote_as 10 Command:4#create bgp neighbor 10.2.2.2 remote_as 10 Success. DGS-3627:admin# config bgp peer_group local1 add 10.2.2.2 Command:4#config bgp peer_group local1 add 10.2.2.2...
  • Page 139 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp route_reflector cluster_id Description The route reflector and its clients together form a cluster. When a single route reflector is deployed in a cluster, the cluster is identified by the router ID of the route reflector.
  • Page 140 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp confederation identifier Syntax config bgp confederation identifier <as_number 0-65535> Description A confederation, which is represented by an AS, is a group of the sub AS. A confederation can be used to reduce the internal BGP (iBGP) mesh by dividing a large single AS into multihop sub AS.
  • Page 141 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear bgp Purpose This command is used to reset the Border Gateway Protocol (BGP) connections using hard or soft reconfigurations. Syntax clear bgp [all | ipaddr <ipaddr> | as <as_number 1-65535> | peer_group <peer_group_name 16>...
  • Page 142 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear bgp dampening Description This command clears the route dampening information stored in the routing table. If no parameters are specified, the dampening information for the entire routing table will be cleared.
  • Page 143 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp as_path access_list <regexp_str 80> - Regular expression that defines the as_path filter. permit - Permits advertisement based on matching conditions. deny - Denies advertisement based on matching conditions.
  • Page 144 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp as_path access_list Description This command displays the Autonomous System path’s access list. If a specific access list is not specified, all AS path access lists will be displayed.
  • Page 145 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp community_list Multiple rules can be defined for a community list. Each rule is either in the permit form or in the deny form. Each rule in the standard community list contains one community.
  • Page 146 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3627:admin# config bgp community_list standard list1 add community_set 50000:10 permit Command: config bgp community_list standard list1 add community_set 50000:10 permit Success.
  • Page 147 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3627:admin# config bgp community_list standard list1 add community_set 50000:10 permit Command: config bgp community_list standard list1 add community_set 50000:10 permit Success.
  • Page 148 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp route no_advertise - Do not advertise to any peer (well-known community) no_export - Do not export to next AS (well-known community) exact_match - If specified, communities need to match exactly.
  • Page 149 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route Command: show bgp route BGP local router ID is 10.0.40.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
  • Page 150 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route filter_list filter_list_one Command: show bgp route filter_list filter_list_one BGP local router ID is 172.16.72.24 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
  • Page 151 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route network 2.2.2.0/24 Command: show bgp route network 2.2.2.0/24 BGP routing table entry for 2.2.2.0/24 Paths:(1 available, best #1, table: Default_IP_Routing_Table, not advertised to any peer.)
  • Page 152 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp neighbors 10.10.10.2 Command: show bgp neighbors 10.10.10.2 BGP neighbor: 10.10.10.2 (Internal Peer) ----------------------------------------------- Session State : Enabled Session Activity : Enabled Remote AS Remote Router ID :192.168.252.252...
  • Page 153 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp neighbors 172.16.232.178 received_routes Command: show bgp neighbors 172.16.232.178 received_routes BGP local router ID is 172.16.232.181 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal...
  • Page 154 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp dampened_routes Command: show bgp dampened_routes BGP local router ID is 172.29.232.182 Status codes: s suppressed, d damped, h history, * valid, > best, i -internal...
  • Page 155 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp Command: show bgp BGP Global State : Enabled Version BGP Router Identifier : 172.16.1.1 Synchronization : Enabled Enforce First AS : Enabled Local AS number...
  • Page 156 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp reflection Command: show bgp reflection Client to Client Reflection State : Disabled Cluster ID : 0.0.0.0 Router Reflector Client: 10.1.1.20 10.1.1.30 DGS-3627:admin# show bgp confederation Purpose This command is used to display the confederation configuration of BGP.
  • Page 157 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable the BGP peer idle trap state: DGS-3627:admin# config bgp trap peer_idle disable Command: config bgp trap peer_idle disable Success. DGS-3627:admin# show bgp trap Purpose This command is used to show the BGP trap state.
  • Page 158 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp aggregate_next_hop_check Purpose This command is used to configure the BGP aggregated routes’ next hop check. Only the routes with the same next hop attribute can be aggregated if the BGP aggregate next hop check is enabled.
  • Page 159 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor maximum_prefix The default is 12000. <value 1-100> - An integer specifying at what percentage the maximum prefix limit on the router starts to generate a warning message. The range is from 1 to 100. The default is 75.
  • Page 160: Bpdu Attack Protection Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual BPDU ATTACK PROTECTION COMMANDS In a network, customers do not want all the ports of the device to receive STP packets, because some ports that receive STP BPDU packets will waste system resources.
  • Page 161 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bpdu_protection ports shutdown - Shut down the port when the port enters under_attack state. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To set the port state enable and drop mode:...
  • Page 162 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bpdu_protection attack_cleared - Events will be logged or trapped when the BPDU attacks is cleared. both - The events of attack_detected and attack_cleared shall be trapped or logged.
  • Page 163 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable bpdu_protection Commands: disable bpdu_protection Success. DGS-3627:admin# show bpdu_protection Purpose Used to show bpdu_protection status. Syntax show bpdu_protection {ports {<portlist> }} Description The show bpdu_protection command is used to display bpdu_protection global configuration or per port configuration and current status.
  • Page 164: Cable Diagnostics Command List

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual CABLE DIAGNOSTICS COMMAND LIST The Cable Diagnostics commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters cable_diag ports [<portlist>...
  • Page 165 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# cable_diag ports 1-2 Command: cable_diag ports 1-2 Perform Cable Diagnostics ... Port Type Link Status Test Result Cable Length(M) ----------------------------------------------------------------------------- Link up Link down Pair 1 Open...
  • Page 166: Command History List

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual COMMAND HISTORY LIST The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters {<command>} config command_history <value 1-40>...
  • Page 167 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ? clear clear address_binding dhcp_snoop binding_entry ports clear arptable clear attack_log clear counters clear dhcp_binding clear fdb clear log clear mac_based_access_control auth_mac clear port_security_entry port config 802.1p default_priority config 802.1p user_priority...
  • Page 168 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config command_history 20 Command: config command_history 20 Success. DGS-3627:admin# show command_history Purpose Used to display the command history. Syntax show command_history Description This command will display the command history.
  • Page 169: Command Logging Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual COMMAND LOGGING COMMANDS The command logging function is used to log the commands that have successfully been configured to the switch via the command line interface. The requirement is to log the command itself, along with information about the user account that entered the command into the system log and the informational severity level.
  • Page 170 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable command logging Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the command logging function: DGS-3627:admin# disable command logging Command: disable command logging Success.
  • Page 171: Compound Authentication Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual COMPOUND AUTHENTICATION COMMANDS The Compound Authentication UI specification describes the Common feature for access control functionalities and specifications. The Compound Authentication commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 172 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an authentication guest VLAN: DGS-3627:admin# create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3627:admin# delete authentication guest_vlan Purpose Used to delete guest VLAN configuration.
  • Page 173 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authentication guest_vlan vlan gv add ports all Command: config authentication guest_vlan vlan gv add ports all Success. DGS-3627:admin# config authentication ports Purpose Used to configure security port(s).
  • Page 174 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authentication ports all auth_mode host_based vlanid 1-3 state enable Command: config authentication ports all auth_mode host_based vlanid 1-3 state enable Success. DGS-3627:admin# show authentication guest_vlan Purpose Used to show guest VLAN setting.
  • Page 175 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authentication ports Command: show authentication ports Port Methods Auth Mode Authentication VLAN(s) --------- ---------------- ---------------- --------------------- None Host based 1,3,5,9,11,88,16 18,56 Port based 802.1X_IMPB Host based...
  • Page 176 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: This example sets authorization global state disabled: DGS-3627:admin# disable authorization attributes Command: disable authorization attributes Success. DGS-3627:admin# show authorization Purpose Used to show authorization status. Syntax...
  • Page 177 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Set authentication server auth fail over state: DGS-3627:admin# config authentication server failover local Command: config authentication server failover local Success. DGS-3627:admin# show authentication Purpose Used to show authentication global configuration.
  • Page 178: Configuration Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual CONFIGURATION COMMANDS Configuration function is used to conserve several configuration files in switch. With configuration function, user could conserve several same configurations in switch, one for currently use, other for back up, and user could conserve several different configurations in switch for different condition use.
  • Page 179 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To download the configuration file “desxxxx.cfg” from TFTP server at IP address 10.54.71.1: DGS-3627:admin# download cfg_fromTFTP 10.54.71.1 src_file desxxxx.cfg Command: download cfg_fromTFTP 10.54.71.1 src_file desxxxx.cfg Connecting to server....Done.
  • Page 180 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP <drive_id> - Specify the drive ID here. src_file - The pathname specifies an absolute pathname on the device file system. If pathname is not specified, it refers to the boot up configuration file.
  • Page 181 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show config For example, if the following expression is specified, Include “stp” exclude “port” The result of the above example is all lines that include the “stp” string but exclude the “port”...
  • Page 182 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual save config Purpose Used to save the current configuration to a file. Syntax save config {<drive_id>} <pathname 64> Description Used to save the current configuration to a file. This command is required to be supported regardless of whether file system is supported or whether multiple configuration files are supported.
  • Page 183: Counter Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual COUNTER COMMANDS The Counter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show packet ports <portlist>...
  • Page 184 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show packet ports 2:7 Command: show packet ports 2:7 Port number : 2:7 Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 30284 65-127 5998 128-255 11985 256-511...
  • Page 185 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show utilization Purpose Use to show real-time port utilization statistics. Syntax show utilization ports {<portlist>} Description The show utilization command displays real-time port utilization statistics. Parameters portlist - Specifies a range of ports to be displayed. (Unit ID: port number).
  • Page 186 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear counter If no parameter is specified, system will counter all of the ports. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To clear the switch’s statistics counters:...
  • Page 187: Debug Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DEBUG COMMANDS Software Debug is used to define the common behavior of each module’s debug function and collect and save basic OS information when exceptions happen. The Debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 188 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To dump the error log: DGS-3627:admin# debug error_log dump Command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2010/03/11 13:00:00...
  • Page 189 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug buffer Purpose Use this command to show the debug buffer’s state, or dump, clear, or upload the debug buffer to a TFTP server. Syntax debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] Description Show the debug buffer’s state or dump, clear or upload the debug buffer to TFTP server.
  • Page 190 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug output Description Set specified module’s debug message output to debug buffer or local console. Parameters <module_list> - The module list. all - Control output method of all modules.
  • Page 191 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug config error_reboot disable - Do not need reboot switch when fatal error happens, system will hang-up for debug and enter the debug shell mode for debug.. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 192 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug config state Purpose Use the command to set the state of the debug. Syntax debug config state [enable | disable] Description Use the command to set the state of the debug.
  • Page 193: Dhcp Local Relay Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCP LOCAL RELAY COMMANDS The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_local_relay vlan <vlan_name 32>...
  • Page 194 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the DHCP local relay function: DGS-3627:admin# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3627:admin# disable dhcp_local_relay Purpose Used to disable the DHCP local relay function on the switch.
  • Page 195: Dhcp Relay Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCP RELAY COMMANDS The DHCP Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_relay {hops <value 1-16>...
  • Page 196 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success. DGS-3627:admin# config dhcp_relay add Purpose Used to add an IP destination address to the switch’s DHCP relay table. Used to configure a DHCP server for relay of packets.
  • Page 197 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp_relay delete ipif System 10.43.21.12 Command: config dhcp_relay delete ipif System 10.43.21.12 Success. DGS-3627:admin# config dhcp_relay option_82 Purpose Used to configurethe processing of DHCP 82 option for the DHCP relay function.
  • Page 198 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_relay Purpose Used to enable the DHCP relay function on the switch. Syntax enable dhcp_relay Description The enable dhcp_relay command enables the DHCP relay function on the switch.
  • Page 199 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_relay ipif System Command: show dhcp_relay ipif System DHCP/BOOTP Relay Status : Disabled DHCP/BOOTP Hops Count Limit DHCP/BOOTP Relay Time Threshold : 0 second(s) DHCP Vendor Class Identifier Option 60 State: Disabled...
  • Page 200 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 add The system will relay the packet to all the matching servers. Parameters string - The specified string. relay - Specify a relay server IP address.
  • Page 201 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 delete Purpose This command is used to delete the DHCP Relay option 60 entry. Syntax config dhcp_relay option_60 delete [string <mutiword 255> {relay <ipaddr>} | ipaddress <ipaddr>...
  • Page 202 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_relay option_60 Command: show dhcp_relay option_60 Default processing Mode: drop Default Servers: 10.90.90.100 10.90.90.101 10.90.90.102 Matching Rules: String Match Type IP Address --------- ----------- ---------- exact match 10.90.90.1...
  • Page 203 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 add Description This command adds a rule to determine the relay server based on option 61. The match rule can base on either MAC address or a user-specified string.
  • Page 204 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 delete Description This command is used to delete an option 61 rule. Parameters mac_address - The entry with the specified MAC address will be deleted.
  • Page 205: Dhcp Server Screening Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCP SERVER SCREENING COMMANDS The DHCP Server Screening Commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. The DHCP Server Screening commands allow you not only to restrict all DHCP Server packets but also to receive any specified DHCP server packets by any specified DHCP client, it is useful when one or more than one DHCP servers are present on the network and both provide DHCP services to different distinct groups of clients.
  • Page 206 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config filter dhcp_server state – To Enable/disable the filter DHCP server state. portlist – The port list of filter DHCP server. Restrictions Only Administrator and Operator level users can issue this command.
  • Page 207 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show filter dhcp_server Command: show filter dhcp_server Filter DHCP Server Trap_Log State: Disabled Enabled Ports: 1:1-1:3 Illegal Server Log Suppress Duration:5 minutes Filter DHCP Server/Client Table Server IP Address Client MAC Address...
  • Page 208 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config filter dhcp_server illegal_server_log_suppress_duration 30min Command: config filter dhcp_server illegal_server_log_suppress_duration 30min Success. DGS-3627:admin#...
  • Page 209: Dhcp Server Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCP SERVER COMMANDS For this release, the Switch now has the capability to act as a DHCP server to devices within its locally attached network. DHCP, or Dynamic Host Configuration Protocol, allows the switch to delegate IP addresses, subnet masks, default gateways and other IP parameters to devices that request this information.
  • Page 210 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters create dhcp pool <pool_name 12> delete dhcp pool [<pool_name 12> | all] create dhcp pool manual_binding <pool_name 12> <ipaddr> hardware_address <macaddr> {type [Ethernet | IEEE802]} delete dhcp pool manual_binding <pool_name 12>...
  • Page 211 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create dhcp pool Purpose Used to create a DHCP pool. Syntax create dhcp pool <pool_name 12> Description This command will create a DCHP pool for the DHCP server. Once created, this pool may be modified for accepting DHCP clients into this pool.
  • Page 212 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create dhcp pool manual_binding Purpose Used to create a DHCP pool manual binding entry. Syntax create dhcp pool manual_binding <pool_name 12> <ipaddr> hardware_address <macaddr> {type [Ethernet | IEEE802]} Description This command will create a DHCP manual pool binding entry for a previously created pool.
  • Page 213 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete dhcp pool manual_binding Floor2 10.10.10.1 Command: delete dhcp pool manual_binding Floor2 10.10.10.1 Success. DGS-3627:admin# show dhcp pool manual_binding Purpose Used to display the manual binding settings for a DHCP pool.
  • Page 214 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_binding Command:show dhcp_binding Pool Name IP Address Hardware Address Type Status Life Time (secs) ----------- ----------- -------------------- --------- --------- ---------------- engineering 192.168.0.1 01-22-b7-35-ce-99 Ethernet Manual 864000...
  • Page 215 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp ping_packets 2 Command: config dhcp ping_packets 2 Success. DGS-3627:admin# config dhcp ping_timeout Purpose Used to set the time the Switch will wait before timing out a ping packet.
  • Page 216 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool default_router Purpose Used to configure the default router for the DHCP client. Syntax config dhcp pool default_router <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>} Description This command is used to configure the default router for DHCP clients requesting DHCP information for the switch.
  • Page 217 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool domain_name Purpose Used to configure the domain name for the DHCP pool of the Switch. Syntax config dhcp pool domain_name<pool_name 12> <domain_name 64> Description This command is used to configure the domain name for the DHCP pool of the Switch. This domain name represents a general group of networks that collectively make up the domain.
  • Page 218 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool netbios_name_server Purpose Used to configure the IP address(es) for the Net BIOS name server, Syntax config dhcp pool netbios_name_server <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>} Description This command is used to enter the IP address of a Net BIOS Name Server that will be available to a Microsoft DHCP Client.
  • Page 219 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool network_addr Purpose Used to configure the network address and corresponding subnet mask for the DHCP pool. Syntax config dhcp pool network_addr <pool_name 12> <network_address> Description This command will allow users to enter the IP address pool to be assigned to requesting DHCP Clients.
  • Page 220 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_server Purpose Used to enable the DHCP function on the switch. Syntax enable dhcp_server Description This command, along with the disable dhcp_server will enable and disable the DHCP server function without affecting configurations.
  • Page 221 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display the DHCP server settings: DGS-3627:admin# show dhcp_server Command:show dhcp_server DHCP Server Global State: Disable Ping Packet Number Ping Timeout : 500 ms DGS-3627:admin# create dhcp excluded_address begin_address...
  • Page 222 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete dhcp excluded_address Purpose Used to delete IP addresses that have been configured as excluded from the DHCP Server pool of addresses. Syntax delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all]...
  • Page 223 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dhcp pool Purpose Used to show the DHCP pool information. Syntax show dhcp pool {<pool_name 12>} Description This command is used to display the DHCP pool information. Entering the command without the pool name will display all DHCP pool information on the switch.
  • Page 224: Dhcpv6 Client Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCPV6 CLIENT COMMANDS The DHCPv6 Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif <ipif_name 12>...
  • Page 225 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DHCPv6 client state of the System interface to enabled: DGS-3627:admin# config ipif System dhcpv6_client state enable Command : config ipif System dhcpv6_client state enable...
  • Page 226 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_client output Description Set message output to buffer or console. Parameters buffer - Let the debug message output to buffer. console - Let the debug message output to console.
  • Page 227: Dhcpv6 Relay Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCPV6 RELAY COMMANDS The DHCPv6 Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcpv6_relay hop_count <value 1-32>...
  • Page 228 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6_relay Description This command can add or delete an IPv6 destination address to forward (relay) DHCPv6 packets. Parameters add - Add an IPv6 destination to the DHCPv6 relay table.
  • Page 229 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dhcpv6_relay Parameters ipif_name - The name of the IP interface that will be displayed in the current DHCPv6 relay configuration. If no IP interface is specified, all configured DHCPv6 relay interfaces will be displayed.
  • Page 230 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcpv6_relay Syntax enable dhcpv6_relay Description This command is used to enable the DHCPv6 relay global state on the Switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 231 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug dhcpv6_relay state enable Command: debug dhcpv6_relay state enable Success. DGS-3627:admin# debug dhcpv6_relay output Purpose This command is used to set the debug message to output to a buffer or a console.
  • Page 232 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug dhcpv6_relay packet sending state enable Command: debug dhcpv6_relay packet sending state enable Success. DGS-3627:admin# debug dhcpv6_relay hop_count state Purpose This command is used to enable or disable debug information flag about the hop count.
  • Page 233: Dhcpv6 Server Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DHCPV6 SERVER COMMANDS The DHCPv6 Server commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create dhcpv6 pool <pool_name 12>...
  • Page 234 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create a DHCPv6 pool pool1: DGS-3627:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3627:admin# delete dhcpv6 pool Purpose This command is used to delete one or all DHCPv6 pools.
  • Page 235 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 pool pool1 Command: show dhcpv6 pool pool1 Pool Name : pool1 Begin Network Address : 2000::1/64 End Network Address : 2000::200/64 Domain Name : domain.com...
  • Page 236 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64 Command: config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64 success DGS-3627:admin# config dhcpv6 pool domain_name Purpose This command is used to configure the domain name for the DHCPv6 pool of the Switch.
  • Page 237 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure the DNS server address for a DHCPv6 pool: DGS-3627:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201 Command: config dhcpv6 pool dns_server pool1 2000::200 2000::201 Success. DGS-3627:admin#...
  • Page 238 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool manual_binding add <ipv6addr> - Enter the IPv6 address to be statically bound to a device. client_duid <string 28> - Enter the DUID of the device to be statically bound to the IPv6 address entered in the previous field.
  • Page 239 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 manual_binding Command: show dhcpv6 manual_binding Pool Name: pool1 Entry 1 IPv6 Address : 3000::21 DUID : 00010006124dd584002191454d33 Entry 2 IPv6 Address : 3000::28 DUID : 000300060022d7e50900...
  • Page 240 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear dhcpv6 binding Purpose This command is used to clear the DHCPv6 dynamic binding information. Syntax clear dhcpv6 binding {<pool_name 12>} Description This command is used to clear the DHCPv6 dynamic binding information, not including manual binding information.
  • Page 241 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DHCPv6 server global state to disable: DGS-3627:admin# disable dhcpv6_server Command: disable dhcpv6_server Success. DGS-3627:admin# show dhcpv6_server Purpose This command is used to display the DHCPv6 server setting.
  • Page 242 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool excluded_address all - Delete all excluded address ranges of a specified pool. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add the IPv6 addresses range that DHCPv6 server should not assign to clients:...
  • Page 243 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address Pool name: Pool1 Range 1 Begin Address: 2000::2 End Address : 2000::5 Range 2 Begin Address: 2000::8 End Address : 2000::8...
  • Page 244 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_server state Parameters state - See below: enable - Enable the DHCPv6 server debug function disable - Disable the DHCPv6 server debug function Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 245: D-Link Single Ip Management Commands

    D-LINK SINGLE IP MANAGEMENT COMMANDS Simply put, D-Link Single IP Management is a concept that will stack switches together over Ethernet instead of using stacking ports or modules. Switches using D-Link Single IP Management (labeled here as SIM) must conform to the following rules: SIM is an optional feature on the Switch and can easily be enabled or disabled.
  • Page 246 6. The CaS can be configured through the CS to become a MS. ® After configuring one switch to operate as the CS of a SIM group, additional xStack DGS-3600 series switches may join the group by either an automatic method or by manually configuring the Switch to be a MS. The CS will then serve as the in band entry point for access to the MS.
  • Page 247 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable sim disable sim show sim {[candidates {<candidate_id 1-100>} | members {<member_id 1-32>} | group {commander_mac <macaddr>} | neighbor]} reconfig {member_id <value 1-32> | exit} config sim_group [add <candidate_id 1-100>...
  • Page 248 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable sim Command: disable sim Success. DGS-3627:admin# show sim Purpose Used to view the current information regarding the SIM group on the Switch. Syntax show sim {[candidates {<candidate_id 1-100>} | members {<member_id 1-32>} | group {commander_mac <macaddr>} | neighbor]}...
  • Page 249 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 2.80.B31 Device Name MAC Address : 00-19-5B-F5-26-C0 Capabilities : L3 Platform : DGS-3627 L3 Switch...
  • Page 250 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sim group Command: show sim group SIM Group Name : default MAC Address Platform / Hold Firmware Device Name Capability Time Version ---------------- ------------------ ----- ---------...
  • Page 251 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# reconfig member_id 2 Command: reconfig member_id 2 DGS-3627:admin# Login: config sim_group Purpose Used to add candidates and delete members from the SIM group. Syntax config sim [add <candidate_id 1-100> {<password>} | delete <member_id 1-32>]...
  • Page 252 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config sim • group_name <groupname 64> – Used to update the name of the group. Enter an alphanumeric string of up to 64 characters to rename the SIM group.
  • Page 253 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config sim commander Command: config sim commander Success. DGS-3627:admin# To update the name of a group: DGS-3627:admin# config sim commander group_name Demetrius Command: config sim commander group_name Demetrius Success.
  • Page 254 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3627.had all Command: download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3627.had all This device is updating firmware. Please wait... Download Status : MAC Address Result -----------------...
  • Page 255 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To upload configuration files to a TFTP server: DGS-3627:admin# upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Command: upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Success. DGS-3627:admin#...
  • Page 256: D-Link Unidirectional Link Detection (Duld) Commands

    Ethernet switches. This function is established based on OAM, so OAM should be enabled before starting detection. The D-Link Unidirectional Link Detection (DULD) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 257 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show duld Purpose Used to show unidirectional link detection information Syntax show duld ports {<portlist>} Description The command used to show ports unidirectional link information including: Admin state: port’s unidirectional link detection configuration state.
  • Page 258: Domain Name Server (Dns)Relay Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DOMAIN NAME SERVER (DNS)RELAY COMMANDS The Domain Name Server (DNS) relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 259 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dnsr add static dns1 10.43.21.12 Command: config dnsr add static dns1 10.43.21.12 Success. DGS-3627:admin# Example usage: To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table.
  • Page 260 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable static table lookup for DNS relay. DGS-3627:admin# enable dnsr static Command: enable dnsr static Success. DGS-3627:admin# disable dnsr Purpose Used to disable DNS relay on the Switch.
  • Page 261 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dnsr Purpose Used to display the current DNS relay status. Syntax show dnsr {static} Description This command is used to display the current DNS relay status. static − Allows the display of only the static entries into the DNS relay table. If this parameter is Parameters omitted, the entire DNS relay table will be displayed.
  • Page 262: Domain Name System (Dns) Resolver Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DOMAIN NAME SYSTEM (DNS) RESOLVER COMMANDS The DNS Resolver provides a solution to translate the domain name to IP address for the application on the switch itself. The Domain Name System (DNS) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 263 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config name_server add 10.10.10.10 primary Command: config name_server add 10.10.10.10 primary Success. DGS-3627:admin# To delete DNS Resolver name server 10.10.10.1: DGS-3627:admin# config name_server delete 10.10.10.10 Command: config name_server delete 10.10.10.10 Success.
  • Page 264 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show name_server Command: show name_server Name Server Timeout: 3 seconds Static Name Server Table: Server IP Address Priority ---------------------- -------------- 20.20.20.20 Secondary 10.1.1.1 Primary Dynamic Name Server Table:...
  • Page 265 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To delete the static host name entry “www.example.com”: DGS-3627:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3627:admin# show host_name Purpose Used to display the current host name.
  • Page 266 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DNS Resolver state to enabled: DGS-3627:admin# enable dns_resolver Command: enable dns_resolver Success. DGS-3627:admin# disable dns_resolver Purpose Used to configure the DNS Resolver state of the switch to disabled.
  • Page 267: Dvmrp Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DVMRP COMMANDS The DVMRP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. DVMRP is a distance-vector multicast routing protocol designed to support the forwarding of multicast datagrams through an inter-network.
  • Page 268 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dvmrp Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure DVMRP configurations of IP interface “System”: DGS-3627:admin# config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5...
  • Page 269 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable dvmrp Command: disable dvmrp Success. DGS-3627:admin# show dvmrp routing_table Purpose Used to display the current DVMRP routing table. Syntax show dvmrp routing table {ipaddress <network_address>} Description The command is used to display the current DVMRP routing table.
  • Page 270 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address Generation ID Expire Time --------------- ----------------- -------------- --------- System 10.2.1.123 Total Entries: 1...
  • Page 271 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dvmrp Restrictions None. Example usage: To show DVMRP configurations: DGS-3627:admin# show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout Probe Metric...
  • Page 272: Ethernet Ring Protection Switching (Erps) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ETHERNET RING PROTECTION SWITCHING (ERPS) COMMANDS ITU-T G.8032 Ethernet Ring protection switching (ERPS) is used to provide a reliable mechanism of malfunction recovery in an Ethernet ring topology network.
  • Page 273 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable erps The default state is disabled. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable ERPS: DGS-3627:admin# enable erps Command: enable erps Success.
  • Page 274 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create erps raps_vlan 4094 Command: create erps raps_vlan 4094 Success. DGS-3627:admin# delete erps raps_vlan Purpose Used to delete an R-APS VLAN on a switch. Syntax delete erps raps_vlan <vlanid>...
  • Page 275 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan ring_port Purpose Used to configure the ports of the ERPS ring for a specific R-APS VLAN. Syntax config erps raps_vlan <vlanid> ring_port [west [<port> | virtual_channel] | east [<port>...
  • Page 276 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the RPL port or the RPL owner for a specific R-APS VLAN: DGS-3627:admin# config erps raps_vlan 4094 rpl port west owner enable Command: config erps raps_vlan 4094 rpl port west owner enable Success.
  • Page 277 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan timer an intermittent defect. This timer is used during the protection switching process when a link failure recovers. It is only used by the RPL owner. When the RPL owner in protection state receives R-APS PDU with an NR flag, it will start the WTR timer.
  • Page 278 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show erps failure is detected on the port and traffic is blocked by ERPS. The RPL owner administrative state could be configured to "Enabled" or "Disabled". But the RPL owner operational state may be different from the RPL owner administrative state, for example, the RPL owner conflict occurs.
  • Page 279 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show erps Command: show erps ERPS Information Global Status : Enabled Log Status : Disabled Trap Status : Disabled ------------------------ R-APS VLAN : 4092 Ring Status : Enabled...
  • Page 280 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps trap Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the trap state of the ERPS: DGS-3627:admin# config erps trap enable Command: config erps trap enable Success.
  • Page 281 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan sub_ring Description This command is used to configure a sub-ring connected to another ring. This command is applied on the interconnection node. Parameters raps_vlan <vlanid> - Specifies the R-APS VLAN.
  • Page 282: Filter Database (Fdb) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual FILTER DATABASE (FDB) COMMANDS This section describes the Filter Database functionality and specifications based on IEEE 802.1d 2001 standard and IEEE 802.1Q-2003 standard. Functions of this software module apply on L2 and L3 Ethernet switches.
  • Page 283 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create fdb default 00-00-00-00-01-02 port 2:5 Command: create fdb default 00-00-00-00-01-02 port 2:5 Success. DGS-3627:admin# create multicast_fdb Purpose Used to create a static entry in the multicast MAC address forwarding table (database).
  • Page 284 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Command: config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Success. DGS-3627:admin# config fdb aging_time Purpose Used to configure the switch’s MAC address aging time.
  • Page 285 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config multicast filtering_mode 200 forward_all_groups Command: config multicast filtering_mode 200 forward_all_groups Success. DGS-3627:admin# delete fdb Purpose Used to delete an entry from the switch’s forwarding database. Syntax delete fdb <vlan_name 32>...
  • Page 286 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. Syntax show multicast_fdb {[ vlan <vlan_name 32> | vlanid < vidlist > ]| mac_address <macaddr>}...
  • Page 287 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type ---- -------------------------------- ----------------- ------ ------- default 00-00-00-00-00-01 1:25 Dynamic...
  • Page 288 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast filtering_mode Parameters vlanid - Specifies a list of VLANs to be configured. vlan – Specifies the VLAN name to be configured. If no parameter is specified, the device will show all multicast filtering settings in the device.
  • Page 289: Flash File System (Ffs) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual FLASH FILE SYSTEM (FFS) COMMANDS The Flash File System (FFS) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 290 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Purpose This command is used to change the current directory. Syntax cd {<pathname 64>} Description This command is used to change the current directory. The current directory is changed under the current drive.
  • Page 291 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#dir C:\ Command: dir C:\ ---------------------------------------------------------------- Current Unit ID: 1 Current Directory: C:\ File Name Size(byte) Update Time ------------------------ -------------- ---------------- 612.CFG 19915 bytes 2010/06/12 14:52 LOG.TXT 1835008 bytes 2010/05/11 17:06 R250B51.HAD...
  • Page 292 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Total Files Total Size 10094939 bytes Free Space 4063232 bytes '*' means boot up section DGS-3627:admin# rename Purpose This command is used to rename a file. Syntax rename {{unit <unit_id 1-12>} <drive_id>} <pathname 64> <filename 64>...
  • Page 293 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To erase a file: DGS-3627:admin#dir C:\ Command: dir C:\ ---------------------------------------------------------------- Current Unit ID: 1 Current Directory: C:\ File Name Size(byte) Update Time ------------------------ -------------- ---------------- 19915 bytes 2010/06/12 14:52 LOG.TXT...
  • Page 294 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To copy a file: DGS-3627:admin#copy C:\ config C:\ test.cfg Command: copy C:\ config C:\ test.cfg Please wait, do not power off! Process ......Done. Success. DGS-3627:admin#...
  • Page 295: Gratuitous Arp Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual GRATUITOUS ARP COMMANDS The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config gratuitous_arp send...
  • Page 296 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp send duplicate_ip_detected Description The command is used to enable/disable sending of gratuitous ARP request packet while duplicate IP is detected. By default, the state is disabled. For this command, the duplicate IP detected means that the system received an ARP request packet that is sent by an IP address that match the system’s own IP address.
  • Page 297 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp periodical_send Description The command is used to configure the interval for periodical sending of gratuitous ARP request packet. By default, the interval is 0. Parameters ipif <ipif_name 12> - Interface name of L3 interface.
  • Page 298 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable system interface’s gratuitous ARP log and trap: DGS-3627:admin# disable gratuitous_arp ipif System trap log Command: disable gratuitous_arp ipif System trap log Success. DGS-3627:admin# show gratuitous_arp Purpose Used to display gratuitous ARP configuration.
  • Page 299: Ieee 802.1Q Vlan Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.1Q VLAN COMMANDS Along with normal VLAN configurations, this Switch now incorporate Double VLANs. Better known as Q-IN-Q VLANs, Double VLANs allow network providers to expand their VLAN configurations to place VLANs within a larger inclusive VLAN, which adds a new layer to the VLAN configuration.
  • Page 300 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create vlan Purpose Used to create a VLAN on the Switch. Syntax create vlan <vlan_name 32> {tag <vlanid 2-4094> | type 1q_vlan | advertisement} Description This command allows the creation of a VLAN on the Switch.
  • Page 301 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vlan Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan <vlan_name 32> {[add [ tagged | untagged | forbidden] | delete] <portlist> |...
  • Page 302 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the ingress checking status, the sending and receiving GVRP information : DGS-3627:admin# config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Command: config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Success.
  • Page 303 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To disable the Generic VLAN Registration Protocol (GVRP): DGS-3627:admin# disable gvrp Command: disable gvrp Success. DGS-3627:admin# show vlan Purpose Used to display the current VLAN configuration on the Switch.
  • Page 304 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show gvrp Purpose Used to display the GVRP status for a port list on the Switch. Syntax show gvrp {<portlist>} Description This command displays the GVRP status for a port list on the Switch.
  • Page 305 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the Double VLAN feature on the Switch, thus disabling normal VLANs and GVRP. DGS-3627:admin# enable double_vlan Command: enable double_vlan Current Double VLAN mode : Disabled Enable Double VLAN need to reset system config.
  • Page 306 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create a Double VLAN on the Switch DGS-3627:admin# create double_vlan RG spvid 2 tpid 0x9100 Command: create double_vlan RG spvid 2 tpid 0x9100 Success. DGS-3627:admin# config double_vlan Purpose Used to config the parameters for a previously created Double VLAN on the Switch.
  • Page 307 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config double_vlan Drazen delete 1:4-1:8 Command: config double_vlan Drazen delete 1:4-1:8 Success. DGS-3627:admin# show double_vlan Purpose Used to display the Double VLAN settings on the Switch. Syntax show double_vlan {<vlan_name>}...
  • Page 308 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable pvid auto_assign Command: enable pvid auto_assign Success. DGS-3627:admin# disable pvid auto_assign Purpose Used to disable auto assignment of PVID. Syntax disable pvid auto_assign Description If “auto-assign PVID” is disabled, PVID can only be changed by PVID configuration (user changes explicitly).
  • Page 309: Ieee 802.1Qinq Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.1QINQ COMMANDS QinQ, also known as VLAN stacking, is a powerful, yet simple and cost-effective solution that allows Service Providers to offer IP-based Services, including Metro-Ethernet in scalable implementations. QinQ can also be used to provide multiple virtual connections and access to multiple services available over the Metro (ISPs, ASPs, storage services, etc.)
  • Page 310 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#enable qinq Command: enable qinq Success. DGS-3627:admin# disable qinq Purpose Used to disable the QinQ. Syntax disable qinq Description When QinQ is disabled, all dynamic learned L2 address will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
  • Page 311 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config qinq ports Purpose Used to configure QinQ ports parameters. Syntax config qinq ports [<portlist> | all] {role [nni | uni] | missdrop [enable | disable] | [outer_ tpid | tpid]<hex 0x1 - 0xffff>...
  • Page 312 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show qinq ports 1:1-1:4 Command: show qinq ports 1:1-1:4 Port Role Missdrop TPID Use Inner Priority ----- ------ -------- ----------- ------------------ Normal Disabled 0x8100 Disabled Normal Disabled...
  • Page 313 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show vlan_translation Commands: show vlan_translation Port CVID SVID Action Priority ------ ----- ----- ------ -------- Total Entries: 5 DGS-3627:admin# create vlan_translation ports Purpose Use this command to create the CVID VLAN translation rules.
  • Page 314: Igmp And Mld Snooping Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IGMP AND MLD SNOOPING COMMANDS The Internet Group Management Protocol (IGMP) is a Layer 4 protocol used to manage the membership of Internet Protocol multicast groups. IGMP is used by IP hosts and adjacent multicast routers to establish multicast group memberships.
  • Page 315 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The IGMP and MLD Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp_snooping [vlan_name <vlan_name 32> | all] {host_timeout <sec 1-16711450> | router_timeout <sec 1-16711450>...
  • Page 316 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping Syntax config igmp_snooping [vlan_name <vlan_name 32> | all] {host_timeout <sec 1- 16711450> | router_timeout <sec 1-16711450> | leave_timer <sec 1-16711450> | state [enable | disable] | fast_leave [enable | disable] | report_suppression [enable |...
  • Page 317 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping querier The default setting is 10 seconds. robustness_variable - Provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the following IGMP message intervals: Group member interval - Amount of time that must pass before a multicast router decides there are no more members of a group on a network.
  • Page 318 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config router_ports Parameters vlan - Specify the name of the VLAN on which the router port resides. add | delete - Specify to add or delete the router ports.
  • Page 319 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable igmp_snooping identification of the multicast routing protocol packet and IGMP control packet. If not specified, the switch will learn the router port based on identification of the unicast routing protocol packet, the multicast routing protocol packet, and the IGMP control packet.
  • Page 320 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable igmp_snooping Command: disable igmp_snooping Success. DGS-3627:admin# create igmp_snooping static_group Purpose Used to configure an IGMP snooping multicast static group. Syntax create igmp_snooping static_group [vlan<vlan_name 32> | vlanid <vlanid_list> ] <...
  • Page 321 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete an IGMP snooping static group for VLAN 1, group 239.1.1.1: DGS-3627:admin# delete igmp_snooping static_group vlan vlan1 239.1.1.1 Command: delete igmp_snooping static_group vlan vlan1 239.1.1.1 Success.
  • Page 322 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display all the IGMP snooping static groups: DGS-3627:admin# show igmp_snooping static_group Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports -------------- ------------------ ------------------------ 1 / Default 239.1.1.1...
  • Page 323 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping group Command: show igmp_snooping group Source/Group : 10.0.0.2/225.0.0.2 VLAN Name/VID :default/1 Port Memer : 1-2 Mode : INCLUDE Source/Group : 10.0.0.2/225.0.0.3 VLAN Name/VID : default/1...
  • Page 324 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping forwarding Command: show igmp_snooping forwarding VLAN Name : default Source IP : 10.90.90.114 Multicast Group: 225.0.0.0 Port Member : 2,7 VLAN Name : default Source IP : 10.90.90.10...
  • Page 325 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show router_ports Command: show router_ports VLAN Name : default Static Router Port : 1-10 Dynamic Router Port Forbidden router port VLAN Name : vlan2 Static router port...
  • Page 326 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping querier guarantees MLD snooping. Syntax config mld_snooping querier [vlan_name <vlan_name 32> | all] {query_interval <sec 1- 65535> | max_response_time <sec 1-25> | robustness_variable <value 1-255> | last_listener_query_interval <sec 1-25>...
  • Page 327 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping mrouter_ports Syntax config mld_snooping mrouter_ports vlan <vlan_name 32> [add | delete] <portlist> Description This command allows you to designate a range of ports as being connected to multicast- enabled routers.
  • Page 328 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable mld_snooping forward_mcrouter_only command will enable the MLD snooping function and the forward multicast router only function. If forward multicast router only is enabled, the switch will forward all multicast traffic to the multicast router, only.
  • Page 329 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable mld_snooping Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable MLD snooping on the switch: DGS-3627:admin# disable mld_snooping Command: disable mld_snooping Success.
  • Page 330 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping Command: show mld_snooping MLD Snooping Global State : Disabled Multicast router Only : Disabled VLAN Name : default Query Interval : 125 Max Response Time...
  • Page 331 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping group Command: show mld_snooping group Source/Group : 2001::1/FE1E::1 VLAN Name/VID :default/1 Port Member : 1-2 Mode : INCLUDE Source/Group : 2002::2/FE1E::1 VLAN Name/VID: : default/1...
  • Page 332 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP : 2001::1 Multicast Group: FE1E::1 Port Member : 2,7 VLAN Name : default Source IP...
  • Page 333: Internet Group Management Protocol (Igmp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual INTERNET GROUP MANAGEMENT PROTOCOL (IGMP) COMMANDS IGMP or Internet Group Management Protocol is a protocol implemented by systems utilizing IPv4 to collect the membership information needed by the multicast routing protocol through various query messages sent out from the router or switch.
  • Page 334 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Internet Group Management Protocol (IGMP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config igmp [ipif <ipif_name 12>|all] { version <value 1-3>...
  • Page 335 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config igmp all version 2 Command: config igmp all version 2 Success. DGS-3627:admin# show igmp Purpose This command is used to display the IGMP configurations. Syntax show igmp {ipif <ipif_name 12>} Description The show igmp command displays the IGMP configurations.
  • Page 336 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp group Command: show igmp group Interface Multicast Group Last Reporter IP Querier IP Expire ------------ --------------- --------------- ----------------- --------- System 224.0.0.2 10.42.73.111 10.48.74.122 System 224.0.0.9 10.20.53.1...
  • Page 337 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show igmp check_subscriber_source_network state on interface “n20”: DGS-3627:admin# show igmp check_subscriber_source_network ipif n20 Command: show igmp check_subscriber_source_network ipif n20 Interface IP Address/Netmask Check Subscriber Source Network...
  • Page 338: Ip Directed Broadcast Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IP DIRECTED BROADCAST COMMANDS The IP Directed Broadcast commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ipif <ipif_name 12>...
  • Page 339 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipif System Command: show ipif System IP Interface : System VLAN Name : default Interface Admin State : Enabled DHCPv6 Client State : Disabled IPv4 Address : 10.90.90.90/821 (Manual)
  • Page 340: Ip Multicasting Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IP MULTICASTING COMMANDS The IP multicasting commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show ipmc cache {group <group>} {ipaddress <network_address>}...
  • Page 341 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipmc interface table for. protocol − Allows the user to specify whether or not to use one of the available protocols to display the IP multicast interface table. For example, if DVMRP is specified, the table will display only those entries that are related to the DVMRP protocol.
  • Page 342: Ip Route Filter Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IP ROUTE FILTER COMMANDS The IP Route Filter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create ip prefix_list <list_name 16>...
  • Page 343 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: The following example creates one IP prefix list named 1: DGS-3627:admin# create ip prefix_list 1 Command: create ip prefix_list 1 Success. DGS-3627:admin# config ip prefix_list Purpose Used to configure a prefix list by adding/deleting a prefix list entry or adding/deleting the description of a prefix_list.
  • Page 344 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ip prefix_list Purpose Used to delete the IP prefix list Syntax delete ip prefix_list [list_name <list_name 16> | all] Description The command is used to delete an IP prefix list.
  • Page 345 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ip standard access_list Syntax create ip standard access_list <list_name 16> Description This command is used to create an access list. <list_name 16> - The name of the access list.
  • Page 346 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete ip standard access_list list_name List1 Command: delete ip standard access_list list_name List1 Success. DGS-3627:admin# show ip standard access_list Purpose This command is used to show the information of access list.
  • Page 347 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear ip prefix_list counter first_list 192.168.10.0/24 Command: clear ip prefix_list counter first_list 192.168.10.0/24 Success. DGS-3627:admin# create route_map Purpose This command is used to create a route map or add and delete sequences to a route map.
  • Page 348 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete route_map map_name map1 Command: delete route_map map_name map1 Success. DGS-3627:admin# show route_map Purpose This command is used o show a route map configuration. Syntax show route_map {<map_name 16>} Description This command is used to show a route map configuration.
  • Page 349 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure a route map named “map1” and add one sequence ID of 20 to the route map: DGS-3627:admin# config route_map map1 add sequence 20 Command:4# config route_map map1 add sequence 20 Success.
  • Page 350 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence match ip next_hop - Specify to match the next hop of the route according to the access list. match ip next_hop prefix_list - Specify to match the next hop of the route according to the prefix list.
  • Page 351 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence set Parameters <map_name 16> - The route map name. <value 1-65535> - Specifies the sequence number for the rule. This is the number that indicates the position a new route map will have in the list of route maps already configured with the same name.
  • Page 352 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence set or incomplete. dampening - The dampening timer and parameter. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the route map match access list “ac_list1” and set the metric to 50:...
  • Page 353: Ip-Mac-Port Binding (Impb) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IP-MAC-PORT BINDING (IMPB) COMMANDS The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address types together allows the transmission of data between the layers. The primary purpose of IP-MAC-Port binding (IMPB) is to restrict the access to a switch to a number of authorized users.
  • Page 354 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The IP-MAC-Port Binding (IMPB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config address_binding ip_mac ports [<portlist>...
  • Page 355 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac ports cannot be enabled. When the binding check state is enabled for IP packets and ARP packets received by this port, the switch will check whether the IP address and MAC address matches the binding entry.
  • Page 356 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config address_binding ip_mac ports 1 state enable Command: config address_binding ip_mac ports 1 state enable Success. DGS-3627:admin# create address_binding ip_mac Purpose Used to create an IMPB entry.
  • Page 357 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete address_binding Parameters ip_mac - Specify the user created IMPB database. blocked - Specify the address database that the system has automatically learned and blocked. ipaddr - Specify the learned IP address of the entry in the database.
  • Page 358 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac Parameters ipaddr - Specify the IP address of the entry being updated. ipv6addr - Specify the IPv6 address of the entry being updated. macaddr - Specify the MAC address of the entry being updated ports - Specify which ports are used for the IMPB entry being updated.
  • Page 359 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding Command: show address_binding Trap/Log : Enabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Enabled ND Snoop : Disabled DGS-3627:admin# To show the IMPB ports: DGS-3627:admin#show address_binding ports...
  • Page 360 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding blocked Command: show address_binding blocked VLAN Name MAC Address Port ---- -------------------------------- ---------- default 00-01-02-03-29-38 default 00-0C-6E-5C-67-F4 default 00-0C-F8-20-90-01 default 00-0E-35-C7-FA-3F default 00-0E-A6-8F-72-EA default 00-0E-A6-C3-34-BE...
  • Page 361 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable address_binding dhcp_snoop Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable DHCP IPv4 snooping mode: DGS-3627:admin# enable address_binding dhcp_snoop Command: enable address_binding dhcp_snoop Success.
  • Page 362 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable address_binding dhcp_snoop ipv6 Command: disable address_binding dhcp_snoop ipv6 Success. DGS-3627:admin# clear address_binding dhcp_snoop binding_entry Purpose Used to clear the DHCP snooping entries learned for the specified ports.
  • Page 363 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding dhcp_snoop Command: show address_binding dhcp_snoop DHCP Snoop(IPv4) : Enabled DHCP Snoop(IPv6) : Enabled DGS-3627:admin# To display DHCP snooping maximun entry configuration: DGS-3627:admin# show address_binding dhcp_snoop max_entry...
  • Page 364 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding dhcp_snoop max_entry can be learned. all - indicates all ports on the Switch. limit - See below: <value 1-50> - Specify the maximum number. no_limit - Specifies that the maximum number of learned entries is unlimited.
  • Page 365 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable address_binding trap_log Command: disable address_binding trap_log Success. DGS-3627:admin# config address_binding recover_learning ports Purpose Used to recover IMPB checking. Syntax config address_binding recover_learning ports [ <portlist> | all] Description Use this command to recover the IMPB check function, which was previously stopped.
  • Page 366 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable address_binding nd_snoop Description This command allows the user to disable ND Snooping on switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage:...
  • Page 367 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding nd_snoop binding_entry Command: show address_binding nd_snoop binding_entry LT(Lease Time) ST(Status) - A:Active I:Inactive IP Address MAC Address LT(secs) Port ---------------------------------------------- ------------------- ---------- ----- -- 2001:2222:1111:7777:5555:6666:7777:8888...
  • Page 368 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual no debug address_binding Purpose Stop the IMPB debug starting when the IMPB module receives an ARP/IP packet or a DHCP packet. Syntax no debug address_binding Description Use this command to stop the IMPB debug starting when the IMPB module receives an ARP/IP packet or a DHCP packet.
  • Page 369: Ipv6 Neighbor Discover Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IPV6 NEIGHBOR DISCOVER COMMANDS The IPv6 Neighbor Discover commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create ipv6 neighbor_cache ipif <ipif_name 12>...
  • Page 370 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipv6 neighbor_cache Purpose Deletes an IPv6 neighbor from the interface neighbor address cache. Syntax delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynamic |...
  • Page 371 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipv6 neighbor_cache ipif System all Command: show ipv6 neighbor_cache ipif System all IPv6 Address: 2000::221:91FF:FE8D:4D9F State: Reachable MAC Address : 00-21-91-8D-4D-9F Port : 1:31 Interface : ipif1...
  • Page 372 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra Description Configures the router advertisement related parameters. Parameters ipif_name - The name of the interface. state - Router advertisement state. life_time - Indicates the lifetime of the router as the default router in seconds.
  • Page 373 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra prefix_option the value can be set to 0xffffffff. on_link_flag - When set to 1 the addresses implied by the specified prefix are available on the link where the RA message is received.
  • Page 374 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipv6 nd ipif System Command: show ipv6 nd ipif System Interface Name : System Hop Limit : 64 NS Retransmit Time : 0 (ms) Router Advertisement...
  • Page 375: Ipv6 Route Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IPV6 ROUTE COMMANDS The IPv6 Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create ipv6route [default | <ipv6networkaddr>] [[<ipif_name 12>...
  • Page 376 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create ipv6route 3004::/64 Intface_1 3000::4 Command: create ipv6route 3004::/64 Intface_1 3000::4 Success. DGS-3627:admin# To add an IP tunnel route entry: DGS-3627:admin# create ipv6route default ip_tunnel ip6_tn Command: create ipv6route default ip_tunnel ip6_tn Success.
  • Page 377 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipv6route ripng - Display the RIPng route entries. ospfv3 - Display the OSPFv3 route entries. Restrictions Only Administrator and Operator-level users can issue this command. Example usage:...
  • Page 378: Ipv6 Tunnel Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IPV6 TUNNEL COMMANDS Industry is in the early stages of large scale IPv6 production deployment, and first-generation products need to make tradeoffs between available IPv6 services. Although the success of IPv6 will ultimately depend on the new applications that run over IPv6, there might be organizations or hosts within organizations that will continue to use IPv4 indefinitely.
  • Page 379 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ip_tunnel Purpose Used to delete an IPv6 tunnel interface. delete ip_tunnel < tunnel_name 12> Syntax Description The delete ip_tunnel command is used to delete a specific IPv6 tunnel on the switch.
  • Page 380 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 Command: config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 Success. DGS-3627:admin# config ip_tunnel manual tn2 ipv6address 2001::1/64 Command: config ip_tunnel manual tn2 ipv6address 2001::1/64 Success.
  • Page 381 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ip_tunnel isatap Purpose Used to configure an IPv6 ISATAP tunnel. Syntax config ip_tunnel isatap <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr>}(1) Description The config ip_tunnel isatap command is used to configure an existing IPv6 tunnel as an IPv6 ISATAP tunnel on the switch.
  • Page 382 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface : tn2 Interface Admin State : Enabled Tunnel Mode : Manual IPv6 Address : 2000::1/64 Tunnel Source : 1.0.0.1 Tunnel Destination : 1.0.0.2...
  • Page 383 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ip_tunnel tn2 Command: disable ip_tunnel tn2 Success. DGS-3627:admin#...
  • Page 384: Japanese Web-Based Access Control (Jwac) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual JAPANESE WEB-BASED ACCESS CONTROL (JWAC) COMMANDS The Japanese Web-based Access Control (JWAC) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 385 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters show jwac show jwac update_server show jwac auth_state ports {<portlist>} show jwac ports {<portlist>} config jwac authentication_page [japanese | english] [default | page_title <desc 128> | login_window_title < desc element 32>...
  • Page 386 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable jwac Command: disable jwac Success. DGS-3627:admin# enable jwac redirect Purpose Used to enable JWAC redirect function. Syntax enable jwac redirect Description When redirecting quarantine server is specified, the unauthenticated host will be redirected to quarantine server when it tries to access a random URL.
  • Page 387 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable jwac forcible_logout Purpose Used to enable JWAC forcibly logout function. Syntax enable jwac forcible_logout Description When forcibly logout feature is enabled, a PING packet from an authenticated host to the JWAC Switch with TTL=1 will be regarded as a logout request, and the host will be moved back to unauthenticated state.
  • Page 388 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable JWAC UDP filtering function: DGS-3627:admin# enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3627:admin# disable jwac udp_filtering Purpose Used to disable JWAC UDP filtering function. Syntax...
  • Page 389 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable jwac quarantine_server_monitor Syntax disable jwac quarantine_server_monitor Description Disable JWAC Quarantine Server function enabled previously. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage:...
  • Page 390 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the redirect destination and delay time: DGS-3627:admin# config jwac redirect destination jwac_login_page delay_time 5 Command: config jwac redirect_ destination jwac_login_page delay_time 5 Success. DGS-3627:admin#...
  • Page 391 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure Quarantine Server URL: DGS-3627:admin# config jwac quarantine_server_url http://10.90.90.88/authpage.html Command: config jwac quarantine_server_url http://10.90.90.88/authpage.html Success. DGS-3627:admin# config jwac clear_quarantine_server_url Purpose Used to clear Quarantine Server configuration. Syntax...
  • Page 392 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the update server which the un-authenticated host need to access: DGS-3627:admin# config jwac update_server add ipaddress 10.90.90.109/24 Command: config jwac update_server add ipaddress 10.90.90.109/24 Update Server 10.90.90.0/24 is added.
  • Page 393 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config jwac ports all - All the Switch ports’ JWAC state is to be configured. state - To specify the port state of JWAC max_authenticating_host - Max number of host process authentication on each port at the...
  • Page 394 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config jwac radius_protocol ms_chapv2 Command: config jwac radius_protocol ms_chapv2 Success. DGS-3627:admin# create jwac user Purpose Used to create JWAC user into local DB. Syntax create jwac user <username 15> {vlan <vlanid 1-4094>} Description The create jwac user command creates JWAC users into the local DB.
  • Page 395 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config jwac user juser_tom vlan 3 Command: create jwac user juser_tom vlan 3 Enter a case-sensitive new password:*** Enter the new password again for confirmation:*** Success. DGS-3627:admin#...
  • Page 396 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear jwac auth_state Purpose Used to clear the JWAC authentication entry. Syntax clear jwac auth_state [ports [all | <portlist>] { authenticated | authenticating | blocked } | mac_addr <macaddr>] Description The user can use this command to clear the authentication entry.
  • Page 397 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show jwac Purpose Used to display the configuration of JWAC. Syntax show jwac Description The show jwac command allows you to show all the configuration of JWAC. Parameters None.
  • Page 398 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show jwac update_server Command: show jwac update_server Index TCP/UDP Port State ----- ------------------ ------- ----- -------- 10.0.0.0/8 Inactive 10.1.1.1/32 Inactive 10.3.3.3/32 Inactive 10.3.3.4/32 Inactive 10.3.3.5/32 Inactive 10.3.3.6/32 Inactive 10.3.3.7/32...
  • Page 399 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show jwac auth_state ports 1-2 Command: show jwac auth_state ports 1-2 Pri - Priority. State - A:Authenticated, B:Blocked, -:Authenticating Time - Aging Time/Idle Time for authenticated entries.
  • Page 400 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config jwac authentication_page element Parameters japanese - Change to Japanese page. english - Changeto English page. default - Reset the page element to default. page_title - The title of the authenticate page.
  • Page 401 User Name Title : User Name Password Title : Password Logout Window Title : Logout Notification Copyright @ 2010 D-Link All Rights Reserved Site: http://support.dlink.com Japanese Page Element -------------------------------------------------------------- Page Title : 社内 LAN 認証ログイン Login Window Title : ユーザ ID User Name Title : パスワード...
  • Page 402: Jumbo Frame Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual JUMBO FRAME COMMANDS Certain switches can support jumbo frames (frames larger than the Ethernet frame size of 1536 bytes). To transmit frames of up to 9K (and 9216 bytes tagged), the user can increase the maximum transmission unit (MTU) size from the default of 1536 by enabling the Jumbo Frame command.
  • Page 403 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To disable the jumbo frame function on the Switch: DGS-3627:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-3627:admin# show jumbo_frame Purpose Used to show the status of the jumbo frame function on the Switch.
  • Page 404: Limited Ip Multicast Address Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual LIMITED IP MULTICAST ADDRESS COMMANDS The Limited IP Multicast command allows the administrator to permit or deny access to a port or range of ports by specifying a range of multicast addresses. The Limited IP Multicast Commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 405 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable Command: config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable Success.
  • Page 406 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show limited multicast address Purpose Used to show per-port limited IP multicast address range. Syntax show limited multicast address {<portlist>} Description The show limited multicast address command allows users to show multicast address range by ports.
  • Page 407 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create multicast_range Purpose Used to create a range of multicast IP addresses that will be specified under a given name. Syntax create multicast_range <range_name 32> from <multicast_ipaddr> to <multicast_ipaddr>...
  • Page 408 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast_range Purpose Used to display a range of multicast IP addresses that are specified under a given name. Syntax show multicast_range {<range_name 32>} This command will display a multicast range that was created with the create Description multicast_range command.
  • Page 409 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config limited_multicast_addr ports Purpose Used to add or delete ports to a previously created multicast address range and then to give that range access to or denial from the Switch.
  • Page 410 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show limited_multicast_addr Purpose Used to display the limited multicast address range on a per port basis. Syntax show limited_muticast_addr {ports <portlist>} Description This command will display the limited multicast address range on a per port basis.
  • Page 411: Link Aggregation Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet 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. Link aggregation, also known as trunking, is a method of grouping physical link segments of the same media type and speed, and treating them as if they were part of a single, logical link segment.
  • Page 412 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DGS-3627:admin# delete link_aggregation group_id Purpose Used to delete a previously created link aggregation group. Syntax delete link_aggregation group_id <value 1-32>...
  • Page 413 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9: DGS-3627:admin# config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,9 Command: config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,1:9 Success.
  • Page 414 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display Link Aggregation configuration: DGS-3627:admin# show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = IP-source Group ID Type : TRUNK Master Port : 1:5 Member Port...
  • Page 415 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lacp_port Purpose Used to display current LACP port mode settings. Syntax show lacp_port {<portlist>} Description This command will display the LACP mode settings as they are currently configured.
  • Page 416: Link Layer Discovery Protocol (Lldp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual LINK LAYER DISCOVERY PROTOCOL (LLDP) COMMANDS The Link Layer Discovery Protocol (LLDP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 417 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable lldp disable lldp config lldp message_tx_interval <sec 5-32768> config lldp message_tx_hold_multiplier <int 2–10> config lldp tx_delay <sec 1-8192> config lldp reinit_delay <sec 1-10> config lldp notification_interval <sec 5-3600>...
  • Page 418 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable lldp Purpose Used to enable LLDP operation on the Switch. Syntax enable lldp Description This is a global control for the LLDP function. When this function is enabled, the switch can start to transmit LLDP packets and receive and process the LLDP packets.
  • Page 419 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp message_tx_interval Purpose Used to change the packet transmission interval. Syntax config lldp message_tx_interval <sec 5 – 32768> Description This interval controls how often active ports retransmit advertisements to their neighbors.
  • Page 420 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp tx_delay Purpose Used to change the minimum time (delay-interval) LLDP ports will delay in advertising successive LLDP advertisements due to a change in LLDP MIB content. The tx_delay defines the minimum interval between sending of LLDP messages due to constantly change of MIB content.
  • Page 421 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp notification _interval Purpose Used to configure the timer of the notification interval for sending notification to configured SNMP trap receiver(s). Syntax config lldp notification_interval <sec 5 – 3600 >...
  • Page 422 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp ports admin_status Purpose Used to configure per-port transmit and receive modes. Syntax config lldp ports [<portlist>|all] admin_status [tx_only | rx_only | tx_and_rx | disable] Description These options enable the user to control which ports participate in LLDP traffic and whether the participating ports allow LLDP traffic in only one direction or in both directions.
  • Page 423 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable Command: config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable Success. DGS-3627:admin# config lldp ports basic_tlvs Purpose Used to configure an individual port or group of ports to exclude one or more optional TLV data types from outbound LLDP advertisements.
  • Page 424 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp dot1_tlv_pvid Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.1 organization port VLAN ID TLV data types from outbound LLDP advertisements.
  • Page 425 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp dot1_tlv_vlan_name Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.1 organization VLAN name TLV data types from outbound LLDP advertisements.
  • Page 426 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure exclude the protocol identity TLV from the outbound LLDP advertisements for all ports: DGS-3627:admin# config lldp ports all dot1_tlv_protocol_identity all enable Command: config lldp ports all dot1_tlv_protocol_identity all enable Success.
  • Page 427 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp forward_message Purpose Used to configure the forwarding of LLDPDU packets when LLDP is disabled. Syntax config lldp forward_message [enable | disable] Description When LLDP is disabled and LLDP forward_message is enabled, the received LLDPDU packets will be forwarded.
  • Page 428 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lldp mgt_addr Purpose Used to display the LLDP management address information. Syntax show lldp mgt_addr {[ipv4 <ipaddr> | ipv6 <ipv6addr>]} Description Displays the LLDP management address information.
  • Page 429 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show lldp ports 1 Command: show lldp ports 1 Port ID : 1:1 ------------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Disabled Advertised TLVs Option Port Description...
  • Page 430 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show lldp local_ports 1 Command: show lldp local_ports 1 Port ID : 1:1 ---------------------------------------------------------------- Port ID Subtype : Local Port ID : 1/1 Port Description Port PVID...
  • Page 431 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lldp statistics Purpose Used to display the system LLDP statistics information. Syntax show lldp statistics Description The global LLDP statistics displays an overview of neighbor detection activity on the switch.
  • Page 432: Loopback Interface Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual LOOPBACK INTERFACE COMMANDS The Loopback Interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config loopdetect {recover_timer [0 | <sec 60-1000000>] | interval <sec 1-32767>...
  • Page 433 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify VLAN-based mode: DGS-3627:admin# config loopdetect recover_timer 0 interval 20 vlan-based...
  • Page 434 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable loopdetect Command: enable loopdetect Success. DGS-3627:admin# disable loopdetect Purpose This command is used to disable the LBD function globally on the Switch. Syntax disable loopdetect Description This command is used to disable the LBD function globally on the Switch.
  • Page 435 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show loopdetect ports Purpose This command is used to display the LBD per-port configuration. Syntax show loopdetect ports {<portlist>} Description This command is used to display the LBD per-port configuration.
  • Page 436: Loopback Interface Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual LOOPBACK INTERFACE COMMANDS A loopback interface is a logical IP interface which is always active, until you disable or delete it. It is independent of the state of any physical interfaces.
  • Page 437 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config loopback ipif Description Configure the parameters for the loopback interface. For IPv4, only the system interface can be specified for the way to get the IP address.
  • Page 438 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete loopback ipif Description Delete the specified loopback interface. Parameters <ipif_name 12> - The name of the loopback interface. Note: the loopback ipif has the same name domain space with the regular ipif, so its name can’t duplicate with the regular ipif.
  • Page 439: Mac Notification Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MAC NOTIFICATION COMMANDS The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their appropriate parameters. Command Parameters enable mac_notification...
  • Page 440 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable MAC notification without changing basic configuration: DGS-3627:admin# disable mac_notification Command: disable mac_notification Success. DGS-3627:admin# config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification {interval <int 1-2147483647>...
  • Page 441 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-3627:admin# show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings...
  • Page 442 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ----------------------------------------- Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled...
  • Page 443: Mac-Based Access Control Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MAC-BASED ACCESS CONTROL COMMANDS MAC-based Access Control (MAC) is a method to authenticate and authorizes a port/host network access right based on the MAC address on which the user is located rather than user’s identification (e.g. user name and password).
  • Page 444 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable mac_based_access_control disable mac_based_access_control config mac_based_access_control <passwd 16> password config mac_based_access_control [local | radius] method config mac_based_access_control <portlist> guest_vlan ports config mac_based_access_control [<portlist> | all] {state [enable | disable] | mode [port_based | host_based] | ports aging_time [infinite | <min 1-1440>] | [block_time | hold_time ] [infinite|<sec 1-...
  • Page 445 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3627:admin# disable mac_based_access_control Purpose Used to disable MAC-based Access Control. Syntax disable mac_based_access_control Description This command disables the MAC-based Access Control function.
  • Page 446 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control method Description Specify the authentication method used via the local database or via the RADIUS server. Parameters local - Specify to authenticate via the local database.
  • Page 447 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control ports VLAN(s) member ports, and added to MAC-based Access Control guest VLAN member ports. Before the authentication process starts, the user is able to forward traffic under the guest VLAN.
  • Page 448 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_based_access_control ports 1-8 max_users no_limit Command: config mac_based_access_control ports 1-8 max_users no_limit Success. DGS-3627:admin# To configure the MAC-based Access Control timer parameters to have an infinite aging time and a block time of 120...
  • Page 449 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete the MAC-based Access Control guest VLAN called default: DGS-3627:admin# delete mac_based_access_control guest_vlan default Command: delete mac_based_access_control guest_vlan default Success. DGS-3627:admin# clear mac_based_access_control auth_state Purpose Used to clear the clients’...
  • Page 450 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create mac_based_access_control_local Parameters mac - Specify the MAC address that can pass local authentication. vlan - Specify the target VLAN by using the VLAN name. When this host is authorized, it will be assigned to this VLAN.
  • Page 451 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete mac_based_access_control_local Parameters mac - Delete local database entry by specific MAC address. vlan - Delete local database entries by specific target VLAN name. vlanid - Delete local database entries by specific target VLAN ID.
  • Page 452 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_based_access_control authorization attributes local disable Command: config mac_based_access_control authorization attributes local disable Success. DGS-3627:admin# show mac_based_access_control Purpose Used to display the MAC-based Access Control setting. Syntax show mac_based_access_control {ports {<portlist>}}...
  • Page 453 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show the MAC-based Access Control local database: DGS-3627:admin# show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address ----------------- ---- 00-00-00-00-00-01 00-00-00-00-00-02 00-00-00-00-00-03 00-00-00-00-00-04 Total Entries:4 DGS-3627:admin# To show the MAC-based Access Control local database for the MAC address 00-00-00-00-00-01:...
  • Page 454 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Suppose that port 1 is in host based mode: MAC 00-00-00-00-00-01 is authenticated without a VLAN assigned (may be the specified target VLAN does not exist or the target VLAN has not been specified at all), the ID of the RX VLAN will be displayed (RX VLAN ID is 4004 in this example).
  • Page 455 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control max_users This is specified by the config config mac_based_access_control ports max_users command. Parameters <value 1–4000> - Specify to set the maximum number of authorized clients on the whole device.
  • Page 456: Message-Digest Algorithm 5 (Md5) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MESSAGE-DIGEST ALGORITHM 5 (MD5) COMMANDS The Message-Digest algorithm 5 (MD5) configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 457 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Usage example To configure an MD5 Key password: DGS-3627:admin# config md5 key 1 taboo Command: config md5 key 1 taboo Success. DGS-3627:admin# delete md5 key Purpose Used to delete an entry in the MD5 key table.
  • Page 458 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show md5 Command: show md5 MD5 Key Table Configurations Key-ID ------ ---------- dlink develop fireball intelligent Total Entries: 4 DGS-3627:admin#...
  • Page 459: Mirror Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MIRROR COMMANDS The primary purpose of the mirror function is to copy frames transmitted and received on a port and redirect the copies to another port. The application attaches a monitoring device to the mirrored port, such as a sniffer or an RMON probe, to view details about the packets passing through the first port.
  • Page 460 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mirror port portlist - The port that will be mirrored. All packets entering and leaving the source port can be duplicated in the mirror port. rx - Allows the mirroring packets received (flowing into) the port or ports in the port list.
  • Page 461 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable mirror Command: disable mirror Success. DGS-3627:admin# show mirror Purpose Used to show the current ports mirroring configuration on the switch. Syntax show mirror {group_id <value 1-4>}...
  • Page 462 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create mirror group_id 3 Command: create mirror group_id 3 Success. DGS-3627:admin# delete mirror group_id Purpose Used to delete a mirror group on the switch. Syntax delete mirror group_id <value 1-4>...
  • Page 463 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Configure mirror group 2 with state enable and add source ports 1:4-1:9: DGS-3627:admin# config mirror group_id 2 state enable add source ports 1:4-1:9 both Command: config mirror group_id 2 state enable add source ports 1:4-1:9 both Success.
  • Page 464: Mstp Debug Enhancement Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MSTP DEBUG ENHANCEMENT COMMANDS The MSTP Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters debug buffer utilization | dump | clear | upload_toTFTP <ipaddr>...
  • Page 465 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug output Purpose Use the debug output command to specify if the MSTP debug message output should be to the buffer or console. Syntax debug output module mstp [buffer | console] Description Sets if the MSTP debug message output should be set to the buffer or console.
  • Page 466 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp show information Purpose Used to show the STP debug information. Syntax debug stp show information Description This command used to display STP detailed information, such as the hardware tables, the STP state machine, etc.
  • Page 467 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug stp show information Command: debug stp show information Spanning Tree debug information: ---------------------------------------- Port status in hardware table: Instance 0: Port 1 :BLK Port 2 :BLK...
  • Page 468 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp show flag Purpose Used to show the per-port STP debug level. Syntax debug stp show flag {ports <portlist>} Description This command used to display the STP debug level on specified ports.
  • Page 469 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#debug stp show counter ports 9 Command: debug stp show counter ports 9 STP Counters -------------------------------------- Port 9 : Receive: Transmit: Total STP Packets Total STP Packets Configuration BPDU...
  • Page 470 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp state Parameters state - See below: enable - Enable the STP debug state. disable - Disable the STP debug state. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 471: Igmp Snooping Multicast (Ism) Vlan Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IGMP S (ISM) VLAN C NOOPING ULTICAST OMMANDS The IGMP Snooping Multicast (ISM) VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 472 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an IGMP snooping multicast VLAN with the VLAN name mv1 and the VID 2: DGS-3627:admin# create igmp_snoop multicast_vlan mv1 2 Command: create igmp_snoop multicast_vlan mv1 2 Success.
  • Page 473 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config igmp_snooping multicast_vlan v1 member_port 2:1,2:3 state enable Command: config igmp_snooping multicast_vlan v1 member_port 2:1,2:3 state enable Success. DGS-3627:admin# config igmp_snooping multicast_vlan_group Purpose Used to configure the IGMP multicast groups learned with the specified multicast VLAN.
  • Page 474 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping multicast_vlan_group Command: show igmp_snooping multicast_vlan_group Multicast VLAN : mv1 Name From ---- ------------------------------------ --------------- --------------- accounting 224.19.62.34 224.19.62.200 DGS-3627:admin# delete igmp_snooping multicast_vlan Purpose Used to delete an IGMP snooping multicast VLAN.
  • Page 475 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan VLAN Name : test : 100 Member(Untagged) Ports Tagged Member Ports Source Ports Source(Untagged) Ports Status : Disabled Replace Source IP : 0.0.0.0...
  • Page 476: Multiple Spanning Tree Protocol (Mstp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual MULTIPLE SPANNING TREE PROTOCOL (MSTP) COMMANDS This Switch supports three versions of the Spanning Tree Protocol; 802.1D STP, 802.1D 2004 RSTP, 802.1Q 2005 MSTP. Multiple Spanning Tree Protocol, or MSTP, is a standard defined by the IEEE community that allows multiple VLANs to be mapped to a single spanning tree instance, which will provide multiple pathways across the network.
  • Page 477 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters show stp show stp instance <value 0-15> show stp ports {<portlist>} show stp mst_config_id create stp instance_id <value 1-15> delete stp instance_id <value 1-15> config stp instance_id <value 1-15>...
  • Page 478 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stp Command: show stp STP Bridge Global Settings ----------------------------- STP Status : Enabled STP Version : MSTP Max Age : 20 Forward Delay : 15 Max Hops...
  • Page 479 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show stp ports Purpose Used to show the port information includes parameters setting and operational value. Syntax show stp ports {<portlist>} Description This command displays each port's parameters settings. If not input the portlist, all ports will be shown .
  • Page 480 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stp mst_config_id Command: show stp mst_config_id Current MST Configuration Identification ---------------------------------------- Configuration Name : 00-22-22-22-22-00 Revision Level :0 MSTI ID Vid list ------- ----------- CIST 1-4094...
  • Page 481 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete stp instance_id 2 Command: delete stp instance_id 2 Success. DGS-3627:admin# config stp instance_id Purpose To map or remove the VLAN range of the specified MST instance for the existed MST Instances.
  • Page 482 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To change the name and revision level of the MST configuration Identification: DGS-3627:admin# config stp mst_config_id name R&D_BlockG revision_level 1 Commands: config stp mst_config_id name R&D_BlockG revision_level 1 Success.
  • Page 483 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stp version Purpose Used to enable STP globally. Syntax config stp version [mstp | rstp | stp] Description If version is configured as stp or rstp, all currently running MSTIs should be disabled. For version is configured as mstp, current design is enabled all available MSTIs (assume that CIST is enabled).
  • Page 484 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config stp priority 61440 instance_id 0 Command: config stp priority 61440 instance_id 0 Success. DGS-3627:admin# config stp Purpose Used to configure the bridge management parameters for CIST (instance_id = 0).
  • Page 485 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stp ports per-Port parameter in MSTP. migrate - Operation of management in order to specify the port to send MSTP BPDU for a delay time. edge - To decide if this port is connected to a LAN or a Bridged LAN. In auto mode, the bridge will delay for a period to become edge port if no bridge BPUD is received.
  • Page 486 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config stp mst_ports: DGS-3627:admin# config stp mst_ports 1 instance_id 0 internal_cost auto Command: config stp mst_ports 1 instance_id 0 internal_cost auto Success. DGS-3627:admin#...
  • Page 487: Network Load Balancing (Nlb) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual NETWORK LOAD BALANCING (NLB) COMMANDS The NLB indicates the Network Load Balancing: it is a MAC forwarding control for supporting Microsoft’s Network Load Balancing technique. The Network Load Balancing (NLB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 488 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete nlb multicast_fdb Syntax delete nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] <macaddr> Description The delete nlb multicast_fdb command is used to delete the NLB multicast FDB entry.
  • Page 489 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the NLB forwarding table: DGS-3627:admin# show nlb fdb Command: show nlb fdb MAC Address VLAN ID Egress Ports ----------------- ---------- ---------------------------------- 03-bf-01-01-01-01 1:1-1:5,1:26,2:26 03-bf-01-01-01-01 1:1-1:5,1:26,2:26 Total Entries : 2...
  • Page 490: Open Shortest Path First (Ospfv3) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual OPEN SHORTEST PATH FIRST (OSPFV3) COMMANDS The Open Shortest Path First (OSPFv3) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 491 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 router_id Parameters router_id - User may enter a 32-bit number in the form of an IPv4 address that uniquely identifies the router in the OSPFv3 domain. Set 0.0.0.0 means auto-selected. Switch will select the largest IPv4 address among the IP interfaces to be the router ID.
  • Page 492 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ospfv3 Command: disable ospfv3 Success. DGS-3627:admin# show ospfv3 Purpose Used to display the OSPFv3 configurations or OSPFv3 interfaces information. Syntax show ospfv3 {[ipif <ipif_name 12> | all]}...
  • Page 493 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospfv3 area enable - Import inter-area prefix LSA into this stub area. disable - Do not import inter-area prefix LSA into this stub area. metric - Specifies the default cost of OSPFv3 stub area. The range of value is 0 to 65535.
  • Page 494 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 area that uniquely identifies the OSPFv3 area in the OSPFv3 domain. type - The OSPFv3 area mode of operation. There are two types: normal - Define the OSPFv3 area created as a normal area.
  • Page 495 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 area Command: show ospfv3 area OSPFv3 Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost --------------- ------ ----------------------- ----------------- 0.0.0.0 Normal None None 2.2.2.2...
  • Page 496 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ospfv3 aggregation Syntax delete ospfv3 aggregation <area_id> <ipv6networkaddr> Description This command is used to delete an OSPFv3 area aggregation. <area_id> - Specify the area where the aggregation belongs to.
  • Page 497 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 aggregation Parameters <area_id> - If it is set, only the aggregations that belong to this area will be displayed. If it is not set, all aggregations will be displayed.
  • Page 498 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 lsdb Restrictions None. Example usage: To display OSPFv3 LSDB: DGS-3627:admin# show ospfv3 lsdb Command: show ospfv3 lsdb Router LSA (Area 0.0.0.0) Link State ID ADV Router...
  • Page 499 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 neighbor Command: show ospfv3 neighbor Router ID of Interface Neighbor Neighbor Neighbor Name Priority State --------------- ------------ -------- ------------- 10.10.10.10 System Full 20.20.20.20 Full Total Entries: 2 DGS-3627:admin# show ospfv3 neighbor 10.10.10.10 ipif System...
  • Page 500 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 virtual_neighbor Command: show ospfv3 virtual_neighbor Transit Router ID Of Virtual Neighbor Area ID Virtual Neighbor State --------------- ---------------- ---------------- 1.1.1.1 30.30.30.30 Full Total Entries: 1 DGS-3627:admin# show ospfv3 virtual_neighbor 6.6.6.6 20.20.20.20...
  • Page 501 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure OSPFv3 interface: DGS-3627:admin# config ospfv3 ipif System area 0.0.0.0 priority 100 hello_interval 20 dead_interval 60 instance 1 metric 20 state enable passive disable Command: config ospfv3 ipif System area 0.0.0.0 priority 100 hello_interval 20 dead_interval 60 instance 1 metric 20 state enable passive disable Success.
  • Page 502 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 virtual_link <neighbor_id> - A 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 virtual neighbor in the OSPFv3 domain. hello_interval - Allows the specification of the interval between the transmission of OSPFv3 Hello packets, in seconds.
  • Page 503 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 virtual_link Syntax show ospfv3 virtual_link {<area_id> <neighbor_id>} Description This command is used to display OSPFv3 virtual link configuration. If no parameters are set, all virtual links will be displayed.
  • Page 504: Ospf Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual OSPF COMMANDS The OSPF commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ospf router_id <ipaddr>...
  • Page 505 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. config ospf router_id Purpose Used to configure the OSPF router ID. Syntax config ospf router_id <ipaddr> Description This command is used to configure the OSPF router ID.
  • Page 506 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Usage example To disable OSPF on the Switch: DGS-3627:admin# disable ospf Command: disable ospf Success. DGS-3627:admin# show ospf Purpose Used to display the current OSPF state on the Switch.
  • Page 507 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf Command: show ospf OSPF Router ID : 10.90.90.90 (Auto selected) State : Disabled OSPF Interface Settings Interface IP Address Area ID State Link Metric Status...
  • Page 508 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create an OSPF area: DGS-3627:admin# create ospf area 10.48.74.122 type normal Command: create ospf area 10.48.74.122 type normal Success. DGS-3627:admin# To create an OSPF NSSA area: DGS-3627:admin# create ospf area 11.1.1.1 type nssa translate enable metric 5 stub_summary enable Command: create ospf area 11.1.1.1 type nssa translate enable metric 5 stub_summary...
  • Page 509 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf area • nssa – Choosing this parameter will define the OSPF area configured here as an NSSA (Not So Stubby Area) area. • translate [enable | disable] – Enable this parameter to translate Type-7 LSAs into Type-5 LSAs, so that they can be distributed outside of the NSSA.
  • Page 510 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospf host_route Purpose Used to configure OSPF host route settings. Syntax create ospf host_route <ipaddr> {area <area_id> | metric <value 1-65535>} Description This command is used to configure the OSPF host route settings.
  • Page 511 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf host_route Restrictions Only Administrator and Operator-level users can issue this command. Usage example To configure an OSPF host route: DGS-3627:admin# config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2...
  • Page 512 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospf aggregation • advertise [enable | disable] − Allows for the advertisement trigger to be enabled or disabled. • nssa_ext – Choosing this LSDB type will summarize routes that are entering the OSPF NSSA from an external source.
  • Page 513 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf aggregation <area_id> − A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies Parameters the OSPF area in the OSPF domain. <network_address> − The 32-bit number in the form of an IP address that uniquely identifies the network that corresponds to the OSPF Area.
  • Page 514 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 10.1.1.1 10.0.0.0/8 Summary Enabled 244.0.0.6...
  • Page 515 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospf neighbor Purpose Used to display the current OSPF neighbor router table. Syntax show ospf neighbor {<ipaddr>} Description This command will display the current OSPF neighbor router table.
  • Page 516 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf ipif Purpose Used to configure the OSPF interface settings. Syntax config ospf [ipif <ipif_name 12> | all] {area <area_id> | priority <value> | hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>] | metric <value 1-65535>...
  • Page 517 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospf ipif Description This command will display the current OSPF interface settings for the specified interface name. <ipif_name 12> − The IP interface name for which to display the current OSPF interface Parameters settings.
  • Page 518 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf all Command: show ospf all Interface Name: System IP Address: 10.90.90.90/8 (Link Up) Network Medium Type: BROADCAST Metric: 1 Area ID: 0.0.0.0 Administrative State: Disabled...
  • Page 519 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf virtual_link Purpose Used to configure the OSPF virtual interface settings. Syntax config ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]}(1)
  • Page 520 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete ospf virtual_link 10.1.1.2 20.1.1.1 Command: delete ospf virtual_link 10.1.1.2 20.1.1.1 Success. DGS-3627:admin# show ospf virtual_link Purpose Used to display the current OSPF virtual interface configuration. Syntax show ospf virtual_link {<area_id>...
  • Page 521: Ospf Debug Enhancement Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual OSPF DEBUG ENHANCEMENT COMMANDS The OSPF Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters...
  • Page 522 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show the current OSPF debug flag setting: DGS-3627:admin# debug ospf show flag Command: debug ospf show flag Current OSPF Flags Setting: Neighbor State Change Interface State Change...
  • Page 523 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf interface_state_change change. Parameters dr_bdr_selection - Used to include or exclude debug information for DR/BDR selection. state - The state of the OSPF interface state change debug.
  • Page 524 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf packet sending - Set packet sending debug flag. state - The state of the designated debug flag. Restrictions Only Administrator level users can issue this command.
  • Page 525 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable all OSPF SPF debug flags: DGS-3627:admin# debug ospf spf all state enable Command: debug ospf spf all state enable Success. DGS-3627:admin# debug ospf route Purpose Used to enable or disable debug information flags about OSPF route adding, modifying, and deleting.
  • Page 526 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf virtual_link Purpose Used to enable or disable debug information flags about virtual link. Syntax debug ospf route virtual_link state [enable | disable] Description This command is used to enable or disable debug information flags about virtual link.
  • Page 527 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf timer state enable Command: debug ospf timer state enable Success. DGS-3627:admin# debug ospf show counter Purpose Used to display OSPF statistic counters. Syntax debug ospf show counter {packet | neighbor | spf} Description This command is used to display OSPF statistic counters.
  • Page 528 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf clear counter Purpose Used to reset OSPF statistic counters. Syntax debug ospf clear counter {packet | neighbor | spf} Description This command is used to reset OSPF statistic counters.
  • Page 529 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf show redistribution Purpose Used to display the current internal OSPF redistribute list. This command can be used if the external route advertising is not correct. Syntax...
  • Page 530 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show summary_list Command: debug ospf show summary_list OSPF Summary List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 1.1.1.1 RTID: 1.1.1.1 Circuit: 2.2.2.1 Circuit: 10.1.1.6...
  • Page 531 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail rt_link Command: debug ospf show detail rt_link OSPF Phase2 RT Link: =========== AREA 0.0.0.0: Router LSA: Link-State ID: 1.1.1.1 Advertising Router: 1.1.1.1 LS Age: 10 Seconds Options: 0x2 ..
  • Page 532 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail net_link Command: debug ospf show detail net_link OSPF Phase2 NET Link: =========== AREA 0.0.0.0: Network LSA: Link-State ID: 10.90.90.123 Netmask: 255.0.0.0 Advertising Router: 10.90.90.91...
  • Page 533 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail summary_link Command: debug ospf show detail summary_link OSPF Phase2 Summary Link: =========== AREA 0.0.0.0: Summary LSA: Link-State ID: 20.1.1.0 Advertising Router: 10.90.90.91 LS Age: 10 Seconds Options: 0x2 ..
  • Page 534 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail external_link Command: debug ospf show detail external_link OSPF Phase2 External Link: =========== AREA 0.0.0.0: AS-External LSA: Link-State ID: 192.168.205.0 Advertising Router: 1.1.1.1 LS Age: 10 Seconds Options: 0x2 ..
  • Page 535 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail type7_link Command: debug ospf show detail type7_link OSPF Phase2 NSSA-External Link: =========== AREA 0.0.0.1: NSSA-External LSA: Link-State ID: 0.0.0.0 Advertising Router: 10.90.90.91 LS Age: 855 Seconds Options: 0x2 ..
  • Page 536 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf log state Purpose Used to enable or disable the debug OSPF log. Syntax debug ospf log state [enable | disable] Description This command is used to enable or disable the debug OSPF log.
  • Page 537 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf state enable Command: debug ospf state enable Success. DGS-3627:admin# debug ospf show flag Command: debug ospf show flag Current OSPF Flags Setting: Neighbor State Change...
  • Page 538: Password Encryption Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual PASSWORD ENCRYPTION COMMANDS The Password Encryption commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable password encryption...
  • Page 539 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable password encryption reverted to the plaintext. Parameters None. Restrictions Only Administrator can issue this command. Example usage: To disable the password encryption: DGS-3627:admin# disable password encryption Command: disable password encryption Success.
  • Page 540 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config account Purpose Used to configure user accounts. Syntax config account <username> {encrypt [plain_text| sha_1] <password>} Description When the password information is not specified in the command, the system will prompt the user to input the password interactively.
  • Page 541 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show account Command: show account Current Accounts: Username Access Level --------------- ------------ System User dlink Admin Total Entries : 2 DGS-3627:admin# delete account Purpose Used to delete an existing account.
  • Page 542: Ping Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual PING COMMANDS The Ping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> | source_ip <ipaddr>}...
  • Page 543 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ping 10.51.17.1 times 4 Command: ping 10.51.17.1 times 4 Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Reply from 10.51.17.1, time<10ms Ping Statistics for 10.51.17.1...
  • Page 544 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ping6 size - Specify the size of the test packet. timeout - Specify the time-out period while waiting for a response from the remote device. A value of 1 to 10 seconds can be specified. The default is 1 second.
  • Page 545 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable broadcast_ping_reply Command: enable broadcast_ping_reply Success. DGS-3627:admin# disable broadcast_ping_reply Purpose Used to disable the broadcast ping reply state. Syntax disable broadcast_ping_reply Description The device won’t reply to the broadcast ping request.
  • Page 546: Policy Route Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual POLICY ROUTE COMMANDS Policy Based routing is a method used by the Switch to give specified devices a cleaner path to the Internet. Used in conjunction with the Access Profile feature, the Switch will identify traffic originating from a specified IP address and forward it on to a next hop router that has a less congested connection to the Internet than the normal routing scheme of your network.
  • Page 547 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create policy_route name manager Command: create policy_route name manager Success. DGS-3627:admin# config policy_route Purpose Used to configure the parameters to set the policy route on the Switch.
  • Page 548 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete the policy route name “manager”: DGS-3627:admin# delete policy_route name manager Command: delete policy_route name manager Success. DGS-3627:admin# show policy_route Purpose Used to display policy route settings.
  • Page 549: Port Security Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual PORT SECURITY COMMANDS The primary purpose of port security function is to restrict the access to a switch port to a number of authorized users. If an unauthorized user tries to access a port-security enabled port, the system will block the access by dropping its packet.
  • Page 550 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config port security setting: DGS-3627:admin# config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode Permanent Command: config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode Permanent Success.
  • Page 551 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear port_security_entry port 1:6 Command: clear port_security_entry port 1:6 Success. DGS-3627:admin# show port_security Purpose This command is to used to display port security configuration. Syntax show port_security {ports <portlist>} Description The show port_security command displays the port security related information.
  • Page 552: Protocol Independent Multicast (Pim) Commands

    PIM or Protocol Independent Multicast is a method of forwarding traffic to multicast groups over the network using any pre-existing unicast routing protocol, such as RIP or OSPF, set on routers within a multicast network. The xStack® DGS- 3600 Series supports three types of PIM, Dense Mode (PIM-DM), Sparse Mode (PIM-SM), and Sparse and Dense Mode (PIM-SM-DM).
  • Page 553 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Multicast sources do not always join the intended receiver group. The first hop router (DR) can send multicast data without being the member of a group or having a designated source, which essentially means it has no information about how to relay this information to the RP distribution tree.
  • Page 554 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable pim disable pim config pim [[ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> | state [enable | disable] | mode [dm | sm | sm-dm] | dr_priority <unit 0 –...
  • Page 555 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable pim Command: enable pim Success. DGS-3627:admin# disable pim Purpose Used to disable PIM function on the Switch. Syntax disable pim Description This command will disable PIM for the Switch. Any previously configured PIM settings will remain unchanged and may be enabled at a later time with the enable pim command.
  • Page 556 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim Purpose Used to configure the parameters for the PIM protocol. Syntax config pim [[ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> | state [enable | disable] | mode [dm | sm| sm-dm] | dr_priority <unit 0 –...
  • Page 557 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create pim crp Purpose To enable the Switch to become a candidate to be the Rendezvous Point (RP). Syntax create pim crp group <network_address> rp <ipif_name 12> Description This command will set the parameters for the switch to become a candidate RP.
  • Page 558 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim crp Purpose To configure the Candidate RP settings that will determine the RP. Syntax config pim crp {holdtime <value 0-255> | priority <value 0-255> | wildcard_prefix_cnt [0 |...
  • Page 559 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create pim static_rp group 231.0.0.1/32 rp 11.1.1.1 Command: create pim static_rp group 231.0.0.1/32 rp 11.1.1.1 Success. DGS-3627:admin# delete pim static_rp Purpose To remove the multicast group IP address used in identifying the Rendezvous Point (RP).
  • Page 560 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim static_rp Command: show pim static_rp PIM Static RP Table Group RP Address ------------------ -------------------- 224.0.0.0/4 11.1.1.254 239.0.0.1/32 31.1.1.1 239.0.0.2/32 31.1.1.12 239.0.0.3/32 31.1.1.123 Total entries: 4...
  • Page 561 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim rpset Command: show pim rpset PIM RP-Set Table Bootstrap Router: 12.43.51.81 Group Address RP Address Holdtime Expired Time Type ---------------- --------------- ------------ -------------- ----------- 224.0.0.0/4 31.43.51.81...
  • Page 562 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim cbsr Purpose Used to configure the settings for the Candidate Bootstrap Router and the priority of the selected IP interface to become the Boot Strap Router (BSR) for the PIM-SM network domain.
  • Page 563 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config pim cbsr bootstrap_period 60 Command: config pim cbsr bootstrap_period 60 Success. DGS-3627:admin# show pim cbsr Purpose Used to display the Candidate BSR settings of the switch, along with CBSR parameters configured for the Switch.
  • Page 564 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim Command: show pim PIM Global State : Enabled Last Hop SPT Switchover : Never Register Probe Time Register Suppression Time : 60 PIM Interface Table...
  • Page 565 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show pim ipmroute Purpose Used to display the PIM IP Multicast Route Table on the Switch. Syntax show pim ipmroute Description This command will display the PIM IP Multicast Route Table on the Switch. This command is for PIM-SM configurations only.
  • Page 566 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an RP to which the Switch will send Register packets to and create checksums to be included with the data in Registered packets: DGS-3627:admin# create pim register_checksum_include_data rp_address 11.1.1.1...
  • Page 567 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim register_checksum_include_data_rp_list Command: show pim register_checksum_include_data_rp_list PIM Register Checksum Include Data RP Address ------------------------------------------- 11.1.1.1 Total Entries: 1 DGS-3627:admin#...
  • Page 568: Protocol Vlan Group Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual PROTOCOL VLAN GROUP COMMANDS For bridges that implement Port-and-Protocol-based VLAN classification, the VID associated with an Untagged or Priority-tagged Frame is determined based on the Port of arrival of the frame into the bridge and on the protocol identifier of the frame.
  • Page 569 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create dot1v_protocol_group group_id 1 Command: create dot1v_protocol_group group_id 1 Success. DGS-3627:admin# config dot1v_protocol_group Purpose Used to configure the parameters for a protocol VLAN group. Syntax config dot1v_protocol_group group_id <id> [add | delete] protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value>...
  • Page 570 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete dot1v_protocol_group Purpose Used to delete a protocol VLAN group. Syntax delete dot1v_protocol_group group_id <id> Description This command will delete a protocol VLAN group. group_id <id> − Enter an integer from 1 to 16 to identify the protocol VLAN group being deleted Parameters here.
  • Page 571 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config port dot1v Purpose Used to bind a VLAN with a protocol template on one or more ports. Syntax config port dot1v ports [<portlist> | all] [add protocol_group group_id <id> [vlan <...
  • Page 572 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show port dot1v ports 1:6-1:8 Command: show port dot1v ports 1:6-1:8 Port: 1:6 Protocol Group ID VLAN Name ------------------------- ---------------- building1 Port: 1:7 Protocol Group ID VLAN Name...
  • Page 573: Quality Of Service (Qos) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual QUALITY OF SERVICE (QOS) COMMANDS The Switch supports 802.1p priority queuing. The Switch has seven configurable priority queues. These priority queues are numbered from 6 (Class 6) — the highest priority queue — to 0 (Class 0) — the lowest priority queue. The eight priority tags specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows:...
  • Page 574 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config bandwidth_control [ <portlist>| all] {rx_rate [no_limit | <value 64-10000000>] | tx_rate [ no_limit | <value 64-10000000>]} show bandwidth_control {<portlist>} config scheduling {ports [<portlist> | all ]} <class_id 0-6> [max_packet <value 0-15>] config scheduling_mechanism {ports [<portlist>...
  • Page 575 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bandwidth_control minimum granularity) * minimal granularity Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the transmit bandwidth rate on port 1:1-1:10 to be 100 Kbits/sec:...
  • Page 576 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bandwidth_control 1:1-1:10 Command: show bandwidth_control 1:1-1:10 Bandwidth Control Table Port RX Rate TX Rate Effective RX Effective TX (Kbit/sec) (Kbit/sec) (Kbit/sec) (Kbit/sec) ---- ---------- ------------- ------------...
  • Page 577 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config scheduling_mechanism Description There are two sets of commands that the project can be choose to implement. If the project only supports the scheduling mechanism to be set globally, the portlist parameter will not be supported.
  • Page 578 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#show scheduling 1:1 Command: show scheduling 1:1 QOS Output Scheduling On Port: 1:1 Class ID MAX. Packets -------- ------ Class-0 Class-1 Class-2 Class-3 Class-4 Class-5 Class-6 DGS-3627:admin# show scheduling_mechanism Purpose Used to show the traffic scheduling mechanism.
  • Page 579 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1p user_priority class_id - The number of the switch’s hardware priority queue. The switch has 7 hardware priority queues available. They are numbered between 0 (the lowest priority) and 6 (the highest priority).
  • Page 580 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1p default_priority will be used to determine the hardware priority queues that the packet will be forwarded to. Parameters portlist - This specifies the range of ports, which require the default priority settings configured on.
  • Page 581 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show 802.1p default_priority 1:1-1:10 Command: show 802.1p default_priority 1:1-1:10 Port Priority Effective Priority ---- ----------- ------------------ 1:10 DGS-3627:admin# enable hol_prevention Purpose Used to enable HOL prevention. Syntax...
  • Page 582 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable hol_prevention Command: disable hol_prevention Success. DGS-3627:admin# show hol_prevention Purpose Use to show the HOL prevention state. Syntax show hol_prevention Description The show hol_prevention command displays the head of line prevention state on the switch.
  • Page 583 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config per_queue bandwidth_control If the specified rate does not have multiple of minimum granularity, the rate will be adjusted: Actual rate = (inputted rate/ minimum granularity) * minimal granularity.
  • Page 584 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show per_queue bandwidth_control 1:10 Command: show per_queue bandwidth_control 1:10 Queue Bandwidth Control Table On Port: 1:10 Queue Min_Rate (64Kbit/sec) Max_Rate (64Kbit/sec) ---- --------------------- ---------------------- no_limit no_limit no_limit...
  • Page 585 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable cpu_rx_rate_control Command: enable cpu_rx_rate_control Success. DGS-3627:admin# show cpu_rx_rate_control Purpose Used to show current settings of CPU receiving rate control. Syntax show cpu_rx_rate_control Description Used to show current settings of CPU receiving rate control.
  • Page 586: Remote Copy Protocol (Rcp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual REMOTE COPY PROTOCOL (RCP) COMMANDS RCP is a UNIX Remote Shell service which allows files to be copied between a server and client. RCP is an application that operates above the TCP protocols, and uses port number 514 as the TCP destination port.
  • Page 587 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rcp server username - The remote user name for logging into the global RCP Server. By default, the global server’s remote user name is unspecified. both - Both the RCP Server IP address and remote user name.
  • Page 588 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show rcp server Syntax show rcp server Description This command displays the global RCP server information. Parameters None. Restrictions Only Administrator level users can issue this command. Example usage:...
  • Page 589 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download firmware_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-3627.had Command: download firmware_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS- 3627.had Connecting to server....Done. Download firmware...... Done. Do not power off! Please wait, programming flash..
  • Page 590 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To download firmware from RCP using global configured server: DGS-3627:admin# download firmware_fromRCP src_file /home/DGS-3627.had dest_file RUN26B18.had boot_up Command: download firmware_fromRCP src_file /home/DGS-3627.had dest_file RUN26B18.had boot_up Using RCP Server IP: 172.18.212.106...
  • Page 591 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download firmware_fromRCP src_file DGS-3627.had Command: download firmware_fromRCP src_file DGS-3627.had Using RCP Server IP: 172.18.212.106 Using RCP Server Username : rcp_user Connecting to server....Done. Download firmware...... Done.
  • Page 592 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload firmware_toRCP rcp: rcp_user@10.1.1.1/home/rcp_user/DGS-3627- uploaded.had Command: upload firmware_toRCP rcp: rcp_user@10.1.1.1/home/rcp_user/ DGS-3627- uploaded.had Connecting to server....Done. Upload firmware......Done. DGS-3627:admin# To upload firmware on a switch that supports a file system: DGS-3627:admin# upload firmware_toRCP rcp: rcp_user@172.18.212.106 DGS-3627-R26B18.had...
  • Page 593 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-3627.cfg Command: download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS- 3627.cfg Connecting to server....…. Done. Download configuration....Done. DGS-3627:admin# To download a configuration using an RCP string: DGS-3627:admin# download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/DGS-3627.cfg...
  • Page 594 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toRCP Note: No SPACES are allowed in the whole <string>. filter_string - A filter string is enclosed by the “symbol. Therefore, the filter string itself cannot contain the “character. The filter string is case sensitive.
  • Page 595 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To upload the log from the device to an RCP server: DGS-3627:admin# upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS- XXXX.log Command: upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-3627.log Connecting to server...
  • Page 596 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload attack_log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-XXXX.alog unit 2 Command: upload attack_log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS- XXXX.alog unit 2 Connecting to server...Done. Upload attack log..Done. DGS-3627:admin# To upload the attack log from the device to an RCP server using an RCP string: DGS-3627:admin# upload attack_log_toRCP rcp: rcp_user@172.18.212.104/home/DGS-XXXX.alog...
  • Page 597: Remote Switched Port Analyzer (Rspan) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual REMOTE SWITCHED PORT ANALYZER (RSPAN) COMMANDS The Remote Switched Port Analyzer (RSPAN) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 598 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable rspan Command: enable rspan Success. DGS-3627:admin# disable rspan Purpose Used to disable the RSPAN globally. Syntax disable rspan Description This command controls the RSPAN function. Parameters None.
  • Page 599 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create rspan vlan vlan_id 3 Command: create rspan vlan vlan_id 3 Success. DGS-3627:admin# delete rspan vlan Purpose Used to delete an RSPAN VLAN. Syntax delete rspan vlan [vlan_name <vlan_name> | vlan_id <value 1-4094>] Description This command is used to delete RSPAN VLANs.
  • Page 600 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rspan vlan source tx - Only monitor egress packets. both - Monitor both ingress and egress packets. mirror_group_id - The mirror group identify that specify which mirror session used for RSPAN source function.
  • Page 601 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rspan vlan redirect The redirect function will only work when RSPAN is enabled. Multiple RSPAN VLANs can be configured with the redirect setting at the same time.
  • Page 602 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Display all settings: DGS-3627:admin# show rspan Command: show rspan RSPAN: Enabled RSPAN VLAN ID: 1 -------------------- Mirror Group ID Target Port : 1:1 Source Ports RSPAN VLAN ID: 2...
  • Page 603: Ripng Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual RIPNG COMMANDS The RIPng commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable ripng disable ripng show ripng {ipif <ipif_name 12>}...
  • Page 604 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable ripng Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable RIPng globally: DGS-3627:admin# disable ripng Command: disable ripng Success. DGS-3627:admin# show ripng Purpose This command is used to display the RIPng state on all or specified interfaces.
  • Page 605 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ripng garbage_collection - The value (in seconds) of the garbage-collection timer. method - See below: no_horizon - Configured to not use any horizon. split_horizon - Configured to use basic split horizon. This is the default setting.
  • Page 606 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ripng state Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable RIPng debug globally: DGS-3627:admin# debug ripng state enable Command: debug ripng state enable Success.
  • Page 607 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ripng flag disable - Disable the designated flags. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the ripng interface debug: DGS-3627:admin# debug ripng interface state enable Command: debug ripng interface state enable Success.
  • Page 608: Routing Information Protocol (Rip) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ROUTING INFORMATION PROTOCOL (RIP) COMMANDS The Routing Information Protocol (RIP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 609 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config rip ipif System rx_mode v1_only Command: config rip ipif System rx_mode v1_only Success. DGS-3627:admin# enable rip Purpose Used to enable RIP. Syntax enable rip Description This command is used to enable RIP on the Switch.
  • Page 610 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show rip Purpose Used to display the RIP configuration and statistics for the Switch. Syntax show rip {ipif <ipif_name 12>} Description This command will display the RIP configuration and statistics for a given IP interface or for all IP interfaces.
  • Page 611: Safeguard Engine Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SAFEGUARD ENGINE COMMANDS Periodically, malicious hosts on the network will attack the Switch by utilizing packet flooding (ARP Storm) or other methods. These attacks may increase the CPU utilization beyond its capability. To alleviate this problem, the Safeguard Engine function was added to the Switch’s software.
  • Page 612 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config safeguard_engine Purpose To config ARP storm control for system. Syntax config safeguard_engine {state [enable | disable] | utilization {rising <value 20- 100> | falling <value 20-100>} | trap_log [enable | disable] | mode [strict | fuzzy]}...
  • Page 613 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the safeguard engine status: DGS-3627:admin# show safeguard_engine Command: show safeguard_engine Safeguard Engine State Disabled Safeguard Engine Current Status Normal Mode ======================================================= CPU Utilization Information: Rising Threshold...
  • Page 614: Secure Shell (Ssh) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SECURE SHELL (SSH) COMMANDS The steps required to use the Secure Shell (SSH) protocol for secure communication between a remote PC (the SSH Client) and the Switch (the SSH Server), are as follows: •...
  • Page 615 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ssh algorithm Parameters 3DES - Specify ssh server encryption algorithm. blowfish - Specify ssh server encryption algorithm. AES(128,192,256) - Specify ssh server encryption algorithm. arcfour - Specify ssh server encryption algorithm.
  • Page 616 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssh algorithm Command: show ssh algorithm Encryption Algorithm 3DES : Enabled AES128 : Enabled AES192 : Enabled AES256 : Enabled Arcfour : Enabled Blowfish : Enabled...
  • Page 617 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show user authentication method: DGS-3627:admin# show ssh authmode Command: show ssh authmode The SSH authmode Password : Enabled Publickey : Enabled Hostbased : Enabled DGS-3627:admin#...
  • Page 618 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssh user authmode Command: show ssh user authmode Current Accounts Username Authenticaiton ------------- ------------- test publickey Total Entries : 1 DGS-3627:admin# config ssh server Purpose Used to configure the SSH server.
  • Page 619 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable ssh Command: enable ssh Success. DGS-3627:admin# disable ssh Purpose Used to disable the SSH server service. Syntax disable ssh Description The disable ssh command disables ssh server services.
  • Page 620: Secure Sockets Layer (Ssl) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SECURE SOCKETS LAYER (SSL) COMMANDS Secure Sockets Layer or SSL is a security feature that will provide a secure communication path between a host and client through the use of authentication, digital signatures and encryption. These security functions are implemented...
  • Page 621 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable ssl Purpose To enable the SSL function on the Switch. Syntax enable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} Description This command will enable SSL on the Switch by implementing any one or combination of listed ciphersuites on the Switch.
  • Page 622 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable ssl Purpose To disable the SSL function on the Switch. Syntax disable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} Description This command will disable SSL on the Switch and can be used to disable any one or combination of listed ciphersuites on the Switch.
  • Page 623 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the SSL cachetimeout for 7200 seconds: DGS-3627:admin# config ssl cachetimeout 7200 Command: config ssl cachetimeout 7200 Success. DGS-3627:admin# show ssl cachetimeout Purpose Used to show the SSL cache timeout.
  • Page 624 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssl Command: show ssl SSL status Disabled RSA_WITH_RC4_128_MD5 Enabled RSA_WITH_3DES_EDE_CBC_SHA Enabled DHE_DSS_WITH_3DES_EDE_CBC_SHA Enabled RSA_EXPORT_WITH_RC4_40_MD5 Enabled DGS-3627:admin# Example usage: To view certificate file information on the Switch:...
  • Page 625: Sflow Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SFLOW COMMANDS sFlow is a feature that allows users to monitor network traffic running through the switch to identify network problems through packet sampling and packet counter information of the Switch. The Switch itself is the sFlow agent where packet data is retrieved and sent to an sFlow Analyzer where it can be scrutinized and utilized to resolve the problem.
  • Page 626 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create sflow flow_sampler Syntax create sflow flow_sampler ports [<portlist> | all] analyzer_server_id < value 1-4> {rate <value 0-65535> | tx_rate <value 0-65535> | maxheadersize <value 18-256> Description Used to create the sFlow flow_sampler. By configuring the sampling function for a port, a sample packet received by this port will be encapsulated and forwarded to analyzer server at the specified interval.
  • Page 627 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete sflow flow_sampler Purpose Used to delete the sFlow flow_sampler. Syntax delete sflow flow_sampler ports [<portlist> | all] Description Used to delete the sFlow flow_sampler. Parameters ports - Specifies the list of ports to be configured.
  • Page 628 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config sflow counter_poller Parameters interval - The maximum number of seconds between successive samples of the counters. If set it 0, the counter-sample is disabled. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 629 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create sflow analyzer_server maxdatagramsize - The maximum number of data bytes that can be packed in a single sample datagram. If not specified, the default value is 1400.
  • Page 630 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete sflow_analyzer_server Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete the analyzer_server: DGS-3627:admin# delete sflow analyzer_server 1 Command: delete sflow analyzer_server 1 Success.
  • Page 631 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable sflow Command: disable sflow Success. DGS-3627:admin# show sflow Purpose Show the sFlow information. Syntax show sflow Description This command is used to show the sFlow information.
  • Page 632 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sflow flow_sampler Command: show sflow flow_sampler Port Analyzer Configured Configured Active Active Max Header Server ID Rx Rate Tx Rate Rx Rate Tx Rate Size ------...
  • Page 633 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sflow analyzer_server Command: show sflow analyzer_server sFlow Analyzer_server Information ------------------------------ Server ID Owner Timeout : Infinite Current Countdown Time : Infinite Collector Address : 10.0.0.1 Collector Port...
  • Page 634: Simple Network Management Protocol (Snmp) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP) COMMANDS The Simple Network Management Protocol (SNMP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 635 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp community view An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain access to the agent.
  • Page 636 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show snmp community Command: show snmp community SNMP Community Table Community Name View Name Access Right ------------------------------- ------------------------------- ------------ private CommunityView read_write public CommunityView read_only Total Entries : 2...
  • Page 637 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp user Purpose This command is used to remove a user from an SNMP group and delete the associated group in SNMP group. Syntax delete snmp user <username 32>...
  • Page 638 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp group SNMP views. Syntax create snmp group <groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] {read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>}...
  • Page 639 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show snmp groups Purpose This command is used to display the names of groups on the switch and the security model, level, the status of the different views.
  • Page 640 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : public ReadView Name : CommunityView WriteView Name Notify View Name : CommunityView Securiy Model...
  • Page 641 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Securiy Level : NoAuthNoPriv Group Name : WriteGroup ReadView Name : CommunityView WriteView Name : CommunityView Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level : NoAuthNoPriv...
  • Page 642 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp view all - All view record. oid - Object-Identified tree, MIB tree. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete SNMP view “view123”:...
  • Page 643 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp host Description The create snmp host command creates a recipient of an SNMP operation. Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
  • Page 644 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp host Parameters host - The IP address of the recipient for which the traps are targeted. v6host - Specifies the IPv6 host address. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 645 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show snmp v6host Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Parameters v6host - Specifies the IPv6 host address. If no parameter specified, all SNMP hosts will be displayed.
  • Page 646 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config snmp engineID 1023457890 Command: config snmp engineID 1023457890 Success. DGS-3627:admin# show snmp engineID Purpose This command is used to display the identification of the SNMP engine on the switch.
  • Page 647: Stacking Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual STACKING COMMANDS Stacking protocol is a special communication mechanism between devices. It is responsible for allowing multiple devices to combine together, working in the same configuration. To users, these devices work as a whole.
  • Page 648 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show stacking_mode Purpose Used to display the current stacking mode. Syntax show stacking_mode Description The show stacking_mode command displays the current stacking mode. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 649 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config box_id Parameters current_box_id - Specifies the switch being configured. The parameter range is 1-12. For example, for the DGS34xx series the ID is 12; for the DGS36xx series the ID is 8.
  • Page 650 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stack_information Command: show stack_information Topology :Duplex_Chain My Box ID Master ID Box Count Force Master Role: Enable User Prio- Prom Runtime Type Exist rity Version Version...
  • Page 651 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stacking force_master_role current stacking topology. If the state is enabled, the master’s priority will become zero after the stacking has stabilized. Parameters force_master_role - Used to enable or disable the switch’s Stacking Force Master Role state.
  • Page 652: Static Mac-Based Vlan Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual STATIC MAC-BASED VLAN COMMANDS The Static MAC-Based VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. For bridges that implement MAC-based VLAN classification, the VID associated with an Untagged or Priority-tagged Frame is determined based on the source MAC address.
  • Page 653 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete mac_based_vlan Purpose Used to delete the static MAC-based VLAN entry. Syntax delete mac_based_vlan [mac_address <macaddr> | all] Description Use this command to delete a database entry. If the mac_address and vlan is not specified, all static entries associated with the port will be removed.
  • Page 654: Static Multicast Route Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual STATIC MULTICAST ROUTE COMMANDS The static multicast route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. IP multicast static routes are used to configure static RPF check paths that don’t depend on the unicast route table. The main goal of IP multicast static routes is to let multicast traffic diverge from unicast traffic.
  • Page 655 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipmroute Description Deletes an IP multicast static route configuration entry. Parameters network_address – The entry corresponds to the specified network to be deleted. all – All configured entries will be removed.
  • Page 656: Subnet Vlan Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SUBNET VLAN COMMANDS The Subnet VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create subnet_vlan [network <network_address>...
  • Page 657 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual This example shows how to create an IPv6 subnet VLAN entry: DGS-3627:admin# create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2 Command: create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2 Success.
  • Page 658 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show subnet_vlan VLAN entries will be displayed. ipv6network - To specify an IPv6 network address. If network address is not specifed, all subnet VLAN entries will be displayed.
  • Page 659 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vlan_precedence ports will process at first. If MAC-based VLAN classification fails, the subnet VLAN classification will be executed. If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN classification will process at first.
  • Page 660: Super Vlan Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SUPER VLAN COMMANDS The Super VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create super_vlan [<vlan_name 32>...
  • Page 661 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create super_vlan vlanid 10 Command: create super_vlan vlanid 10 Success. DGS-3627:admin# config super vlan Purpose This command is used to configure a super VLAN. Syntax config super_vlan [<vlan_name 32 > | vlanid <vlanid 1-4094>] [add | delete] sub_vlan <vidlist>...
  • Page 662 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete super_vlan vlanid 10 Command: delete super_vlan vlanid 10 Success. DGS-3627:admin# config sub vlan Purpose This command is used to configure the IP range of the sub VLAN.
  • Page 663 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show super vlan vlanid <vlanid 1-4094> - Specify the super VLAN ID. If not specified the super VLAN, show all super VLANs. Restrictions None. Example usage: To show super VLAN:...
  • Page 664: Switch Port Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SWITCH PORT COMMANDS The switch port commands in the Command Line Interface (CLI) are listed (with the appropriate parameters) in the following table. Command Parameters config ports [<portlist> | all ] {medium_type [fiber | copper]} { speed[auto...
  • Page 665 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ports Purpose Used to configure the Switch’s Ethernet port settings. Syntax config ports [ <portlist> | all ] {medium_type [fiber | copper]} { speed[auto {capability_advertised {10_half | 10_full | 100_half | 100_full | 1000_full } }| 10_half | 10_full | 100_half | 100_full | 1000_full {[master | slave]} ] | auto_negotiation restart_an |flow_control [enable | disable] | learning [enable | disable ] | state [enable | disable] | [description <desc 1-32>...
  • Page 666 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable Command: config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable Success. DGS-3627:admin# To configure the speed of ports 1 to 3 of unit 1 to be auto, capability advertised with half duplex and full duplex ports:...
  • Page 667 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ports Command: show ports Port Port Settings Connection Address State Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning ------- -------- --------------------- ---------------------- --------- Enabled Auto/Disabled Link Down Enabled Enabled Auto/Disabled Link Down...
  • Page 668 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the Error Disabled ports: DGS-3627:admin# show ports err_disabled Command : show ports err_disabled Port Port Connection status Reason State ------ -------- --------------------- ---------------- Enabled Err-disabled Storm control...
  • Page 669 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual...
  • Page 670: Syslog Or Trap Source-Interface Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SYSLOG OR TRAP SOURCE-INTERFACE COMMANDS The syslog or trap source-interface function is used for selecting a fixed interface as the source interface to send syslog or trap message. It also provides a mechanism to select a certain IP address from the specified interface as the source address to send the message.
  • Page 671 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show syslog source_ipif Purpose Show syslog source IP interface. Syntax show syslog source_ipif Description This command is used to display the syslog source IP interface. Parameters None. Restrictions None.
  • Page 672 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config trap source_ipif none Command: config trap source_ipif none Success DGS-3627:admin# show trap source_ipif Purpose Show trap source IP interface. Syntax show trap source_ipif Description This command is used to display the trap source IP interface.
  • Page 673: System Log Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual SYSTEM LOG COMMANDS The System Log commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters clear log show log {[index <value_list>...
  • Page 674 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To clear the switch’s history log: DGS-3627:admin# clear log Command: clear log Success. DGS-3627:admin# show log Purpose Used to display the switch’s history log. Syntax show log {[index <value_list> | severity {emergency | alert | critical | error | warning | notice | informational| debug |<level_list 0-7>}]}...
  • Page 675 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable syslog Description This command enables the sending of syslog messages. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the sending of syslog messages:...
  • Page 676 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show syslog Command: show syslog Syslog Global State: Enabled DGS-3627:admin# config syslog host Purpose Used to configure the syslog host configurations. Syntax config syslog host <index 1-4> [severity [emergency | alert | critical | error | warning | notice | informational | debug | all | <level 0-7>] | facility [local0 | local1 | local2 | local3 |...
  • Page 677 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config syslog host networks to a host. The option enables or disables the host to receive such messages. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 678 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create syslog host local6 user-defined facility local7 user-defined facility udp_port - The UDP port number. state - The syslog protocol is used for the transmission of event notification messages across networks to a host.
  • Page 679 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display syslog host configurations: DGS-3627:admin# show syslog host Command: show syslog host Syslog Global State: Enabled Host Id Host IP Address Severity Facility UDP port...
  • Page 680 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show log_save_timing Command: show log_save_timing Saving log method: on_demand DGS-3627:admin# show attack_log Purpose Displays the attack log messages. Syntax show attack_log {unit <unit_id 1-n>} {index <value_list>} Description Displays the attack log messages.
  • Page 681 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear attack_log Command: clear attack_log Success. DGS-3627:admin# upload attack_log_toTFTP Purpose Used to upload the attack log on a unit. Syntax upload attack_log_toTFTP [<ipaddr> | <ipv6addr> |<domain_name 255>] dest_file <path_filename 64>...
  • Page 682 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload attack_log_toRCP Note: Do not use any blank spaces in the <string>. unitid - The attack log messages on the specified unit will be uploaded to the RCP server. If specified, this unit will be referred to as the master unit.
  • Page 683 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config system_severity trap information Command: config system_severity trap information Success. DGS-3627:admin# show system_severity Purpose This command is used to display the severity level controls for the system.
  • Page 684: Technical Support Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TECHNICAL SUPPORT COMMANDS The Technical Support commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show tech_support upload tech_support_toTFTP <ipaddr>...
  • Page 685 DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show tech_support Command: show tech_support #------------------------------------------------------------------------------- DGS-3627 Gigabit Ethernet Switch Technical Support Information Firmware: Build 2.80.B31 Copyright(C) 2010 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2010-1-1 08:59:20] Boot Time : 8 Sep 2010...
  • Page 686 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload tech_support_to_TFTP 10.0.0.66 tech_report.txt Command: upload tech_support_to_TFTP 10.0.0.66 tech_report.txt Connecting to server....Done. Upload techsupport file....Done. Success. DGS-3627:admin#...
  • Page 687: Telnet Client Commands

    DGS-3627:admin# telnet 10.90.90.90 Command: telnet 10.90.90.90 DGS-3627 Fast Ethernet Switch Command Line Interface Firmware: Build 1.01-B03 Copyright(C) 2006-2010 D-Link Corporation. All rights reserved. UserName: Telnet to a host by specifying the domain name and the server port: DGS-3627:admin# telnet ctrl.iplanet.org tcp_port 2323 Command: telnet ctrl.iplanet.org tcp_port 2323...
  • Page 688: Tftp Client Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TFTP CLIENT COMMANDS The TFTP Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters download firmware_fromTFTP {[<ipaddr>...
  • Page 689 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual download firmware_fromTFTP Case 3: In case that the master unit and the slave unit both support or not support file system, the file will be downloaded to the specified file on the slave unit. If boot_up is specified, the downloaded file will be assigned as the boot_up image.
  • Page 690 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Command: download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Connecting to server....…. Done. Download configuration....Done. DGS-3627:admin# upload firmware_toTFTP Purpose Used to upload firmware from device to TFTP server.
  • Page 691 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP relative pathname or an absolute pathname. pathname - The pathname specifies an absolute pathname on the device file system. If pathname is not specified, it refers to the boot_up CFG file.
  • Page 692 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload attack_log_toTFTP Description This command is used to upload the attack log on a unit. Parameters ipaddr - The IP address of the TFTP server. ipv6addr - The IPV6 address of the TFTP server.
  • Page 693: Time And Sntp Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TIME AND SNTP COMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NTP)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 694 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS-3627:admin# show sntp Purpose Used to display the SNTP information.
  • Page 695 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable sntp Command: enable sntp Success. DGS-3627:admin# disable sntp Purpose To disable SNTP server support. Syntax disable sntp Description This will disable SNTP support. SNTP service must be separately configured (see config sntp).
  • Page 696 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config time_zone Purpose Used to determine the time zone used in order to adjust the system clock. Syntax config time_zone {operator [+ | -] | hour <gmt_hour 0-13> | min <minute 0-59>} Description This will adjust system clock settings according to the time zone.
  • Page 697 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dst s_week – Configure the week of the month in which DST begins. <start_week 1-4,last> – The number of the week during the month in which DST begins where 1 is the first week, 2 is the second week and so on, last is the last week of the month.
  • Page 698 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show time Purpose Used to display the current time settings and status. Syntax show time Description This will display system time and date configuration as well as display current system time.
  • Page 699: Time Range Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TIME RANGE COMMANDS The Time Range commands are used in conjunction with the Access Profile commands listed in the previous chapter to determine a starting point and an ending point, based on days of the week, when an Access Profile configuration will be enabled on the Switch.
  • Page 700 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config time_range Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the time range time1 to be between 6:30 a.m. and 9:40 p.m., Monday to Friday:...
  • Page 701: Trace Route Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TRACE ROUTE COMMANDS The Trace Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters traceroute [<ipaddr> | <domain_name 255>] {ttl <value 1-60> | port <value 30000-64900> | timeout <sec 1-65535>...
  • Page 702 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# traceroute 10.48.74.121 probe 3 Command: traceroute 10.48.74.121 probe 3 <10 ms 10.12.73.254 <10 ms 10.12.73.254 <10 ms 10.12.73.254 <10 ms 10.19.68.1 <10 ms 10.19.68.1 Request timed out.
  • Page 703 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# traceroute6 3000::1 probe 3 Command: traceroute6 3000::1 probe 3 <10 ms 1345:142::11 <10 ms 1345:142::11 <10 ms 1345:142::11 <10 ms 2011:14::100 <10 ms 2011:14::100 Request timed out.
  • Page 704: Traffic Control Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TRAFFIC CONTROL COMMANDS On a computer network, packets such as Multicast packets and Broadcast packets continually flood the network as normal procedure. At times, this traffic may increase do to a malicious endstation on the network or a malfunctioning device, such as a faulty network card.
  • Page 705 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Traffic Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config traffic control [<portlist> | all] {broadcast [enable| disable] | multicast [enable | disable] | [dlf | unicast ] [enable | disable] | action [ drop | shutdown ] | threshold <value 0-...
  • Page 706 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config traffic control 1-12 broadcast enable action shutdown threshold 1 countdown 5 time_interval 10 Command: config traffic control 1-12 broadcast enable action shutdown threshold 1 countdown 5 time_interval 10 Success.
  • Page 707 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show traffic control 1-10 Command: show traffic control 1-10 Traffic Control Trap : [None] Traffic Control Auto Recover Time : 5 Minutes Port Thres Broadcast Multicast Unicast...
  • Page 708: Traffic Segmentation Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TRAFFIC SEGMENTATION COMMANDS Traffic segmentation allows users to further sub-divide VLANs into smaller groups of ports that will help to reduce traffic on the VLAN. The VLAN rules take precedence, and then the traffic segmentation rules are applied.
  • Page 709 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show traffic_segmentation Purpose Used to display the current traffic segmentation configuration on the Switch. Syntax show traffic_segmentation {<portlist>} The show traffic_segmentation command is used to display the current traffic Description segmentation configuration on the Switch.
  • Page 710: Trusted Host Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TRUSTED HOST COMMANDS Trusted Host is a security feature which denies an illegal network address to access the switch. The Trusted Host commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 711 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete trusted_host Parameters ipaddr - The IP address of the trusted host. network - The network address of the trusted network. all - All trusted hosts will be deleted.
  • Page 712: Unicast Route Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual UNICAST ROUTE COMMANDS Route Preference is a way for routers to select the best path when there are two or more different routes to the same destination from two different routing protocols. The majority of routing protocols are not compatible when used in conjunction with each other.
  • Page 713 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Unicast Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create iproute [default | <network_address>] [null0 | <ipaddr> {<metric 1-65535>} {[primary | backup | weight <value 1-4>]}]...
  • Page 714 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create iproute It will fail if a user wants to create a floating static route and there has been one static multipath route with the same destination. It will fail if a user wants to create a static multipath route and there has been a floating static route, whether primary or backup.
  • Page 715 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete iproute 10.48.74.121/255.0.0.0 10.1.1.254 Command: delete iproute 10.48.74.121/8 10.1.1.254 Success. DGS-3627:admin# show iproute Purpose Used to display the switch’s current IP routing table. Syntax show iproute {[<network_address> | <ipaddr>]} {[static | rip | ospf | bgp | hardware]} Description Use this command to display the switch’s IP routing table.
  • Page 716 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show iproute Command: show iproute Routing Table IP Address/Netmask Gateway Interface Cost Protocol ------------------ --------------- ------------ -------- -------- 10.1.1.0/24 0.0.0.0 System Local 192.168.1.0/24 0.0.0.0 Local Total Entries : 2...
  • Page 717 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route preference ospfExt2 - Configure the preference of OSPF external type-2 route. The default value is 115. ebgp - Configure the preference of BGP AS-external route. The default value is 70.
  • Page 718 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show route preference Command: show route preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP...
  • Page 719 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create route redistribute dst rip Purpose Used to redistribute routing information from other routing protocols to RIP. Syntax create route redistribute dst rip src [local |static | bgp | ospf [all | internal | external | type_1 | type_2 | inter+e1 | inter+e2]] {metric <value 0-16>}...
  • Page 720 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create route redistribute dst bgp ospf - To redistribute OSPF routes to BGP. all - To redistribute both OSPF AS-internal and OSPF AS-external routes to RIP. internal - To redistribute only the OSPF AS-internal routes.
  • Page 721 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst ospf Purpose Used to update the metric to be associated with the redistributed routes from a specific protocol to OSPF protocol. Syntax config route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric <value 0-16777214>}(1)
  • Page 722 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst rip type_1 - To redistribute only the OSPF AS-internal type-1 routes. type_2 - To redistribute only the OSPF AS-internal type-2 routes. inter+e1 - To redistribute only the OSPF AS-internal type-1 and OSPF AS-internal routes.
  • Page 723 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst bgp Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add route redistribution settings: DGS-3627:admin# config route redistribute dst bgp src ospf all metric 2 Command: config route redistribute dst bgp src ospf all metric 2 Success.
  • Page 724 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable ecmp ospf Purpose This command is used to enable the ECMP route load-balancing algorithm. Syntax enable ecmp ospf Description This command is used to enable the ECMP route load-balancing algorithm.
  • Page 725 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ecmp algorithm excluded. It it set by default. crc_high - If set, the ecmp algorithm will include the upper 5 bits of the CRC. This attribution is mutually exclusive with ip_source and crc_low. If it is set, crc_low and ip_source will be excluded.
  • Page 726: Utilization Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual UTILIZATION COMMANDS The Utilization commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show utilization [cpu | ports | dram { unit <unit_id>}| flash {unit <unit_id>}] Each command is listed, in detail, in the following sections.
  • Page 727 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show utilization ports Command: show utilization ports Port TX/sec RX/sec Util Port TX/sec RX/sec Util ------ ------- ---------- ---- ------ ---------- ---------- ---- 1:22 1:23 1:24 1:25...
  • Page 728 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show utilization dram Command: show utilization dram DRAM Utilization : Total DRAM : 262,144 KB Used DRAM : 212,568 KB Utilization : 81% Success. DGS-3627:admin# To display FLASH utilization:...
  • Page 729: Vlan Trunking Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual VLAN TRUNKING COMMANDS The VLAN Trunking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable vlan_trunk...
  • Page 730 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable vlan_trunk Command: disable vlan_trunk Success. DGS-3627:admin# config vlan_trunk Purpose Used to configure a port as a the VLAN trunk port. Syntax config vlan_trunk ports [<portlist> | all] | state [enable | disable] Description This command is used to configure a port as a VLAN trunk port.
  • Page 731 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show vlan_trunk Description Show the VLAN trunk information. Parameters None. Restrictions None. Example usage: To show the VLAN Trunk information: DGS-3627:admin# show vlan_trunk Command: show vlan_trunk VLAN Trunk State...
  • Page 732: Vrrp Debug Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual VRRP DEBUG COMMANDS The VRRP Debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters debug vrrp show flag...
  • Page 733 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp vr_state_change Purpose Used to enable or disable the VRRP debug flag for VR state change. Syntax debug vrrp vr_state_change state [enable | disable] Description This command is used to enable or disable the VRRP debug flag for VR state change.
  • Page 734 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp mac_addr_update Parameters state - The state of VRRP MAC debug flags. The default setting is disabled. enable - Enable VRRP MAC debug flags. disable - Disable VRRP MAC debug flags.
  • Page 735 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable VRRP timer debug flags: DGS-3627:admin# debug vrrp timers state enable Command: debug vrrp timers state enable Success. DGS-3627:admin# debug vrrp show counter Purpose Used to display the VRRP debug statistic counters.
  • Page 736 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp log state Purpose Used to enable or disable the VRRP debug log state. Syntax debug vrrp log state [enable | disable] Description This command is used to enable or disable the VRRP debug log state.
  • Page 737 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the VRRP debug state: DGS-3627:admin# debug vrrp state enable Command: debug vrrp state enable Success. DGS-3627:admin#...
  • Page 738: Vrrp Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual VRRP COMMANDS VRRP or Virtual Routing Redundancy Protocol is a function on the Switch that dynamically assigns responsibility for a virtual router to one of the VRRP routers on a LAN. The VRRP router that controls the IP address associated with a virtual router is called the Master, and will forward packets sent to this IP address.
  • Page 739 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example Usage: To enable VRRP globally on the Switch: DGS-3627:admin# enable vrrp Command: enable vrrp Success. DGS-3627:admin# Example usage: To enable the virtual IP address to be pinged:...
  • Page 740 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create vrrp vrid Purpose To create a VRRP router on the Switch. Syntax create vrrp vrid <vrid 1-255> ipif <ipif_name 12> ipaddress <ipaddr> {state [enable | disable] | priority <int 1-254> | advertisement_interval <int 1-255> | preempt [true | false] | critical_ip <ipaddr>...
  • Page 741 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vrrp vrid Purpose To configure a VRRP router set on the Switch. Syntax config vrrp vrid <vrid 1-255> ipif <ipif_name 12> {state [enable | disable] | priority <int 1-254>...
  • Page 742 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vrrp ipif Purpose To configure the authentication type for the VRRP routers of an IP interface. Syntax config vrrp ipif <ipif_name 12> [authtype [none | simple authdata <string 8> | ip authdata <string 16>]]...
  • Page 743 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show vrrp Command: show vrrp Global VRRP :Enabled Non-owner response PING : Disabled Interface Name : System Authentication type : No Authentication VRID Virtual IP Address : 10.53.13.3...
  • Page 744: Web-Based Access Control (Wac) Commands

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual WEB-BASED ACCESS CONTROL (WAC) COMMANDS WAC is “Web-based Access Control”. Web-Based Authentication Login is a feature designed to authenticate a user when the user is trying to access the Internet via the Switch.
  • Page 745 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable wac Description The enable wac command enables WAC function. WAC and JWAC are mutual exclusive function. That is, they can not be enabled at the same time.
  • Page 746 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config wac ports aging_time - A time period during which an authenticated host will keep in authenticated state. “infinite” indicates never to age out the authenticated host on the port idle_time - If there is no traffic during idle time, the host will be moved back to unauthenticated state.
  • Page 747 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config wac default_redirpath authentication. Parameters string - The URL that the client will be redirected to after successful authentication. By default, the redirected path is cleared Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 748 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config wac virtual_ip 1.1.1.1 Command: config wac virtual_ip 1.1.1.1 Success. DGS-3627:admin# Set IPv6 virtual IP address: DGS-3627:admin# config wac virtual_ip 30::20 Command: config wac virtual_ip 30::20 Success.
  • Page 749 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create wac user Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create a WAC local user: DGS-3627:admin# create wac user vlan Jim Command: create wac user vlan Jim...
  • Page 750 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config wac user Jim vlan 3 Command: config wac user Jim vlan 3 Enter a case-sensitive new password:*** Enter the new password again for confirmation:*** Success. DGS-3627:admin#...
  • Page 751 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac Command: show wac Web-based Access Control ----------------------------- State : Enabled Method : RADIUS Redirect Path : http://tw.yaholl.com Virtual IP : 0.0.0.0 Virtual IPv6 : 2000::20...
  • Page 752 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac user Command: show wac user User Name Password --------- ---------- ------ pasx 1000 Total Entries: 1 DGS-3627:admin# show wac auth_state Purpose Used to display the authentication state of a port.
  • Page 753 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac auth_state ports Command: show wac auth_state ports P:Port-based Pri: Priority Port MAC Address Original State VID Pri Aging Time/ Idle RX VID Block Time Time...
  • Page 754: Password Recovery Commands

    This document will explain how the Password Recovery feature can help network administrators reach this goal. The following steps explain how to use the Password Recovery feature on D-Link devices to easily recover passwords. Complete these steps to reset the password: For security reasons, the Password Recovery feature requires the user to physically access the device.
  • Page 755: Technical Specifications

    ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual TECHNICAL SPECIFICATIONS Specifications listed here apply to all Switches in the DGS-3600 Series except where otherwise noted. General Protocols IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet...
  • Page 756 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.3z WDM Transceiver (DEM-330R transceiver) IEEE 802.3z WDM Transceiver (DEM-331T transceiver) IEEE 802.3z WDM Transceiver (DEM-331R transceiver) XFP Support IEEE 802.3ae 10G Fiber-Optic CX4 Support IEEE 802.3ak 10G Copper...
  • Page 757 ® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Physical and Environmental 75.7mm x 75.7mm x 30mm fans; one 44mm x 44mm x 11mm Operating Temperature 0 - 40°C Storage Temperature -40 - 70°C Humidity 5 - 95% non-condensing Dimensions DGS-3612 –...

Table of Contents