D-Link xStack DGS-3400 Series Cli Reference Manual

Xstack dgs-3400 series layer 2 managed gigabit ethernet switch
Hide thumbs Also See for xStack DGS-3400 Series:
Table of Contents

Advertisement

®

CLI Reference Guide

xStack
®
DGS-3400 Series
Product Model:
Layer 2 Managed Gigabit Ethernet Switch
Release 2.7

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack DGS-3400 Series

  • Page 1: Cli Reference Guide

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

    DHCPV6 SERVER COMMANDS ............................158 DIGITAL DIAGNOSTIC MONITORING (DDM) COMMANDS ................... 170 D-LINK SINGLE IP MANAGEMENT COMMANDS ......................177 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS ................188 DOMAIN NAME SERVER (DNS) RESOLVER COMMANDS ................... 190 DOMAIN NAME SERVER (DNS) RELAY COMMANDS ....................195 ETHERNET RING PROTECTION SWITCHING (ERPS) COMMANDS ................
  • Page 3 JUMBO FRAME COMMANDS ............................315 LIMITED IP MULTICAST ADDRESS..........................317 LINK AGGREGATION COMMANDS..........................320 LINK LAYER DISCOVERY PROTOCOL (LLDP) COMMANDS ..................325 MAC NOTIFICATION COMMANDS ..........................340 MAC-BASED ACCESS CONTROL COMMANDS ......................344 MIRROR COMMANDS ............................... 356 MSTP DEBUG ENHANCEMENT COMMANDS ........................ 360 IGMP SNOOPING MULTICAST (ISM) VLAN COMMANDS .....................
  • Page 4 WEB-BASED ACCESS CONTROL (WAC) COMMANDS ....................524 TECHNICAL SPECIFICATIONS ............................534 PASSWORD RECOVERY PROCEDURE ......................... 536...
  • Page 5: Introduction

    Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces. The DGS-3400 Layer 2 stackable Gigabit Ethernet switch series are members of the D-Link xStack® family. Ranging from 10/100Mbps edge switches to core gigabit switches, the xStack® switch family has been future-proof designed to provide a stacking architecture with fault tolerance, flexibility, port density, robust security and maximum throughput with a user-friendly management interface for the networking professional.
  • Page 6 ® xStack DGS-3400 Series Layer 2 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. Boot Procedure 1.00-B13 -----------------------------------------------------------------------------...
  • Page 7: Using The Console Cli

    After the Switch reboots and you have logged in, the console looks like this: DGS-3450 Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.70.B56 Copyright(C) 2010 D-Link Corporation. All rights reserved. UserName: PassWord: DGS-3450:admin# _ Figure 2- 1. Initial Console Screen after logging in Commands are entered at the command prompt, DGS-3450:admin# .
  • Page 8 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 counters clear dhcp_binding clear dhcpv6 binding clear fdb clear igmp_snooping date_driven_group clear jwac auth_state...
  • Page 9 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config account Command: config account Next possible completions: <username> DGS-3450:admin# config account Figure 2- 4. Using the Up Arrow to Re-enter a Command In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username>...
  • Page 10 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create Command: create Next possible completions: 802.1x access_profile account address_binding arpentry authen authen_enable authen_login authentication dhcp dhcpv6 dot1v_protocol_group double_vlan erps host_name igmp_snooping ip_tunnel ipif ipmc_vlan_replication_entry iproute ipv6 ipv6route jwac link_aggregation...
  • Page 11: Command Syntax

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMAND YNTAX 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. NOTE: All commands are case-sensitive.
  • Page 12 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual {braces} necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified. Therefore, with this example there are three possible outcomes of performing a system reset.
  • Page 13: Basic Switch Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ASIC WITCH OMMANDS 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> config account <username>...
  • Page 14 ® xStack DGS-3400 Series Layer 2 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 15 ® xStack DGS-3400 Series Layer 2 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 16 ® xStack DGS-3400 Series Layer 2 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 17 ® xStack DGS-3400 Series Layer 2 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: DGS-3450:admin# show switch Command: show switch...
  • Page 18 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show serial_port Command: show serial_port Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins DGS-3450:admin# config serial_port Purpose Used to configure the serial port. Syntax config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]}...
  • Page 19 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable clipaging Command: enable clipaging Success. DGS-3450: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 20 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 21 ® xStack DGS-3400 Series Layer 2 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 22 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual save Purpose Used to save changes in the Switch’s configuration to non-volatile RAM. Syntax save {[config <config_id 1-2> | log | all]} Description This command is used to enter the current switch configuration or log file into non-volatile RAM.
  • Page 23 ® xStack DGS-3400 Series Layer 2 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 24 ® xStack DGS-3400 Series Layer 2 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. Restrictions None.
  • Page 25 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config command_prompt Purpose Used to configure the command prompt for the Command Line Interface. Syntax config command_prompt [<string 16> | username | default] Description This command is used to configure the command prompt for the CLI interface of the Switch. The current command prompt consists of “product name + : + user level + product name”...
  • Page 26 DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3450 Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.70.B56 Copyright(C) 2010 D-Link Corporation. All rights reserved. ================================================================================ <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W...
  • Page 27: Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 802.1X C OMMANDS 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 28 ® xStack DGS-3400 Series Layer 2 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 [ enable | disable ] config 802.1x fwd_pdu ports...
  • Page 29 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 30 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To create an 802.1x user “test”: DGS-3450: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 31 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show 802.1x user Command: show 802.1x user Username Password ---------- ---------- user1 abcds Total Entries : 1 DGS-3450:admin# config 802.1x auth_protocol Purpose Used to configure the 802.1X auth protocol. Syntax config 802.1x auth_protocol [ local | radius_eap ] Description...
  • Page 32 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-3450:admin# config 802.1x fwd_pdu ports Purpose Used to configure if the port will flood EAPOL PDU when 802.1X functionality is disabled. Syntax config 802.1x fwd_pdu ports [ <...
  • Page 33 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config 802.1x authorization network radius disable Command: config 802.1x authorization network radius disable Success. DGS-3450:admin# show 802.1x Purpose Used to display the 802.1X state or configurations. Syntax show 802.1x { [ auth_state | auth_configuration ] ports { <...
  • Page 34 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show 802.1x Command: show 802.1x 802.1X : Enabled Authentication Mode : Port_based Authentication Protocol : Radius_Eap Forward EAPOL PDU : Enabled Max Users : no_limit RADIUS Authorization : Enabled DGS-3450:admin# To display the 802.1X port level configurations:...
  • Page 35 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config 802.1x capability ports 1:1-1:10 authenticator Command: config 802.1x capability ports 1:1-1:10 authenticator Success. DGS-3450:admin# config 802.1x max_users Purpose Used to configure the maximum number of users that can be learned via 802.1X authentication.
  • Page 36 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config 802.1x auth_parameter force_unauthorized - Force a specific port to be unconditionally unauthorized. quiet_period - It is the initialization value of the quietWhile timer. The default value is 60 seconds and can be any value among 0 to 65535.
  • Page 37 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config 802.1x auth_mode port_based Command: config 802.1x auth_mode port_based Success. DGS-3450:admin# config 802.1x init Purpose Used to initialize the authentication state machine of some or all ports. Syntax config 802.1x init [ port_based ports [ <...
  • Page 38 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config 802.1x reauth port_based ports all Command: config 802.1x reauth port_based ports all Success. DGS-3450:admin# create 802.1x guest_vlan Purpose Used to assign a static VLAN to be guest VLAN. Syntax create 802.1x guest_vlan { <...
  • Page 39 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config 802.1x guest_vlan Purpose Used to configure guest VLAN settings. Syntax config 802.1x guest_vlan ports [ < portlist > | all ] state [ enable | disable ] Description The config 802.1x guest_vlan command configures guest VLAN setting.
  • Page 40 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config radius add Syntax config radius add < server_index 1-3 > [ < server_ip > | < ipv6addr > ] key < passwd 32 > [ default | { auth_port < udp_port_number 1-65535 > | acct_port < udp_port_number 1-65535 >...
  • Page 41 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config radius Purpose Used to configure a RADIUS server. Syntax config radius <server_index 1-3> { ipaddress [ <server_ip> | <ipv6addr> ] | key <passwd 32> | auth_port [<udp_port_number>| default ] | acct_port [ <udp_port_number>...
  • Page 42 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show radius Command: show radius Index 1 IP Address : fe80:fec0:56ab:34b0:20b2:6aff:fecf:7ec6 Auth-Port : 1812 Acct-Port : 1513 Timeout Retransmit : adfdslkfjefiefdkgjdassdwtgjk6y1w Index 2 IP Address : 172.18.211.71 Auth-Port : 1812 Acct-Port...
  • Page 43 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# show auth_diagnostics Purpose Used to display information of authenticator diagnostics.
  • Page 44 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 BackendOtherRequestsToSupplicant BackendNonNakResponsesFromSupplicant BackendAuthSuccesses...
  • Page 45 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# show auth_client Purpose Use to display information of RADIUS authentication client.
  • Page 46 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show auth_client Command: show auth_client radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex :1 radiusAuthServerAddress 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts...
  • Page 47 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 1 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes...
  • Page 48 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config accounting service shell state enable Command: config accounting service shell state enable Success. DGS-3450:admin# show accounting service Purpose Used to show the status of RADIUS accounting services. Syntax show accounting service Description...
  • Page 49: Access Authentication Control Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual CCESS UTHENTICATION ONTROL OMMANDS 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 50 ® xStack DGS-3400 Series Layer 2 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 51 ® xStack DGS-3400 Series Layer 2 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 52: Command Parameters

    ® xStack DGS-3400 Series Layer 2 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 enable password encryption Description The user account configuration information will be stored in the configuration file, and can be...
  • Page 53 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable password encryption Command: disable password encryption DGS-3450:admin# create account Purpose This command is used to create user accounts. Syntax create account [admin | operator | user] <username 15> Description The create account command is used to create user accounts.
  • Page 54 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the user password of the “alpha” account: DGS-3450: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 55 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete account System Command: delete account System Success. DGS-3450:admin# enable authen_policy Purpose This command is used to enable the system access authentication policy. Syntax enable authen_policy Description Enable system access authentication policy- When authentication is enabled, the device will adopt the login authentication method list to authenticate the user attempting to log in, and adopt the enable authentication method list to authenticate the enable password for...
  • Page 56 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 57 ® xStack DGS-3400 Series Layer 2 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 58 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-3450: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 59 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create authen_enable method_list_name enable_list_1 Command: create authen_enable method_list_name enable_list_1 Success. DGS-3450: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 60 ® xStack DGS-3400 Series Layer 2 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 can issue this command.
  • Page 61 ® xStack DGS-3400 Series Layer 2 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>] Description Configures login or enable method lists for all or the specified applications.
  • Page 62 ® xStack DGS-3400 Series Layer 2 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 63 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# delete authen server_group Purpose This command is used to delete a user-defined authentication server group. Syntax delete authen server_group <string 15>...
  • Page 64 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 TACACS...
  • Page 65 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# reate 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-3450:admin# config authen server_host Purpose This command is used to configure an authentication server host. Syntax config authen server_host <ipaddr>...
  • Page 66 ® xStack DGS-3400 Series Layer 2 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. Restrictions Only Administrator can issue this command.
  • Page 67 ® xStack DGS-3400 Series Layer 2 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-3450:admin# config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success.
  • Page 68 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show authen parameter Command: show authen parameter Response timeout : 60 seconds User attempts DGS-3450:admin# enable admin Purpose This command is used to enter the administrator level privilege enable admin Syntax Description...
  • Page 69 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin#...
  • Page 70: Access Control List (Acl) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (ACL) C CCESS ONTROL OMMANDS The Access Control List (ACL) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 71 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters 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> | dscp | [icmp {type | code} | igmp {type} | tcp {src_port_mask <hex 0x0-0xffff>...
  • Page 72 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create access_profile 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 73 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an Ethernet access profile: DGS-3450: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 Success.
  • Page 74 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#delete access_profile profile_id 6 Command: delete access_profile profile_id 6 Success. DGS-3450:admin# config access_profile Purpose Used to configure access list entry. Syntax config access_profile profile_id <value 1-6> [add access_id [auto_assign | <value 1- 128>] [ethernet {vlan <vlan_name 32>...
  • Page 75 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config access_profile igmp – See below: type - Specifies that the rule applies to the value of igmp type traffic tcp – See below: src_port - Specifies that the rule applies the range of tcp source port dst_port - Specifies the range of tcp destination port range flag - Specifies the TCP flag fields .
  • Page 76 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure an rule entry for packet content mask profile: DGS-3450: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 offset_chunk_1 0xAAAAAAAA offset_chunk_2 0xBBBBBBBB offset_chunk_3 0xFFFFFFFF offset_chunk_4 0xEEEEEEEE port all permit...
  • Page 77 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show access_profile Command: show access_profile Access Profile Table Total Unused Rule Entries: 765 Total Used Rule Entries Access Profile ID: 1 TYPE : Packet Content ================================================================================ Owner : ACL MASK Option : -------------------------------------...
  • Page 78 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id treated the exceeding action, and the red color packet will be treated the violating action. Parameters profile_id - Specifies the profile_ID. access_id - Specifies the access_ID. tr_tcm - Specify the “two rate three color mode”.
  • Page 79 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop Command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop DGS-3450:admin# show flow_meter...
  • Page 80 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config time_range ACL entries, the delete of this time_range profile will fail. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the range of time to activate a function on the switch. DGS-3450:admin# config time_range weekend hours start_time 0:0:0 end_time 23:59:5 9 weekdays sun,sat Command: config time_range weekend hours start_time 0:0:0 end_time 23:59:59 week...
  • Page 81: Acl Flow Metering Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual FLOW ETERING OMMANDS 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 82 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters <value 1-6> 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 | replace_dscp <value 0-63>...
  • Page 83 ® xStack DGS-3400 Series Layer 2 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-6> 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 84 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id • replace_dscp <value 0-63> − Packets that are in the yellow flow may have their DSCP field rewritten using this parameter and entering the DSCP value to replace. •...
  • Page 85 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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) PIR: 2000(64kbps) PBS : 200(Kbyte) Action:...
  • Page 86: Address Resolution Protocol (Arp) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (ARP) C DDRESS ESOLUTION ROTOCOL OMMANDS The Address Resolution Protocol (ARP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create arpentry...
  • Page 87 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3450:admin# delete arpentry 10.48.74.121 Command: create arpentry 10.48.74.121 Success. DGS-3450:admin# config arpentry Purpose Used to configure a static entry’s MAC address in the ARP table. Syntax config arpentry <ipaddr>...
  • Page 88 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 89 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Static System 10.1.1.2...
  • Page 90: Bpdu Attack Protection Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual BPDU A TTACK ROTECTION OMMANDS Users at different sites connected across a service-provider network need to use various Layer 2 protocols to scale their topologies to include all remote sites, as well as the local sites. STP must run properly, and every VLAN should build a proper spanning tree that includes the local site and all remote sites across the service-provider network.
  • Page 91 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config bpdu_protection ports Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 92 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the port state enable and drop mode: DGS-3450:admin# config bpdu_protection ports 1 state enable mode drop Commands: config bpdu_protection ports 1 state enable mode drop Success.
  • Page 93 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config the bpdu_protection trap state as both for the entire switch: DGS-3450:admin# config bpdu_protection trap both Commands: config bpdu_protection trap both Success. DGS-3450:admin# enable bpdu_protection Purpose Used to enable bpdu_protection globally.
  • Page 94 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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. Parameters portlist - Specified a range of ports to be configured.
  • Page 95: Command History List

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMAND ISTORY 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 96 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 config 802.1x auth_mode config 802.1x auth_parameter ports...
  • Page 97 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config command_history 20 Command: config command_history 20 Success. DGS-3450:admin# show command_history Purpose Used to display the command history. Syntax show command_history Description This command will display the command history. Parameters None.
  • Page 98: Command Logging Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMAND OGGING OMMANDS 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 99 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable command logging Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the command logging function: DGS-3450:admin# disable command logging Command: disable command logging Success.
  • Page 100: Compound Authentication Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMPOUND UTHENTICATION OMMANDS The Compound Authentication chapter 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 101 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an authentication guest VLAN: DGS-3450:admin# create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3450:admin# delete authentication guest_vlan Purpose Used to delete guest VLAN configuration. Syntax delete authentication guest_vlan [vlan <vlan_name 32>...
  • Page 102 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config authentication guest_vlan vlan gv add ports all Command: config authentication guest_vlan vlan gv add ports all Success. DGS-3450:admin# config authentication ports Purpose Used to configure security port(s). Syntax config authentication ports [<portlist>...
  • Page 103 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# show authentication guest_vlan Purpose Used to show guest VLAN setting.
  • Page 104 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 None Host based 2000,2005...
  • Page 105 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: This example sets authorization global state disabled: DGS-3450:admin# disable authorization attributes Command: disable authorization attributes Success. DGS-3450:admin# show authorization Purpose Used to show authorization status. Syntax show authorization Description Used to show authorization status.
  • Page 106 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Set authentication server auth fail over state: DGS-3450:admin# config authentication server failover local Command: config authentication server failover local Success. DGS-3450:admin# show authentication Purpose Used to show authentication global configuration. Syntax show authentication Description...
  • Page 107: Configuration Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ONFIGURATION OMMANDS 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 108 ® xStack DGS-3400 Series Layer 2 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-3450: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. Download configuration....
  • Page 109 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP dest_file - The pathname specifies the DOS pathname on the TFTP server. It can be a relative pathname or an absolute pathname. config_id - Specifies the configuration file ID. If configuration ID is not specified, it refers to the boot up configuration file.
  • Page 110 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show config The relationship of multiple filter strings following the same filter type is OR. That is, one line is qualified if one of specified filter strings is matched. If more than one filter evaluation is specified;...
  • Page 111 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config configuration 1 boot_up Command: config configuration 1 boot_up Success. DGS-3450:admin# save config Purpose Used to save the current configuration to a file. Syntax save {config <config_id 1-2>} Description Used to save the current configuration to a file.
  • Page 112: Counter Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OUNTER OMMANDS 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> show error ports <portlist>...
  • Page 113 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show packet ports 2:7 Command: show packet ports 2:7 Port number : 2:7 Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 65-127 128-255 256-511 512-1023 1024-1518 1519-1522 1519-2047 2048-4095 4096-9216...
  • Page 114 ® xStack DGS-3400 Series Layer 2 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 ports utilization statistics. Parameters portlist - Specifies a range of ports to be displayed. (Unit ID: port number). Restrictions None.
  • Page 115 ® xStack DGS-3400 Series Layer 2 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: DGS-3450:admin# clear counters ports 2:7-2:9 Command: clear counters ports 2:7-2:9 Success.
  • Page 116: Debug Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual EBUG OMMANDS 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 117 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To dump the error log: DGS-3450:admin# debug error_log dump Command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2010/03/11 13:00:00 ====================== SOFTWARE FATAL ERROR ======================= Invalid mutex handle : 806D6480 Current TASK : bcmARL.0...
  • Page 118 ® xStack DGS-3400 Series Layer 2 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 119 ® xStack DGS-3400 Series Layer 2 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. buffer - Direct the debug message of the module output to debug buffer(default).
  • Page 120 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug show status Parameters <module_list> - The module list. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To show the specified module’s debug state: DGS-3450:admin# debug show status module MSTP Command: debug show status module MSTP Debug Global State: Enabled...
  • Page 121 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug show error_reboot state Purpose Use the command to show the error reboot status. Syntax debug show error_reboot state Description Show the error reboot status. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 122: Dhcp Local Relay Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP L OCAL ELAY OMMANDS 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>| vlanid <vlanid>] state [enable | disable]...
  • Page 123 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the DHCP local relay function: DGS-3450:admin# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3450:admin# disable dhcp_local_relay Purpose Used to disable the DHCP local relay function on the switch. Syntax disable dhcp_local_relay Description...
  • Page 124: Dhcp Relay Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP R ELAY OMMANDS 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 125 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success. DGS-3450: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 126 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_82 Purpose Used to configurethe processing of DHCP 82 option for the DHCP relay function. Syntax config dhcp_relay option_82 { state [enable | disable] | check [enable | disable] | policy [replace | drop | keep] Description Configures the processing of DHCP 82 option for the DHCP relay function.
  • Page 127 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_relay Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the DHCP relay function: DGS-3450:admin# enable dhcp_relay Command: enable dhcp_relay Success.
  • Page 128 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 DHCP Relay Agent Information Option 82 State : Disabled DHCP Relay Agent Information Option 82 Check : Disabled...
  • Page 129 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 add Parameters string - The specified string. relay - Specify a relay server IP address. exact-match - The option 60 string in the packet must full match with the specified string. partial-match - The option 60 string in the packet only need partial match with the specified string.
  • Page 130 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 delete Syntax config dhcp_relay option_60 delete [string <mutiword 255> {relay <ipaddr>} | ipaddress <ipaddr> | all | default {< ipaddr>}] Description This can delete the entry by user specified. When all is specified, all rules excluding the default rules are deleted.
  • Page 131 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 ------- --------- --------- Partial Match 110.1.1.4 Partial Match 110.1.1.4...
  • Page 132 ® xStack DGS-3400 Series Layer 2 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. Only one relay server can be specified for a MAC-address or a string, If relay servers are determined based on option 60, and one relay server is determined based on option 61, the final relay servers will be the union of these two sets of the servers.
  • Page 133 ® xStack DGS-3400 Series Layer 2 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. string - The entry with the specified string will be deleted.
  • Page 134: Dhcp Server Screening Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP S ERVER CREENING OMMANDS 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 135 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config filter dhcp_server Restrictions Only Administratorand Operator-level users can issue this command. Enabling the DHCP filter will create one access profile and create one access rule per port (UDP port 67).
  • Page 136 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Port ----------------- ------------------ --------------------...
  • Page 137 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config filter dhcp_server illegal_server_log_suppress_duration 30min Command: config filter dhcp_server illegal_server_log_suppress_duration 30min Success. DGS-3450:admin#...
  • Page 138: Dhcp Server Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP S ERVER OMMANDS 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 139 ® xStack DGS-3400 Series Layer 2 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 140 ® xStack DGS-3400 Series Layer 2 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 141 ® xStack DGS-3400 Series Layer 2 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 142 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete dhcp pool manual_binding Floor2 10.10.10.1 Command: delete dhcp pool manual_binding Floor2 10.10.10.1 Success. DGS-3450:admin# show dhcp pool manual_binding Purpose Used to display the manual binding settings for a DHCP pool. Syntax show dhcp pool manual_binding {<pool_name 12>} Description...
  • Page 143 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Total Entries : 1 DGS-3450:admin# clear dhcp_binding...
  • Page 144 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config dhcp ping_packets 2 Command: config dhcp ping_packets 2 Success. DGS-3450:admin# config dhcp ping_timeout Purpose Used to set the time the Switch will wait before timing out a ping packet. Syntax config dhcp ping_timeout <millisecond 500-2000>...
  • Page 145 ® xStack DGS-3400 Series Layer 2 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 146 ® xStack DGS-3400 Series Layer 2 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 147 ® xStack DGS-3400 Series Layer 2 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 148 ® xStack DGS-3400 Series Layer 2 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 149 ® xStack DGS-3400 Series Layer 2 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 150 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show dhcp_server Purpose Used to display the DHCP server settings. Syntax show dhcp_server Description This command will display the DHCP server settings for its Global state, ping packet count and ping timeout.
  • Page 151 ® xStack DGS-3400 Series Layer 2 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] Description This command will allow the user to delete a previously set IP address, or a range of IP addresses that are NOT to be included in the range of IP addresses that the Switch will allot...
  • Page 152 ® xStack DGS-3400 Series Layer 2 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 153: Dhcpv6 Client Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP LIENT OMMANDS 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 154 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config ipif System dhcpv6_client state enable Command : config ipif System dhcpv6_client state enable success DGS-3450:admin# To display IP interface settings: DGS-3450:admin# show ipif System Command: show ipif System IP Interface : System VLAN Name...
  • Page 155 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_client output Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To set debug information to output to console: DGS-3450:admin# debug dhcpv6_client output console Command: debug dhcpv6_client output console Success.
  • Page 156: Dhcpv6 Relay Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP ELAY OMMANDS 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 157 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6_relay Parameters add - Add an IPv6 destination to the DHCPv6 relay table. delete - Delete an IPv6 destination from the DHCPv6 relay table ipif_name - The name of the IP interface in which DHCPv6 relay is to be enabled. ipv6addr - The DHCPv6 server IP address.
  • Page 158 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show dhcpv6_relay If no IP interface is specified, all configured DHCPv6 relay interfaces will be displayed. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: This is an example to show the DHCPv6 relay configuration of all interfaces: DGS-3450:admin# show dhcpv6_relay Command: show dhcpv6_relay...
  • Page 159 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable dhcpv6_relay Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the DHCPv6 relay global state to enable: DGS-3450:admin# enable dhcpv6_relay Command: enable dhcpv6_relay Success.
  • Page 160 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# debug dhcpv6_relay state enable Command: debug dhcpv6_relay state enable Success. DGS-3450:admin# debug dhcpv6_relay output Purpose This command is used to set the debug message to output to a buffer or a console. Syntax debug dhcpv6_relay output [buffer | console] Description...
  • Page 161 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# debug dhcpv6_relay packet sending state enable Command: debug dhcpv6_relay packet sending state enable Success. DGS-3450:admin# debug dhcpv6_relay hop_count state Purpose This command is used to enable or disable debug information flag about the hop count. Syntax debug dhcpv6_relay hop_count state [enable | disable] Description...
  • Page 162: Dhcpv6 Server Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DHCP ERVER OMMANDS 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 163 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3450:admin# delete dhcpv6 pool Purpose This command is used to delete one or all DHCPv6 pools. Syntax delete dhcpv6 pool [<pool_name 12>...
  • Page 164 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 DNS Server Address : 2000::ff : 2000::fe...
  • Page 165 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# config dhcpv6 pool domain_name Purpose This command is used to configure the domain name for the DHCPv6 pool of the Switch. Syntax config dhcpv6 pool domain_name <pool_name 12>...
  • Page 166 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure the DNS server address for a DHCPv6 pool: DGS-3450:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201 Command: config dhcpv6 pool dns_server pool1 2000::200 2000::201 Success. DGS-3450:admin# config dhcpv6 pool lifetime Purpose This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address...
  • Page 167 ® xStack DGS-3400 Series Layer 2 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 168 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Pool Name: pool2 Entry 1 IPv6 Address : 8000:1000:1000:1000:1000:1000:1000:2000...
  • Page 169 ® xStack DGS-3400 Series Layer 2 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 170 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DHCPv6 server global state to disable: DGS-3450:admin# disable dhcpv6_server Command: disable dhcpv6_server Success. DGS-3450:admin# show dhcpv6_server Purpose This command is used to display the DHCPv6 server setting. Syntax show dhcpv6_server Description...
  • Page 171 ® xStack DGS-3400 Series Layer 2 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: DGS-3450:admin# config dhcpv6 pool excluded_address pool1 add begin 2000::3 end 2000::8 Command: config dhcpv6 pool excluded_address pool1 add begin 2000::3 end 2000::8 Success.
  • Page 172 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Pool name: Pool2 Range 1 Begin Address: 3000::2...
  • Page 173 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_server state Description This command is used to enable or disable DHCPv6 server debug functions. 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 174: Digital Diagnostic Monitoring (Ddm) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (DDM) C IGITAL IAGNOSTIC ONITORING OMMANDS This DDM UI specification describes the Digital Diagnostic Monitoring functionality and specifications based on SFF-8472 standard. Functions of this software module apply on L2 and L3 Ethernet switches, which contain SFP interface. The Digital Diagnostic Monitoring (DDM) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 175 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm ports temperature_threshold 127.996 Celsius degrees. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the port 9’s temperature threshold: DGS-3450:admin# config ddm ports 9 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.2525 Command: config ddm ports 9 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.2525...
  • Page 176 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm ports bias_current_threshold Purpose To configure the thresholds of bias current of the specified ports Syntax config ddm ports [<portlist> | all] bias_current_threshold { high_alarm < float > | low_alarm <...
  • Page 177 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the port 9’s transmit power threshold: DGS-3450:admin# config ddm ports 9 tx_power_threshold high_alarm 0.625 low_alarm 0.006 high_warning 0.55 low_warning 0.008 Command: config ddm ports 9 tx_power_threshold high_alarm 0.625 low_alarm 0.006 hi gh_warning 0.55 low_warning 0.008 Success.
  • Page 178 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm ports state Parameters portlist - Specified a range of ports to be configured. (UnitID: port number). all - If ‘all’ parameter is chosen, all SFP ports’ operating parameters will be configured. state - Specifies the DDM state, if the state is disabled, no DDM action will take effect.
  • Page 179 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the port 11’s trap state to enable: DGS-3450:admin# config ddm trap enable Command: config ddm trap enable Success. DGS-3450:admin# show ddm ports status Purpose Used to show the current operating DDM parameters values of the SFP module of the specified ports.
  • Page 180 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To show the port 11’s configuration: DGS-3450:admin# show ddm ports 11 configuration Command: show ddm ports 11 configuration Port 11 ----------------------------------- DDM state : Enabled Shutdown : Alarm Threshold Temperature Voltage...
  • Page 181: D-Link Single Ip Management Commands

    ANAGEMENT OMMANDS 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 182 NOTE: For more details regarding improvements made in SIMv1.6, please refer to the Single IP Management White Paper located on the D-Link website. The SIM commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the...
  • Page 183 ® xStack DGS-3400 Series Layer 2 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 184 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable sim Command: disable sim Success. DGS-3450: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]} Description This command will display the current information regarding the SIM group on the Switch,...
  • Page 185 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 2.70.B56 Device Name MAC Address : 00-19-5B-F5-26-C0 Capabilities : L3 Platform : DGS-3450 L3 Switch SIM State : Disabled Role State...
  • Page 186 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show sim group Command: show sim group SIM Group Name : default MAC Address Platform / Hold Firmware Device Name Capability Time Version ---------------- ------------------ ----- --------- --------------- 00-01-02-03-04-00 DGS-3450 L3 Switch...
  • Page 187 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# reconfig member_id 2 Command: reconfig member_id 2 DGS-3450: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>] Description This command is used to add candidates and delete members from the SIM group by ID number.
  • Page 188 ® xStack DGS-3400 Series Layer 2 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 189 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config sim commander Command: config sim commander Success. DGS-3450:admin# To update the name of a group: DGS-3450:admin# config sim commander group_name Demetrius Command: config sim commander group_name Demetrius Success.
  • Page 190 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3450.had all Command: download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3450.had all This device is updating firmware. Please wait... Download Status : MAC Address Result ----------------- ------------- 00-01-02-03-04-00 Success...
  • Page 191 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To upload configuration files to a TFTP server: DGS-3450: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-3450:admin#...
  • Page 192: D-Link Unidirectional Link Detection (Duld) Commands

    DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (DULD) C NIDIRECTIONAL ETECTION OMMANDS 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. Command Parameters config duld ports [<portlist>...
  • Page 193 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show duld 1. Unknown: either local or remote do not support OAM or unidirectional detection. 2. Bidirectional 3. TX Fault 4. RX Fault 5. Link Down Oper Status: indicates the detection is operational or not. 1.
  • Page 194: Domain Name Server (Dns) Resolver Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (DNS) R OMAIN ERVER ESOLVER OMMANDS The Domain Name Server (DNS) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config name_server...
  • Page 195 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config name_server add 10.10.10.10 primary Command: config name_server add 10.10.10.10 primary Success. DGS-3450:admin# To delete DNS Resolver name server 10.10.10.1: DGS-3450:admin# config name_server delete 10.10.10.10 Command: config name_server delete 10.10.10.10 Success.
  • Page 196 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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: Server IP Address Priority ---------------------- --------------...
  • Page 197 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To delete the static host name entry “www.example.com”: DGS-3450:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3450:admin# show host_name Purpose Used to display the current host name. Syntax show host_name {static | dynamic} Description...
  • Page 198 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DNS Resolver state to enabled: DGS-3450:admin# enable dns_resolver Command: enable dns_resolver Success. DGS-3450:admin# disable dns_resolver Purpose Used to configure the DNS Resolver state of the switch to disabled. Syntax disable dns_resolver Description...
  • Page 199: Domain Name Server (Dns) Relay Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (DNS) R OMAIN ERVER ELAY OMMANDS The Domain Name Server (DNS) relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dnsr...
  • Page 200 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config dnsr add static dns1 10.43.21.12 Command: config dnsr add static dns1 10.43.21.12 Success. DGS-3450:admin# Example usage: To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table. DGS-3450:admin# config dnsr delete static dns1 10.43.21.12 Command: config dnsr delete static dns1 10.43.21.12 Success.
  • Page 201 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable dnsr static Command: enable dnsr static Success. DGS-3450:admin# disable dnsr Purpose Used to disable DNS relay on the Switch. Syntax disable dnsr {[cache | static]} Description This command is used, in combination with the enable dnsr command above, to enable and disable DNS Relay on the Switch.
  • Page 202 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show dnsr 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 203: Ethernet Ring Protection Switching (Erps) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (ERPS) C THERNET ROTECTION WITCHING OMMANDS 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. The Ethernet Ring Protection Switching (ERPS) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 204 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable ERPS: DGS-3450:admin# enable erps Command: enable erps Success. DGS-3450:admin# disable erps Purpose Used to disable the global ERPS function on a switch. Syntax disable erps Description This command is used to disable the global ERPS function on a switch.
  • Page 205 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete erps raps_vlan Purpose Used to delete an R-APS VLAN on a switch. Syntax delete erps raps_vlan <vlanid> Description This command is used to delete an R-APS VLAN on a switch. When an R-APS VLAN is deleted, all parameters related to this R-APS VLAN will also be deleted.
  • Page 206 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan ring_port configured as a ring port by specifying the master port of the link aggregation port. Only the master port can be specified as a ring port. If the specified link aggregation group is eliminated, the master port retains its ring port status.
  • Page 207 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config erps raps_vlan 4094 rpl port west owner enable Command: config erps raps_vlan 4094 rpl port west owner enable Success. DGS-3450:admin# config erps raps_vlan protected_vlan Purpose Used to configure the protected VLAN for a specific R-APS VLAN. Syntax config erps raps_vlan <vlanid>...
  • Page 208 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan timer the original unblocked RPL port and start to send R-APS PDU with an RB flag after the link recovery is confirmed within this period of time. Parameters holdoff_time - Specifies the holdoff time of the R-APS function.
  • Page 209 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show erps example, the RPL owner conflict occurs. "Active" is used to indicate that the RPL owner administrative state is enabled and the device is operated as the active RPL owner. "Inactive" is used to indicate that the RPL owner administrative state is enabled, but the device is operated as the inactive RPL owner.
  • Page 210 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show erps Command: show erps ERPS Information Global Status : Enabled Log Status : Disabled Trap Status : Disabled ------------------------ R-APS VLAN : 4092 Ring Status : Enabled West Port : 5 (Blocking) East Port...
  • Page 211 ® xStack DGS-3400 Series Layer 2 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-3450:admin# config erps trap enable Command: config erps trap enable Success.
  • Page 212 ® xStack DGS-3400 Series Layer 2 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. add - Connect the sub-ring to another ring.
  • Page 213: Filter Database (Fdb) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (FDB) C ILTER ATABASE OMMANDS 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. The Filter Database (FDB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
  • Page 214 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create multicast_fdb Purpose Used to create a static entry in the multicast MAC address forwarding table (database). Syntax create multicast_fdb <vlan_name 32> <macaddr> Description The create multicast_fdb is used to make an entry in the switch’s multicast MAC address forwarding database.
  • Page 215 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config fdb aging_time Parameters aging_time - Specifies the time, in seconds, that a dynamically learned MAC address will remain in the switch’s MAC address forwarding table, without being accessed, before being dropped from the database.
  • Page 216 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete fdb Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete a permanent FDB entry: DGS-3450:admin# delete fdb default 00-00-00-00-01-02 Command: delete fdb default 00-00-00-00-01-02 Success.
  • Page 217 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display the multicast MAC address table: DGS-3450:admin# show multicast_fdb Command: show multicast_fdb VLAN Name : default MAC Address : 01-00-00-00-00-01 Egress Ports : 1:1-1:5,1:26,2:26 Mode : Static Total Entries : 1 show fdb...
  • Page 218 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type ---- ---------------- ----------------- ------ ---------------- default 00-00-00-00-01-02 Permanent default 00-01-02-03-04-00 Self VLAN_2...
  • Page 219 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show multicast filtering_mode Command: show multicast filtering_mode VLAN Name Multicast Filter Mode -------------------------------- ----------------------------- default forward_unregistered_groups forward_unregistered_groups n101 forward_unregistered_groups n103 forward_unregistered_groups n172 forward_unregistered_groups forward_unregistered_groups DGS-3450:admin#...
  • Page 220: Gratuitous Arp Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ARP C RATUITOUS OMMANDS 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 [enable | disable] ipif_status_up config gratuitous_arp send...
  • Page 221 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp send dup_ip_detected 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. In this case, the system knows that some body out there uses an IP address that is conflict with the system.
  • Page 222 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp periodical_send Parameters ipif <ipif_name 12> - Interface name of L3 interface. interval <value 0-65535> - Periodically send gratuitous ARP interval time in seconds.0 means not send gratuitous ARP periodically. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 223 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To disable system interface’s gratuitous ARP log and trap: DGS-3450:admin# disable gratuitous_arp ipif System trap log Command: disable gratuitous_arp ipif System trap log Success. DGS-3450:admin# show gratuitous_arp Purpose Used to display gratuitous ARP configuration.
  • Page 224: Ieee 802.1Q Vlan Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.1Q VLAN C OMMANDS 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 225 ® xStack DGS-3400 Series Layer 2 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. <vlan_name 32>...
  • Page 226 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config vlan add Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan <vlan_name 32> {[add [tagged | untagged | forbidden] | delete ] <portlist> | advertisement [enable | disable]} Description This command is used to add ports to the port list of a previously configured VLAN.
  • Page 227 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the ingress checking status, the sending and receiving GVRP information : DGS-3450: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 228 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To disable the Generic VLAN Registration Protocol (GVRP): DGS-3450:admin# disable gvrp Command: disable gvrp Success. DGS-3450:admin# show vlan Purpose Used to display the current VLAN configuration on the Switch. show vlan {[<vlan_name 32>...
  • Page 229 ® xStack DGS-3400 Series Layer 2 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. <portlist>...
  • Page 230 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the Double VLAN feature on the Switch, thus disabling normal VLANs and GVRP. DGS-3450:admin# enable double_vlan Command: enable double_vlan Current Double VLAN mode : Disabled Enable Double VLAN need to reset system config.
  • Page 231 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To create a Double VLAN on the Switch DGS-3450:admin# create double_vlan RG spvid 2 tpid 0x9100 Command: create double_vlan RG spvid 2 tpid 0x9100 Success. DGS-3450:admin# config double_vlan Purpose Used to config the parameters for a previously created Double VLAN on the Switch.
  • Page 232 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config double_vlan Drazen delete 1:4-1:8 Command: config double_vlan Drazen delete 1:4-1:8 Success. DGS-3450:admin# show double_vlan Purpose Used to display the Double VLAN settings on the Switch. Syntax show double_vlan {<vlan_name>} Description This command will display the current double VLAN parameters configured on the Switch.
  • Page 233 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable pvid auto_assign Command: enable pvid auto_assign Success. DGS-3450: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 234: Ieee 802.1Qinq Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.1Q OMMANDS The IEEE 802.1QinQ commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable qinq disable qinq show qinq config qinq ports...
  • Page 235 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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. If need to run GVRP on the switch, administrator should enable GVRP manually.
  • Page 236 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config qinq ports role - Port role in QinQ mode UNI - Port is connecting to customer network. NNI - Port is connecting to service provider network. outer_ tpid | tpid - Outer-TPID of a port. use_inner_priority - Specify whether to use the priority in the C-VLAN tag as the priority in the S-VLAN tag.
  • Page 237 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete vlan_translation ports Purpose Used to delete existed VLAN translation rules. Syntax delete vlan_translation ports [ <portlist> | all ] { cvid <vidlist> } Description The delete vlan_translation command is used to delete translation relationship between C- VLAN and S-VLAN.
  • Page 238 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create vlan_translation ports 1-4094> {priority <value 0-7>} Description Use this command to create the CVID VLAN translation rules. Parameters portlist - A range of ports on which the S-VLAN will be translated to C-VLAN add - The action indicates to add a tag for the assigned S-VLAN before the C-VLAN tag.
  • Page 239: Igmp And Mld Snooping Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IGMP MLD S NOOPING OMMANDS 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 240 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config igmp_snooping [vlan <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 | disable]}(1) config igmp_snooping querier [vlan <vlan_name 32>...
  • Page 241 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping Purpose Used to configure IGMP snooping on the switch. Syntax config igmp_snooping [vlan <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 | disable]}(1) Description The config igmp_snooping command configures IGMP snooping on the switch.
  • Page 242 ® xStack DGS-3400 Series Layer 2 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: •...
  • Page 243 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config router_ports enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc. 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 244 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable igmp_snooping Parameters forward_mcrouter_only - If specified, the switch will learn the router port based on 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 245 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable igmp_snooping Command: disable igmp_snooping Success. DGS-3450: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> ] < ipaddr >...
  • Page 246 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete an IGMP snooping static group for VLAN 1, group 239.1.1.1: DGS-3450: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 247 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 2:9-2:10 Total Entries : 1 DGS-3450:admin# show igmp_snooping group Purpose Used to display the current IGMP snooping group configuration on the switch.
  • Page 248 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show igmp_snooping group Command: show igmp_snooping group Source/Group : 10.0.0.2 / 225.0.0.2 VLAN Name/VID : n172/172 Port Member : 1-2 Mode : INCLUDE Source/Group : 10.0.0.2 / 225.0.0.3 VLAN Name/VID : n172/172 Port Member...
  • Page 249 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Dynamic router port Forbidden router port: Total Entries : 2...
  • Page 250 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping querier guarantees MLD snooping. Syntax config mld_snooping querier [vlan <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> | state [enable | disable] | version <value 1-2> }(1) Description This command configures the timer in seconds between general query transmissions, the...
  • Page 251 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping mrouter_ports Syntax config mld_snooping mrouter_ports <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 252 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable mld_snooping multicast router, only. Otherwise, the switch forwards all multicast traffic to any IP router. Parameters forward_mcrouter_only - If specified, the switch will learn the router port based on identification of the multicast routing protocol packet and MLD control packet.
  • Page 253 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable MLD snooping on the switch: DGS-3450:admin# disable mld_snooping Command: disable mld_snooping Success. DGS-3450:admin# show mld_snooping Purpose Used to show the current status of MLD snooping on the switch. Syntax show mld_snooping {vlan <vlan_name 32>} Description...
  • Page 254 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mld_snooping group Description This command displays the current MLD snooping group information on the switch. Parameters vlan - Specify the name of the VLAN for which you want to view MLD snooping group information.
  • Page 255 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show mld_snooping group Command: show mld_snooping group Source/Group : 2001::1/FE1E::1 VLAN Name/VID :default/1 Reports Member Ports : 1-2 Router Ports : 24 UP Time : 26 Expiry Time : 258 Filter Mode : INCLUDE...
  • Page 256 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mld_snooping mrouter_ports Description This command displays the currently configured router ports on the switch. Parameters vlan - Specify the name of the VLAN on which the router port resides. static - Displays router ports that have been statically configured.
  • Page 257 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping data_driven_learning <vlanid_list> - Enter the VLAN ID here. all - Specify all VLANs to be configured. state - (Optional) Specify to enable or disable the data driven learning of an IGMP snooping group.
  • Page 258 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Prompt# config igmp_snooping data_driven_learning max_learned_entry 50 Command: config igmp_snooping data_driven_learning max_learned_entry 50 Success. Prompt# config mld_snooping data_driven_learning Purpose This command is used to enable or disable the data-driven learning of an MLD snooping group.
  • Page 259 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Prompt# config mld_snooping data_driven_learning vlan default state enable Command: config mld_snooping data_driven_learning vlan default state enable Success. Prompt# config mld_snooping data_driven_learning max_learned_entry Purpose This command is used to configure the maximum number of groups that can be learned by data driven.
  • Page 260: Ip Directed Broadcast Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IP D IRECTED ROADCAST OMMANDS The IP Directed Broadcast 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 261 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create ipif InterS 192.168.69.1/24 default secondary Command: create ipif InterS 192.168.69.1/24 default secondary Success. DGS-3450:admin# config ipif Purpose This command is used to configure the IP directed-broadcast state of the interface. Syntax config ipif <ipif_name 12>...
  • Page 262 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show ipif System Command: show ipif System IP Interface : System VLAN Name : default Interface Admin state : Enabled IPv4 Address : 10.90.90.90/8 (Manual) Primary Proxy ARP : Disabled (Local: Disabled) IP Directed Broadcast...
  • Page 263: Ip-Mac-Port Binding (Impb) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IP-MAC-P (IMPB) C INDING OMMANDS IP-MAC-Port Binding (IMPB) is a security application found on edge switches which are usually directly connected to hosts. IMPB enables administrators to configure (or snoop) pairs of MAC and IP addresses that are allowed to access networks through the switch.
  • Page 264 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. config address_binding ip_mac ports Purpose Used to configure the state of IMPB on the switch for each port. Syntax config address_binding ip_mac ports [<...
  • Page 265 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac ports [ipv6 | all ]} | disable {[ ipv6 | all ]}] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable] | mode [arp | acl ] | stop_learning_threshold<int 0-500>} (1) Description Used to configure the per port state of IMPB on the switch.
  • Page 266 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config address_binding ip_mac ports 1 state enable Command: config address_binding ip_mac ports 1 state enable Success. DGS-3450:admin# create address_binding ip_mac Purpose Used to create an IMPB entry. Syntax create address_binding ip_mac ipaddress <...
  • Page 267 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00- 00-11 Command: create address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00-00-11 Success. DGS-3450:admin# To create a static IPv6 IMPB entry: DGS-3450:admin# create address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11 Command: create address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00- 00-00-00-00-11...
  • Page 268 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11 Command: delete address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00- 00-00-00-00-11 Success. DGS-3450:admin# To delete a blocked address: DGS-3450:admin# delete address_binding blocked vlan_name v31 mac_address 00-00-00-00-00- Command: delete address_binding blocked vlan_name v31 mac_address 00-00-00-00-00-11 Success.
  • Page 269 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac is applied to all ports. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure an IMPB entry: DGS-3450:admin# config address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00- 00-11 Command: config address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00-00-11 Success.
  • Page 270 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show address_binding Command: show address_binding Trap/Log : Enabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Enabled ND Snoop : Disabled DGS-3450:admin# To show the IMPB ports: DGS-3450:admin#show address_binding ports Command: show address_binding ports Port IPv4...
  • Page 271 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable address_binding dhcp_snoop statically configured entry the auto-learned entry will not be created. In a situation where the entry is statically configured in ARP mode the auto learned entry will not be created. In a situation where the entry is statically configured on one port and the entry is auto-learned on another port, the auto-learned entry will not be created.
  • Page 272 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable address_binding dhcp_snoop ipv6 Command: disable address_binding dhcp_snoop ipv6 Success. DGS-3450:admin# clear address_binding dhcp_snoop binding_entry Purpose Used to clear the DHCP snooping entries learned for the specified ports. Syntax clear address_binding dhcp_snoop binding_entry ports [ <portlist>|all ] {[ipv6 | all]} Description...
  • Page 273 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show address_binding dhcp_snoop Command: show address_binding dhcp_snoop DHCP Snoop(IPv4) : Enabled DHCP Snoop(IPv6) : Enabled DGS-3450:admin# config address_binding dhcp_snoop max_entry Purpose Used to specify the maximum number of entries that can be learned by a specified port. config address_binding dhcp_snoop max_entry ports [<portlist>...
  • Page 274 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the IMPB traps and logs: DGS-3450:admin# enable address_binding trap_log Command: enable address_binding trap_log Success. DGS-3450:admin# disable address_binding trap_log Purpose Used to disable the IMPB traps and logs. Syntax disable address_binding trap_log Description...
  • Page 275 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable address_binding nd_snoop Purpose Use to enable ND snooping on the switch. Syntax enable address_binding nd_snoop Description This command allows the user to enable ND snooping on the switch. Parameters None.
  • Page 276 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show address_binding nd_snoop Command: show address_binding nd_snoop ND Snoop : Enabled DGS-3450:admin# To show ND snooping maximum entry: DGS-3450:admin# show address_binding nd_snoop ports 1-12 Command: show address_binding nd_snoop ports 1-12 Port Max Entry -------...
  • Page 277 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual clear address_binding nd_snoop binding_entry Purpose Used to clear the ND snooping entries on specified ports. Syntax clear address_binding nd_snoop binding_entry ports [<portlist> | all] Description To clear the entries learned for the specified ports. Parameters ports - Specify the list of ports that you would like to clear the ND snoop learned entry.
  • Page 278 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To stop IMPB debug: starting when the IMPB module receives an ARP/IP or DHCP packet: DGS-3450:admin# no debug address_binding Command: no debug address_binding Success. DGS-3450:admin#...
  • Page 279: Ip Multicast Vlan Replication Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IP M VLAN R ULTICAST EPLICATION OMMANDS The IP Multicast VLAN Replication commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable ipmc_vlan_replication...
  • Page 280 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable ipmc_vlan_replication Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable static IP multicast VLAN replication: DGS-3450:admin# disable ipmc_vlan_replication Command: disable ipmc_vlan_replication Success.
  • Page 281 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Create an IP multicast VLAN replication entry named mr1: DGS-3450:admin# create ipmc_vlan_replication_entry mr1 Command: create ipmc_vlan_replication_entry mr1 Success. DGS-3450:admin# config ipmc_vlan_replication_entry source Purpose Used to configure source traffic of an IP multicast VLAN replication entry. Syntax config ipmc_vlan_replication_entry source <name 16>...
  • Page 282 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ipmc_vlan_replication_entry destination vlan - The outgoing VLAN name. vlanid - The outgoing VLAN ID. ports - The outgoing port list. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the destination of an IP multicast VLAN replication entry named mr1: DGS-3450:admin# config ipmc_vlan_replication_entry mr1 add vlanid 5 port 10-17...
  • Page 283 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show ipmc_vlan_replication Command: show ipmc_vlan_replication IP Multicast VLAN Replication State : Enabled : No Decrease Source MAC Address : No Replace DGS-3450:admin# show ipmc_vlan_replication_entry Purpose Used to display the IP multicast VLAN replication entries. show ipmc_vlan_replication_entry {<name 16>...
  • Page 284 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show ipmc_vlan_replication_entry hardware Command: show ipmc_vlan_replication_entry hardware Name : ipmc_vlan_replication_entry name Src-v : The source VLAN Dest-v : The destination VLAN Name Src-V Group Dest-V Portlist ------------------------------------------------------------------ 255.1.1.1 1:1-1:11, 1:13 255.1.1.1...
  • Page 285: Ipv6 Neighbor Discover Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual EIGHBOR ISCOVER OMMANDS 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 286 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete ipv6 neighbor_cache all] Description Deletes a neighbor cache entry or static neighbor cache entries from the address cache or all address cache entries on this IP interface. Both static and dynamic entries can be deleted. Parameters ipif_name - The IPv6 interface name ipv6addr - The neighbor’s address.
  • Page 287 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 : 4094 IPv6 Address: 3000::100 State: Reachable...
  • Page 288 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra disable] | min_rtr_adv_interval <sec 3-1350> | max_rtr_adv_interval <sec 4-1800>} (1) Description Configures the router advertisement related parameters. Parameters ipif_name - The name of the interface. state - Router advertisement state.
  • Page 289 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra prefix_option valid_life_time - Indicates the number of seconds that an address, based on the specified prefix, using the stateless address configuration, remains valid. For an infinite valid lifetime the value can be set to 0xffffffff.
  • Page 290 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 : Disabled RA Max Router AdvInterval : 600 (s) RA Min Router AdvInterval : 198 (s)
  • Page 291: Ipv6 Route Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OUTE OMMANDS 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> <ipv6addr> | <ipv6addr>] {<metric 1-65535>} {[primary | backup]} | ip_tunnel <tunnel_name 12>] delete ipv6route [[default |<ipv6networkaddr>] [<ipif_name 12>...
  • Page 292 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create ipv6route 3004::/64 Intface_1 3000::4 Command: create ipv6route 3004::/64 Intface_1 3000::4 Success. DGS-3450:admin# To add an IP tunnel route entry: DGS-3450:admin# create ipv6route default ip_tunnel ip6_tn Command: create ipv6route default ip_tunnel ip6_tn Success.
  • Page 293 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show ipv6route ripng - Display the RIPng route entries. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Show the IPv6 route entries without specified address or route protocol: DGS-3450:admin# show ipv6route Command: show ipv6route IPv6 Prefix: ::/0...
  • Page 294: Ipv6 Tunnel Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual UNNEL OMMANDS 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 295 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete ip_tunnel Purpose Used to delete an IPv6 tunnel interface. Syntax delete ip_tunnel < tunnel_name 12> Description The delete ip_tunnel command is used to delete a specific IPv6 tunnel on the switch. Parameters <tunnel_name 12>...
  • Page 296 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# config ip_tunnel manual tn2 ipv6address 2001::1/64 Command: config ip_tunnel manual tn2 ipv6address 2001::1/64 Success.
  • Page 297 ® xStack DGS-3400 Series Layer 2 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 298 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Success.
  • Page 299 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable ip_tunnel tn2 Command: disable ip_tunnel tn2 Success. DGS-3450:admin#...
  • Page 300: Japanese Web-Based Access Control (Jwac) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (JWAC) C APANESE BASED CCESS ONTROL OMMANDS 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 301 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable jwac disable jwac enable jwac redirect disable jwac redirect enable jwac forcible_logout disable jwac forcible_logout enable jwac udp_filtering disable jwac udp_filtering enable jwac quarantine_server_monitor disable jwac quarantine_server_monitor config jwac <sec 5-300>...
  • Page 302 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config jwac authenticate_page [japanese | english] Each command is listed, in detail, in the following sections. enable jwac Purpose Used to enable JWAC function. Syntax enable jwac Description The enable jwac command enables JWAC function.
  • Page 303 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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 304 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable jwac forcible_logout back to unauthenticated state. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable JWAC forcibly logout function: DGS-3450:admin# enable jwac forcible_logout Command: enable jwac forcible_logout Success.
  • Page 305 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3450:admin# disable jwac udp_filtering Purpose Used to disable JWAC UDP filtering function. Syntax disable jwac udp_filtering Description When UDP filtering feature is disabled, all UDP and ICMP packets are permitted. Parameters None.
  • Page 306 ® xStack DGS-3400 Series Layer 2 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: To disable Quarantine Server monitor function: DGS-3450:admin# disable jwac quarantine_server_monitor Command: disable jwac quarantine_server_monitor...
  • Page 307 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the redirect destination and delay time: DGS-3450:admin# config jwac redirect destination jwac_login_page delay_time 5 Command: config jwac redirect_ destination jwac_login_page delay_time 5 Success. DGS-3450:admin# config jwac virtual_ip Purpose Used to configure JWAC virtual ipaddress to accept authentication requests from un-...
  • Page 308 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure Quarantine Server URL: DGS-3450: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-3450:admin# config jwac clear_quarantine_server_url Purpose Used to clear Quarantine Server configuration. Syntax config jwac clear_quarantine_server_url Description This command will clear Quarantine Server configuration.
  • Page 309 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the update server which the un-authenticated host need to access: DGS-3450: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 310 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config jwac ports Parameters <portlist> - A port range to set their JWAC state. 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 same time aging_time - A time period during which an authenticated host will keep in authenticated...
  • Page 311 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config jwac radius_protocol ms_chapv2 Command: config jwac radius_protocol ms_chapv2 Success. DGS-3450: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 312 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create 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-3450:admin# delete jwac user Purpose Used to delete JWAC user into local DB.
  • Page 313 ® xStack DGS-3400 Series Layer 2 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 314 ® xStack DGS-3400 Series Layer 2 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 315 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Inactive...
  • Page 316 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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. Port MAC Address State VID Pri...
  • Page 317 ® xStack DGS-3400 Series Layer 2 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. login_window_title - The login window title of the authenticate page user_name_title - The user name title of the authenticate page password_title - The password title of the authenticate page...
  • Page 318 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 319: Jumbo Frame Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual UMBO RAME OMMANDS 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 320 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-3450:admin# show jumbo_frame Purpose Used to show the status of the jumbo frame function on the Switch. Syntax show jumbo_frame Description This command will show the status of the jumbo frame function on the Switch.
  • Page 321: Limited Ip Multicast Address

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IP M IMITED ULTICAST DDRESS 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 322 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 323 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To show the limited multicast address on ports 1 to 2: DGS-3450:admin# show limited multicast address 1-2 Command: show limited multicast address 1-2 Port From Access Status ---- -------------- --------------- --------...
  • Page 324: Link Aggregation Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual GGREGATION OMMANDS 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 325 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DGS-3450: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> Description This command is used to delete a previously configured link aggregation group.
  • Page 326 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9: DGS-3450: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 327 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display Link Aggregation configuration: DGS-3450:admin# show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = IP-source Group ID Type : TRUNK Master Port : 1:5 Member Port : 1:5-1:7,1:9 Active Port Status : Disabled...
  • Page 328 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show lacp_port Syntax show lacp_port {<portlist>} Description This command will display the LACP mode settings as they are currently configured. <portlist> − Specifies a port or range of ports to be configured. The beginning and end of the Parameters port list range are separated by a dash.
  • Page 329: Link Layer Discovery Protocol (Lldp) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (LLDP) C AYER ISCOVERY ROTOCOL OMMANDS The Link Layer Discovery Protocol (LLDP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. The Link Layer Discovery Protocol (LLDP) specified in this standard allows stations attached to an 802 LAN to advertise to other stations attached to the same 802 LAN the connectivity and management information necessary to identify to those management entities the station's point of attachment to the 802 LAN.
  • Page 330 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. 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 331 ® xStack DGS-3400 Series Layer 2 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. Parameters message_tx_interval –...
  • Page 332 ® xStack DGS-3400 Series Layer 2 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 333 ® xStack DGS-3400 Series Layer 2 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 – 3400 > Description Globally change the interval between successive LLDP change notifications generated by the switch.
  • Page 334 ® xStack DGS-3400 Series Layer 2 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 335 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450: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 336 ® xStack DGS-3400 Series Layer 2 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. Syntax config lldp ports [<portlist>|all] dot1_tlv_pvid [enable | disable] Description...
  • Page 337 ® xStack DGS-3400 Series Layer 2 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. Syntax config lldp ports [<portlist>|all] dot1_tlv_vlan_name [vlan [all | <vlan_name 32>...
  • Page 338 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure exclude the protocol identity TLV from the outbound LLDP advertisements for all ports: DGS-3450:admin# config lldp ports all dot1_tlv_protocol_identity all enable Command: config lldp ports all dot1_tlv_protocol_identity all enable Success.
  • Page 339 ® xStack DGS-3400 Series Layer 2 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 340 ® xStack DGS-3400 Series Layer 2 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. Parameters ipv4 –...
  • Page 341 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Disabled System Name Disabled...
  • Page 342 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Management Address Count PPVID Entries Count VLAN Name Entries Count...
  • Page 343 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 344: Mac Notification Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual MAC N OTIFICATION OMMANDS 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 disable mac_notification config mac_notification {interval <int 1-2147483647>...
  • Page 345 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable mac_notification Command: disable mac_notification Success. DGS-3450:admin# config mac_notification Purpose Used to configure MAC address notification. Syntax config mac_notification {interval <int 1-2147483647> | historysize <int 1-500>} Description MAC address notification is used to monitor MAC addresses learned and entered into the FDB.
  • Page 346 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-3450:admin# show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings Syntax show mac_notification Description...
  • Page 347 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Disabled Disabled Disabled...
  • Page 348: Mac-Based Access Control Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual MAC- BASED CCESS ONTROL OMMANDS The MAC-based Access Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable mac_based_access_control disable mac_based_access_control...
  • Page 349 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable mac_based_access_control Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the MAC-based Access Control global state: DGS-3450:admin# enable mac_based_access_control Command: enable mac_based_access_control Success.
  • Page 350 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config mac_based_access_control password switch Command: config mac_based_access_control password switch Success. DGS-3450:admin# config mac_based_access_control method Purpose Used to configure the MAC-based Access Control authentication method. Syntax config mac_based_access_control method [local | radius] Description Specify the authentication method used via the local database or via the RADIUS server.
  • Page 351 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control ports Syntax config mac_based_access_control ports [<portlist> | all] {state [enable | disable] | mode [port_based | host_based] | aging_time [infinite | <min 1-1440>] | [block_time | hold_time ] [infinite|<sec 1-300>] | max_users [<value 1-4000>...
  • Page 352 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config mac_based_access_control ports 1-8 mode host_based Command: config mac_based_access_control ports 1-8 mode host_based Success. DGS-3450:admin# To configure an unlimited number of maximum users for MAC-based Access Control on ports 1 to 8: DGS-3450: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.
  • Page 353 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete mac_based_access_control guest_vlan Purpose Used to remove a MAC-based Access Control guest VLAN. Syntax delete mac_based_access_control [guest_vlan <vlan_name 32> | guest_vlanid < vlanid 1-4094>] Description Use this command to remove a MAC-based Access Control guest VLAN. When the guest VLAN is removed, the guest VLAN function will be disabled.
  • Page 354 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65 Command: clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65 Success. DGS-3450:admin# create mac_based_access_control_local Purpose Used to create a MAC-based Access Control local database entry that will be used for authentication.
  • Page 355 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Success. DGS-3450:admin# delete mac_based_access_control_local Purpose Used to delete a MAC-based Access Control local database entry. Syntax delete mac_based_access_control_local [mac <macaddr>...
  • Page 356 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control authorization network accepted if the global authorization status is enabled. The default state is enabled. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: The following example will disable the configuration authorized from the local database: DGS-3450:admin# config mac_based_access_control authorization attributes local disable Command: config mac_based_access_control authorization attributes local disable...
  • Page 357 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mac_based_access_control_local mac - Displays MAC-based Access Control local database entries for a specific MAC address. vlan - Displays MAC-based Access Control local database entries for a specific target VLAN name.
  • Page 358 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mac_based_access_control auth_state Purpose Used to display the MAC-based Access Control authentication status. Syntax show mac_based_access_control auth_state ports <portlist> Description This command is used to display the MAC-based Access Control authentication status. Parameters <portlist>...
  • Page 359 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show mac_based_access_control auth_state ports 1-3 Command: show mac_based_access_control auth_state ports 1-3 (P):Port based Port MAC Address State Priority Aging Time/ Block Time ---- ------------------- ------------- ------- ---------- ------------ 00-00-00-00-00-01 Authenticated 4004...
  • Page 360: Mirror Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual IRROR OMMANDS The Mirror commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]} enable mirror disable mirror show mirror...
  • Page 361 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config mirror port 1:3 add source ports 1:7-1:12 both Command: config mirror port 1:5 add source ports 1:1-1:5 both Success. DGS-3450:admin# enable mirror Purpose Used to enable mirror globally. Syntax enable mirror Description...
  • Page 362 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mirror Description The show mirror command displays the current mirror function state and mirror session configuration on the switch. If don’t specify the “group_id” parameter, display the all mirror settings.
  • Page 363 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete mirror group_id Parameters group_id - The mirror groups identify. value - The mirror groups identify value. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Create mirror group 2: DGS-3450:admin# delete mirror group_id 3 Command: delete mirror group_id 3...
  • Page 364: Mstp Debug Enhancement Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual MSTP D EBUG NHANCEMENT OMMANDS 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 365 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug output Syntax debug output module mstp [buffer | console] Description Sets if the MSTP debug message output should be set to the buffer or console. buffer - Specifies the debug messages of MSTP will output to the buffer. Parameters console - Specifies the debug messages of MSTP will output to the console.
  • Page 366 ® xStack DGS-3400 Series Layer 2 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 367 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Port 3 :BLK Port 4 :BLK Port 5 :BLK...
  • Page 368 ® xStack DGS-3400 Series Layer 2 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. Parameters ports <portlist>...
  • Page 369 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Configuration BPDU TCN BPDU TCN BPDU...
  • Page 370 ® xStack DGS-3400 Series Layer 2 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. Example usage: To configure the STP debug state to enable, and then disable the STP debug state: DGS-3450:admin#debug stp state enable...
  • Page 371: Igmp Snooping Multicast (Ism) Vlan Commands

    ® xStack DGS-3400 Series Layer 2 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. Command Parameters create igmp_snooping multicast_vlan...
  • Page 372 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To create an IGMP snooping multicast VLAN with the VLAN name mv1 and the VID 2: DGS-3450:admin# create igmp_snoop multicast_vlan mv1 2 Command: create igmp_snooping multicast_vlan mv1 2 Success.
  • Page 373 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config igmp_snooping multicast_vlan v1 member_port 1:1,1:3 state enable Command: config igmp_snooping multicast_vlan v1 member_port 1:1,1:3 state enable Success. DGS-3450:admin# config igmp_snooping multicast_vlan_group Purpose Used to configure the IGMP multicast groups learned with the specified multicast VLAN. Syntax config igmp_snooping multicast_vlan_group <vlan_name 32>...
  • Page 374 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual should be " DGS-3450:admin# show igmp_snooping multicast_vlan_group Command: show igmp_snooping multicast_vlan_group VLAN Name VLAN ID Multicast Group Profiles ------------------------------ ------------- --------------------------------- test Success. DGS-3450:admin#" delete igmp_snooping multicast_vlan Purpose Used to delete an IGMP snooping multicast VLAN.
  • Page 375 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan IGMP Multicast VLAN Global State : Disabled IGMP Multicast VLAN Forward Unmatched: Disabled VLAN Name :test :100 Member(Untagged) Ports Tagged Member Ports Source Ports Untagged Source Ports Status...
  • Page 376: Multiple Spanning Tree Protocol (Mstp) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (MSTP) C ULTIPLE PANNING ROTOCOL OMMANDS The Multiple Spanning Tree Protocol (MSTP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show stp...
  • Page 377 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show stp Command: show stp STP Bridge Global Settings ----------------------------- STP Status : Enabled STP Version : MSTP Max Age : 20 Forward Delay : 15 Max Hops : 20 TX Hold Count Forwarding BPDU...
  • Page 378 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show stp instance Command: show stp instance STP Instance Settings --------------------------- Instance Type : CIST Instance Status : Enabled Instance Priority : 32768(Bridge Priority : 32768, SYS ID Ext : 0 ) STP Instance Operational Status -------------------------------- Designated Root Bridge : 32768/00-22-22-22-22-00...
  • Page 379 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show stp ports Command: show stp ports MSTP Port Information Port Index , Hello Time: 2 /2 , Port STP : Enabled , LBD : No External PathCost : Auto/20000 , Edge Port : False/No , P2P : Auto /Yes Port RestrictedRole : False, Port RestrictedTCN : False...
  • Page 380 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create mstp instance: DGS-3450:admin# create stp instance_id 2 Command: create stp instance_id 2 Success. DGS-3450:admin# delete stp instance_id Purpose Used to delete MST Instance. Syntax delete stp instance_id <value 1-15>...
  • Page 381 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config stp instance_id 2 add_vlan 1 to 3 Command: config stp instance_id 2 add_vlan 1 to 3 Success. DGS-3450:admin# To remove vlan id from mstp instance: DGS-3450:admin# config stp instance_id 2 remove_vlan 2 Command: config stp instance_id 2 remove_vlan 2 Success.
  • Page 382 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable stp Command: enable stp Success. DGS-3450:admin# disable stp Purpose Used to disable STP globally. Syntax disable stp Description To disable STP functionality in every existed instance. Parameters None.
  • Page 383 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config stp version mstp Command: config stp version mstp Configure value is the same with current value. Fail! DGS-3450:admin# config stp priority Purpose Used to configure the instance priority. config stp priority <value 0-61440>...
  • Page 384 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config stp maxage 25 Command: config stp maxage 25 Success. DGS-3450:admin# config stp ports Purpose Used to configure the ports management parameters only at CIST level. Syntax config stp ports <portlist>...
  • Page 385 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config stp mst_ports Purpose Used to configure the ports management parameters at CIST (instance_id = 0) or MSTI (instance_id = 1) level. Syntax config stp mst_ports <portlist> instance_id <value 0-15> {internalCost [ auto | <value 1-200000000>...
  • Page 386: Network Load Balancing (Nlb) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (NLB) C ETWORK ALANCING OMMANDS 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 387 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete nlb multicast_fdb Parameters <vlan_name 32> - Specify the VLAN of the NLB multicast FDB entry to be deleted. vlanid <vlanid> - Specify the VLAN by VLAN ID. <macaddr>...
  • Page 388 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 DGS-3450:admin#...
  • Page 389: Password Encryption Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ASSWORD NCRYPTION OMMANDS 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 disable password encryption create account [admin | operator| user] <username 15>...
  • Page 390 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable password encryption Parameters None. Restrictions Only Administrator users can issue this command. Example usage: To disable the password encryption: DGS-3450:admin# disable password encryption Command: disable password encryption Success.
  • Page 391 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config account sha_1 - Select to specify the password in the SHA-I enacrpted form. <password> - The password for the user account. The length for of password in plain-text form and in encrypted form are different.
  • Page 392 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show account Command: show account Current Accounts: Username Access Level --------------- ------------ System User dlink Admin Total Entries : 2 DGS-3450:admin# delete account Purpose Used to delete an existing account. Syntax delete account <username>...
  • Page 393: Password Recovery Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ASSWORD ECOVERY OMMANDS The Password Recovery commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters reset config {force_agree(1)} reboot {force_agree(1)}...
  • Page 394 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# reboot Command: reboot Save current setting before system restart?(y/n) Please wait, the switch is rebooting... reset account Purpose Used to delete the created account. Syntax reset account Description The reset account command deletes all of the created user accounts.
  • Page 395 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show account Description The show account command display all already created accounts. Parameters None. Restrictions This command is only available in password recovery mode. Example usage: To show the created account: DGS-3450:admin# show account Command: show account DGS-3450:admin# show account...
  • Page 396: Ping Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMANDS 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>} ping6 <ipv6addr>...
  • Page 397 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Packets: Sent =4, Received =4, Lost =0 DGS-3450:admin# To sse the host domain name for the ping command to test the network connectivity.
  • Page 398 ® xStack DGS-3400 Series Layer 2 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. source_ip - Specify the source IPv6 address of the ping packets.
  • Page 399 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable broadcast_ping_reply Command: enable broadcast_ping_reply Success. DGS-3450: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. Parameters None.
  • Page 400: Port Security Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ECURITY OMMANDS The Port Security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config port_security ports [<portlist>...
  • Page 401 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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. DGS-3450:admin# delete port_security_entry vlan_name Purpose Used to delete a port security entry.
  • Page 402 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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. Parameters <portlist>...
  • Page 403: Power Over Ethernet (Poe) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual E) C OWER OVER THERNET OMMANDS The Power over Ethernet (PoE) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config poe system...
  • Page 404 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To config PoE system-wise was setting: DGS-3450:admin# config poe system power_limit 250 power_disconnect_method deny_low_priority_port Command: config poe system power_limit 250 power_disconnect_method deny_low_priority_port Success. DGS-3450:admin# config poe ports Purpose Used to configure the PoE port settings.
  • Page 405 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config poe ports 1-4 state enable priority critical power_limit class_1 Command: config poe ports 1-4 state enable priority critical power_limit class_1 Power limit has been set to 4000mW (Class 1 PD upper power limit 3.84W + power loss on cable).
  • Page 406 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show poe ports Restrictions None. Example usage: To display PoE port: DGS-3450:admin# show poe ports 1-6 Command: show poe ports 1-6 Port State Priority Power Limit(mW) Time Range Class Power(mW) Voltage(decivolt)
  • Page 407: Protocol Vlan Group Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual VLAN G ROTOCOL ROUP OMMANDS 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 408 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create dot1v_protocol_group group_id 1 Command: create dot1v_protocol_group group_id 1 Success. DGS-3450: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 409 ® xStack DGS-3400 Series Layer 2 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 410 ® xStack DGS-3400 Series Layer 2 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 <vlan_name 32>...
  • Page 411 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 ------------------------- ---------------- building1...
  • Page 412: Quality Of Service (Qos) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual S) C UALITY OF ERVICE OMMANDS The Quality of Service (QoS) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config bandwidth_control...
  • Page 413 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config bandwidth_control bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit may be equal to the user specified limit, but will not exceed it. The actual limit recognized by the device, will be displayed when the command is executed.
  • Page 414 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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) ---- ---------- ------------- ------------ -------------- no_limit no_limit...
  • Page 415 ® xStack DGS-3400 Series Layer 2 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 416 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# show scheduling_mechanism Purpose Used to show the traffic scheduling mechanism.
  • Page 417 ® xStack DGS-3400 Series Layer 2 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 418 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config 802.1p default_priority of untagged packets received by the Switch. The priority value entered with this command 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 419 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# enable hol_prevention Purpose Used to enable HOL prevention. Syntax enable hol_prevention Description The enable hol_prevention command enables head of line prevention on the Switch.
  • Page 420 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# disable hol_prevention Command: disable hol_prevention Success. DGS-3450: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. Parameters None.
  • Page 421 ® xStack DGS-3400 Series Layer 2 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. max_rate - Specifies that one of the parameters below (no_limit or 64-10000000) will be applied to the maximum rate that the class specified above will be allowed to transmit packets at.
  • Page 422 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 no_limit no_limit no_limit...
  • Page 423: Remote Copy Protocol (Rcp) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (RCP) C EMOTE ROTOCOL OMMANDS 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. The RCP application uses client server architecture and the client can be any machine running the RCP client application.
  • Page 424 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the global RCP Server: DGS-3450:admin# config rcp server ipaddress 172.18.212.106 username rcp_user Command: config rcp server ipaddress 172.18.212.106 username rcp_user Success. DGS-3450:admin# config rcp server clear Purpose This command is used to clear the RCP global server information.
  • Page 425 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display the global RCP Server configuration: DGS-3450:admin#show rcp server Command: show rcp server RCP Server Address : 172.18.212.106 RCP Server Username : rcp_user DGS-3450:admin# download firmware_fromRCP Purpose This command is used to download firmware from RCP server.
  • Page 426 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# download firmware_fromRCP rcp: rcp_user@10.1.1.1/home/rcp_user/DGS- XXXX.had Command: download firmware_fromRCP rcp: rcp_user@10.1.1.1/home/rcp_user/DGS-XXXX.had Connecting to server....Done. Download firmware...... Done. Do not power off! Please wait, programming flash..Done. Saving current settings to NV-RAM..Done. DGS-3450:admin# To download firmware from RCP Server using rcp string without user name specified, and global RCP Server was not configured:...
  • Page 427 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# download firmware_fromRCP src_file /home/DGS-XXXX.had Command: download firmware_fromRCP src_file /home/DGS-XXXX.had No RCP Server IP Configured. Would you like to specify a RCP Server IP?(N) 172.18.211.106 No RCP Server Username Configured Would you like to specify a RCP Server Username?(N) rcp_user Connecting to server....
  • Page 428 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual download cfg_fromRCP Note: If a user specifies the relative file path, the path search strategy will depend on the server system. For some systems, the current user working directory will be searched first, followed by the environment paths.
  • Page 429 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toRCP If a user only specifies the path_filename parameter, only the current device configuration will be uploaded. config_id - Specifies the configuration file ID. There is no need to support this argument when only one configuration file is supported.
  • Page 430 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual upload log_toRCP rcp: <string 128> - Syntax: rcp: username@ipaddr/directory/filename Example for FULL path: user_name@10.1.1.1/home/user_name/desxxxx.had Example for relative path: user_name@10.1.1.1./desxxxx.had Note: No SPACES are allowed in the whole <string>. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 431 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To upload the attack log from the device to an RCP server: DGS-3450: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.
  • Page 432: Remote Switched Port Analyzer (Rspan) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (RSPAN) C EMOTE WITCHED NALYZER OMMANDS The Remote Switched Port Analyzer (RSPAN) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable rspan...
  • Page 433 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable rspan Purpose Used to disable the RSPAN globally. disable rspan Syntax Description This command controls the RSPAN function. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Configure RSPAN state to disabled: DGS-3450:admin# disable rspan...
  • Page 434 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete rspan vlan Syntax delete rspan vlan [vlan_name <vlan_name> | vlan_id <value 1-4094>] Description This command is used to delete RSPAN VLANs. vlan_name - Delete RSPAN VLAN by VLAN name. Parameters vlan_id - Delete RSPAN VLAN by VLAN ID.
  • Page 435 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure an RSPAN source entry without source target port: DGS-3450:admin#config rspan vlan vlan_name vlan2 source add ports 2-5 rx Command:config rspan vlan vlan_name vlan2 source add ports 2-5 rx Success.
  • Page 436 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To add or delete redirect ports for special RSPAN VLAN on intermediate or destination switch: DGS-3450:admin# config rspan vlan vlan_name vlan2 redirect add ports 1:18 Command: config rspan vlan vlan_name vlan2 redirect add ports 1:18 Success.
  • Page 437 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 -------------------- Redirect Ports : 1:6 RSPAN VLAN ID: 3 ----------------------...
  • Page 438: Routing Information Protocol (Rip) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (RIP) C OUTING NFORMATION ROTOCOL OMMANDS The Routing Information Protocol (RIP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config rip...
  • Page 439 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config rip ipif System rx_mode v1_only Command: config rip ipif System rx_mode v1_only Success. DGS-3450:admin# enable rip Purpose Used to enable RIP. Syntax enable rip Description This command is used to enable RIP on the Switch. Parameters None.
  • Page 440 ® xStack DGS-3400 Series Layer 2 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 441: Safeguard Engine Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual AFEGUARD NGINE OMMANDS 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 442 ® xStack DGS-3400 Series Layer 2 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]} Description Use this command to configure Safeguard Engine to minimize the effects of an ARP storm.
  • Page 443 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display the safeguard engine status: DGS-3450:admin# show safeguard_engine Command: show safeguard_engine Safeguard engine state Disabled Safeguard engine current status normal mode ======================================================= CPU utilization information: Rising Falling Trap/Log state Disabled Mode...
  • Page 444: Secure Shell (Ssh) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (SSH) C ECURE HELL OMMANDS The Secure Shell (SSH) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config ssh algorithm [3DES | AES128 | AES192 | AES256 | Arcfour | blowfish | cast128 | twofish128 |...
  • Page 445 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config ssh algorithm DSS enable RSA enable Command: config ssh algorithm DSS enable RSA enable Success. DGS-3450:admin# show ssh algorithm Purpose Used to show ssh server algorithm. Syntax show ssh algorithm Description...
  • Page 446 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config user authentication method: DGS-3450:admin# config ssh authmode publickey enable Command: config ssh authmode publickey enable Success. DGS-3450:admin# show ssh authmode Purpose Used to show user authentication method. Syntax show ssh authmode Description...
  • Page 447 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config ssh user test publickey Command: config ssh user test publickey Success. DGS-3450:admin# show ssh user authmode Purpose Used to show ssh user information. Syntax show ssh user authmode Description The show ssh user command show the ssh user information.
  • Page 448 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config ssh server maxsession 3 Command: config ssh server maxsession 3 Success. DGS-3450:admin# enable ssh Purpose Used to enable the SSH server. Syntax enable ssh Description The enable ssh command enables ssh server services. When enabling ssh, telnet will be disabled.
  • Page 449 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show ssh server Parameters None. Restrictions None. Example usage: To show the SSH server: DGS-3450:admin# show ssh server Command: show ssh server The SSH server configuration max Session Connection timeout : 300 Authfail attempts...
  • Page 450: Secure Sockets Layer (Ssl) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (SSL) C ECURE OCKETS AYER OMMANDS 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 through the use of a ciphersuite, which is a security string that determines the exact cryptographic parameters, specific encryption algorithms and key sizes to be used for an authentication session and consists of three levels: 1.
  • Page 451 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable ssl 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 452 ® xStack DGS-3400 Series Layer 2 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 453 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the SSL cachetimeout for 7200 seconds: DGS-3450:admin# config ssl cachetimeout 7200 Command: config ssl cachetimeout 7200 Success. DGS-3450:admin# show ssl cachetimeout Purpose Used to show the SSL cache timeout. Syntax show ssl cachetimeout Description...
  • Page 454 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show ssl Command: show ssl SSL status Disabled RSA_WITH_RC4_128_MD5 0x0004 Enabled RSA_WITH_3DES_EDE_CBC_SHA 0x000A Enabled DHE_DSS_WITH_3DES_EDE_CBC_SHA 0x0013 Enabled RSA_EXPORT_WITH_RC4_40_MD5 0x0003 Enabled DGS-3450:admin# Example usage: To view certificate file information on the Switch: DGS-3450:admin# show ssl certificate Command: show ssl certificate...
  • Page 455: Sflow Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMANDS The sFlow commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create sflow flow_sampler ports [<portlist> | all] analyzer_server_id < value 1-4> {rate <value 0-65535> | tx_rate <value 0-65535>...
  • Page 456 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create sflow flow_sampler value is 128 Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Create sFlow flow sampler: DGS-3450:admin# create sflow flow_sampler ports 1 analyzer_server_id 1 rate 1 maxheadersize 18 Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 1 maxheadersize 18 Success.
  • Page 457 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Delete the sFlow sampler port 1: DGS-3450:admin# delete sflow flow_sampler ports 1 Command: delete sflow flow_sampler ports 1 Success. DGS-3450:admin# create sflow counter_poller Purpose Used to create the sFlow counter_poller: Syntax create sflow counter_poller ports [<portlist>...
  • Page 458 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config sflow counter_poller ports 1 interval disable Command: config sflow counter_poller ports 1 interval disable Success. DGS-3450:admin# delete sflow counter_poller Purpose Used to delete the sFlow counter poller. Syntax delete sflow counter_poller ports [<portlist>...
  • Page 459 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create sflow analyzer_server 2 owner monitor timeout infinite collect oraddress 10.0.0.1 collectorport 65524 maxdatagramsize 300 Command: create sflow analyzer_server 2 owner monitor timeout infinite collector address 10.0.0.1 collectorport 65524 maxdatagramsize 300 Success.
  • Page 460 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete sflow analyzer_server 1 Command: delete sflow analyzer_server 1 Success. DGS-3450:admin# enable sflow Purpose Used to enable the sFlow function. Syntax enable sflow Description Enable the sFlow function. Parameters None.
  • Page 461 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show sflow sFlow State: The current state of the sFlow agent. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To show the sFlow information: DGS-3450:admin# show sflow Command: show sflow sFlow Version...
  • Page 462 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show sflow flow_poller port. Parameters None. Restrictions None. Example usage: To show the sFlow counter_poller information of ports which have been created: DGS-3450:admin# show sflow counter_poller Command: show sflow counter_poller Port Analyzer Server ID Polling Interval (secs)
  • Page 463: Stacking Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual TACKING OMMANDS 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. Stacking devices can provide more network bandwidth and reliability for users.
  • Page 464 ® xStack DGS-3400 Series Layer 2 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. Example usage: To display the stacking mode: DGS-3450:admin# show stacking_mode...
  • Page 465 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config box_id new_box_id - Specifies the new ID that will be assigned to the box. The parameter range is 1-12. auto - Allows the box ID to be assigned automatically by the stack system. The new box ID will take effect after the next reboot.
  • Page 466 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show stack_device Purpose Used to display information about the devices in the stack. Syntax show stack_device Description The show stack_device command displays stack device information. Parameters None. Restrictions None.
  • Page 467: Static Mac-Based Vlan Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual MAC-B VLAN C TATIC ASED OMMANDS 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 468 ® xStack DGS-3400 Series Layer 2 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 469: Subnet Vlan Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual VLAN C UBNET OMMANDS 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 470 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create subnet_vlan ipv6network fe80::250:baff::0/64 vlan v2 priority 2 Command: create subnet_vlan ipv6network fe80::250:baff::0/64 vlan v2 priority 2 Success. DGS-3450:admin# delete subnet_vlan Purpose Use this command to delete subnet vlan entry. Syntax delete subnet_vlan [network <network_address>...
  • Page 471 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show subnet_vlan vlan - If specify the vlan, all subnet vlan entries that associated with this vlan will be displayed. If no parameter is specified, all subnet vlan entries will be displayed. vidlist - Specifies a list of VLANs by VLAN ID.
  • Page 472 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config vlan_precedence ports If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN classification will process at first. If subnet VLAN classification fails, the MAC-based VLAN classification will be executed.
  • Page 473: Switch Port Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual WITCH OMMANDS 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 {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 |...
  • Page 474 ® xStack DGS-3400 Series Layer 2 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 475 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450: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: DGS-3450:admin# config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full Command: config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full Success.
  • Page 476 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 Enabled Enabled Auto/Disabled...
  • Page 477 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display the Error Disabled ports: DGS-3450:admin# show ports err_disabled Command : show ports err_disabled Port Port Connection status Reason State ------ -------- --------------------- ---------------- Enabled Err-disabled Storm control Desc: Port 2 Enabled Err-disabled...
  • Page 478 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual...
  • Page 479: Syslog Or Trap Source-Interface Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual YSLOG OR OURCE NTERFACE OMMANDS 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 480 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show syslog source_ipif Purpose Show syslog source IP interface. show syslog source_ipif Syntax Description This command is used to display the syslog source IP interface. Parameters None. Restrictions None.
  • Page 481 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config trap source_ipif none Command: config trap source_ipif none Success DGS-3450: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. Parameters None.
  • Page 482: System Log Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual YSTEM OMMANDS 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 483 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# clear log Command: clear log Success. DGS-3450: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>}]} Description This command displays the switch’s history log.
  • Page 484 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable syslog Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the sending of syslog messages: DGS-3450:admin# enable syslog Command: enable syslog Success.
  • Page 485 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show syslog Command: show syslog Syslog Global State: Enabled DGS-3450: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 | <level 0-7>] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number>...
  • Page 486 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config syslog host state - The syslog protocol is used for the transmission of event notification messages across 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 487 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create syslog host local5 user-defined facility 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 488 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show syslog host Restrictions None. Example usage: To display syslog host configurations: DGS-3450:admin# show syslog host Command: show syslog host Syslog Global State: Disabled Host 1 IP Address : 10.1.1.2 Severity : Warning...
  • Page 489 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config log_save_timing on_demand Command: config log_save_timing on_demand Success. DGS-3450:admin# show log_save_timing Purpose Used to show the method for saving the log. Syntax show log_save_timing Description To show the method for saving the log. Parameters None.
  • Page 490 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show attack_log index 1 Command: show attack_log index 1 Index Date Time Level Log Text ----- ---------- -------- -------- ---------------------------------------------- 2008-10-17 15:00:14 CRIT(2) Land attack is blocked from (IP: 10.72.24.1 Port: 7) DGS-3450:admin# clear attack_log...
  • Page 491 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# upload attack_log_toTFTP 10.9.68.9 dest_file test Command: upload attack_log_toTFTP 10.9.68.9 dest_file test Success. DGS-3450:admin# upload attack_log_toRCP Purpose Used to upload the attack log file from the device to an RCP server. Syntax upload attack_log_toRCP [{username <username 15>} {<ipaddr>} dest_file <path_filename 64>...
  • Page 492: Technical Support Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ECHNICAL UPPORT OMMANDS 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 493 DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show tech_support Command: show tech_support #------------------------------------------------------------------------------- DGS-3450 Gigabit Ethernet Switch Technical Support Information Firmware: Build 2.70.B56 Copyright(C) 2010 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2000-5-6 23:36:27] Boot Time...
  • Page 494 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin#...
  • Page 495: Telnet Client Commands

    DGS-3450:admin# telnet 10.90.90.90 Command: telnet 10.90.90.90 DGS-XXXX Fast Ethernet Switch Command Line Interface Firmware: Build 2.70.B56 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-3450:admin# telnet ctrl.iplanet.org tcp_port 2323 Command: telnet ctrl.iplanet.org tcp_port 2323...
  • Page 496: Tftp Client Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual TFTP C LIENT OMMANDS 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 497 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# download firmware_fromTFTP 10.54.71.1 src_file px.had Command: download firmware_fromTFTP 10.54.71.1 src_file px.had Connecting to server....Done. Download firmware...... Done. Do not power off! Please wait, programming flash..Done. DGS-3450:admin# download cfg_fromTFTP Purpose...
  • Page 498 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP ipv6addr - The IPV6 address of the TFTP server. domain_name - The domain name of the TFTP server. dest_file - Used to identify the parameter “path_filename”. path_filename - The pathname specifies the pathname on the TFTP server.
  • Page 499 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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> {unit <unit_id 1-12>} Description This command is used to upload the attack log on a unit.
  • Page 500: Time And Sntp Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual SNTP C IME AND OMMANDS 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. Command Parameters config sntp...
  • Page 501 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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-3450:admin# show sntp Purpose Used to display the SNTP information. Syntax show sntp Description...
  • Page 502 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable sntp Purpose To disable SNTP server support. Syntax disable sntp This will disable SNTP support. SNTP service must be separately configured (see config Description sntp). Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 503 ® xStack DGS-3400 Series Layer 2 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 504 ® xStack DGS-3400 Series Layer 2 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 505 ® xStack DGS-3400 Series Layer 2 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. Parameters None.
  • Page 506: Time Range Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ANGE OMMANDS 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 507 ® xStack DGS-3400 Series Layer 2 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: DGS-3450:admin# config time_range time1 hours start_time 6:30:00 end_time 21:40:00 weekdays mon-fri Command: config time_range time1 hours start_time 6:30:00 end_time 21:40:00 weekdays mon-...
  • Page 508: Trace Route Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual RACE OUTE OMMANDS 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 509 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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. <10 ms 10.48.74.121 Trace complete.
  • Page 510 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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. <10 ms 3000::1 Trace complete.
  • Page 511: Traffic Control Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual RAFFIC ONTROL OMMANDS There are two modes used for packet storm control on the Switch, Drop mode and Shutdown mode. Drop mode is hardware-based (chip-based) and Shutdown mode is a function of software. The two modes are incompatible with each other, therefore it is necessary to determine which method is best suited to the network environment where it is used.
  • Page 512 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config traffic control multicast - Enable or disable multicast storm control. dlf - Enable or disable unknown packet storm control. ( Supported for drop mode only) action - One of the two options for action are specified for storm control, shutdown of drop mode.
  • Page 513 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config traffic trap both Command: config traffic trap both Success. DGS-3450:admin# show traffic control Purpose Used to display the current traffic control settings. Syntax show traffic control { <portlist>} Description The show traffic control command displays the current traffic control settings.
  • Page 514 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config traffic control auto_recover_time Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the auto recover time to 5 minutes: DGS-3450:admin# config traffic control auto_recover_time 5 Command: config traffic control auto_recover_time 5 Success.
  • Page 515: Traffic Segmentation Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual RAFFIC EGMENTATION OMMANDS 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. Command Parameters config traffic_segmentation...
  • Page 516 ® xStack DGS-3400 Series Layer 2 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 517: Trusted Host Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual RUSTED OMMANDS 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 518 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete trusted_host all - All trusted hosts will be deleted. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete the trusted host: DGS-3450:admin# delete trusted_host 10.48.74.121 Command: delete trusted_host 10.48.74.121 Success.
  • Page 519: Unicast Route Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual NICAST OUTE OMMANDS 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>] <ipaddr>...
  • Page 520 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create iproute 10.48.74.121/255.0.0.0 10.1.1.254 primary Command: create iproute 10.48.74.121/8 10.1.1.254 primary Success. DGS-3450:admin# delete iproute default Purpose Used to delete an IP route entry from the switch’s IP routing table. Syntax delete iproute [default | <network_address>] <ipaddr>...
  • Page 521 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 DGS-3450:admin# show iproute static Command: show iproute static Routing Table...
  • Page 522 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the route preference for static routes to 70: DGS-3450:admin# config route preference static 70 Command: config route preference static 70 Success. DGS-3450:admin# show route preference Purpose Used to display the route preference of each route type.
  • Page 523 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create route redistribute dst rip Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add route redistribution settings: DGS-3450:admin# create route redistribute dst rip src local metric 2 Command: create route redistribute dst rip src local metric 2 Success.
  • Page 524 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config route redistribute dst rip src static Command: config route redistribute dst rip src static Succuss. DGS-3450:admin# show route redistribute Purpose Used to display the route redistribution settings on the switch. Syntax show route redistribute {dst [rip] | src [static | local]} Description...
  • Page 525: Utilization Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual TILIZATION OMMANDS 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 526 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: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 1:26 1:10 1:11...
  • Page 527 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show utilization dram Command: show utilization dram DRAM Utilization : Total DRAM : 262,144 KB Used DRAM : 212,568 KB Utilization : 81% Success. DGS-3450:admin# To display FLASH utilization: DGS-3450:admin# show utilization flash Command: show utilization flash FLASH Memory Utilization :...
  • Page 528 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (WAC) C BASED CCESS ONTROL OMMANDS The Web-based Access Control (WAC) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable wac...
  • Page 529 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable wac Command: enable WAC Success. DGS-3450:admin# disable wac Purpose Used to disable WAC function. Syntax disable wac Description The disable wac command disables WAC function; all authentication entries related to WAC will be deleted.
  • Page 530 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config wac ports 1-9 state enable Command: config wac ports 1-9 state enable Success. DGS-3450:admin# config wac method Purpose Used to configure WAC auth method. Syntax config wac method [local | radius] Description The config wac radius_protocol command allows you to specify the RADIUS protocol used by WAC to complete RADIUS authentication.
  • Page 531 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config wac default_redirpath http://www.dlink.com Command: config wac default_redirpath http://www.dlink.com Success. DGS-3450:admin# config wac clear_default_redirpath Purpose Used to clear WAC default redirect URL. Syntax config wac clear_default_redirpath Description When the string is cleared, the client will not be redirected to another URL after successful authentication.
  • Page 532 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config wac virtual_ip 30::20 Command: config wac virtual_ip 30::20 Success. DGS-3450:admin# config wac switch_http_port Purpose Used to config HTTP(s) port of the switch used by WAC. Syntax config wac switch_http_port <...
  • Page 533 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# create wac user vlan Jim Command: create wac user vlan Jim Enter a case-sensitive new password:** Enter the new password again for confirmation:** Success. DGS-3450:admin# delete wac user Purpose Used to delete a WAC local user.
  • Page 534 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config wac authorization attributes Purpose The enable authorization command will enable acceptation of authorized configuration. Syntax config wac authorization attributes {radius [enable| disable] | local [enable | disable]}(1) Description Used to enable or disable acceptation of authorized configuration.
  • Page 535 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show wac Command: show wac Web-Base Access Control ----------------------------- State : Enabled Method : RADIUS Redirect Path : http://tw.yaholl.com Virtual IP : 0.0.0.0 Virtual IPv6 : 2000::20 Switch HTTP Port : 80 (HTTP) RADIUS Authorization...
  • Page 536 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show wac user Command: show wac user Username Password --------- ---------- ------ pasx 1000 Total Entries: 1 DGS-3450:admin# show wac auth_state Purpose Used to display the authentication state of a port. Syntax show wac auth_state ports { <portlist>...
  • Page 537 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual clear wac auth_state authenticated - Specified to clear all authenticated users for a port. authenticating - Specified to clear all authenticating users for a port. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete WAC host: DGS-3450:admin# clear wac auth_state ports 1-5...
  • Page 538: T Echnical S Pecifications

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ECHNICAL PECIFICATIONS Specifications listed here apply to all Switches in the DGS-3400 Series except where otherwise noted. General Standards IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.3z 1000BASE-T (SFP “Mini GBIC”) IEEE 802.3ae (10G Optional Modules)
  • Page 539 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Physical and Environmental Internal Power Supply AC Input: 100 - 240 VAC, 50-60 Hz Redundant Power Supply Power Consumption DGS-3400 Series Module Inserts DGS-3426 (78.2 Watts) DEM-410CX (0.015 Watts) DGS-3426P (496 Watts) DEM-410X (6.16 Watts) DGS-3427 (86.68 Watts)
  • Page 540 This chapter explains 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: 1.

Table of Contents