D-Link xStack DGS-3400 Series 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 3.0

Advertisement

Table of Contents
loading

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

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

    DHCPV6 SERVER COMMANDS ............................189 DIGITAL DIAGNOSTIC MONITORING (DDM) COMMANDS ................... 202 D-LINK SINGLE IP MANAGEMENT COMMANDS ......................209 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS ................220 DOMAIN NAME SERVER (DNS) RESOLVER COMMANDS ................... 222 DOMAIN NAME SERVER (DNS) RELAY COMMANDS ....................227 ETHERNET RING PROTECTION SWITCHING (ERPS) COMMANDS ................
  • Page 3 IPV6 ROUTE COMMANDS ..............................332 IPV6 TUNNEL COMMANDS .............................. 336 JAPANESE WEB-BASED ACCESS CONTROL (JWAC) COMMANDS ................. 342 JUMBO FRAME COMMANDS ............................361 LIMITED IP MULTICAST ADDRESS..........................364 LINK AGGREGATION COMMANDS..........................367 LINK LAYER DISCOVERY PROTOCOL (LLDP) COMMANDS ..................372 LLDP-MED COMMANDS ..............................
  • Page 4 TIME RANGE COMMANDS ............................... 584 TRACE ROUTE COMMANDS ............................586 TRAFFIC CONTROL COMMANDS ........................... 589 TRAFFIC SEGMENTATION COMMANDS ........................593 TRUSTED HOST COMMANDS ............................595 UNICAST ROUTE COMMANDS ............................597 UTILIZATION COMMANDS ............................... 603 VOICE VLAN COMMANDS ............................... 606 WEB-BASED ACCESS CONTROL (WAC) COMMANDS ....................613 TECHNICAL SPECIFICATIONS ............................
  • 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 Boot Procedure 1.00-B13 ------------------------------------------------------------------------------- Power On Self Test ........100 % MAC Address : 00-22-B0-DE-F0-46 H/W Version : A2 Please wait, loading V3.00.B10 Runtime image .... 100 % UART init ..........
  • 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 3.00.B10 Copyright(C) 2012 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 cable_diag ports cfm linktrace cfm lock md cfm loopback clear clear address_binding dhcp_snoop binding_entry ports clear address_binding nd_snoop binding_entry ports clear arptable clear attack_log clear cfm pkt_cnt clear counters clear cpu port clear dhcp_binding clear dhcpv6 binding...
  • Page 9 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed. All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual −...
  • Page 10: 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 11 ® 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 12: 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 13 ® 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 14 ® 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 15 ® 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 16 ® 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 17 ® 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 18 ® 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 19 ® 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 20 ® 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 21 ® 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 22 ® 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 23 ® 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 24 ® 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 25 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 26: 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 27 ® 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 28 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters show auth_client show acct_client config accounting service [ network | shell | system ] state [ enable | disable ] show accounting service Each command is listed, in detail, in the following sections. enable 802.1x Purpose Used to enable the 802.1X function.
  • Page 29 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create 802.1x user Syntax create 802.1x user < username 15 > Description The create 802.1x user command create an 802.1X user. username - Specifies adding user name. Parameters Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 30 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display the 802.1X user information: 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.
  • Page 31 ® 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 32 ® 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 33 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show 802.1x Command: show 802.1x 802.1X : Disabled Authentication Mode : None Authentication Protocol : RADIUS_EAP Forward EAPOL PDU : Disabled Max Users : 4000 RADIUS Authorization : Enabled DGS-3450:admin# To display the 802.1X port level configurations: DGS-3450:admin#...
  • Page 34 ® 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 35 ® 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 36 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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 [ < portlist | all > ] | mac_based ports [ < portlist > | all ] { mac_address <...
  • Page 37 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create 802.1x guest_vlan Purpose Used to assign a static VLAN to be guest VLAN. Syntax create 802.1x guest_vlan { < vlan_name 32 > } Description The create 802.1x guest_vlan command will assign a static VLAN to be guest VLAN. The specific VLAN which assigned to guest VLAN must be existed.
  • Page 38 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config 802.1x guest_vlan enable - join the guest VLAN. disable - remove from guest VLAN. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Enable on port 1 – 8 to configure 802.1X guest VLAN: DGS-3450:admin# config 802.1x guest_vlan ports 1-8 state enable Command: config 802.1x guest_vlan ports 1-8 state enable Warning! GVRP of the ports were disabled!
  • Page 39 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config radius add encrypt user’s authentication data before being transmitted over internet. The maximum length of the key is 32. encryption_key - Specifies the encryption key. <password 56> - Enter the encryption key here. This can be up to 56 characters long. default - Sets the authentication UDP port number to 1812 accounting UDP port number to 1813, timeout to 5 seconds and retransmit to 2.
  • Page 40 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config radius <password 32> | encryption_key < password 56 >] | auth_port [<udp_port_number 1- 65535> | default] | acct_port [<udp_port_number 1-65535 > | default] | timeout [<sec 1- 255>...
  • Page 41 ® 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 42 ® 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 43 ® 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 44 ® 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 45 ® 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 46 ® 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 47 ® 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 48: 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 49 ® 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 50 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config authen server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] {port <int 1-65535> | [key [<key_string 254> | none] | encryption_key <key_string 344>] | timeout <int 1- 255>...
  • Page 51 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable password encryption the password will be in plan text form. However, if the user specifies the password in encrypted form, or if the password has been converted to encrypted form by the last enable password encryption command, the password will always be in the encrypted form and can not be reverted back to plaintext.
  • Page 52 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config account user to input the password interactively. In this case, the user can only input a plain text password. If the user specifies a password in the command, the user can select to input the password in plain text form or in encrypted form.
  • Page 53 ® 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 This command is used to delete an existing account. Syntax delete account <username>...
  • Page 54 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable authen_policy Command: enable authen_policy Success. DGS-3450:admin# disable authen_policy Purpose This command is used to disable the system access authentication policy. Syntax disable authen_policy Description Disable system access authentication policy- When authentication is disabled, the device will adopt the local user account database to authenticate the user attempting to log in, and adopt the local enable password to authenticate the enable password for promoting the user ‘s privilege to Admin level.
  • Page 55 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create authen_login method_list_name Purpose This command is used to create a user-defined method list of authentication methods for users attempting to log in to the Switch. Syntax create authen_login method_list_name <string 15> Description Creates a user-defined method list of authentication methods for users attempting to log into the Switch.
  • Page 56 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure a user-defined method list called “login_list_1”, that specifies a sequence of the built-in “tacacs+” server group, followed by the “tacacs” server group, and finally the local account database for users attempting to log in to the Switch: DGS-3450:admin# config authen_login method_list_name login_list_1 method tacacs+ tac acs local...
  • Page 57 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show authen_login method_list_name login_list_1 Command: show authen_login method_list_name login_list_1 Method List Name Priority Method Name Comment ---------------- -------- --------------- ------------------ login_list_1 tacacs+ Built-in Group tacacs Built-in Group mix_1 User-defined Group local...
  • Page 58 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config authen_enable tacacs+ - Specify authentication by the built-in server group “tacacs+”. radius - Specify authentication by the built-in server group “radius”. server_group - Specify authentication by the user-defined server group. local_enable - Specify authentication by the local enable password in the device.
  • Page 59 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show authen_enable method_list_name - Display the specific user-defined method list for promoting a user's privilege to Admin level. all - Display all the method lists for promoting a user's privilege to Admin level. Restrictions Only Administrator can issue this command.
  • Page 60 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config authen application telnet login method_list_name login_list_1 Command: config authen application telnet login method_list_name login_list_1 Success. DGS-3450:admin# show authen application Purpose This command is used to display the login/enable method list for all applications. Syntax show authen application Description...
  • Page 61 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config authen server_group Purpose This command is used to add or remove an authentication server host to or from the specified server group. Syntax config authen server_group [tacacs | xtacacs | tacacs+ | radius | <string 15>] [add | delete] server_host <ipaddr>...
  • Page 62 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete authen server_group mix_1 Command: delete authen server_group mix_1 Success. DGS-3450:admin# show authen server_group Purpose This command is used to display the authentication server groups. Syntax show authen server_group {<string 15>} Description Displays the authentication server groups.
  • Page 63 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create authen server_host TACACS/XTACACS/TACACS+ is 49. Default value for RADIUS is 1812. key - The key for TACACS+ and RADIUS authentication. If the value is null, no encryption will apply.
  • Page 64 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the TACACS+ authentication server host with an IP address of 10.1.1.222 to have the key value “This is a secret”: DGS-3450:admin# config authen server_host 10.1.1.222 protocol tacacs+ key "This is a secret"...
  • Page 65 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show authen server_host Command: show authen server_host SRV IP Address Protocol Port Timeout Retransmit --------------- -------- ----- ------- ---------- ------------------------- 10.1.1.222 TACACS+ 15555 No Use This is a secret Total Entries : 1 DGS-3450:admin# config authen parameter response_timeout...
  • Page 66 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config authen parameter attempt 9 Command: config authen parameter attempt 9 Success. DGS-3450:admin# show authen parameter Purpose This command is used to display the parameters of authentication. Syntax show authen parameter Description...
  • Page 67 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config admin local_enable Purpose This command is used to configure the local enable password of the administrator level privilege. Syntax config admin local_enable Description Configure the local enable password for the enable command. When the user chooses the “local_enable”...
  • Page 68 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable authen_policy_encryption Description When disabled, TACACS+ and RADIUS key will be in the plain text form. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the authentication policy encryption: DGS-3450:admin#disable authen_policy_encryption...
  • Page 69: 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. Command Parameters create access_profile...
  • Page 70 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters create cpu access_profile <value 1-5> [ethernet {vlan | source_mac <macmask 000000000000-ffffffffffff> | profile_id destination_mac <macmask 000000000000-ffffffffffff> | 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 71 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create access_profile Description The create access_profile command creates access list rules. Parameters vlan - Specifies a vlan mask. Only the last 12 bits of the mask will be considered. source_mac - Specifies the source mac mask.
  • Page 72 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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. DGS-3450:admin# create access_profile ip source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code profile_id 2 Command: create access_profile ip source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code profile_id 2...
  • Page 73 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config access_profile source_mac <macaddr 000000000000-ffffffffffff> | destination_mac <macaddr 000000000000-ffffffffffff> | 802.1p <value 0-7> | ethernet_type <hex 0x0-0xffff>} port [<portlist> | all] [permit { priority <value 0-7> {replace_priority} | rx_rate [no_limit | <value 1-156249>] | replace_dscp <value 0-63>...
  • Page 74 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config access_profile src_port - Specifies the range of tcp source port range. dst_port - Specifies the range of tcp destination port mask. protocod_id - Specifies that the rule applies to the value of ip protocol id traffic. user_define - Specifies that the rule applies to the ip protocol id and the mask options behind the IP header length is 20 bytes.
  • Page 75 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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 Success.
  • Page 76 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create cpu access_profile profile_id Purpose This command is used to create CPU access list profiles. Syntax create cpu access_profile profile_id <value 1-5> [ethernet {vlan | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000- ffffffffffff>...
  • Page 77 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create cpu access_profile profile_id <hex 0x0-0xffff> - Specify the UDP source port mask. dst_port_mask - (Optional) Specify the UDP destination port mask. <hex 0x0-0xffff> - Specify the UDP destination port mask. protocol_id_mask - Specify that the rule applies to the IP protocol ID traffic.
  • Page 78 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#create cpu access_profile profile_id 1 ethernet vlan Command: create cpu access_profile profile_id 1 ethernet vlan Success. DGS-3450:admin#create cpu access_profile profile_id 2 ip source_ip_mask 255.255.255.255 Command: create cpu access_profile profile_id 2 ip source_ip_mask 255.255.255.255 Success.
  • Page 79 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config cpu access_profile profile_id vlanid - Specify the VLAN ID. <vlanid 1-4094> - Specify the VLAN ID between 1 and 4094. source_ip - Specify an IP source address. <ipaddr>...
  • Page 80 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config cpu access_profile profile_id <hex 0x0-0xffffffff> - Specify the mask for packet bytes 24-27. <hex 0x0-0xffffffff> - Specify the mask for packet bytes 28-31. offset_32-47 - Specify the mask for packet bytes 32-47 <hex 0x0-0xffffffff>...
  • Page 81 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete cpu access_profile Purpose This command is used to delete CPU access list profiles. Syntax delete cpu access_profile [profile_id <value 1-5> |all ] Description This command is used to delete CPU access list profiles. Parameters profile_id - Specify the index of the access list profile.
  • Page 82 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show cpu access_profile Command: show cpu access_profile CPU Interface Filtering State: Disabled CPU Interface Access Profile Table Access Profile ID: 1 Type : Ethernet ================================================================================ MASK Option : VLAN Ethernet type -----------...
  • Page 83 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ================================================================================ MASK Option : Class Flow Label ----- ---------- Access ID : 1 Mode: Permit Ports: 1:1 ----- ---------- FFFFF ================================================================================ Total Rule Entries: 4 DGS-3450:admin# enable cpu_interface_filtering Purpose This command is used to enable CPU interface filtering.
  • Page 84 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#disable cpu_interface_filtering Command: disable cpu_interface_filtering Success. DGS-3450:admin#...
  • Page 85: 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 86 ® 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 87 ® 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 88 ® 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 89 ® 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 90: 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 91 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: 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: delete 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 92 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config arp_retry times Purpose Used to set the ARP retry times. Syntax config arp_retry times <value 0-4> Description You can set the value for ARP retry,If the values is setting to 0 means there will only send one ARP request for one data, without retry.
  • Page 93 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show arpentry Restrictions None. Example usage: To display the ARP table: DGS-3450:admin#show arpentry Command: show arpentry ARP Aging Time : 30 ARP Retry Times : 2 Interface IP Address MAC Address Type -------------...
  • Page 94: Arp Spoofing Prevention Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ARP S POOFING REVENTION OMMANDS The ARP Spoofing Prevention commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config arp_spoofing_prevention [add gateway_ip <ipaddr>...
  • Page 95 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show arp_spoofing_prevention Purpose Used to show the ARP spoofing prevention entry. Syntax show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry. Parameters None. Restrictions None.
  • Page 96: 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 97 ® 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 98 ® 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 99 ® 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 100 ® 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 101: 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 102 ® 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 103 ® 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 104: 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 105 ® 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 106: 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 107 ® 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 108 ® 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 109 ® 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 110 ® 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 111 ® 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 112 ® 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 113: 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 114 ® 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 115 ® 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 116 ® 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 117 ® 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 118: Connectivity Fault Management (Cfm) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (CFM) C ONNECTIVITY AULT ANAGEMENT OMMANDS The Connectivity Fault Management (CFM) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create cfm md...
  • Page 119 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters cfm linktrace <macaddr> [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1- 4294967295>]] {ttl <int 2-255> | pdu_priority <int 0-7>} show cfm linktrace [mepname <string 32>...
  • Page 120 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config cfm md Purpose Used to config cfm md configure the parameters of a maintenance domain. Syntax config cfm md [<string 22> | md_index <uint 1-4294967295>] {mip [none | auto | explicit] | sender_id [none | chassis | manage | chassis_manage]} Description The creation of MIPs on an MA is useful for tracing the link, MIP by MIP.
  • Page 121 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#create cfm ma op1 ma_index 1 md op_domain Command: create cfm ma op1 ma_index 1 md op_domain Success. DGS-3450:admin# config cfm ma Purpose Used to configure the parameters of a maintenance association. Syntax config cfm ma [<string 22>...
  • Page 122 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config cfm ma created maintenance association. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure a CFM MA: DGS-3450:admin#config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec mepid_list add 1 Command: config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec mepid_list add 1 Success.
  • Page 123 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config cfm mep Purpose Used to configure the parameters of an MEP. Syntax config cfm mep [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] {state [enable | disable] | ccm [enable | disable] | pdu_priority <int 0-7>...
  • Page 124 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To configure a CFM MEP: DGS-3450:admin#config cfm mep mepname mep1 state enable ccm enable Command: config cfm mep mepname mep1 state enable ccm enable Success. DGS-3450:admin# delete cfm mep Purpose Used to delete a previously created MEP.
  • Page 125 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#delete cfm ma op1 md op_domain Command: delete cfm ma op1 md op_domain Success. DGS-3450:admin# delete cfm md Purpose Used to delete a maintenance domain. Syntax delete cfm md [<string 22> | md_index <uint 1-4294967295>] Description All the MEPs and maintenance associations created in the maintenance domain will be deleted automatically.
  • Page 126 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable cfm Purpose Used to disable the CFM globally. Syntax disable cfm Description This command is used to disable the CFM globally. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the CFM globally: DGS-3450:admin#disable cfm...
  • Page 127 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show cfm ports Restrictions None. Example usage: To show the CFM ports: DGS-3450:admin#show cfm ports 1:3-1:6 Command: show cfm ports 1:3-1:6 Port State ----- -------- Enabled Enabled Enabled Disabled DGS-3450:admin# show cfm...
  • Page 128 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual MIP Creation: Explicit SenderID TLV: None MA Index MA Name ---------- ---------------------- ---- DGS-3450:admin#show cfm md op_domain ma op1 Command: show cfm md op_domain ma op1 MA Index MA Name : op1 MA VID...
  • Page 129 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual AIS PDUs Transmitted: 0 LCK PDUs : 0 received LCK PDUs Transmitted: 0 DGS-3450:admin# show cfm fault Purpose Used to show the MEPs that have faults. Syntax show cfm fault {md [<string 22> | md_index <uint 1-4294967295>] {ma [<string 22> | ma_index <uint 1-4294967295>]}} Description This command is used to display all the fault conditions detected by the MEPs contained in a...
  • Page 130 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show cfm port 1:2 Command: show cfm port 1:2 MAC Address: 00-22-B0-DE-F0-46 MD Name MA Name MEPID Level Direction ----------- ----------- ----- ----- --------- ---- op_domain Inward DGS-3450:admin# cfm lock md Purpose Used to start/stop cfm management lock.
  • Page 131 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual cfm loopback md_index <uint 1-4294967295> - Specify the maintenance domain index. ma <string 22> - Specify the maintenance association name. ma_index <uint 1-4294967295> - Specify the maintenance association index. num <int 1-65535>...
  • Page 132 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#cfm linktrace 00-01-02-03-04-05 mepname mep1 Command: cfm linktrace 00-01-02-03-04-05 mepname mep1 Transaction ID: 26 Success. DGS-3450:admin# show cfm linktrace Purpose Used to show the link trace responses. show cfm linktrace [mepname <string 32> | mepid <int 1-8191> md [<string 22> | Syntax md_index <uint 1-4294967295>] ma [<string 22>...
  • Page 133 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show cfm linktrace mep mep1 trans_id 26 Command: show cfm linktrace mep mep1 trans_id 26 Transaction ID: 26 From MEP mep1 to 00-11-22-33-44-55 Start Time 2008-01-01 12:00:00 MEPID Ingress MAC Address Egress MAC Address...
  • Page 134 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show MIP CCM database entries: DGS-3450:admin#show cfm mipccm Command: show cfm mipccm MAC Address Port ---------- ---- ----------------- ----- opma 00-11-22-33-44-55 opma 00-22-33-44-55-66 Total: 2 DGS-3450:admin# config cfm mp_ltr_all Purpose...
  • Page 135 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show cfm mp_ltr_all Command: show cfm mp_ltr_all All MPs reply LTRs: Enabled DGS-3450:admin# show cfm remote_mep Purpose Used to show remote MEPs. Syntax show cfm remote_mep [mepname <string 32> | md [<string 22> | md_index <uint 1- 4294967295>] ma [<string 22>...
  • Page 136 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show cfm pkt_cnt Restrictions None. Example usage: To show the CFM packet’s RX/TX counters:...
  • Page 137 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show cfm pkt_cnt Command: show cfm pkt_cnt CFM RX Statistics ----------------------------------------------------------------------------- Port AllPkt VidDrop OpcoDrop ----- -------- -------- -------- -------- -------- -------- -------- -------- CFM TX Statistics ----------------------------------------------------------- Port AllPkt ----- -------- -------- -------- -------- -------- --------...
  • Page 138 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual clear cfm pkt_cnt Purpose Used to clear the CFM packet’s RX/TX counters. Syntax clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} Description This command is used to clear the CFM packet’s RX/TX counters.
  • Page 139 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config cfm ais md op_domain ma op1 mepid 1 state enable level 5 Command: config cfm ais md op_domain ma op1 mepid 1 state enable level 5 Success. DGS-3450:admin# config cfm lock md Purpose...
  • Page 140: 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 141 ® 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 142 ® 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 143 ® 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 Command: clear counters Success.
  • Page 144: 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 145 ® 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 146 ® 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 147 ® 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 148 ® 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 149 ® 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 150 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#debug show error ports sio1 Command: debug show error ports sio1 Port number : 1:49 RX Frames TX Frames --------- --------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment...
  • Page 151 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#debug show packet ports sio1 Command: debug show packet ports sio1 Port number : 1:49 Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 65-127 128-255 256-511 512-1023 1024-1518 1519-2047 2048-4095 4096-9216...
  • Page 152: 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 153 ® 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 154: 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 155 ® 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 156 ® 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 157 ® 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 158 ® 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 second(s) DHCP Vendor Class Identifier Option 60 State: Disabled DHCP Client Identifier Option 61 State: Disabled DHCP Relay Agent Information Option 82 State : Disabled...
  • Page 159 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 add The system will relay the packet to all the matching servers. Parameters string - The specified string. relay - Specify a relay server IP address. exact-match - The option 60 string in the packet must full match with the specified string.
  • Page 160 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 delete Purpose This command is used to delete the DHCP Relay option 60 entry. Syntax config dhcp_relay option_60 delete [string <mutiword 255> {relay <ipaddr>} | ipaddress <ipaddr>...
  • Page 161 ® 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: Matching Rules: String Match Type IP Address ------- --------- --------- Partial Match 110.1.1.4 Partial Match 110.1.1.4 Partial Match 110.1.1.4...
  • Page 162 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 add 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 163 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 delete string - The entry with the specified string will be deleted. all - All rules excluding the default rule will be deleted. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete an option 61 rule: DGS-3450:admin# config dhcp_relay option_61 delete mac_address 00-11-22-33-44-55...
  • Page 164: 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 165 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config filter dhcp_server illegal_server_log_suppress_duration - Specify the suppress duration of illegal DHCP server feature. trap_log – Enable or disable trap/log related to DHCP server filter. 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 166 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display the DHCP server/client filter list created on the switch the log ceasing unauthorized duration and the log/trap state: 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...
  • Page 167: 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 168 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_server disable dhcp_server show dhcp_server create dhcp excluded_address <ipaddr> end_address <ipaddr> begin_address delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all] show dhcp excluded_address show dhcp pool { <pool_name 12>} config dhcp pool option_43 <pool_name 12>...
  • Page 169 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete dhcp pool <pool_name 12> − Enter an name of up to 12 alphanumeric characters to identify the pool to Parameters be deleted with this command. all – Enter this command to delete all created DHCP pool. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 170 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete dhcp pool manual_binding Purpose Used to delete a previously created DHCP manual binding entry. Syntax delete dhcp pool manual_binding <pool_name 12> [<ipaddr> | all] Description This command will delete a DHCP manual binding entry created with the create dhcp pool manual_binding command.
  • Page 171 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show dhcp_binding Purpose Used to show the DHCP binding information. Syntax show dhcp_binding {<pool_name 12>} Description This command is used to display the DHCP binding information by created pool. Entering the command without the pool name will display all information regarding DHCP binding on the switch.
  • Page 172 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp ping_packets Purpose Used to set the number of ping packets that will be sent out to find if an IP address is available. Syntax config dhcp ping_packets <number 2-10> Description This command will set the number of ping packets that will be sent out to find if an IP address is available to be allocated as a valid DHCP IP address.
  • Page 173 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool boot_file Purpose Used to specify the Boot File that will be used as the boot image of the DHCP client Syntax config dhcp pool boot_file <pool_name 12> <file_name 64> Description This command is used to specify the Boot File that will be used as the boot image of the DHCP client.
  • Page 174 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool dns_server_address Purpose Used to configure the IP addresses of DNS servers for a specific DHCP pool. Syntax config dhcp pool dns_server_address <pool_name 12> <ipaddr> {<ipaddr>} {<ipaddr>} Description This command is used to configure the DNS server IP addresses for a specific DHCP pool for the switch.
  • Page 175 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool lease Purpose Used to configure the lease time of DCHP clients within a DHCP pool. Syntax config dhcp pool lease<pool_name 12> [<day 0-365> <hour 0-23> <minute 0-59> | infinite] Description Using this command, the user can specify the lease time for the DHCP client.
  • Page 176 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config dhcp pool netbios_name_server accounting 10.98.254.2 Command: config dhcp pool netbios_name_server accounting 10.98.254.2 Success. DGS-3450:admin# config dhcp pool netbios_node_type Purpose Used to set the Net BIOS node type for the DHCP server. Syntax config dhcp pool netbios_node_type <pool_name 12>...
  • Page 177 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config dhcp pool network_addr accounting 10.1.1.1/8 Command:config dhcp pool network_addr accounting 10.1.1.1/8 Success. DGS-3450:admin# config dhcp pool next_server Purpose Used to configure the IP address of the server that has the boot file for the DHCP pool. Syntax config dhcp pool next_server <pool_name 12>...
  • Page 178 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable dhcp_server Command: enable dhcp_server Success. DGS-3450:admin# disable dhcp_server Purpose Used to disable the DHCP function on the switch. Syntax disable dhcp_server Description This command, along with the enable dhcp_server will enable and disable the DHCP server function without affecting configurations.
  • Page 179 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create dhcp excluded_address begin_address Purpose Used to configure IP addresses that will be excluded from the DHCP Server pool of addresses. Syntax create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> Description This command will allow the user to set an 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 to clients requesting...
  • Page 180 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 Command: delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 Success. DGS-3450:admin# show dhcp excluded_address Purpose Used to display the excluded IP addresses of the DHCP server function. Syntax show dhcp excluded_address Description...
  • Page 181 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show dhcp pool Floor2 Command: show dhcp pool Floor2 Pool Name :Floor2 Network Address :10.0.0.0/8 Domain Name DNS Server Address :0.0.0.0 NetBIOS Name Server :0.0.0.0 NetBIOS Node Type :Broadcast Default Router :0.0.0.0...
  • Page 182 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool option_profile delete - Specifies to delete an option profile from the DHCP pool. <profile_name 12> - Enter the profile name used here. This name can be up to 12 characters long.
  • Page 183 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete dhcp option_profile Description This command is used to delete a DHCP option profile. Parameters <profile_name 12> - Enter the profile name used here. This name can be up to 12 characters long.
  • Page 184 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config dhcp option_profile profile1 add option 56 string "11-22-33-44-55- 66" Command: config dhcp option_profile profile1 add option 56 string "11-22-33-44-55-66" Success. DGS-3450:admin# show dhcp option_profile Purpose Used to display the current DHCP option profile configuration. Syntax show dhcp option_profile {<profile_name 12>} Description...
  • Page 185: 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 debug dhcpv6_client state [enable | disable] debug dhcpv6_client output [buffer | console]...
  • Page 186 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# debug dhcpv6_client output console Command: debug dhcpv6_client output console Success. DGS-3450:admin# debug dhcpv6_client packet Purpose Used to enable or disable the debug information flag for DHCPv6 client packets, including packet receiving and sending.
  • Page 187: 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 188 ® 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 189 ® 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 190 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable dhcpv6_relay Command: enable dhcpv6_relay Success. DGS-3450:admin# disable dhcpv6_relay Purpose Used to disable the DHCPv6 relay function on the Switch Syntax disable dhcpv6_relay Description This command is used to disable the DHCPv6 relay global state on the Switch. Parameters None.
  • Page 191 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_relay output Description This command is used to set the debug message to output to a buffer or a console. Parameters output - See below: buffer - Let the debug message output to buffer. console - Let the debug message output to console.
  • Page 192 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_relay hop_count state enable - Enable the hop_count state. disable - Disable the hop_count state. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable debug information flag about the hop count: DGS-3450:admin# debug dhcpv6_relay hop_count state enalbe...
  • Page 193: 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 194 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To create a DHCPv6 pool pool1: 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 195 ® 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::32/64 Domain Name : d_link.com DNS Server Address : 2000::200 : 2000::201 Preferred Lifetime...
  • Page 196 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config dhcpv6 pool ipv6network_addr pool1 begin 2000::1/64 end 2000::32/64 Command: config dhcpv6 pool ipv6network_addr 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 197 ® 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 198 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool manual_binding manual binding entry. add <ipv6addr> - Enter the IPv6 address to be statically bound to a device. <ipv6networkaddr> - Enter the IPv6 prefix to be statically bound to a device. client_duid <string 28>...
  • Page 199 ® 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 200 ® 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 201 ® 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 {ipif <ipif_name 12>} Description...
  • Page 202 ® 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 203 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address 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 End Address...
  • Page 204 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_server state Parameters state - See below: enable - Enable the DHCPv6 server debug function disable - Disable the DHCPv6 server debug function Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enabled the DHCPv6 server debug function: DGS-3450:admin# debug dhcpv6_server state enable...
  • Page 205 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool prefix_delegation <ipv6networkaddr> - Enter the IPv6 networks address of the DHCPv6 pool here. <value 1-128> - Enter the prefix length value here. This can be between 1 and 128. <ipif_name 12>...
  • Page 206: 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 207 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm ports high_alarm - Specify the high threshold for the alarm. When the operating parameter rises above this value, the action associated with the alarm is taken. <float>...
  • Page 208 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm ports take effect. enable - Specify to enable the DDM state. disable - Specify to disable the DDM state. shutdown - Specify whether or not to shutdown the port when the operating parameter exceeds the corresponding alarm threshold or warning threshold.
  • Page 209 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual 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 210 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ddm trap Description The command configures the DDM trap action when encounter an exceeding alarm or warning thresholds event. Parameters trap - Specifies whether or not to send trap, when the operating parameter exceeds the corresponding threshold.
  • Page 211 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show ddm ports 10-12 status Command: show ddm ports 10-12 status Port Temperature Voltage Bias Current TX Power RX Power (in Celsius) (mA) (mW) (mW) ------ ------------- --------- ------------- ---------- ----------- 21.5 CTRL+C ESC q Quit...
  • Page 212 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show ddm Description The command displays the DDM global setting. Parameters None. Restrictions None. Example usage: To display the global DDM setting: DGS-3450:admin# show ddm Command: show ddm DDM Log : Enabled DDM Trap...
  • Page 213: 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 214 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 215 ® 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 216 ® 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 217 ® 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 : 3.00.B10 Device Name MAC Address : 00-22-B0-DE-F0-46 Capabilities : L2 Platform : DGS-3450 L2 Switch SIM State : Disabled Role State : Candidate...
  • Page 218 ® 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 L2 Switch...
  • Page 219 ® 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_group [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 220 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config sim alphanumeric string of up to 64 characters to rename the SIM group. candidate – Used to change the role of a CS (commander) to a CaS (candidate). dp_interval <30-90>...
  • Page 221 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config sim commander group_name Demetrius Command: config sim commander group_name Demetrius Success. DGS-3450:admin# download sim_ms Purpose Used to download firmware or configuration file to an indicated device. Syntax download sim_ms [firmware_from_tftp | configuration_from_tftp] <ipaddr>...
  • Page 222 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# download sim_ms configuration_from_tftp 10.53.13.94 c:/dgs3450.txt all Command: download sim_ms configuration_from_tftp 10.53.13.94 c:/dgs3450.txt all This device is updating configureation. Please wait several minutes ... Download Status : MAC Address Result ----------------- ----------------...
  • Page 223 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450: admin#upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt members 1 Command: upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt memebers 1 This device is uploading configuration. Please wait several minutes ... Upload Status : MAC Address Result -----------------...
  • Page 224: 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 225 ® 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 226: 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 227 ® 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 228 ® 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 229 ® 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 230 ® 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 231: 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 232 ® 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 233 ® 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 234 ® 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 235: 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 236 ® 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 237 ® 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 238 ® 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 239 ® 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 240 ® 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 241 ® 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 242 ® 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 243 ® 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 244 ® 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 245: 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 246 ® 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 247 ® 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 248 ® 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 249 ® 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 250 ® 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 default...
  • Page 251 ® 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 252: General Switch Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual ENERAL WITCH OMMANDS The General Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show cpu port {[l2 | l3 {[unicast | multicast]} |type [lacp | stp | gvrp | erps | cfm| 802.1x | lldp | udld | stacking | ctp | rip | ripng | reserved_ipv4_ipmc | reserved_ipv6_ipmc | unknow_ipv4_ipmc | unknow_ipv6_ipmc | arp | icmp | ndp | icmpv6 | sntp | dns |...
  • Page 253 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show cpu port l3 Command: show cpu port l3 Type Total Drop ------------------- ---------- ----------- ----------- RIPng DHCP DHCPv6 Reserved IPv4 IPMC Reserved IPv6 IPMC Unknown IPv4 IPMC Unknown IPv6 IPMC ICMP ICMPv6...
  • Page 254 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual clear cpu port Purpose Used to reset all counters for L2/L3 control packets that are trapped to CPU. Syntax clear cpu port Description This command is use to reset all counters for L2/L3 control packets that are trapped to CPU. Parameters None.
  • Page 255 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#disable password_recovery Command: disable password_recovery Success. DGS-3450:admin# show password_recovery Purpose Used to display the password recovery state. Syntax show password_recovery Description The displayed content includes both the running configuration and the NV-RAM configuration.
  • Page 256: 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 257 ® 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 258 ® 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 259 ® 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 260: 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 261 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Command Parameters create vlan <vlan_name 32> {tag <vlanid 2-4094> | {advertisement} | type [1q_vlan | private_vlan | protocol-ip | protocol-ipx802dot3 | protocol-ipx802dot2 | protocol- ipxSnap | protocol-ipxEthernet2 | protocol-appleTalk | protocol-decLat | protocol- sna802dot2 | protocol-snaEthernet2 | protocol-netBios | protocol-xns|protocol- vines | protocol-ipV6 | protocol-userDefined <hex 0x0-0xffff>...
  • Page 262 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create vlan Each VLAN name can be up to 32 characters. Only Administrator and Operator-level users can Restrictions issue this command. Example usage: To create a VLAN v1, tag 2: DGS-3450:admin# create vlan v1 tag 2 Command: create vlan v1 tag 2 Success.
  • Page 263 ® 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 264 ® 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 265 ® 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 266 ® 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 267 ® 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 268 ® 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 269 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# config double_vlan RG delete 1:4-1:8 Command: config double_vlan RG 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 270 ® 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 271 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config private_vlan Purpose Used to configure the private VLAN feature. Syntax config private_vlan [<vlan_name 32> | vid <vlanid 1-4094>] [add [isolated | community] | remove] [<vlan_name 32> | vlanid <vidlist>] Description A private VLAN is comprised of a primary VLAN, up to one isolated VLAN, and a number of community VLANs.
  • Page 272 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show private_vlan Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To display private VLAN settings: DGS-3450:admin# show private_vlan Command: show private_vlan Private VLAN 100 ------------------ Promiscuous Ports: 1 Trunk Ports...
  • Page 273: 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 274 ® 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 275 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config qinq ports 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 276 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete vlan_translation ports 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 277 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create vlan_translation ports 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 278: 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 2 or Layer 3 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 279 ® 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 280 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. 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>...
  • Page 281 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping querier query_interval - Specify the amount of time in seconds between general query transmissions. The default setting is 125 seconds. max_reponse_time - Specify the maximum time in seconds to wait for reports from members. The default setting is 10 seconds.
  • Page 282 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config router_ports Syntax config router_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. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.
  • Page 283 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable igmp_snooping function. If the forward multicast router only is enabled, the switch will forward all multicast traffic to the 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 IGMP control packet.
  • Page 284 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable IGMP snooping on the switch: 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>...
  • Page 285 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete igmp_snooping static_group Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete an IGMP snooping static group for “vlan1”, 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 286 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show igmp_snooping static_group Restrictions None. Example usage: To display all the IGMP snooping static groups: DGS-3450:admin#show igmp_snooping static_group Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports ------------------------------------- --------------- ----------------------...
  • Page 287 ® 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 288 ® 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 289 ® 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 290 ® 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 291 ® 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 292 ® 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 293 ® 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 294 ® 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/FF1E::1 VLAN Name/VID :default/1 Reports Member Ports : 1-2 Router Ports : 24 UP Time : 26 Expiry Time : 258 Filter Mode : INCLUDE...
  • Page 295 ® 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 296 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping data_driven_learning according to the multicast filtering mode. Note that if a data-driven group is created and IGMP member ports are learned later, the entry will become an ordinary IGMP snooping entry. That is, the aging out mechanism will follow the ordinary IGMP snooping entry.
  • Page 297 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the maximum number of groups that can be learned by data driven: Prompt# config igmp_snooping data_driven_learning max_learned_entry 50 Command: config igmp_snooping data_driven_learning max_learned_entry 50 Success.
  • Page 298 ® 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 299 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config igmp_snooping forward_lookup_mode mac Command: config igmp_snooping forward_lookup_mode mac Success. DGS-3450:admin# show igmp_snooping forward_lookup_mode Purpose Used to show IGMP snooping forward lookup mode. Syntax show igmp_snooping forward_lookup_mode Description The command is used to show IGMP snooping forward lookup mode on the switch.
  • Page 300: 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 301 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create ipif When proxy ARP is enabled for an interface, the system will do the proxy reply for the ARP packets destined for IP address located in a different interface. For ARP packets destined for IP address located in the same interface, the system will check this setting to determine whether to reply.
  • Page 302 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ipif letter or digit, and have only letters, digits, and hyphen as interior characters; the maximal length is 63. dhcp_option12 clear_hostname - To clear the hostname setting. If host name is empty, system name will be used to encode option 12.
  • Page 303 ® 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 304 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable ipif Description This command is used to disable the state for an IPIF. Parameters ipif_name - Specifies the name of the IP interface used. all - Specifies that all the interfaces will be disabled. Restrictions Only Administrator and Operator-level users can issue this command.
  • Page 305 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual disable ipif_ipv6_link_local_auto all - Specifies that all the interfaces will be disabled. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the automatic configuration of link local address for an interface: DGS-3450:admin#disable ipif_ipv6_link_local_auto System Command: disable ipif_ipv6_link_local_auto System Success.
  • Page 306 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show ipif Command: show ipif IP Interface : InterS IP Interface : InterS Interface Admin State : Enabled Link Status : LinkUp IPv4 Address : 192.168.69.1/24 (Manual) Secondary Proxy ARP : Disabled (Local : Disabled)
  • Page 307 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual delete ipif Description This command is used to delete an interface or all the interfaces. Note that the system interface can not be deleted. By using this command, a IPv6 address can be deleted from the ipif.
  • Page 308: 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 309 ® 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 310 ® 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 311 ® 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 312 ® 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 313 ® 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 314 ® 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 315 ® 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 316 ® 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 317 ® 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 318 ® 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 319 ® 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 320 ® 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 321 ® 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 322 ® 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 323 ® 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 324: 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 325 ® 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 326 ® 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 327 ® 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 328 ® 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 329 ® 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 330: 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 331 ® 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 332 ® 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 333 ® 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 334 ® 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 335 ® 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 336: 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 337 ® 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 338 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show ipv6route ripng - Display the RIPng route entries. hardware - Display the hardware 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...
  • Page 339 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#enable ipv6_route_longprefix log Command: enable ipv6_route_longprefix log Success. DGS-3450:admin# disable ipv6_route_longprefix Purpose Used to disable to record syslog for the function supporting IPv6 route with prefix more than 64 bits.
  • Page 340: 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 341 ® 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 342 ® 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 343 ® 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 344 ® 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 : ISATAP IPv6 Link-Local Address : FE80::5EFE:A00:1/128 IPv6 Global Unicast Address : 2001::5EFE:A00:1/64 Tunnel Source : 10.0.0.1 Tunnel Destination...
  • Page 345 ® 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 346: 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 347 ® 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 348 ® 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 349 ® 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 350 ® 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 351 ® 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 352 ® 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 353 ® 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 354 ® 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 355 ® 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 356 ® 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 357 ® 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 358 ® 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 359 ® 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 360 ® 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 361 ® 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 362 ® 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 363 ® 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 364 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 365: 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 366 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To disable the jumbo frame function on the Switch: DGS-3450:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-3450:admin# config jumbo_frame ports Purpose Used to configure the jumbo frame state on specified ports. Syntax config jumbo_frame ports [<portlist>...
  • Page 367 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show jumbo_frame Command: show jumbo_frame Jumbo Frame Global State : Enable Maximum Jumbo Frame Size : 9216 Bytes Port Jumbo Frame State ------- -------------------- Enable Enable Enable Enable Enable Enable Enable...
  • Page 368: 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 369 ® 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 370 ® 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 371: 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 372 ® 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 373 ® 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 374 ® 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 375 ® 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 376: 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 377 ® 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 378 ® 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 379 ® 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 380 ® 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 381 ® 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 382 ® 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 383 ® 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 384 ® 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 385 ® 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 386 ® 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 387 ® 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 388 ® 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 389 Port ID : 1:1 ----------------------------------------------------------------------------- Port ID Subtype : MAC Address Port ID : 00-22-B0-DE-F0-46 Port Description : D-Link DGS-3450 R3.00.B10 Port 1 on Unit 1 Port PVID Management Address Count PPVID Entries Count VLAN Name Entries Count Protocol Identity Entries Count...
  • Page 390 ® 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 391: Lldp-Med Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual LLDP-MED C OMMANDS The LLDP-MED commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config lldp_med fast_start <value 1 - 10>...
  • Page 392 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config lldp_med log state Syntax config lldp_med log state [enable | disable] Description This command is used to configure the log state of LLDP-MED events. enable - Enable the log state for LLDP-MED events. Parameters disable - Disable the log state for LLDP-MED events.
  • Page 393 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config lldp_med ports med_transit_capabilities - Select to send the LLDP-MED TLV capabilities specified. all - Select to send capabilities, network policy, and inventory. capabilities - Specify that the LLDP agent should transmit “LLDP-MED capabilities TLV.” If a user wants to transmit LLDP-MED PDU, this TLV type should be enabled.
  • Page 394 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show lldp_med local_ports Purpose Used to display the per-port LLDP-MED information currently available for populating outbound LLDP-MED advertisements. Syntax show lldp_med local_ports {<portlist>} Description This command is used to display the per-port LLDP-MED information currently available for populating outbound LLDP-MED advertisements.
  • Page 395 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show lldp_med ports 1:1 Command: show lldp_med ports 1:1 Port ID : 1:1 ----------------------------------------------------------------- Topology Change Notification Status :Enabled LLDP-MED Capabilities TLV :Enabled LLDP-MED Network Policy TLV :Enabled LLDP-MED Extended Power Via MDI PSE TLV :Enabled LLDP-MED Inventory TLV...
  • Page 396 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Priority DSCP Unknown : True Tagged Application Type : Softphone Voice VLAN ID : 200 Priority DSCP Unknown : False Tagged : True Location Identification: Location Subtype: CoordinateBased Location Information Location Subtype: CivicAddress Location Information...
  • Page 397: Loopback Detection Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OOPBACK ETECTION OMMANDS The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config loopdetect {recover_timer [0 | <sec 60-1000000>] | interval <sec 1-32767>...
  • Page 398 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify VLAN-based mode: DGS-3450:admin#config loopdetect recover_timer 0 interval 20 mode vlan-based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success.
  • Page 399 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#enable loopdetect Command: enable loopdetect Success. DGS-3450:admin# disable loopdetect Purpose Used to disable the LBD function globally on the Switch. Syntax disable loopdetect Description This command is used to disable the LBD function globally on the Switch. Parameters None.
  • Page 400 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show loopdetect Command: show loopdetect LBD Global Settings --------------------------- Status : Enabled Mode : VLAN-Based Interval : 20 sec Recover Time : 0 sec Trap State : None Enabled VLANs : 1-4094 Log State...
  • Page 401 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show loopdetect ports 1:1-1:9 Command: show loopdetect ports 1:1-1:9 Port Loopdetect State Loop VLAN ------ ------------------ ---------- Enabled None Enabled None Enabled None Enabled None Enabled None Disabled None Disabled None...
  • Page 402 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config loopdetect log state Description This command is used to configure the log state for LBD. Parameters state - Specify the state of the LBD log feature. enable - Enable the LBD log feature. disable - Disable the LBD log feature.
  • Page 403: 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 404 ® 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 405 ® 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 406 ® 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 407: 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 408 ® 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 409 ® 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 410 ® 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 411 ® 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 412 ® 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 413 ® 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 414 ® 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 415 ® 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 network local enable Command: config mac_based_access_control authorization network local enable...
  • Page 416 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mac_based_access_control_local name. vlanid - Displays MAC-based Access Control local database entries for a specific target VLAN ID. Restrictions None. Example usage: To show the MAC-based Access Control local database: DGS-3450:admin# show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address...
  • Page 417 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show mac_based_access_control auth_state Description This command is used to display the MAC-based Access Control authentication status. Parameters <portlist> - Display authentication status by specific port. If not specified port(s), it will display all of MAC-based Access Control ports authentication status.
  • Page 418 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control max_users Purpose Used to configure the maximum number of authorized clients. Syntax config mac_based_access_control max_users [<value 1-4000> | no_limit] Description This setting is a global limitation on the maximum number of users that can be learned via MAC-based Access Control.
  • Page 419: 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 420 ® 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:3 add source ports 1:7-1:12 both Success. DGS-3450:admin# enable mirror Purpose Used to enable mirror globally. Syntax enable mirror Description...
  • Page 421 ® 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 422 ® 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: To delete mirror group 3: DGS-3450:admin# delete mirror group_id 3 Command: delete mirror group_id 3...
  • Page 423: 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 424 ® 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 425 ® 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 426 ® 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 427 ® 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 428 ® 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 429 ® 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 430: 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 431 ® 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 432 ® 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 433 ® 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 434 ® 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 435: 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 436 ® 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 : Disabled STP Version : RSTP Max Age : 20 Hello Time Forward Delay : 15 Max Hops : 20 TX Hold Count...
  • Page 437 ® 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 438 ® 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 439 ® 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 Warning:There is no VLAN mapping to this instance_id! Success. DGS-3450:admin# delete stp instance_id Purpose Used to delete MST Instance.
  • Page 440 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config stp instance_id 2 add_vlan 1-3 Command: config stp instance_id 2 add_vlan 1-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 441 ® 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 442 ® 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 443 ® 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 444 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config stp mst_ports Syntax config stp mst_ports <portlist> instance_id <value 0-15> {internalCost [ auto | <value 1-200000000> ] | priority <value 0-240>} Description Internal Path Cost and Port Priority of a Port in MSTI can be separately configured to different values from the configuration of CIST (istance_id = 0).
  • Page 445: 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 446 ® 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 447 ® 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 448: 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 449 ® 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 450 ® 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 451 ® 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 452: 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 453 ® 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 454 ® 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 455: 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 456 ® 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 457 ® 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 458 ® 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 459: 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 460 ® 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 461 ® 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 462: 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 463 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: 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 464 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To config PoE port: DGS-3426P: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 465 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show poe ports If no parameter specified, the system will display the status for all ports. Restrictions None. Example usage: To display PoE port: DGS-3426P:admin# show poe ports 1-6 Command: show poe ports 1-6 Port State...
  • Page 466: 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 467 ® 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 468 ® 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 469 ® 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 470 ® 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 471: 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 472 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config bandwidth_control the device, will be displayed when the command is executed. Actual rate = (inputted rate/ minimum granularity) * minimal granularity tx_rate - Specifies the limitation applied to the transmit data rate. no_limit - Indicates that there is no limit on the port TX bandwidth.
  • Page 473 ® 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 474 ® 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 475 ® 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 476 ® 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 477 ® 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 478 ® 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 479 ® 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 480 ® 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 481 ® 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 482 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show dscp trust 1:1-1:8 Command: show dscp trust 1:1-1:8 Port DSCP-Trust ---- ---------- Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled DGS-3450:admin# config dscp map Purpose Used to configure DHCP mapping. Syntax config dscp map [dscp_priority <dscp_list>...
  • Page 483 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show dscp map Description This command is used to show DSCP trusted port list and mapped color, priority and DSCP. Parameters dscp_priority - Specify a list of DSCP value to be mapped to a specific priority. dscp_dscp - Specify a list of DSCP value to be mapped to a specific DSCP.
  • Page 484: 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 485 ® 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 486 ® 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 487 ® 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 488 ® 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 489 ® 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 490 ® 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 491 ® 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 492 ® 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 493: 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 494 ® 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 495 ® 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 496 ® 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 497 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To add redirect ports for special RSPAN VLAN on intermediate or destination switch: DGS-3450:admin# config rspan vlan vlan_name vlan2 redirect add port 1:18 Command: config rspan vlan vlan_name vlan2 redirect add port 1:18 Success.
  • Page 498 ® 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 499: 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 500 ® 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 501 ® 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 502: Ripng Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual OMMANDS The Routing Information Protocol next generation (RIPng) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable ripng disable ripng show ripng...
  • Page 503 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable RIPng globally: DGS-3450:admin#disable ripng Command: disable ripng Success. DGS-3450:admin# show ripng Purpose Used to display the RIPng state on all or specified interfaces. Syntax show ripng {ipif <ipif_name 12>} Description This command is used to display the RIPng state on all or specified interfaces.
  • Page 504 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ripng poison_reverse - Configured to use split horizon with poison reverse. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the RIPng method as poison reverse: DGS-3450:admin#config ripng method poison_reverse Command: config ripng method poison_reverse Success.
  • Page 505 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To enable RIPng debug globally: DGS-3450:admin#debug ripng state enable Command: debug ripng state enable Success. DGS-3450:admin# debug ripng show flag Purpose Used to display the RIPng debug flag setting. Syntax debug ripng show flag Description...
  • Page 506 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#debug ripng flag interface state enable Command: debug ripng flag interface state enable Success. DGS-3450:admin# After enabling RIPng on an interface, the following information may appear when the interface state changes: The RIPng interface System has changed the link state to down.
  • Page 507: 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 508 ® 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>}(1) | trap_log [enable | disable] | mode [strict | fuzzy]}(1) Description Use this command to configure Safeguard Engine to minimize the effects of an ARP...
  • Page 509 ® 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 510: 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 511 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssh algorithm Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable ssh server public key algorithm: DGS-3450:admin# config ssh algorithm DSS enable RSA enable Command: config ssh algorithm DSS enable RSA enable Success.
  • Page 512 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssh authmode Purpose Used to update user authentication for ssh configuration. Syntax config ssh authmode [password | publickey | hostbased] [enable | disable] Description The config ssh user command update the ssh user information. Parameters password - Specifies user authentication method.
  • Page 513 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssh user Parameters username - Specifies the User name. publickey - Specifies user authentication method. password - Specifies user authentication method. hostbased - Specifies user authentication method. hostname - Specifies host domain name.
  • Page 514 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssh server | rekey [10min | 30min | 60min | never] | port <tcp_port_number 1-65535>} Description The config ssh server command config the SSH server general information. Parameters maxsession - Specifies ssh server max session at the same time.
  • Page 515 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable the SSH server service: DGS-3450:admin# disable ssh Command: disable ssh Success. DGS-3450:admin# show ssh server Purpose Used to show the SSH server. Syntax show ssh server Description The show ssh server command show the ssh server general information.
  • Page 516 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssh publickey bypass_login_screen state authentication. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the secondary username/password authentication for users using SSH public key authentication: DGS-3450:admin#config ssh publickey bypass_login_screen state enable Command: config ssh publickey bypass_login_screen state enable Success.
  • Page 517 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual upload ssh client_pub_key through TFTP protocol. Parameters <ipaddr> - Specifies the IPv4 address of the TFTP server. <domain_name 255> - Specifies the domain name of the TFTP server. This name can be up to 255 characters long.
  • Page 518: 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 519 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual enable ssl Purpose To enable the SSL function on the Switch. Syntax enable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} Description This command will enable SSL on the Switch by implementing any one or combination of listed ciphersuites on the Switch.
  • Page 520 ® 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 521 ® 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 522 ® 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 DGS-3450:admin#...
  • Page 523 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config ssl certificate chain Description This command used to specify the certificate chain on the Switch. The format of the certificate should be kept consistent. Parameters default - Specifies that all the certificates will be constituted for a certificate chain which were downloaded on the Switch.
  • Page 524: 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 525 ® 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 526 ® 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 527 ® 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 528 ® 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 529 ® 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 530 ® 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 531 ® 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 532: Simple Network Managmement Protocol (Snmp) Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual (SNMP) C IMPLE ETWORK ANAGMEMENT ROTOCOL OMMANDS The Simple Network Management Protocol (SNMP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create snmp community...
  • Page 533 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create snmp community view This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Syntax create snmp community <community_string 32> view <view_name 32> [read_only | read_write] Description Use an SNMP community string to define the relationship between the SNMP manager and...
  • Page 534 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show snmp community Purpose Used to display the community string configurations. show snmp community {<community_string 32>} Syntax Description This command is used to display the community string configurations. Note: This is SNMPv3 command, if it is used;...
  • Page 535 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create snmp user Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create a SNMP user “user123” with group “group123”: DGS-3450:admin#create snmp user user123 group123 encrypted by_password auth md512345678 priv des 12345678 Command: create snmp user user123 group123 encrypted by_password auth md5 12345678 priv des 12345678...
  • Page 536 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show snmp user Command: show snmp user Username Group Name VerAuthPriv -------------------------------- -------------------------------- ----------- initial initial V3 NoneNone user123 group123 V3 MD5 DES Total Entries: 2 DGS-3450:admin# create snmp group Purpose Used to create a new SNMP group, or a table that maps SNMP users to SNMP views.
  • Page 537 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete SNMP group “group123”: DGS-3450:admin#delete snmp group group123 Command: delete snmp group group123 Success. DGS-3450:admin# show snmp groups Purpose Used to display the names of groups on the switch and the security model, level, the status of the different views.
  • Page 538 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create snmp view Purpose Used to assign views to community strings to limit which MIB objects an SNMP manager can access. Syntax create snmp view <view_name 32> <oid> view_type [included | excluded] Description This command is used to assign views to community strings to limit which MIB objects an SNMP manager can access.
  • Page 539 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show snmp view Syntax show snmp view {<view_name 32>} Description This command is used to display the SNMP view record. view_name - View name of the user who likes to show. Parameters Restrictions None.
  • Page 540 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To create SNMP host “10.0.0.1” with community string “public”: DGS-3450:admin#create snmp host 10.0.0.1 v1 public Command: create snmp host 10.0.0.1 v1 public Success. DGS-3450:admin# To create SNMP host “3FFE::51” with community string “public”: DGS-3450:admin#create snmp v6host 3FFE::51 v1 public Command: create snmp v6host 3FFE::51 v1 public Success.
  • Page 541 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual show snmp host Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Parameters <ipaddr> - The IP address of the recipient for which the traps are targeted. If no parameter specified, all SNMP hosts will be displayed.
  • Page 542 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config snmp engineID Purpose Used to configure a identifier for the SNMP engine on the switch. Syntax config snmp engineID <snmp_engineID 10-64> Description This command is used to configure an identifier for the SNMP engine on the switch. Associated with each SNMP entity is a unique engineID.
  • Page 543 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual create snmp community_masking view the user inputs will be displayed as “*”, and the user will have to double input (confirm) the SNMP community string when creating an SNMP community. Parameters <view_name 32>...
  • Page 544 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable the encryption state on SNMP community string: DGS-3450:admin#disable community_encryption Command: disable community_encryption Success. DGS-3450:admin# show community_encryption Purpose Used to display the encryption state on SNMP community string. Syntax show community_encryption Description...
  • Page 545: 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 546 ® 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 547 ® 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 548 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show stack_information Command: show stack_information Topology :Duplex_Chain My Box ID Master ID Box Count Force Master Role: Disabled Box User Prio- PROM Firmware Type Exist rity Version Version Version --- ---- ------------ ----- ---- ------------------ -------- -------- -------- 1 Auto DGS-3450...
  • Page 549 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# show stack_device Command: show stack_device Box ID Box Type H/W Version Serial Number ------- --------------- ------------ ---------------- DGS-3450 1234567890123 DGS-3450 2345678901234 DGS-3450:admin# config stacking force_master_role Purpose This command is used to configure the stacking force master role state. Syntax config stacking force_master_role state [enable | disable] Description...
  • Page 550: 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 551 ® 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 552: 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 553 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#create subnet_vlan ipv6network FE80:250:BAFF::/64 vlan v2 priority 2 Command: create subnet_vlan ipv6network FE80:250:BAFF::/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 554 ® 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 555 ® 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 556: 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 557 ® 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 558 ® 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 559 ® 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 560 ® 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 561: 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 562 ® 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 563 ® 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 564: 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 565 ® 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 566 ® 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 567 ® 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 568 ® 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 569 ® 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 570 ® 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 571 ® 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 572 ® 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 573 ® 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 574: 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 575 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 576 ® 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 577: 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 578: 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 579 ® 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 580 ® 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 581 ® 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. Parameters ipaddr - The IP address of the TFTP server.
  • Page 582: 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 583 ® 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 584 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin# enable sntp Command: enable sntp Success. DGS-3450:admin# disable sntp Purpose To disable SNTP server support. Syntax disable sntp Description This will disable SNTP support. SNTP service must be separately configured (see config sntp).
  • Page 585 ® 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 586 ® 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 587 ® 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 588: 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 589 ® 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 590: 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 591 ® 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 592 ® 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 593: 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 594 ® 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 595 ® 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 596 ® 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 597: 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 598 ® 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 599: 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 600 ® 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 601: 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 602 ® 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 603 ® 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 604 ® 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 605 ® 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 606 ® 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 607: 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 608 ® 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 609 ® 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 610: Voice Vlan Commands

    ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual VLAN C OICE OMMANDS The Voice VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable voice_vlan [<vlan_name 32>...
  • Page 611 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#enable voice_vlan v2 Command: enable voice_vlan v2 Success. DGS-3450:admin# disable voice_vlan Purpose Used to disable the voice VLAN function on a switch. Syntax disable voice_vlan Description When the voice VLAN function is disabled, the voice VLAN will become unassigned. Parameters None.
  • Page 612 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual config voice_vlan oui user can further define the user-defined OUIs if needed. The user-defined OUI cannot be the same as the pre-defined OUI. Parameters add - Specify to add a user-defined OUI of Voice device vendor. delete - Specify to delete a user-defined OUI of Voice device vendor.
  • Page 613 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config voice_vlan ports 1:4-1:6 state enable Command: config voice_vlan ports 1:4-1:6 state enable Success. DGS-3450:admin# To set voice VLAN ports 1:4 to 1:6 to auto mode: DGS-3450:admin#config voice_vlan ports 1:4-1:6 mode auto Command: config voice_vlan ports 1:4-1:6 mode auto Success.
  • Page 614 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#config voice_vlan aging_time 60 Command: config voice_vlan aging_time 60 Success. DGS-3450:admin# show voice_vlan Purpose Used to display voice VLAN global information. Syntax show voice_vlan Description This command is used to display voice VLAN global information. Parameters None.
  • Page 615 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual DGS-3450:admin#show voice_vlan oui Command: show voice_vlan oui OUI Address Mask Description ------------------ ----------------- -------------- 00-01-E3-00-00-00 FF-FF-FF-00-00-00 Siemens 00-03-6B-00-00-00 FF-FF-FF-00-00-00 Cisco 00-09-6E-00-00-00 FF-FF-FF-00-00-00 Avaya 00-0A-0B-00-00-00 FF-FF-FF-00-00-00 00-0F-E2-00-00-00 FF-FF-FF-00-00-00 Huawei&3COM 00-60-B9-00-00-00 FF-FF-FF-00-00-00 NEC&Philips...
  • Page 616 ® xStack DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual To display voice VLAN device ports 1:1 to 1:2: DGS-3450:admin#show voice_vlan voice_device ports 1:1-1:2 Command: show voice_vlan voice_device ports 1:1-1:2 Ports Voice Device Start Time Last Active Time ----- ----------------- ----------------...
  • Page 617: Web-Based Access Control (Wac) Commands

    ® 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 618 ® 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 619 ® 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 620 ® 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 621 ® 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 622 ® 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 623 ® 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 624 ® 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 625 ® 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 626 ® 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 627: Technical Specifications

    ® 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 628 ® 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 629: Password Recovery Procedure

    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