D-Link DGS-3620-52P Manual

D-Link DGS-3620-52P Manual

Layer 3 managed stackable gigabit switch
Hide thumbs Also See for DGS-3620-52P:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
I

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-3620-52P

  • Page 1 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide...
  • Page 2: Table Of Contents

    Domain Name System (DNS) Relay Commands ............398 Chapter 29 Domain Name System (DNS) Resolver Commands ..........403 Chapter 30 D-Link Unidirectional Link Detection (DULD) Commands .......... 410 Chapter 31 Ethernet Ring Protection Switching (ERPS) Commands ..........412 Chapter 32 External Alarm Commands ..................
  • Page 3 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 35 Filter Commands ......................442 Chapter 36 Gratuitous ARP Commands ..................447 Chapter 37 Internet Group Management Protocol (IGMP) Commands......... 452 Chapter 38 IGMP Proxy Commands ..................... 460 Chapter 39 IGMP Snooping Commands ..................
  • Page 4 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Packet Storm Commands ................... 792 Chapter 72 Password Recovery Commands ................. 797 Chapter 73 Protocol Independent Multicast (PIM) Commands ............. 800 Chapter 74 PIM6-SM Commands ....................817 Chapter 75 Policy Route Commands .....................
  • Page 5 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 107 VLAN Trunking Commands .................. 1090 Chapter 108 Web-based Access Control (WAC) Commands ........... 1094 Appendix A Password Recovery Procedure ................. 1108 Appendix B System Log Entries ....................1110 Appendix C Trap Entries .......................
  • Page 6: Chapter 1 Using The Command Line Interface

    DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using the Command Line Interface The DGS-3620 Layer 3 stackable Gigabit Ethernet switch series are members of the D-Link xStack® family. Ranging from 10/100/1000Mbps edge switches to core gigabit switches, the ®...
  • Page 7: Setting The Switch's Ip Address

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Setting the Switch’s IP Address Each Switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP address is 10.90.90.90.
  • Page 8 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide In the above example, the Switch was assigned an IP address of 10.24.22.100 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully.
  • Page 9 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide In addition, after typing any given command plus one space, users can see all of the next possible sub-commands, in sequential order, by repeatedly pressing the Tab key. To re-enter the previous command at the command prompt, press the up arrow cursor key.
  • Page 10 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show Next possible completions: 802.1p 802.1x access_profile account accounting acct_client address_binding arp_spoofing_prevention arpentry asymmetric_vlan attack_log auth_client auth_diagnostics auth_session_statistics auth_statistics authen authen_enable authen_login authen_policy authentication authorization autoconfig bandwidth_control boot_file bpdu_protection broadcast_ping_reply...
  • Page 11: Command Syntax Symbols

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter.
  • Page 12: Line Editing Keys

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide following the set of braces indicates at least one argument or value within the braces must be specified. DO NOT TYPE THE PARENTHESES. ipif <ipif_name 12> 12 means the maximum length of the IP interface name. 1-31 means the legal range of the metric value.
  • Page 13 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Enter Displays the next line or table entry.
  • Page 14: Chapter 2 Basic Management Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 2 Basic Management Commands create account [admin | operator | power_user | user] <username 15> {encrypt [plain_text | sha_1] <password>} enable password encryption disable password encryption config account <username> {encrypt [plain_text | sha_1] <password>} show account delete account <username>...
  • Page 15 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide operator - Specify the name of the operator account. power_user - Specify a power user level account. The power user level is lower than the operator level and higher than the user level. user - Specify the name of the user account.
  • Page 16: Enable Password Encryption

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable password encryption Description The user account configuration information will be stored in the configuration file, and can be applied to the system later. If the password encryption is enabled, the password will be in encrypted form when it is stored in the configuration file.
  • Page 17: Config Account

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To disable password encryption: DGS-3620-28SC:admin#disable password encryption Command: disable password encryption Success. DGS-3620-28SC:admin# config account Description When the password information is not specified in the command, the system will prompt the user to input the password interactively.
  • Page 18: Show Account

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To configure the user password of the “administrator” account: DGS-3620-28SC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Success. DGS-3620-28SC:admin# show account Description This command is used to display user accounts that have been created.
  • Page 19: Show Session

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete account <username> Parameters <username> - Specify the name of the user who will be deleted. Restrictions Only Administrator-level users can issue this command. One active admin user must exist. Example To delete the user account “System”: DGS-3620-28SC:admin#delete account System...
  • Page 20: Show Switch

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 1 CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh show switch Description This command is used to display the switch information. Format show switch Parameters None.
  • Page 21: Show Environment

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide : Disabled PIM6 : Disabled OSPF : Disabled OSPFv3 : Disabled : Disabled VLAN Trunk : Disabled Telnet : Enabled (TCP 23) : Enabled (TCP 80) SNMP : Disabled SSL Status : Disabled SSH Status...
  • Page 22: Config Temperature

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show environment Internal Power : Active External Power : Fail Current Temperature(Celsius) : High Warning Temperature Threshold(Celsius) : Low Warning Temperature Threshold(Celsius) CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh...
  • Page 23: Config Temperature Threshold

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-11 config temperature threshold Description This command is used to configure the warning temperature high threshold or low threshold. When temperature is above the high threshold or below the low threshold, SW will send alarm traps or keep the logs.
  • Page 24 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the console port setting: DGS-3620-28SC:admin#show serial_port Command: show serial_port Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins DGS-3620-28SC:admin# 2-13 config serial_port...
  • Page 25: Enable Clipaging

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config serial_port baud_rate 9600 Success. DGS-3620-28SC:admin# 2-14 enable clipaging Description This command is used to enable pausing of the screen display when show command output reaches the end of the page. The default setting is enabled. Format enable clipaging Parameters...
  • Page 26: Enable Telnet

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable pausing of the screen display when show command output reaches the end of the page: DGS-3620-28SC:admin#disable clipaging Command: disable clipaging Success.
  • Page 27: Enable Web

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable telnet Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable Telnet: DGS-3620-28SC:admin#disable telnet Command: disable telnet Success. DGS-3620-28SC:admin# 2-18 enable web Description This command is used to enable Web UI and configure the port number.
  • Page 28: Disable Web

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 2-19 disable web Description This command is used to disable Web UI. Format disable web Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable HTTP: DGS-3620-28SC:admin#disable web...
  • Page 29 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To save the current configuration to the bootup configuration file: DGS-3620-28SC:admin#save Command: save Saving all configurations to NV-RAM..Done. DGS-3620-28SC:admin# To save the current configuration to destination file, named 1: DGS-3620-28SC:admin#save config 1...
  • Page 30 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters force_agree – (Optional) Specify to immediately execute the reboot command without further confirmation. Restrictions Only Administrator-level users can issue this command. Example To restart the switch: DGS-3620-28SC:admin#reboot Command: reboot Are you sure you want to proceed with the system reboot?(y/n) Please wait, the switch is rebooting…...
  • Page 31 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Are you sure to proceed with system reset except IP address?(y/n) Success. DGS-3620-28SC:admin# To reset the system configuration settings: DGS-3620-28SC:admin#reset config Command: reset config Are you sure to proceed with system reset?(y/n) Success.
  • Page 32 DGS-3620-28SC:admin#logout Command: logout *********** * Logout * *********** DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. All rights reserved. UserName: 2-25 clear Description This command is used to clear the terminal screen. Format clear Parameters None.
  • Page 33: Config Terminal Width

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To clear the terminal screan: DGS-3620-28SC:admin#clear Command: clear 2-26 config terminal width Description This command is used to configure the terminal width. Format config terminal width [default | <value 80-200>] Parameters default - Specify the default terminal width value.
  • Page 34 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show terminal width Parameters None. Restrictions None. Example To display the configuration of the current terminal width: DGS-3620-28SC:admin#show terminal width Command: show terminal width Global terminal width : 80 Current terminal width : 80...
  • Page 35 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show device_status Command: show device_status Unit 1: Internal Power: Active External Power: Fail Left Fan : 1, 3 Fail Right Fan : 2 Fail Back Fan : OK CPU Fan : Fail Unit 2:...
  • Page 36: Chapter 3 802.1X Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 3 802.1X Commands 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] show 802.1x {[auth_state | auth_configuration] ports {<portlist>}} config 802.1x capability ports [<portlist>...
  • Page 37 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the 802.1X function: DGS-3620-28SC:admin#enable 802.1x Command: enable 802.1x Success. DGS-3620-28SC:admin# disable 802.1x Description This command is used to disable the 802.1X function.
  • Page 38 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide create 802.1x user Description This command is used to create an 802.1X user. Format create 802.1x user <username 15> Parameters <username 15> - Specify to add a user name. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 39 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete the user named “Tiberius”: DGS-3620-28SC:admin#delete 802.1x user Tiberius Command: delete 802.1x user Tiberius Success. DGS-3620-28SC:admin# show 802.1x user Description This command is used to display 802.1X local user account information. Format show 802.1x user Parameters...
  • Page 40 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config 802.1x auth_protocol [local | radius_eap] Parameters local - Specifiy the authentication protocol as local. radius_eap - Specify the authentication protocol as RADIUS EAP. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1X RADIUS EAP: DGS-3620-28SC:admin#config 802.1x auth_protocol radius_eap...
  • Page 41 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Authentication Protocol : RADIUS_EAP Forward EAPOL PDU : Disabled Max User : 448 RADIUS Authorization : Enabled DGS-3620-28SC:admin# To display the 802.1x state for ports 1 to 5: DGS-3620-28SC:admin# show 802.1x auth_state ports 1-4 Command: show 802.1x auth_state ports 1-4 Status:...
  • Page 42 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide config 802.1x capability ports Description This command is used to configure port capability. Format config 802.1x capability ports [<portlist> | all] [authenticator | none] Parameters <portlist> - Specify a range of ports to be configured. all - Specify to configure all ports.
  • Page 43 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1X PDU forwarding state on ports 1 to 2: DGS-3620-28SC:admin#config 802.1x fwd_pdu ports 1-2 enable Command: config 802.1x fwd_pdu ports 1-2 enable Success.
  • Page 44 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config 802.1x auth_parameter ports [<portlist> | all] [default | {direction [both | in] | port_control [force_unauth | auto | force_auth] | quiet_period <sec 0-65535> | tx_period <sec 1-65535> | supp_timeout <sec 1-65535> | server_timeout <sec 1-65535> | max_req <value 1-10>...
  • Page 45 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the parameters that control the operation of the authenticator associated with a port: DGS-3620-28SC:admin# config 802.1x auth_parameter ports 1-20 direction both Command: config 802.1x auth_parameter ports 1-20 direction both Success.
  • Page 46 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config 802.1x init [port_based ports [<portlist> | all] | mac_based ports [<portlist> | all] {mac_address <macaddr>}] Parameters port_based ports - Used to configure authentication in port-based mode. <portlist>...
  • Page 47 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config 802.1x max_users 2 Command: config 802.1x max_users 2 Success. DGS-3620-28SC:admin# 3-15 config 802.1x reauth Description This command is used to reauthenticate the device connected with the port. During the reauthentication period, the port status remains authorized until failed reauthentication.
  • Page 48 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create 802.1x guest_vlan <vlan_name 32> Parameters <vlan_name 32> - Specify the static VLAN to be a guest VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To assign a static VLAN to be a guest VLAN: DGS-3620-28SC:admin# create 802.1x guest_vlan guestVLAN...
  • Page 49 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 3-18 config 802.1x guest_vlan ports Description This command is used to configure a guest VLAN setting. Format config 802.1x guest_vlan ports [<portlist> | all] state [enable | disable] Parameters <portlist>...
  • Page 50: Config Radius Add

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display guest VLAN information: DGS-3620-28SC:admin#show 802.1x guest_vlan Command: show 802.1x guest_vlan Guest Vlan Setting ----------------------------------------------------------- Guest vlan : guest Enable guest vlan ports : 1-10 DGS-3620-28SC:admin# 3-20 config radius add...
  • Page 51: Config Radius Delete

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a new RADIUS server: DGS-3620-28SC:admin#config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success.
  • Page 52: Show Radius

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config radius <server_index 1-3> {ipaddress [<server_ip> | <ipv6addr>] | key <password 32> | auth_port [<udp_port_number 1-65535> | default] | acct_port [<udp_port_number 1- 65535> | default] | timeout [<sec 1-255> | default] | retransmit [<int 1-20> | default]}(1) Parameters <server_index 1-3>...
  • Page 53 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show radius Parameters None. Restrictions None. Example To display RADIUS server configurations: DGS-3620-28SC:admin#show radius Command: show radius Index 1 IP Address : 192.168.69.1 Auth-Port : 1812 Acct-Port : 1813 Timeout Retransmit...
  • Page 54 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display authenticator statistics information for port 3: DGS-3620-28SC:admin# show auth_statistics ports 3 Command: show auth_statistics ports 3 Auth VID :100 MAC Address :00-00-00-00-00-03 Port number : 3 EapolFramesRx EapolFramesTx EapolStartFramesRx...
  • Page 55 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide MAC Address 00-00-00-00-00-03 Port number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges BackendOtherRequestsToSupplicant BackendNonNakResponsesFromSupplicant BackendAuthSuccesses BackendAuthFails CTRL+C ESC q Quit SPACE n Next Page...
  • Page 56 This command is used to display authentication client information. Format show auth_client Parameters None. Restrictions None. Example To display authentication client information: DGS-3620-28SC: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...
  • Page 57 DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex :2 radiusAuthServerAddress 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0...
  • Page 58 Format show acct_client Parameters None. Restrictions None. Example To display account client information: DGS-3620-28SC: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...
  • Page 59 DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 2 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==>...
  • Page 60: Show Accounting Service

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config accounting service [network | shell | system] state [enable | disable] Parameters network - Specify the accounting service for 802.1X and WAC/JWAC port access control. By default, the service is disabled.
  • Page 61 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show accounting service Command: show accounting service Accounting State ------------------- Network : Disabled Shell : Disabled System : Disabled DGS-3620-28SC:admin#...
  • Page 62: Chapter 4 Access Authentication Control (Aac) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 4 Access Authentication Control (AAC) Commands enable authen_policy disable authen_policy show authen_policy create authen_login method_list_name <string 15> config authen_login [default | method_list_name <string 15>] method {tacacs | xtacacs | tacacs+ | radius | server_group <string 15>...
  • Page 63 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide via one or more centralized TACACS servers, utilizing the UDP protocol for packet transmission. 2. Extended TACACS (XTACACS) — An extension of the TACACS protocol with the ability to provide more types of authentication requests and more types of response codes than TACACS.
  • Page 64 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: TACACS, XTACACS and TACACS+ are separate entities and are not compatible. The Switch and the server must be configured exactly the same, using the same protocol. (For example, if the Switch is set up for TACACS authentication, so must be the host server.) enable authen_policy Description...
  • Page 65 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable system access authentication policy: DGS-3620-28SC:admin#disable authen_policy Command: disable authen_policy Success. DGS-3620-28SC:admin# show authen_policy Description This command is used to display whether system access authentication policy is enabled or disabled.
  • Page 66 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide create authen_login method_list_name Description This command is used to create a user-defined method list of authentication methods for user login. The maximum supported number of the login method lists is eight. Format create authen_login method_list_name <string 15>...
  • Page 67 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters default – Specify the default method list of authentication methods. method_list_name - Specify the user-defined method list of authentication methods. <string 15> - Specify the user-defined method list of authentication methods. The method list name can be up to 15 characters long.
  • Page 68 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete a user-defined method list for user login: DGS-3620-28SC:admin#delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-3620-28SC:admin# show authen_login Description This command is used to display the method list of authentication methods for user login. Format show authen_login [default | method_list_name <string 15>...
  • Page 69 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide create authen_enable method_list_name Description This command is used to create a user-defined method list of authentication methods for promoting a user's privilege to Admin level. The maximum supported number of the enable method lists is eight.
  • Page 70 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters default - Specify the default method list of authentication methods. method_list_name - Specify the user-defined method list of authentication methods. <string 15> - Specify the user-defined method list of authentication methods. The method list name can be up to 15 characters long.
  • Page 71 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete a user-defined method list for promoting a user's privilege to Admin level: DGS-3620-28SC:admin#delete authen_enable method_list_name enable_list_1 Command: delete authen_enable method_list_name enable_list_1 Success. DGS-3620-28SC:admin# 4-11 show authen_enable Description This command is used to display the method list of authentication methods for promoting a user's privilege to Administrator level.
  • Page 72: Config Authen Application

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries : 3 DGS-3620-28SC:admin# 4-12 config authen application Description This command is used to configure login or enable method list for all or the specified application. Format config authen application [console | telnet | ssh | http | all] [login | enable] [default | method_list_name <string 15>] Parameters...
  • Page 73 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show authen application Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the login and enable method list for all applications: DGS-3620-28SC:admin#show authen application Command: show authen application Application Login Method List...
  • Page 74 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#create authen server_group mix_1 Command: create authen server_group mix_1 Success. DGS-3620-28SC:admin# 4-15 config authen server_group Description This command is used to add or remove an authentication server host to or from the specified server group.
  • Page 75 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 4-16 delete authen server_group Description This command is used to delete a user-defined authentication server group. Format delete authen server_group <string 15> Parameters <string 15> - Specify the user-defined server group name. Restrictions Only Administrator-level users can issue this command.
  • Page 76 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all authentication server groups: DGS-3620-28SC:admin#show authen server_group Command: show authen server_group Group Name IP Address Protocol --------------- --------------- -------- mix_1 10.1.1.222 TACACS+ radius 10.1.1.224 RADIUS tacacs 10.1.1.225 TACACS...
  • Page 77 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide retransmit - (Optional) Specify the count for re-transmit. This value is meaningless for TACACS+. The default value is 2. <int 1-20> - Specify the count for re-transmit. This value is meaningless for TACACS+. The default value is 2.
  • Page 78 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide seconds. The timeout value must be between 1 and 255 seconds. retransmit - Specify the count for re-transmit. This value is meaningless for TACACS+. The default value is 2. <int 1-20>...
  • Page 79 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 4-21 show authen server_host Description This command is used to display authentication server hosts. Format show authen server_host Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display all authentication server hosts: DGS-3620-28SC:admin#show authen server_host...
  • Page 80: Config Authen Parameter Attempt

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To configure 60 seconds for user to input: DGS-3620-28SC:admin#config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success.
  • Page 81: Enable Admin

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show authen parameter Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the authentication parameters: DGS-3620-28SC:admin# show authen parameter Command: show authen parameter Response Timeout : 60 seconds User Attempts DGS-3620-28SC:admin#...
  • Page 82 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# enable admin Password:******** DGS-3620-28SC:admin# 4-26 config admin local_enable Description This command is used to configure the local enable password for the enable command. When the user chooses the local_enable method to promote the privilege level, the enable password of the local device is needed.
  • Page 83: Chapter 5 Access Control List (Acl) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 5 Access Control List (ACL) Commands create access_profile profile_id <value 1-6> profile_name <name 1-32> [ethernet {vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type}(1) | ip {vlan {<hex 0x0-0x0fff>} | source_ip_mask <netmask>...
  • Page 84: Source_Ipv6_Mask | Destination_Ipv6_Mask

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31 <hex 0x0- 0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_32-47 <hex 0x0- 0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_48-63 <hex 0x0- 0xffffffff>...
  • Page 85 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide dst_port_mask <hex 0x0-0xffff>} | protocol_id_mask <hex 0x0-0xff> {user_define_mask <hex 0x0-0xffffffff>}]}(1) | packet_content_mask {offset_chunk_1 <value 0-31> <hex 0x0- 0xffffffff> | offset_chunk_2 <value 0-31> <hex 0x0-0xffffffff> | offset_chunk_3 <value 0-31> <hex 0x0-0xffffffff>...
  • Page 86 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide packet_content_mask - A maximum of six offsets can be specified. Each offset defines one byte of data which is identified as a single UDF field. The offset reference is also configurable. It can be defined to start at the end of the tag, the end of the Ethernet type, or the end of the IP header.
  • Page 87: Config Access_Profile [Profile_Id | Profile_Name ]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# DGS-3620-28SC:admin#create access_profile profile_id 2 profile_name 2 ip vlan source_ip_mask 255.255.255.255 destination_ip_mask 255.255.255.0 dscp icmp Command: create access_profile profile_id 2 profile_name 2 ip vlan source_ip_mask 255.255.255.255 destination_ip_mask 255.255.255.0 dscp icmp Success.
  • Page 88: [Auto_Assign | ] [Ethernet {[Vlan | Vlan_Id ] {Mask } | Source_Mac {Mask } | Destination_Mac

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config access_profile [profile_id <value 1-6> | profile_name <name 1-32>] [add access_id [auto_assign | <value 1-256>] [ethernet {[vlan <vlan_name 32> | vlan_id <vlanid 1-4094>] {mask <hex 0x0-0x0fff>} | source_mac <macaddr> {mask <macmask>} | destination_mac <macaddr>...
  • Page 89 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ip - Specify an IP access control list rule. vlan - Specify the VLAN name. <vlan_name 32> -Specify the VLAN name. The maximum length is 32 characters. vlanid - Specify the VLAN ID. <vlanid 1-4094>...
  • Page 90 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide offset_chunk_1 - Specifies the contents of the offset trunk 1 to be monitored. <hex 0x0-0xffffffff> - Enter the contents of the offset trunk 1 to be monitored here. mask - Specifies an additional mask for each field.
  • Page 91 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all ports and packets must belong to the configured VLAN. It can be specified by VLAN name or VLAN ID. vlan - Specify the VLAN name. <vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters. vlan_id - Specify the VLAN ID.
  • Page 92: Show Access_Profile {[Profile_Id | Profile_Name ]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show access_profile Description This command is used to display the current access list table. Format show access_profile {[profile_id <value 1-6> | profile_name <name 1-32>]} Parameters profile_id - (Optional) Specify the index of the access list profile. <value 1-6>...
  • Page 93 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Rule ID : 256 (auto assign) Ports: - Match on: VLAN ID Source MAC : 00-01-02-03-04-00 802.1p Action: Deny =============================================================================== ==== Profile ID: 3 Profile Name: 3 Type: IPv4 Mask on Source IP : 255.255.255.0 Source Port : 0x00FF...
  • Page 94 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Profile ID: 4 Profile Name: System Consumed HW Entries: 4 DGS-3620-28SC:admin# Note: “Total User Set Entries” indicates the total number of ACL rules created by the user. “Total Used HW Entries” indicates the total number of hardware entries used in the device.
  • Page 95: Config Time_Range

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide config time_range Description This command is used to define a specific range of time to activate a function on the Switch by specifying which time range in a day and which days in a week are covered in the time range. Note that the specified time range is based on SNTP time or configured time.
  • Page 96 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show time_range Parameters None. Restrictions None. Example To display current time range setting: DGS-3620-28SC:admin#show time_range Command: show time_range Time Range Information ------------------------- Range Name testdaily Weekdays Mon,Fri Start Time 12:00:00 End Time...
  • Page 97: Delete Cpu Access_Profile [Profile_Id | All]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the ACL part of the current configuration: DGS-3620-28SC:admin#show current_config access_profile Command: show current_config access_profile #----------------------------------------------------------------------------- # ACL create access_profile Ethernet vlan profile_id 1 config access_profile profile_id 1 add access_id 1 ethernet vlan default port 1 permit create access_profile ip source_ip_mask 255.255.255 profile_id 2 config access_profile profile_id 2 add access_id 1 ip source_ip 10.10.10.10...
  • Page 98: Create Cpu Access_Profile Profile_Id

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide create cpu access_profile profile_id Description This command is used to create CPU access list profiles. Format create cpu access_profile profile_id <value 1-5> [ethernet {vlan | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type}(1) | ip {vlan | source_ip_mask <netmask>...
  • Page 99 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide syn - (Optional) Specify to synchronize sequence numbers. fin - (Optional) No more data from sender. udp - Specify that the rule applies to UDP traffic. src_port_mask - (Optional) Specify the UDP source port mask. <hex 0x0-0xffff>...
  • Page 100 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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.25 Success. DGS-3620-28SC:admin# 5-10 config cpu access_profile profile_id Description This command is used to configure CPU access list entries. Format config cpu access_profile profile_id <value 1-5>...
  • Page 101 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ethernet_type - Specify the Ethernet type. <hex 0x0-0xffff> - Specify the Ethernet type. ip - Specify an IP access control list rule. vlan - Specify the VLAN name. <vlan_name 32>...
  • Page 102 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <hex 0x0-0xffffffff> - Specify the mask for packet bytes 44-47. offset_48-63 - Specify the mask for packet bytes 48-63. <hex 0x0-0xffffffff> - Specify the mask for packet bytes 48-51. <hex 0x0-0xffffffff>...
  • Page 103 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters profile_id - (Optional) Specify the index of an access list profile. <value 1-5> - Specify value between 1 and 5. Restrictions None. Example To display the current CPU access list table: DGS-3620-28SC:admin#show cpu access_profile Command: show cpu access_profile CPU Interface Filtering State: Disabled...
  • Page 104 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Rule ID : 1 Ports: 1-28 Time Range: ben Match on Dest IP : 10.90.90.12 Mask : 255.255.255.255 Action: Deny =============================================================================== =============================================================================== Profile ID: 4 Type: IPv6 MASK on Source Port : 0xFFFF Unused Rule Entries: 93...
  • Page 105 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Source Port : 0xFFFF Dest Port : 0xFFFF Unused Rule Entries: 93 ------------------------------------------------------------------------------- Rule ID : 1 Ports: 1 Match on Class : 123 Flow Label : 0x12345 Source IPv6 : 2001:: Mask : FFFF:: Dest IPv6...
  • Page 106 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 5-12 enable cpu_interface_filtering Description This command is used to enable CPU interface filtering. Format enable cpu_interface_filtering Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable CPU interface filtering: DGS-3620-28SC:admin#enable cpu_interface_filtering...
  • Page 107 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable CPU interface filtering: DGS-3620-28SC:admin#disable cpu_interface_filtering Command: disable cpu_interface_filtering Success. DGS-3620-28SC:admin# 5-14 config flow_meter Description This command is used to configure the flow-based metering function. The metering function supports three modes: single rate two color, single rate three color, and two rate three color.
  • Page 108 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide rate - Specify the rate for single rate two color mode. Specify the committed bandwidth in Kbps for the flow. <value 0-1048576>- Specify the value between 0 and 1048576. burst_size - (Optional) Specify the burst size for the single rate two color mode.
  • Page 109 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Disable the packet counter for the specified ACL entry in the green flow. sr_tcm - Specify the “single-rate three-color mode”. cir -Specify the Committed Information Rate. The unit is in Kbps. <value 0-1048576>...
  • Page 110 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2000 pbs 200 conform replace_dscp 21 exceed drop violate permit Success. DGS-3620-28SC:admin# To replace DSCP action changed to perform on conform (green) and unconform (yellow and red) packets: DGS-3620-28SC:admin# config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed permit replace_dscp 21 violate permit replace_dscp 21...
  • Page 111 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show flow_meter Command: show flow_meter Flow Meter Information ------------------------------------------------------------------------------ Profile ID:1 Aceess ID:1 Mode : trTCM / ColorBlind CIR(Kbps):1000 CBS(Kbyte):200 PIR(Kbps):2000 PBS(Kbyte):200 Action: Conform : Permit Counter: Disabled Exceed : Permit Replace DSCP: 21 Counter: Disabled...
  • Page 112: Chapter 6 Access Control List (Acl) Egress Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 6 Access Control List (ACL) Egress Command List create egress_access_profile profile_id <value 1-4> profile_name <name 1-32> [ethernet {vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan {<hex 0x0-0x0fff>} | source_ip_mask <netmask>...
  • Page 113 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete port_group [id <value 1-64> | name <name 16>] show port_group {id <value 1-64> | name <name 16>} create egress_access_profile Description This command is used to create an egress access list profile. For example, for some hardware, it may be invalid to specify destination IPv6 address and source IPv6 address at the same time.
  • Page 114 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide src_port_mask - Specifies the TCP source port mask. <hex 0x0-0xffff> - Enter the TCP source port mask value here. dst_port_mask - Specifies the TCP destination port mask. <hex 0x0-0xffff> - Enter the TCP source port mask value here. flag_mask - (Optional) Specifies the TCP flag field mask.
  • Page 115 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete egress_access_profile Description Delete egress access profile command can only delete the profile which is created by egress ACL module. Format delete egress_access_profile [profile_id <value 1-4> | profile_name <name 1-32> | all] Parameters profile_id - Specifies the index of the egress access list profile.
  • Page 116 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-255> {user_define <hex 0x0-0xffffffff> {mask <hex 0x0-0xffffffff>}}]} | ipv6 {class <value 0-255> | source_ipv6 <ipv6addr> {mask <ipv6mask>} | destination_ipv6 <ipv6addr> {mask <ipv6mask>} | [tcp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535>...
  • Page 117 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide mask - Specifies the destination IP address used here. <netmask> - Enter the destination network mask here. dscp - (Optional) Specifies the value of DSCP. The DSCP value ranges from 0 to 63. <value 0-63>...
  • Page 118 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6mask> - Enter the IPv6 source address mask value here. destination_ipv6 - (Optional) Specifies the value of IPv6 destination address. <ipv6addr> - Enter the source IPv6 destination address here. mask - Specifies the IPv6 destination address mask here.
  • Page 119 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the “counter” is overridden. enable - Specifies that the ACL counter feature will be enabled. disable - Specifies that the ACL counter feature will be disabled. deny - Specifies the packets that match the egress access rule are filtered by the switch. time_range - (Optional) Specifies the name of the time range entry.
  • Page 120 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters profile_id - (Optional) Specifies the index of the egress access list profile. <value 1-4> - Enter the profile ID here. This value must be between 1 and 4. profile_name - (Optional) Specifies the name of the profile.
  • Page 121 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Destination IP : 255.255.255.255 DSCP Available Hardware Entries : 126 ------------------------------------------------------------------------------- Rule ID : 1 (auto assign) Port group: 1 Match on Source IP : 10.0.0.2 Destination IP : 10.90.90.90 DSCP : 25...
  • Page 122 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show egress_access_profile profile_id 1 Command: show egress_access_profile profile_id 1 Egress Access Profile Table =============================================================================== Profile ID: 1 Profile name: 1 Type: Ethernet Mask on Source MAC : FF-FF-FF-FF-FF-FF Available Hardware Entries : 127 ------------------------------------------------------------------------------- Rule ID : 1...
  • Page 123 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show current_config egress_access_profile Command: show current_config egress_access_profile #------------------------------------------------------------------------------ # Egress ACL create egress_access_profile profile_id 1 profile_name 1 ethernet source_mac FF-FF-FF-FF-FF config egress_access_profile profile_id 1 add access_id 1 ethernet source_mac -00-00-00-00-01 vlan_based vlan_id 1 permit create egress_access_profile profile_id 2 profile_name 2 ip source_ip_mask 255.2...
  • Page 124 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-4> - Enter the profile ID used here. This value must be between 1 and 4. profile_name - Specifies the name of the profile. <name 1-32> - Enter the profile name used here. This name can be up to 32 characters long. access_id - Specifies the access ID.
  • Page 125 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide permit - Permit the packet. replace_dscp - (Optional) Changes the DSCP of the packet. <value 0-63> - Enter the DSCP replace value here. This value must be between 0 and 63. drop - Drops the packet.
  • Page 126 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure a “two rates three color” flow meter: DGS-3620-28SC:admin# config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop command: config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop Success.
  • Page 127 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show egress_flow_meter Command: show egress_flow_meter Flow Meter Information: ------------------------ Profile ID : 1 Access ID : 1 Mode : trTcm / color-blind CIR:1000(Kbps) CBS:2000(Kbyte) PIR:2000(Kbps) PBS:2000(Kbyte) Actions: Conform : Permit Replace DSCP : 11 Counter : enable...
  • Page 128 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create port_group id 2 name group2 Command: create port_group id 2 name group2 Success. DGS-3620-28SC:admin# config port_group Description This command is used to add or delete a port list to a port group. Format config port_group [id <value 1-64>...
  • Page 129 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters id - Specifies the port group ID. <value 1-64> - Enter the port group ID used here. This value must be between 1 and 64. name - Specifies the port group name. <name 16>...
  • Page 130 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show port_group Command: show port_group Port Group Table Group ID Group Name Ports group1 1-2,5 group2 4,5,7,9,11,13 15,17,19-25 group3 Total Entries :3 DGS-3620-28SC:admin#...
  • Page 131: Chapter 7 Arp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 7 ARP Commands create arpentry <ipaddr> <macaddr> delete arpentry [<ipaddr> | all] config arpentry <ipaddr> <macaddr> config arp_aging time <min 0-65535> show arpentry {ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address <macaddr>} clear arptable show ipfdb {[ip_address <ipaddr>...
  • Page 132: Config Arpentry

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete arpentry [<ipaddr> | all] Parameters <ipaddr> - The IP address of the end node or station. all - Delete all ARP entries Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3620-28SC:admin#delete arpentry 10.48.74.121...
  • Page 133: Show Arpentry

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config arp_aging time Description This command is used to set the maximum amount of time, in minutes, that an ARP entry can remain in the switch’s ARP table, without being accessed, before it is dropped from the table. Format config arp_aging time <min 0-65535>...
  • Page 134: Clear Arptable

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide static - Displays the static entries to the ARP table. mac_address - Displays the ARP entry by MAC address. <macaddr> - Specify the MAC address. Note: If no parameter is specified, all ARP entries will be displayed. Restrictions None.
  • Page 135: Show Ipfdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#clear arptable Command: clear arptable Success. DGS-3620-28SC:admin# show ipfdb Description This command is used to display the IP address forwarding table on the Switch. Format show ipfdb {[ip_address <ipaddr> | interface <ipif_name 12> | port <port>]} Parameters ip_address - (Optional) Specifies the IP address of the forwarding table.
  • Page 136: Chapter 8 Arp Spoofing Prevention Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 8 ARP Spoofing Prevention Commands config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist> | all] | delete gateway_ip <ipaddr>] show arp_spoofing_prevention config arp_spoofing_prevention Description The user can configure the spoofing prevention entry to prevent spoofing of MAC for the protected gateway.
  • Page 137 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show arp_spoofing_prevention Description This command is used to display the ARP spoofing prevention status. Format show arp_spoofing_prevention Parameters None. Restrictions None. Example To display the ARP spoofing prevention status: DGS-3620-28SC:admin#show arp_spoofing_prevention Command: show arp_spoofing_prevention Gateway IP...
  • Page 138: Chapter 9 Asymmetric Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 9 Asymmetric VLAN Commands enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan enable asymmetric_vlan Description This command is used to enable the asymmetric VLAN function.. Format enable asymmetric_vlan Parameters None.
  • Page 139 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable asymmetric VLAN setting: DGS-3620-28SC:admin# disable asymmetric_vlan Command: disable asymmetric_vlan Success. DGS-3620-28SC:admin# show asymmetric_vlan Description This command is used to display the asymmetric VLAN function.
  • Page 140: Chapter 10 Auto Configuration Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 10 Auto Configuration Commands show autoconfig enable autoconfig disable autoconfig 10-1 show autoconfig Description This command is used to display the status of automatically getting configuration from a TFTP server.
  • Page 141: Disable Autoconfig

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable autoconfig Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable DHCP auto configuration status: DGS-3620-28SC:admin#enable autoconfig Command: enable autoconfig Success. DGS-3620-28SC:admin# 10-3 disable autoconfig...
  • Page 142 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#...
  • Page 143: Chapter 11 Basic Ip Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 11 Basic IP Commands config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]} | proxy_arp [enable | disable] {local [enable | disable]} | bootp | dhcp | ipv6 [ipv6address <ipv6networkaddr>...
  • Page 144 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - Enable or disable the IP interface. enable - Enable the IP interface. disable - Disable the IP interface. proxy_arp - (Optional) Enable or disable the proxy ARP. This is for the IPv4 function. The default is disabled.
  • Page 145: Create Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 11-2 create ipif Description This command is used to create an L3 interface. This interface can be configured with IPv4 or IPv6 addresses. Currently, it has a restriction: an interface can have only one IPv4 address defined. But it can have multiple IPv6 addresses defined.
  • Page 146: Delete Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 11-3 delete ipif Description This command is used to delete an interface or an IPv6 address. Format delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all] Parameters <ipif_name 12> - The name of the interface. ipv6address - (Optional) The IPv6 network address to be deleted.
  • Page 147: Disable Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable the state for interface petrovic1: DGS-3620-28SC:admin#enable ipif petrovic1 Command: enable ipif petrovic1 Success. DGS-3620-28SC:admin# 11-5 disable ipif Description This command is used to disable the state of an interface. Format disable ipif [<ipif_name 12>...
  • Page 148 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipif_name 12> - (Optional) The name of the interface. Restrictions None. Example To display IP interface settings: DGS-3620-28SC:admin#show ipif Command: show ipif IP Interface : System VLAN Name : default Interface Admin State : Enabled...
  • Page 149 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state – Specify the interface status. enable - Specify to enable the interface. disable - Specify to disable the interface. gateway - Specify the gateway IP address of the out-of-band management network. <ipaddr>...
  • Page 150 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 11-9 enable ipif_ipv6_link_local_auto Description This command is used to enable the auto configuration of link local address when there are no IPv6 addresses explicitly configured. When an IPv6 address is explicitly configured, the link local address will be automatically configured, and the IPv6 processing will be started.
  • Page 151 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - All of the IP interfaces. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the automatic configuration of link local address for an interface: DGS-3620-28SC:admin#disable ipif_ipv6_link_local_auto interface1 Command: disable ipif_ipv6_link_local_auto interface1 Success.
  • Page 152: Chapter 12 Border Gateway Protocol (Bgp) Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Border Gateway Protocol (BGP) Command List enable bgp disable bgp create bgp <as_number 1-65535> delete bgp <as_number 1-65535> config bgp router_id <ipaddr> config bgp synchronization [enable | disable] config bgp enforce_first_as [enable | disable] create bgp aggregate_address <network_address>...
  • Page 153: Enable Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide [add | delete] <list_name 16> | prefix_list [in | out] [add | delete] <list_name 16> | capability_orf_prefix_list [receive | send | both | none]}(1) show bgp peer_group {<peer_group_name 16>} config bgp route_reflector cluster_id <ipaddr>...
  • Page 154 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To enable BGP protocol: DGS-3620-28SC:admin# enable bgp Command: enable bgp Success. DGS-3620-28SC:admin# 12-2 disable bgp...
  • Page 155 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-3 create bgp Description This command is used to create a BGP process. It’s AS number must be set. When BGP protocol starts, it must belong to a single AS. The user must set the AS number before configuring any of the other attributes.
  • Page 156 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create a BGP process: DGS-3620-28SC:admin# delete bgp 100 Command: delete bgp 100 Success.
  • Page 157 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the BGP process’s router ID: DGS-3620-28SC:admin# config bgp router_id 10.10.10.1 Command: config bgp router_id 10.10.10.1 Success DGS-3620-28SC:admin# 12-6 config bgp synchronization Description This command is used to configure the BGP synchronization ability. Usually, a BGP speaker does not advertise a route to an external neighbor unless that route is local or exists in the IGP.
  • Page 158 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide When the setting is enabled, any updates received from an external neighbor, that does not have the neighbor’s configured Autonomous System (AS) at the beginning of the AS_PATH in the received update, will be denied.
  • Page 159 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create bgp aggregate_address <network_address> {summary_only | as_set} Parameters <network_address> - Specifies the IP network address aggregated. summary_only - (Optional) Specifies that more specific routes will not be advertised. as_set - (Optional) Generates an Autonomous System set path information.
  • Page 160 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete bgp aggregate_address 10.0.0.0/8 Command: delete bgp aggregate_address 10.0.0.0/8 Success. DGS-3620-28SC:admin# 12-10 show bgp aggregate_address Description This command is used to show the aggregate entries in the Border Gateway Protocol (BGP) database.
  • Page 161 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <network_address> - Represents the local network that BGP will advertise. route_map - (Optional) Specifies the route map to be applied to the advertised networks. If not specified, all networks are advertised. <map_name 16>...
  • Page 162 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config bgp network 10.108.0.0/16 clear_routemap Command: config bgp network 10.108.0.0/16 clear_routemap Success. DGS-3620-28SC:admin# 12-13 delete bgp network Description This command is used to delete the networks advertised by the Border Gateway Protocol (BGP). Format delete bgp network [<network_address>...
  • Page 163 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To show network 10.108.0.0/16 advertised in the BGP updates: DGS-3620-28SC:admin# show bgp network 10.108.0.0/16 Command: show bgp network 10.108.0.0/16 Network Address Route Map ----------------- -------------...
  • Page 164 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This command is used to configure the BGP hold and keepalive timer: DGS-3620-28SC:admin# config bgp timer holdtime 360 keepalive 120 Command: config bgp timer holdtime 360 keepalive 120 Success.
  • Page 165 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp {always_compare_med [disable | enable] | deterministic_med [disable | enable] | default_local_preference <uint 0-4294967295> | bestpath {as_path_ignore [disable | enable] | compare_routerid [disable | enable] | med_confed [disable | enable] | med_missing_as_worst [disable | enable] | compare_confed_aspath [disable | enable]}(1)}(1) Parameters always_compare_med - (Optional) Enable or disable the comparison of the Multi Exit...
  • Page 166 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This command shows how to disable the comparison of the Multi Exit Discriminator (MED): DGS-3620-28SC:admin# config bgp always_compare_med disable Command: config bgp always_compare_med disable Success. DGS-3620-28SC:admin# 12-17 config bgp dampening Description The purpose of this command is to eliminate the dampening of routes and thus to avoid unstable networks caused by flapping routes.
  • Page 167 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that the BGP dampening function's state will be disabled. half_life - (Optional) Specifies the time (in minute) after which the penalty of the reachable routes will be down, by half.
  • Page 168: Show Bgp Dampening

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide IP Address/Netmask Gateway Metric LocPrf Weight Path *> 20.0.0.0/8 0.0.0.0 32768 *> 221.221.2.0/24 0.0.0.0 32768 221.221.252.0/24 1.1.1.2 1 40 i 221.221.253.0/24 1.1.1.2 1 40 i Total Entries: 4 DGS-3620-28SC:admin# config bgp dampening state disable Command: config bgp dampening state disable Success.
  • Page 169 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Following example shows how to get the BGP dampening configurations: DGS-3620-28SC:admin# show bgp dampening Command: show bgp dampening BGP Dampening State :Enabled BGP Dampening Route_Map :dmp1 Half Life Time :15 minutes Reuse Value :750...
  • Page 170 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide For session state, if the peer group is configure to disable, all the members can’t set to enable. For session activity, can’t set the peer group to disable. As for the description attribute, setting the peer group will not affect the setting for an individual peer.
  • Page 171 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-20 create bgp neighbor Description The command is used to create a BGP neighbor. Either a single router or a peer group can be created as neighbor. If the created neighbor has a single IP address, the remote AS must be specified. A peer group must be specified of which this BGP speaking neighbor belongs to, and in this condition, a remote AS must be specified to the peer group first.
  • Page 172 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete bgp neighbor [<ipaddr> | peer_group <peer_group_name 16> | all] Parameters <ipaddr> - Specifies the IP address of the neighbor that will be deleted. peer_group - Specifies the peer group that will be deleted as a neighbor. <peer_group_name 16>...
  • Page 173 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide clear_password - Specifies to clear the MD5 authentication password when a TCP connection between BGP neighbors are established. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To configure a neighbor’s description:...
  • Page 174 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example will shut down all the neighbors that are contained in the peer group “Campus”: DGS-3620-28SC:admin# config bgp neighbor session peer_group Campus state disable Command: config bgp neighbor session peer_group Campus state disable Success.
  • Page 175 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide default_originate: If this setting is enabled, it will allow a BGP speaker (the local router) to send the default route 0.0.0.0/0 to a neighbor to use as the default route. If route map is specified, the default route will be injected if the route map contains a match IP address statement.
  • Page 176 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - Specifies that the allow AS-in option will be enabled. <value 1-10> - Enter the allow AS-in value used here. This value must be between 1 and 10. disable - Specifies that the allow AS-in option will be disabled.
  • Page 177 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <sec 0-600> - Enter the advertisement interval value here. This value must be between 0 and 600 seconds. default - Specifies that the advertisement interval will be set to default. keepalive - (Optional) This specifies the interval at which a keepalive message is sent to its peers.
  • Page 178 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide When the router is in reflection mode, the router will exchange information with client neighbors in the reflection way and with the remaining neighbor in the ordinary way. When the router is in non-reflection mode, the router will exchange information with all the neighbors in the non-reflection way.
  • Page 179 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp neighbor map [<ipaddr> | peer_group <peer_group_name 16>] {unsuppress_map [add | delete] <map_name 16> | route_map [in | out] [add | delete] <map_name 16>}(1) Parameters <ipaddr> - Specifies the IP address of the neighbor to be configured. peer_group - Specifies the peer group to be configured.
  • Page 180 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide amount of unwanted routing updates from the remote peer. Format config bgp neighbor filter [<ipaddr> | peer_group <peer_group_name 16>] {filter_list [in | out] [add | delete] <list_name 16> | prefix_list [in | out] [add | delete] <list_name 16> | capability_orf_prefix_list [receive | send | both | none]}(1) Parameters <ipaddr>...
  • Page 181 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-29 show bgp peer_group Description The command is used to show the information of the BGP peer group. Format show bgp peer_group {<peer_group_name 16>} Parameters peer_group - (Optional) Name of the BGP peer group. The length is up to 16 bytes. <peer_group_name 16>...
  • Page 182 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Keepalive Interval : 60 seconds Holdtime Interval : 180 seconds AS Origination Interval : 15 seconds Connect Retry Interval : 120 seconds EBGP Multihop Weight Next Hop Self : Disabled Route Reflector Client : Disabled...
  • Page 183 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example This example shows how to configure the cluster ID: DGS-3620-28SC:admin# config bgp route_reflector cluster_id 10.100.200.1 Command: config bgp route_reflector cluster_id 10.100.200.1 Success.
  • Page 184 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-32 config bgp confederation identifier Description This command is used to configure the BGP confederation. A confederation, which is represented by an AS, is a group of the sub AS. A confederation can be used to reduce the internal BGP (iBGP) mesh by dividing a large single AS into multihop sub AS.
  • Page 185: Clear Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters peers - Specifies that a peer will be added or deleted. add - Specifies that a peer will be added. delete - Specifies that a peer will be deleted. <aspath_list>...
  • Page 186 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <peer_group_name 16> - Enter the peer group name here. This name can be up to 16 characters long. external - All eBGP sessions will be reset. soft - (Optional) Initiates a soft reset. Does not tear down the session. in - Initiates inbound reconfiguration.
  • Page 187 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# clear bgp dampening 192.168.10.0/24 Command: clear bgp dampening 192.168.10.0/24 Success. DGS-3620-28SC:admin# 12-36 create bgp as_path access_list Description The command is used to create an Autonomous System path access list. You can apply an Autonomous System path access lists to both inbound and outbound routes exchanged by a BGP peer session.
  • Page 188 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters access_list - Specifies the AS path access list name. <list_name 16> - Enter the AS path access list name here. This name can be up to 16 characters long.
  • Page 189 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies that all the AS path lists will be used. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example This example deletes a matching rule for an AS path access list: DGS-3620-28SC:admin# delete bgp as_path access_list list_name test...
  • Page 190 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show bgp as_path access_list 1 Command: show bgp as_path access_list 1 BGP AS Path Access List : 1 deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_) permit 33 Total Filter Entries: 2 Total AS Path Access List Number: 1 DGS-3620-28SC:admin# 12-40 create bgp community_list Description...
  • Page 191 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide multiple communities, can be defined for a rule. A Route can be associated with a community string. To match a rule, two community strings must exact match. The built-in community strings including internet, local_as, no_advertise, and no_export.
  • Page 192 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example creates a standard community list and configures permits routes from the network 10 in the Autonomous System 50000:10 DGS-3620-28SC:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success.
  • Page 193 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-43 show bgp community_list Description This command is used to show a BGP community list. Format show bgp community_list {<list_name 16>} Parameters community_list - Specifies the name of community list to be displayed. <list_name 16>...
  • Page 194 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show bgp route {[regexp <desc 80> | inconsistent_as | cidr_only | filter_list <list_name 16> | route_map <map_name 16> | community {community_set <community_set 80> | local_as | no_advertise | no_export | internet} {exact_match} | community_list <list_name 16> {exact_match} | ipaddress <ipaddr>...
  • Page 195 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? – incomplete IP Address/Netmask Gateway Metric LocPrf...
  • Page 196 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 172.16.11.0/24 172.16.72.30 109 108 ? 172.16.14.0/24 172.16.72.30 109 108 ? 172.16.15.0/24 172.16.72.30 109 108 ? 172.16.16.0/24 172.16.72.30 109 108 ? Total Entries :6 DGS-3620-28SC:admin# show bgp route regexp “108$” Command: show bgp route regexp “108$”...
  • Page 197: Show Bgp Neighbors

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide next hop is:0.0.0.0 ,from 0.0.0.0 (local router_id is:192.168.1.1) origin IGP, metric 100, localpref 0, weight 32768, sourced, best Community: no_advertise DGS-3620-28SC:admin# 12-45 show bgp neighbors Description This command is used to display BGP and TCP connections with the BGP neighbor or routing table entries containing a BGP neighbor.
  • Page 198 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide AS Origination Interval : 15 seconds Connect Retry Interval : 120 seconds EBGP Multihop Weight : 100 Next Hop Self : Disabled Remove Private As : Disabled Allowas In : Enabled (Num: 3) Address Family IPv4 Unicast IPv4 Unicast...
  • Page 199 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show bgp neighbors 172.16.232.178 received_prefix_filter Ip prefix-list 172.16.232.181: 1 entries Seq 5 deny 10.0.0.0/8 le 32 Total Entries :1 DGS-3620-28SC:admin# show bgp neighbors 172.16.232.178 routes Command: show bgp neighbors 172.16.232.178 routes BGP local router ID is 10.0.40.1 Status codes: s suppressed, d damped, h history, * valid, >...
  • Page 200 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show bgp dampened_routes Command: show bgp dampened_routes BGP local router ID is 172.29.232.182 Status codes: s suppressed, d damped, h history, * valid, > best, i -internal Origin codes: i - IGP, e - EGP, ? - incomplete Network From...
  • Page 201: Show Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-48 show bgp Description This command is used to display BGP configuration and summary of the BGP status. Format show bgp {summary} Parameters summary - (Optional) Specifies that the summary of the BGP status will be included in the display.
  • Page 202 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide local AS number : 100 Dampening : Enabled BGP AS Path Entries : 10 BGP Community Entries Neighbor MsgRcvd MsgSent Up/Down State/PfxRcvd ----------- ------- ------- ------- ------------- 10.100.1.1 00:14:23 10.200.1.1 00:13:40...
  • Page 203 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-50 show bgp confederation Description This command is used to display the confederation configuration of BGP. Format show bgp confederation Parameters None. Restrictions None. (EI Mode Only Command) Example This example displays the BGP confederation setting: DGS-3620-28SC:admin#...
  • Page 204 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Enable or disable the sending of both the peer idle and established trap. This default value is disabled. enable - Specifies that the trap feature will be enabled. disable - Specifies that the trap feature will be disabled.
  • Page 205 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-53 config bgp scan_timer Description This command is used to configure the BGP scan timer value. BGP will check the next hop whether it is reachable from the BGP route before the timer expires. Format config bgp scan_timer [<sec 5-60>...
  • Page 206 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This is an example of configuring the BGP aggregate next hop check: DGS-3620-28SC:admin# config bgp aggregate_next_hop_check enable Command: config bgp aggregate_next_hop_check enable Success. DGS-3620-28SC:admin# 12-55 config bgp fast_external_fallover Description This command configures a Border Gateway Protocol (BGP) routing process to immediately reset its external BGP peer sessions if the link used to reach these peers goes down,...
  • Page 207 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp neighbor maximum_prefix [<ipaddr> | peer_group <peer_group_name 16>] <value 1-12000> {<value 1-100>} {warning_only} Parameters <ipaddr> - Specifies the IP address of the neighbor to be configured. peer_group - Specifies the peer group to be configured.
  • Page 208 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example This is an example to clear the route dampening flap statistics of network 192.168.1.0/24: DGS-3620-28SC:admin# clear bgp flap_statistics 192.168.1.0/24 Command: clear bgp flap_statistics 192.168.1.0/24...
  • Page 209: Chapter 13 Bpdu Attack Protection Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 13 BPDU Attack Protection Commands config bpdu_protection ports [<portlist> | all] {state [enable | disable] | mode [drop | block | shutdown]}(1) config bpdu_protection recovery_timer [<sec 60-1000000> | infinite] config bpdu_protection [trap | log] [none | attack_detected | attack_cleared | both] enable bpdu_protection disable bpdu_protection...
  • Page 210 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config bpdu_protection ports 1 state enable mode drop Command: config bpdu_protection ports 1 state enable mode drop Success. DGS-3620-28SC:admin# 13-2 config bpdu_protection recovery_timer Description When a port enters the under attack state, it can be disabled or blocked based on the configuration. The state can be recovered manually or by the auto recovery mechanism.
  • Page 211 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters trap - Specify the trap state. log - Specify the log state. none - Specify neither attack_detected nor attack_cleared is trapped or logged. attack_detected - Specify events will be logged or trapped when the BPDU attacks is detected. attack_cleared - Specify events will be logged or trapped when the BPDU attacks is cleared.
  • Page 212 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-5 disable bpdu_protection Description This command is used to disable BPDU protection globally for the entire switch. Format disable bpdu_protection Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable BPDU protection: DGS-3620-28SC:admin#disable bpdu_protection...
  • Page 213 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display BPDU protection information for the entire switch: DGS-3620-28SC:admin#show bpdu_protection Command: show bpdu_protection BPDU Protection Global Settings --------------------------------------- BPDU Protection Status : Disabled BPDU Protection Recover Time : 60 seconds BPDU Protection Trap State : None...
  • Page 214: Chapter 14 Cable Diagnostics Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 14 Cable Diagnostics Commands cable_diag ports [<portlist> | all] 14-1 cable_diag ports Description This command is used to test copper cabling. For 10/100Based-TX link speed RJ45 cables, two pairs of cables will be diagnosed. For 1000Base-T link speed RJ45 cables, four pairs of cables will be diagnosed.
  • Page 215 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide  Where the link partner is powered on with errors, this command can detect whether the error is open, short, or crosstalk. In this case this command can also detect the distance of the error.
  • Page 216 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# cable_diag ports 1:1-1:10,1:21 Command: cable_diag ports 1:1-1:10,1:21 Perform Cable Diagnostics ... Port Type Link Status Test Result Cable Length ------ ---------- ------------- ---------------------------- ------------ 1000BASE-T Link Up 1000BASE-T Link Up 1000BASE-T...
  • Page 217: Chapter 15 Cfm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 15 CFM Commands create cfm md <string 22> {md_index <uint 1-4294967295>} level <int 0-7> config cfm md [<string 22> | md_index <uint 1-4294967295>] {mip [none | auto | explicit] | sender_id [none | chassis | manage | chassis_manage]}(1) create cfm ma <string 22>...
  • Page 218: Create Cfm Md

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <uint 1-4294967295>] mepid <int 1-8191> {period [1sec | 1min] | level <int 0-7> | state [enable | disable]} config cfm lock md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] mepid <int 1-8191>...
  • Page 219: Create Cfm Ma

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config cfm md [<string 22> | md_index <uint 1-4294967295>] {mip [none | auto | explicit] | sender_id [none | chassis | manage | chassis_manage]}(1) Parameters <string 22> - Enter the maintenance domain name used here. This name can be up to 22 characters long.
  • Page 220: Config Cfm Ma

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <string 22> - Enter the maintenance association name used here. This name can be up to 22 characters long. ma_index - Specifies the maintenance association index used. <uint 1-4294967295>...
  • Page 221 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide md - Specify the maintenance domain name. <string 22> - Specify the maintenance domain name. The maximum length is 22 characters. md_index - Specifies the maintenance domain index used. <uint 1-4294967295>...
  • Page 222: Create Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-5 create cfm mep Description This command is used to create an MEP entry. Different MEPs in the same MA must have a different MEPID. To put MD name, MA name, and MEPID together identifies an MEP. Different MEPs on the same device must have a different MEP name.
  • Page 223: Config Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-6 config cfm mep Description This command is used to configure the parameters of an MEP. An MEP may generate five types of Fault Alarms, as shown below by their priorities from high to low: 1.
  • Page 224: Delete Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Received” are sent. xcon_ccm - Only the fault alarms whose priority is equal to or higher than “Cross-connect CCM Received” are sent. none - No fault alarm is sent. alarm_time - Specify the time that a defect must exceed before the fault alarm can be sent.
  • Page 225: Delete Cfm Ma

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ma_index - Specify the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To delete a previously created MEP:...
  • Page 226: Delete Cfm Md

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 15-9 delete cfm md Description This command is used to delete a previously created maintenance domain. When the command is executing, all the MEPs and maintenance associations created in the maintenance domain will be deleted automatically.
  • Page 227: Disable Cfm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To enable the CFM globally: DGS-3620-28SC:admin#enable cfm Command: enable cfm Success.
  • Page 228: Config Cfm Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-12 config cfm ports Description This command is used to enable or disable the CFM function on a per-port basis. By default, the CFM function is disabled on all ports. If the CFM is disabled on a port: ...
  • Page 229: Show Cfm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display the CFM state for ports 3 to 6: DGS-3620-28SC:admin#show cfm ports 3-6 Command: show cfm ports 3-6 Port State ----- ------- Enabled...
  • Page 230: Show Cfm Fault

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the CFM configuration: DGS-3620-28SC:admin#show cfm Command: show cfm CFM State: Enabled MD Index MD Name Level ---------- ---------------------- ----- op_domain DGS-3620-28SC:admin# 15-15 show cfm fault Description This command is used to display all the fault conditions detected by the MEPs contained in the specified MA or MD.
  • Page 231: Show Cfm Port

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide op_domain Error CCM Received Normal Normal DGS-3620-28SC:admin# 15-16 show cfm port Description This command is used to display MEPs and MIPs created on a port. Format show cfm port <port> {level <int 0-7> | direction [inward | outward] | vlanid <vlanid 1-4094>} Parameters <port>...
  • Page 232: Cfm Loopback

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format cfm lock md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] mepid <int 1-8191> remote_mepid <int 1-8191> action [start | stop] Parameters md - Specifies the maintenance domain name.
  • Page 233 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format cfm loopback <macaddr> [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] {num <int 1-65535> | [length <int 0-1500> | pattern <string 1500>] | pdu_priority <int 0-7>} Parameters <macaddr>...
  • Page 234: Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 15-19 cfm linktrace Description This command is used to issue a CFM link track message. Format cfm linktrace <macaddr> [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22>...
  • Page 235: Show Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-20 show cfm linktrace Description This command is used to display the link trace responses. The maximum linktrace responses a device can hold is 128. Format show cfm linktrace [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22>...
  • Page 236: Delete Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show cfm linktrace mepname mep trans_id 0 Transaction ID: 0 From MEP mep to 00-15-72-20-91-09 Start Time : 2010-12-31 00:51:49 MEPID Ingress MAC Address Egress MAC Address Forwarded Relay Action -----...
  • Page 237: Show Cfm Mipccm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 15-22 config cfm mp_ltr_all Description This command is to enable or disable the "all MPs reply LTRs" function. This function is for test purposes. According to IEEE 802.1ag, a Bridge replies with one LTR to an LTM. This command can make all MPs on the LTM’s forwarding path reply with LTRs, no matter whether they are on a Bridge or not.
  • Page 238 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. (EI Mode Only Command) Restrictions None. Example To display the MIP CCM database entries: DGS-3620-28SC:admin#show cfm mipccm Command: show cfm mipccm MAC Address Port ------------------------ ---- -------------------- ------- opma XX-XX-XX-XX-XX-XX-XX...
  • Page 239 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 15-25 show cfm pkt_cnt Description This command is used to display the CFM packet’s RX/TX counters. Format show cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} Parameters ports - (Optional) Specify the port counters to display.
  • Page 240 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 15-26 clear cfm pkt_cnt Description This command is used to clear the CFM packet’s RX/TX counters. Format clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} Parameters ports - (Optional) Specify the port counters to clear.
  • Page 241 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-27 show cfm remote_mep Description This command is used to display CFM remote MEP information. Format show cfm remote_mep [mepname <string 32> | md [<string 22> | md_index <uint 1- 4294967295>] ma [<string 22>...
  • Page 242 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 15-28 config cfm ais md Description This command is used to configure the parameters of the AIS function on a MEP. Format config cfm ais md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] mepid <int 1-8191>...
  • Page 243 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config cfm ais md op-domain ma op-ma mepid 1 state enable level 5 Command: config cfm ais md op-domain ma op-ma mepid 1 state enable level 5 Success.
  • Page 244 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config cfm lock md op-domain ma op-ma mepid 1 state enable level 5 Command: config cfm lock md op-domain ma op-ma mepid 1 state enable level 5 Success.
  • Page 245: Chapter 16 Command List History Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 16 Command List History Commands ? {<Command>} show command_history config command_history <value 1-40> 16-1 Description This command is used to display all of the commands available, on the current login account level, through the Command Line Interface (CLI).
  • Page 246 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide clear counters clear dhcp binding clear dhcp conflict_ip clear ethernet_oam ports clear fdb clear historical_counters ports clear igmp_snooping data_driven_group clear igmp_snooping statistic counter clear jwac auth_state clear log clear mac_based_access_control auth_state CTRL+C ESC q Quit...
  • Page 247 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide config traffic_segmentation 1-6 forward_list 7-8 config radius delete 1 config radius add 1 10.48.74.121 key dlink default config 802.1x reauth port_based ports all config 802.1x init port_based ports all config 802.1x auth_mode port_based config 802.1x auth_parameter ports 1-50 direction both config 802.1x capability ports 1-5 authenticator...
  • Page 248: Chapter 17 Command Logging Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 17 Command Logging Command List enable command logging disable command logging show command logging 17-1 enable command logging Description The enable command logging command is used to enable the command logging function. Note: When the switch is under the booting procedure and the procedure of downloading the configuration to execute immediately, all configuration commands should not be logged.
  • Page 249: Show Command Logging

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable command logging Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the command logging: DGS-3620-28SC:admin# disable command logging Command: disable command logging Success.
  • Page 250: Chapter 18 Common Unicast Routing Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 18 Common Unicast Routing Command List config route preference [static | default | rip | ospfIntra | ospfInter | ospfExt1 | ospfExt2 | ebgp | ibgp] <value 1-999> show route preference {[local | static | default | rip | ospf | ospfIntra | ospfInter | ospfExt1 | ospfExt2 | ebgp | ibgp]} create route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric <value 0-...
  • Page 251 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the route preference for static routes to 70: DGS-3620-28SC:admin# config route preference static 70 Command: config route preference static 70 Success.
  • Page 252 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show route preference Command: show route preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP DGS-3620-28SC:admin# 18-3 create route redistribute dst ospf src Description...
  • Page 253 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add route redistribution to OSPF: DGS-3620-28SC:admin# create route redistribute dst ospf src rip Command: create route redistribute dst ospf src rip Success. DGS-3620-28SC:admin# 18-4 config route redistribute dst ospf src Description This command is used to update the metric to be associated with the redistributed routes from a specific protocol to OSPF protocol.
  • Page 254 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config route redistribute dst ospf src rip mettype 1 metric 2 Command: config route redistribute dst ospf src rip mettype 1 metric 2 Succuss. DGS-3620-28SC:admin# 18-5 create route redistribute dst rip src Description This command is used to redistribute routing information from other routing protocols to RIP.
  • Page 255 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 18-6 config route redistribute dst rip src Description This command is used to update the metric to be associated with the redistributed routes from a specific protocol to RIP protocol. Format config route redistribute dst rip src [local | static | bgp | ospf [all | internal | external | type_1 | type_2 | inter+e1 | inter+e2]] {metric <value 0-16>}...
  • Page 256 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters local - To redistribute local routes to BGP. static - To redistribute static routes to BGP. rip - To redistribute RIP routes to BGP. ospf - To redistribute OSPF routes to BGP. all - To redistribute both OSPF AS-internal and OSPF AS-external routes to BGP.
  • Page 257 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters local - To redistribute local routes to BGP. static - To redistribute static routes to BGP. rip - To redistribute RIP routes to BGP. ospf - To redistribute OSPF routes to BGP. all - To redistribute both OSPF AS-internal and OSPF AS-external routes to BGP.
  • Page 258 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide src - Specifies the source protocol. rip - Specifies to not redistribute RIP routes. static - Specifies to not redistribute static routes. local - Specifies to not redistribute local routes. ospf - Specifies to not redistribute OSPF routes.
  • Page 259 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display route redistributions: DGS-3620-28SC:admin#show route redistribute Command: show route redistribute Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------ ------------ OSPF Type-1 Total Entries : 1 DGS-3620-28SC:admin#...
  • Page 260: Chapter 19 Compound Authentication Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 19 Compound Authentication Commands create authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] delete authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] config authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ports [<portlist>...
  • Page 261 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To assign a static VLAN to be a guest VLAN: DGS-3620-28SC:admin#create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3620-28SC:admin# 19-2 delete authentication guest_vlan Description This command is used to delete a guest VLAN setting, but not a static VLAN.
  • Page 262 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ports [<portlist> | all ] Parameters vlan - Specify the guest VLAN name. <vlan_name 32> - Specify the guest VLAN name. The VLAN name can be up to 32 characters long.
  • Page 263: Config Authentication Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide hyphen - Specifies using the “-“ as delimiter, the format is: AA-BB-CC-DD-EE-FF colon - Specifies using the “:“ as delimiter, the format is: AA:BB:CC:DD:EE:FF dot - Specifies using the “.“ as delimiter, the format is: AA.BB.CC.DD.EE.FF none - Specifies not using any delimiter, the format is: AABBCCDDEEFF number - (Optional) Specifies the delimiter number used.
  • Page 264: Show Authentication

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide pass. dot1x_impb - Dot1x will be verified first, and then IMPB will be verified. Both authentications need to be passed. impb_jwac - JWAC will be verified first, and then IMPB will be verified. Both authentications need to be passed.
  • Page 265 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the global authentication configuration: DGS-3620-28SC:admin#show authentication Command: show authentication Authentication Server Failover: Block. DGS-3620-28SC:admin# 19-7 show authentication guest_vlan Description This command is used to display guest VLAN information. Format show authentication guest_vlan Parameters...
  • Page 266: Show Authentication Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the authentication MAC format setting: DGS-3620-28SC:admin#show authentication mac_format Command: show authentication mac_format Case : Uppercase Delimiter : None Delimiter Number DGS-3620-28SC:admin# 19-9 show authentication ports Description...
  • Page 267: Enable Authorization Attributes

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show authentication ports 1-3 Command: show authentication ports 1-3 Port Methods Auth Mode Authentication VLAN(s) ---- -------------- ----------- ---------------------- None Host-based None Host-based None Host-based DGS-3620-28SC:admin# 19-10 enable authorization attributes Description This command is used to enable the authorization global state.
  • Page 268: Show Authorization

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the authorization global state: DGS-3620-28SC:admin#disable authorization attributes Command: disable authorization attributes Success.
  • Page 269 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide * Use the local database to authenticate the client. The switch will resort to using the local database to authenticate the client. If the client fails on local authentication, the client is regarded as un-authenticated, otherwise, it authenticated.
  • Page 270: Chapter 20 Debug Software Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 20 Debug Software Command List debug address_binding [event | dhcp | all] state [enable | disable] no debug address_binding debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr>...
  • Page 271 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide debug bgp show peer_group debug bgp show network debug bgp show aggregate debug bgp show damp debug bgp show interface_info debug bgp show as_path_access_list debug bgp show bgp_timer debug bgp show community_list debug bgp show redist_info debug bgp router_map [enable | disable]...
  • Page 272 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To print out all debug IMPB messages: DGS-3620-28SC:admin# debug address_binding all state enable Command: debug address_binding all state enable Success.
  • Page 273 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] Parameters dump - Display the debug message of the debug log. clear - Clear the debug log. upload_toTFTP - Upload the debug log to a TFTP server specified by IP address.
  • Page 274: Debug Buffer

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ->809E1DEC ->809D7E6C ->80A038CC ->80A033B0 ->80A0297C To clear the error log: DGS-3620-28SC:admin# debug error_log clear Command: debug error_log clear Success. DGS-3620-28SC:admin# To upload the error log to TFTP server: DGS-3620-28SC:admin# debug error_log upload_toTFTP 10.0.0.90 debug-log.txt Command: debug error_log upload_toTFTP 10.0.0.90 debug-log.txt Connecting to server....
  • Page 275: Debug Output

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide long. Restrictions Only Administrator level users can issue this command. Example To show the debug buffer’s state: DGS-3620-28SC:admin# debug buffer utilization Command: debug buffer utilization Allocate from System memory Total size 2 MB Utilization rate...
  • Page 276 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug output [module <module_list> | all] [buffer | console] Parameters module - Specifies the module list. <module_list> - Enter the module list here. all - Control output method of all modules. buffer - Direct the debug message of the module output to debug buffer(default).
  • Page 277: Debug Config State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the switch to not need a reboot when a fatal error occurs: DGS-3620-28SC:admin# debug config error_reboot disable Command: debug config error_reboot disable Success. DGS-3620-28SC:admin# 20-7 debug config state Description Use the command to set the state of the debug.
  • Page 278: Debug Stp Clear Counter

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To show the error reboot status: DGS-3620-28SC:admin#debug show error_reboot state Command: debug show error_reboot state Error Reboot: Enabled DGS-3620-28SC:admin# 20-9 debug stp clear counter...
  • Page 279: Debug Stp Config Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-10 debug stp config ports Description This command used to configure per-port STP debug level on the specified ports. Format debug stp config ports [<portlist> | all] [event | bpdu | state_machine | all] state [disable | brief | detail] Parameters ports - Specifies the STP port range to debug.
  • Page 280: Debug Stp Show Flag

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Display all port’s counters. If no parameter is specified, display the global counters. Restrictions Only Administrator level users can issue this command. Example To show the STP counters for port 9: DGS-3620-28SC:admin# debug stp show counter ports 9 Command: debug stp show counter ports 9 STP Counters...
  • Page 281: Debug Stp Show Information

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, all ports on the switch will be displayed. Restrictions Only Administrator level users can issue this command. Example To display the debug STP levels on all ports: DGS-3620-28SC:admin# debug stp show flag Command: debug stp show flag Global State: Enabled...
  • Page 282 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show STP debug information:...
  • Page 283 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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 284: Debug Stp State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-14 debug stp state Description This command is used to enable or disable the STP debug state. Format debug stp state [enable | disable] Parameters state - Specifies the STP debug state. enable - Enable the STP debug state.
  • Page 285 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters neighbor_state_change - The state of the OSPF neighbor state change debug. interface_state_change - The state of the OSPF interface state change debug. dr_bdr_selection - (Optional) Used to include or exclude debug information for DR/BDR selection.
  • Page 286 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf lsa all state enable Command: debug ospf lsa all state enable Success. DGS-3620-28SC:admin# To enable all OSPF packet debug flags: DGS-3620-28SC:admin# debug ospf packet all state enable Command: debug ospf packet all state enable Success.
  • Page 287 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To clear all OSPF statistic counters: DGS-3620-28SC:admin# debug ospf clear counter Command: debug ospf clear counter Success. DGS-3620-28SC:admin# 20-17 debug ospf log state Description This command is used to enable or disable the OSPF debug log.
  • Page 288 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug ospf show counter {packet | neighbor | spf} Parameters packet - (Optional) Specifies to display the OSPF packet counter. neighbor - (Optional) Specifies to display the OSPF neighbor event counter. spf - (Optional) Specifies to display the OSPF SPF event counter.
  • Page 289 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-19 debug ospf show detail external_link Description This command is used to display all AS external LSAs with detail information. Format debug ospf show detail external_link Parameters None. Restrictions Only Administrator level users can issue this command.
  • Page 290 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#debug ospf show detail external_link Command: debug ospf show detail external_link OSPF Phase2 External Link: =========== AREA 0.0.0.0: AS-External LSA: Link-State ID: 192.168.205.0 Advertising Router: 1.1.1.1 LS Age: 10 Seconds Options: 0x2 ..
  • Page 291 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all Network LSAs with detail information: DGS-3620-28SC:admin#debug ospf show detail net_link Command: debug ospf show detail net_link OSPF Phase2 NET Link: =========== AREA 0.0.0.0: Network LSA: Link-State ID: 10.90.90.123 Netmask: 255.0.0.0 Advertising Router: 10.90.90.91...
  • Page 292 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To display all Router LSAs with detail information: DGS-3620-28SC:admin#debug ospf show detail rt_link Command: debug ospf show detail rt_link OSPF Phase2 RT Link: =========== AREA 0.0.0.0:...
  • Page 293 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To display all Summary LSAs with detail information: DGS-3620-28SC:admin#debug ospf show detail summary_link Command: debug ospf show detail summary_link OSPF Phase2 Summary Link: =========== AREA 0.0.0.0:...
  • Page 294 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To display all type-7 LSAs with detail information: DGS-3620-28SC:admin#debug ospf show detail type7_link Command: debug ospf show detail type7_link OSPF Phase2 NSSA-External Link: =========== AREA 0.0.0.1:...
  • Page 295 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug ospf show flag Parameters None. Restrictions Only Administrator level users can issue this command. Example To show the current OSPF debug flag setting: DGS-3620-28SC:admin# debug ospf show flag Command: debug ospf show flag Global State: Enabled Current OSPF Flags Setting:...
  • Page 296 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug ospf show log state Parameters None. Restrictions Only Administrator level users can issue this command. Example To display the debug OSPF log state: DGS-3620-28SC:admin# debug ospf show log state Command: debug ospf show log state OSPF Log State : Enabled DGS-3620-28SC:admin#...
  • Page 297 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf show redistribution Command: debug ospf show redistribution OSPF Redistribution List: Nexthop State Type Tag ------------------ --------------- ----- ---- --------------- 1.1.1.0/24 0.0.0.0 0.0.0.0 OSPF ASE Table: Nexthop State Type Tag ------------------...
  • Page 298 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf show request_list Command: debug ospf show request_list OSPF Request List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 192.194.134.0 RTID: 90.2.0.1 LSID: 192.194.135.0 RTID: 90.2.0.1 LSID: 192.194.136.0 RTID: 90.2.0.1 LSID: 192.194.137.0...
  • Page 299 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf show summary_list Command: debug ospf show summary_list OSPF Summary List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 1.1.1.1 RTID: 1.1.1.1 Circuit: 2.2.2.1 Circuit: 10.1.1.6 DGS-3620-28SC:admin# 20-29 debug ospf state Description...
  • Page 300: Debug Vrrp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf state enable Command: debug ospf state enable Success. DGS-3620-28SC:admin# debug ospf show flag Command: debug ospf show flag Global State: Enabled Current OSPF Flags Setting: Neighbor State Change DGS-3620-28SC:admin# 20-30 debug vrrp...
  • Page 301 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp vr_state_change state enable Command: debug vrrp vr_state_change state enable Success. DGS-3620-28SC:admin# To enable all VRRP packet debug flags: DGS-3620-28SC:admin# debug vrrp packet all state enable Command: debug vrrp packet all state enable Success.
  • Page 302 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug vrrp clear counter Parameters None. Restrictions Only Administrator level users can issue this command. Example To clear VRRP statistic counters: DGS-3620-28SC:admin# debug vrrp clear counter Command: debug vrrp clear counter Success DGS-3620-28SC:admin# 20-32 debug vrrp log state...
  • Page 303 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp log state enable Command: debug vrrp log state enable Success. DGS-3620-28SC:admin# 20-33 debug vrrp show counter Description This command is used to display the VRRP debug statistic counters. Format debug vrrp show counter Parameters...
  • Page 304 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To display VRRP debug flag settings: DGS-3620-28SC:admin#debug vrrp show flag Command: debug vrrp show flag Global State: Disabled Current VRRP debug level setting: virtual router state change packet receiving...
  • Page 305: Debug Vrrp State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp show log state Command: debug vrrp show log state VRRP Debug Log State: Disabled DGS-3620-28SC:admin# 20-36 debug vrrp state Description The command is used to enable or disable the VRRP debug state. Format debug vrrp state [enable | disable] Parameters...
  • Page 306 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Show BGP debug flag: DGS-3620-28SC:admin# debug bgp show flag Command: debug bgp show flag Current BGP flags setting: Peer FSM Event Disable OPEN Packet Receive...
  • Page 307 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure all BGP debug flags’ state to enable: DGS-3620-28SC:admin# debug bgp all flag enable Command: debug bgp all flag enable Success.
  • Page 308 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-40 debug bgp packet Description This command is used for setting the flag of debugging information about different type of BGP packets’ receiving and sending. Format debug bgp packet [{open | update | keepalive | notify | refresh | capability}(1) | all] [in | out] [enable | disable] Parameters packet - Specifies the packet type for the debug information to display.
  • Page 309 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide BGP:Peer:<10.1.1.10> RCV OPEN, version:<4>,remote-as:<40>, HoldTime:<180>,RID:<16.0.0.1> BGP:Peer:<10.1.1.10> RCV KEEPALIVE. BGP:Peer:<10.1.1.10> RCV UPDATE, withdraw: <21.0.0.0/8>,<22.0.0.0/8>,<23.0.0.0/8>, <24.0.0.0/8>,<25.0.0.0/8>... BGP:Peer:<10.1.1.10> RCV UPDATE,attr:<Orign:i,As-path:10,Next- hop:10.1.1.10,Med:5>, NLRI: <21.0.0.0/8>,<22.0.0.0/8> BGP:Peer:<10.1.1.10> RCV NOTIFYCATION,Code:<OPEN Message Error.>,SubCode:<Bad Peer AS.> BGP:Peer:<10.1.1.10> RCV REFRESH,afi:<1>,safi:<1> BGP:Peer:<10.1.1.10>...
  • Page 310 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-42 debug bgp show global_info Description This command is used for displaying global information of current BGP instance. Format debug bgp show global_info Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show global information: DGS-3620-28SC:admin# debug bgp show global_info...
  • Page 311 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide BGP Trap : None DGS-3620-28SC:admin# 20-43 debug bgp show peer Description This command is used for displaying information of all peers in BGP protocol DB. Format debug bgp show peer Parameters None.
  • Page 312 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Remove Private AS: Disabled Allowas In: Disabled Graceful Restart : Disabled Address Family IPv4 Unicast IPv4 Unicast: None Soft Reconfiguration Inbound: Enabled Community Sent to this Neighbor: None Default Originate: Enabled Incoming Update Prefix List: prelist1 Incoming Update Filter List: ASlist1...
  • Page 313 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# :5#debug bgp show peer_group Command: debug bgp show peer_group BGP Peer Group :tt ------------------------------------------------------- Session State : Enabled Session Activity : Enabled Members : None Remote AS : Not Set Holdtime Interval : 180 seconds Keepalive Interval : 60 seconds Advertisement Interval : 0 seconds...
  • Page 314 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Configure BGP to show network information: DGS-3620-28SC:admin# debug bgp show network Command: debug bgp show network Network Route Map ------------- ----------- 192.168.0.0/8 NULL 172.16.0.0/16 map1 Total Entries :2 DGS-3620-28SC:admin# 20-46 debug bgp show aggregate Description...
  • Page 315 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-47 debug bgp show damp Description This command is used for displaying current dampening configuration and corresponding dynamic information in BGP protocol stack. Format debug bgp show damp Parameters None.
  • Page 316 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug bgp show damp Command: debug bgp show damp Route Map : NULL Reach Half Life Time is : 900 seconds Reuse Value : 750 Suppress Value : 2000 MAX Suppress Time : 3600 seconds...
  • Page 317 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show current interface information: DGS-3620-28SC:admin# debug bgp show interface_info Command: debug bgp show interface_info Interface Information: Name Index...
  • Page 318 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug bgp show as_path_access_list Command: debug bgp show as_path_access_list BGP AS Path Access List 1 deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_) permit 33 Total entry: 1 DGS-3620-28SC:admin# 20-50 debug bgp show bgp_timer Description This command is used for displaying current BGP timer chain information in BGP protocol stack.
  • Page 319 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-51 debug bgp show community_list Description This command is used for displaying current community list configuration in protocol stack. Format debug bgp show community_list Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show current community list information: DGS-3620-28SC:admin# debug bgp show community_list...
  • Page 320 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Configure BGP to show current BGP redistribution information: DGS-3620-28SC:admin# debug bgp show redist_info Command: debug bgp show redist_info Last redistribution count summary: Type Route_count_rib total_count Time(msec) ------ ---------------- --------------- --------- OSPF STATIC...
  • Page 321 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug bgp router_map enable Command: debug bgp router_map enable Success. DGS-3620-28SC:admin# config bgp neighbor map 15.0.0.1 route_map in add map1 Command: config bgp neighbor map 15.0.0.1 route_map in add map1 Success.
  • Page 322 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide access_list:<ac1>,apply bgp neighbor:<19.0.0.1> MATCH. 20-55 debug bgp prefix_list Description This command is used for setting prefix_list debugging flags to disable or enable. If this flag is enable, prefix list permit or deny in BGP module will be displayed. Format debug bgp prefix_list [enable | disable] Parameters...
  • Page 323 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enabled DHCPv6 client debug function: DGS-3620-28SC:admin# debug dhcpv6_client state enable Command: debug dhcpv6_client state enable Success. DGS-3620-28SC:admin# 20-57 debug dhcpv6_client state disable Description...
  • Page 324 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug dhcpv6_client output [buffer | console] Parameters buffer - Let the debug message output to buffer. console - Let the debug message output to console. Restrictions Only Administrator-level users can issue this command. Example To set debug information to output to console: DGS-3620-28SC:admin# debug dhcpv6_client output console...
  • Page 325 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug dhcpv6_client packet sending state enable Command: debug dhcpv6_client packet sending state enable Success. DGS-3620-28SC:admin# 20-60 debug dhcpv6_relay state enable Description This command is used to enable the DHCPv6 relay Debug function. Format debug dhcpv6_relay state enable Parameters...
  • Page 326 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To disabled DHCPv6 relay debug function: DGS-3620-28SC:admin# debug dhcpv6_relay state disable Command: debug dhcpv6_relay state disable Success. DGS-3620-28SC:admin# 20-62 debug dhcpv6_relay hop_count state Description This command is used to enable or disable debug information flag about the hop count.
  • Page 327 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug dhcpv6_relay output [buffer | console] Parameters output - Specifies the location of the debug message output. buffer - Let the debug message output to buffer. console - Let the debug message output to console. Restrictions Only Administrator-level users can issue this command.
  • Page 328 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug dhcpv6_relay packet sending state enable Command: debug dhcpv6_relay packet sending state enable Success. DGS-3620-28SC:admin# 20-65 debug dhcpv6_server packet Description This command is used to enable or disable the debug information flag of the DHCPv6 server packet, including packets receiving and sending.
  • Page 329 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disabled the DHCPv6 server debug function: DGS-3620-28SC:admin# debug dhcpv6_server state disable Command: debug dhcpv6_server state disable Success.
  • Page 330 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug pim ssm Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enable the PIM-SSM debug function: DGS-3620-28SC:admin# debug pim ssm Command: debug pim ssm Success.
  • Page 331 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the PIM-SSM debug function: DGS-3620-28SC:admin# no debug pim ssm Command: no debug pim ssm Success. DGS-3620-28SC:admin# 20-70 debug ripng flag Description This command is used to enable or disable the RIPng debug flag. Format debug ripng flag [{interface | packet [all | rx | tx] | route} | all] state [enable | disable] Parameters...
  • Page 332 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The RIPng interface System has changed the link state to down. 20-71 debug ripng show flag Description This command is used to display the RIPng debug flag setting. Format debug ripng show flag Parameters...
  • Page 333 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example To disable RIPng debug globally: DGS-3620-28SC:admin# debug ripng state disable Command: debug ripng state disable Success.
  • Page 334: Debug Show Status

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug routefilter show [prefix_list | access_list | route_map] Parameters prefix_list - Specifies to display prefix list debug information. access_list - Specifies to display access list debug information. route_map - Specifies to display route map debug information.
  • Page 335 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the specified module’s debug state: Prompt# debug show status module MSTP Command: debug show status module MSTP Debug Global State : Enable MSTP : Enable Prompt# To show the debug state: Prompt# debug show status...
  • Page 336 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the super VLAN Debug Function: DGS-3620-28SC:admin# debug super_vlan state disable Command: debug super_vlan state disable Success. DGS-3620-28SC:admin# After enabling super VLAN debug, the following information may appear when receive an ARP packet form sub VLAN.
  • Page 337: Chapter 21 Dhcp Local Relay Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 21 DHCP Local Relay Commands config dhcp_local_relay vlan <vlan_name 32> state [enable | disable] config dhcp_local_relay vlan vlanid <vlan_id> state [enable | disable] enable dhcp_local_relay disable dhcp_local_relay show dhcp_local_relay 21-1 config dhcp_local_relay vlan...
  • Page 338 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-2 config dhcp_local_relay vlan vlanid Description This command is used to enable or disable the DHCP local relay function for a specified VLAN ID. Format config dhcp_local_relay vlan vlanid <vlan_id> state [enable | disable] Parameters vlanid - Specifies the VLAN ID used to enabled DHCP local relay.
  • Page 339 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3620-28SC:admin# 21-4 disable dhcp_local_relay Description This command is used to globally disable the DHCP local relay function on the switch. Format disable dhcp_local_relay Parameters None.
  • Page 340 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the local DHCP relay status: DGS-3620-28SC:admin#show dhcp_local_relay Command: show dhcp_local_relay DHCP/BOOTP Local Relay Status : Disabled DHCP/BOOTP Local Relay VID List : 1,3-4 DGS-3620-28SC:admin#...
  • Page 341: Chapter 22 Dhcp Relay Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 22 DHCP Relay Commands config dhcp_relay {hops <int 1-16> | time <sec 0-65535>}(1) config dhcp_relay add ipif <ipif_name 12> <ipaddr> config dhcp_relay delete ipif <ipif_name 12> <ipaddr> config dhcp_relay option_60 add string <multiword 255>...
  • Page 342 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters hops - Specify the maximum number of router hops that the DHCP/BOOTP packets can cross. The range is 1 to 16. The default value is 4. <int 1-16> - Specify the maximum number of router hops that the DHCP/BOOTP packets can cross.
  • Page 343 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp_relay add ipif System 10.43.21.12 Command: config dhcp_relay add ipif System 10.43.21.12 Success. DGS-3620-28SC:admin# 22-3 config dhcp_relay delete ipif Description This command is used to delete an IP destination address from the switch’s DHCP relay table. Format config dhcp_relay delete ipif <ipif_name 12>...
  • Page 344 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <multiword 255> - Specify a string. relay - Specify a relay server IP address. <ipaddr> - Enter the IP address here. exact-match - The Option 60 string in the packet must fully match the specified string. partial-match - The Option 60 string in the packet only need partially match the specified string.
  • Page 345 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure a DHCP Option 60 default drop action: DGS-3620-28SC:admin#config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-3620-28SC:admin# 22-6 config dhcp_relay option_60 delete Description This command is used to delete a DHCP Option 60 entry.
  • Page 346 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 22-7 config dhcp_relay option_60 state Description This command is used to decide whether DHCP relay will process the DHCP Option 60 or not. When Option 60 is enabled, if the packet does not have Option 60, then the relay servers cannot be determined based on Option 60.
  • Page 347 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <macaddr> - Specify the client’s client-ID, which is the MAC address of the client. string - Specify the client’s client-ID, which is specified by administrator. <desc_long 255> - Specify the client’s client-ID, which is specified by administrator The client-ID string can be up to 255 characters long.
  • Page 348 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp_relay option_61 default drop Command: config dhcp_relay option_61 default drop Success. DGS-3620-28SC:admin# 22-10 config dhcp_relay option_61 delete Description This command is used to delete Option 61 rules. Format config dhcp_relay option_61 delete [mac_address <macaddr>...
  • Page 349 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp_relay option_61 state [enable | disable] Parameters enable - Specify to enable the DHCP relay function to use option 61 rules to relay DHCP packets. disable - Specify to disable the DHCP relay function to use option 61 rules to relay DHCP packets.
  • Page 350 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 22-13 config dhcp_relay option_82 policy Description This option takes effect only when the check status is disabled. The relay agent does this operation because the packet cannot contain two Option 82s. The default setting is replace. Format config dhcp_relay option_82 policy [replace | drop | keep] Parameters...
  • Page 351 Only Administrator, Operator and Power-User level users can issue this command. Example To configure the remote ID string of the DHCP relay agent information Option 82: DGS-3620-28SC:admin#config dhcp_relay option_82 remote_id user_define D-Link Switch Command: config dhcp_relay option_82 remote_id user_define D-Link Switch Success. DGS-3620-28SC:admin# 22-15 config dhcp_relay option_82 state Description This command is used to configure the state of the DHCP relay agent information Option 82 of the switch.
  • Page 352 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 22-16 enable dhcp_relay Description This command is used to enable the DHCP relay function on the switch. Format enable dhcp _relay Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the DHCP relay function: DGS-3620-28SC:admin#enable dhcp_relay...
  • Page 353 DHCP Relay Agent Information Option 82 State : Disabled DHCP Relay Agent Information Option 82 Check : Disabled DHCP Relay Agent Information Option 82 Policy : Replace DHCP Relay Agent Information Option 82 Remote ID : D-Link Switch Interface Server 1 Server 2 Server 3...
  • Page 354 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide System 10.1.1.1 192.168.0.1 DGS-3620-28SC:admin# 22-19 show dhcp_relay option_60 Description This command is used to display the DHCP relay option 60 entries. Format show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]} Parameters string - (Optional) Display the entry whose string equals the string specified.
  • Page 355 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 22-20 show dhcp_relay option_61 Description This command is used to display all the DHCP relay option 61 rules. Format show dhcp_relay option_61 Parameters None. Restrictions None. Example To display the DHCP option 61 entries: DGS-3620-28SC:admin#show dhcp_relay option_61 Command: show dhcp_relay option_61...
  • Page 356: Chapter 23 Dhcp Server Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 23 DHCP Server Commands create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all] show dhcp excluded_address create dhcp pool <pool_name 12> delete dhcp pool [<pool_name 12>...
  • Page 357 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide end_address - Specify the ending address of the IP address range. <ipaddr> - Specify the ending address of the IP address range. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To specify the IP address that DHCP server should not assign to clients: DGS-3620-28SC:admin#create dhcp excluded_address begin_address 10.10.10.1...
  • Page 358 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 23-3 show dhcp excluded_address Description This command is used to display the groups of IP addresses which are excluded from being a legal assigned IP address. Format show dhcp excluded_address Parameters None.
  • Page 359 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Specify the name of the DHCP pool. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a DHCP pool: DGS-3620-28SC:admin#create dhcp pool nyknicks Command: create dhcp pool nyknicks Success.
  • Page 360 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-6 config dhcp pool network_addr Description This command is used to specify the network for the DHCP pool. The addresses in the network are free to be assigned to the DHCP client. The prefix length specifies the number of bits that comprise the address prefix.
  • Page 361 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Specify the DHCP pool name. <domain_name 64> - (Optional) Specify the domain name of the client. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the domain name option of the DHCP pool: DGS-3620-28SC:admin#config dhcp pool domain_name nyknicks nba.com...
  • Page 362 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-9 config dhcp pool netbios_name_server Description This command is used to specify the NetBIOS WINS server that is available to a Microsoft DHCP client. Up to three IP addresses can be specified on one command line. Windows Internet Naming Service (WINS) is a name resolution service that Microsoft DHCP clients use to correlate host names to IP addresses within a general grouping of networks.
  • Page 363 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Specify the DHCP pool name. broadcast - Specify the NetBIOS node type for Microsoft DHCP clients as broadcast. peer_to_peer - Specify the NetBIOS node type for Microsoft DHCP clients as peer_to_peer. mixed - Specify the NetBIOS node type for Microsoft DHCP clients as mixed.
  • Page 364 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the default router: DGS-3620-28SC:admin#config dhcp pool default_router nyknicks 10.10.10.1 Command: config dhcp pool default_router nyknicks 10.10.10.1 Success. DGS-3620-28SC:admin# 23-12 config dhcp pool lease Description This command is used to specify the duration of the DHCP pool lease. By default, each IP address assigned by a DHCP server comes with a one-day lease, which is the amount of time that the address is valid.
  • Page 365 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide second command will overwrite the first command. If the bootfile is not specified, the boot file information will not be provided to the client. Format config dhcp pool boot_file <pool_name 12> {<file_name 64>} Parameters <pool_name 12>...
  • Page 366 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp pool next_server engineering 192.168.0.1 Command: config dhcp pool next_server engineering 192.168.0.1 Success. DGS-3620-28SC:admin# 23-15 config dhcp ping_packets Description This command is used to specify the number of ping packets the DHCP server sends to an IP address before assigning this address to a requesting client.
  • Page 367 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp ping_timeout <millisecond 10-2000> Parameters <millisecond 10-2000> - Specify the amount of time the DHCP server must wait before timing out a ping packet. The default value is 100. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 368 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ieee802 -Specify IEEE802 type. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure manual bindings: DGS-3620-28SC:admin#create dhcp pool manual_binding engineering 10.10.10.1 hardware_address 00-80-C8-02-02-02 type ethernet Command: create dhcp pool manual_binding engineering 10.10.10.1 hardware_address 00-80-C8-02-02-02 type ethernet Success.
  • Page 369: Clear Dhcp Binding

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-19 clear dhcp binding Description This command is used to clear a binding entry or all binding entries in a pool or clears all binding entries in all pools. Note that this command will not clear the dynamic binding entry which matches a manual binding entry.
  • Page 370 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display dynamic binding entries for “engineering”: DGS-3620-28SC:admin#show dhcp binding engineering Command: show dhcp binding engineering Pool Name IP Addresss Hardware Address Type Status Lifetime ------------ -------------- ------------------ -------- ------- --------- engineering...
  • Page 371 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Next Server : 10.10.10.2 DGS-3620-28SC:admin# 23-22 show dhcp pool manual_binding Description This command is used to display the configured manual binding entries. Format show dhcp pool manual_binding {<pool_name 12>} Parameters <pool_name 12>...
  • Page 372 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable DHCP server: DGS-3620-28SC:admin#enable dhcp_server Command: enable dhcp_server Success. DGS-3620-28SC:admin# 23-24 disable dhcp_server Description This command is used to disable the DHCP server function on the switch.
  • Page 373 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-25 show dhcp_server Description This command is used to display the current DHCP server configuration. Format show dhcp_server Parameters None. Restrictions None. Example To display the DHCP server status: DGS-3620-28SC:admin#show dhcp_server Command: show dhcp_server DHCP Server Global State: Disabled...
  • Page 374 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To clear an IP address 10.20.3.4 from the conflict database: DGS-3620-28SC:admin#clear dhcp conflict_ip 10.20.3.4 Command: clear dhcp conflict_ip 10.20.3.4 Success. DGS-3620-28SC:admin# 23-27 show dhcp conflict_ip Description This command is used to display the IP address that has been identified as being in conflict. The DHCP server will use ping packet to determine whether an IP address is conflicting with other hosts before binding this IP.
  • Page 375: Chapter 24 Dhcpv6 Relay Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 24 DHCPv6 Relay Command List enable dhcpv6_relay disable dhcpv6_relay config dhcpv6_relay hop_count <value 1-32> config dhcpv6_relay [add | delete] ipif <ipif_name 12> <ipv6addr> config dhcpv6_relay ipif [<ipif_name 12> | all] state [enable | disable] show dhcpv6_relay {ipif <ipif_name 12>} 24-1 enable dhcpv6_relay...
  • Page 376 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 relay global state to disable: DGS-3620-28SC:admin# disable dhcpv6_relay Command: disable dhcpv6_relay Success.
  • Page 377 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-4 config dhcpv6_relay Description The command could add/delete an IPv6 address which is a destination to forward (relay) DHCPv6 packets. Format config dhcpv6_relay [add | delete] ipif <ipif_name 12> <ipv6addr> Parameters add - Add an IPv6 destination to the DHCPv6 relay table.
  • Page 378 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - Choose this parameter to enable the DHCPv6 relay state of the interface. disable - Choose this parameter to disable the DHCPv6 relay state of the interface. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 379 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State : Disabled DHCPv6 Hops Count Limit --------------------------------------------------------------- IP Interface : n81 DHCPv6 Relay Status : Enabled Server Address IP Interface : n90 DHCPv6 Relay Status...
  • Page 380: Chapter 25 Dhcpv6 Server Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 25 DHCPv6 Server Commands create dhcpv6 pool <pool_name 12> delete dhcpv6 pool [<pool_name 12> | all] show dhcpv6 pool {<pool_name 12>} config dhcpv6 pool ipv6network_addr <pool_name 12> begin <ipv6networkaddr> end <ipv6networkaddr>...
  • Page 381 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3620-28SC:admin# 25-2 delete dhcpv6 pool Description This command is used to delete one or all DHCPv6 pools. Format delete dhcpv6 pool [<pool_name 12>...
  • Page 382 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <pool_name 12> - (Optional) Enter the DHCPv6 pool name to be displayed here. This name can be up to 12 characters long. If no parameters are specified, all the DHCPv6 pools will be displayed. Restrictions None.
  • Page 383 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6 pool ipv6network_addr <pool_name 12> begin <ipv6networkaddr> end <ipv6networkaddr> Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long.
  • Page 384 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the domain name for the DHCPv6 pool pool1: DGS-3620-28SC:admin# config dhcpv6 pool domain_name pool1 dlink.com Command: config dhcpv6 pool domain_name pool1 dlink.com Success.
  • Page 385 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 25-7 config dhcpv6 pool lifetime Description This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address within a DHCPv6 pool. Preferred lifetime - the length of time that a valid address is preferred (i.e., the time until deprecation).
  • Page 386 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6 pool manual_binding <pool_name 12> [add <ipv6addr> client_duid <string 28> | delete [<ipv6addr> | all]] Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long.
  • Page 387 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the manual binding entries of the DHCPv6 pool: DGS-3620-28SC:admin# show dhcpv6 manual_binding Command: show dhcpv6 manual_binding Pool Name :net100 Entry IPv6 Address: 3000:100:1::ABCD DUID : 00030006001572200700 Pool Name :net91...
  • Page 388 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the DHCPv6 dynamic binding information on the Switch: DGS-3620-28SC:admin# show dhcpv6 binding Command: show dhcpv6 binding Pool Name: net90 IPv6 Address: 3000:90:1::7 DUID : 0003000600cd14517000 Preferred(s): 120 Valid(s): 240 Pool Name: net100-2...
  • Page 389 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable dhcpv6_server Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 server global state to enable: DGS-3620-28SC:admin# enable dhcpv6_server Command: enable dhcpv6_server Success.
  • Page 390 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# disable dhcpv6_server Command: disable dhcpv6_server Success. DGS-3620-28SC:admin# 25-14 show dhcpv6_server Description This command is used to display the DHCPv6 server setting. Format show dhcpv6_server {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the IP interface name to be displayed.
  • Page 391 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6 pool excluded_address <pool_name 12> [add begin <ipv6addr> end <ipv6addr> | delete [begin <ipv6addr> end <ipv6addr> | all]] Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long.
  • Page 392 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - (Optional) Enter the DHCPv6 pool name used here. This name can be up to 12 characters long. Restrictions None. Example To display the excluded address information: DGS-3620-28SC:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address Pool Name: net100...
  • Page 393 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - Specifies the IP interface used. <ipif_name 12> - Enter the IP interface name used. This name can be up to 12 characters long. all - Specifies that all the IP interfaces will used. state - Specifies the DHCPv6 server state for the specified interface.
  • Page 394: Chapter 26 Distance Vector Multicast Routing Protocol (Dvmrp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 26 Distance Vector Multicast Routing Protocol (DVMRP) Commands config dvmrp [ipif <ipif_name 12> | all] {metric <value 1-31> | probe <sec 1-65535> | neighbor_timeout <sec 1-65535> | state [enable | disable]}(1) enable dvmrp disable dvmrp show dvmrp {ipif <ipif_name 12>}...
  • Page 395: Enable Dvmrp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that DVMRP of the specified IP interface will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To configure DVMRP configurations of IP interface called ‘System’:...
  • Page 396 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 26-3 disable dvmrp Description This command is used to disable the DVMRP global state on the Switch. Format disable dvmrp Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To disable DVMRP:...
  • Page 397 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display DVMRP configurations: DGS-3620-28SC:admin#show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout Probe Metric State ------------ ----------------- ---------------- ----- ------ -------- System 192.168.69.123...
  • Page 398 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address Generation ID Expire Time --------------- ---------------- ------------- ----------- System 10.48.74.123 Total Entries : 1 DGS-3620-28SC:admin# 26-6 show dvmrp nexthop...
  • Page 399 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp nexthop Command: show dvmrp nexthop Source Address/NetMask Interface Name Type ---------------------- --------------- ------ 10.0.0.0/8 Leaf 10.0.0.0/8 Leaf 20.0.0.0/8 System Leaf 20.0.0.0/8 Leaf 30.0.0.0/8 System Leaf 30.0.0.0/8 Leaf Total Entries : 6...
  • Page 400 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp routing_table Command: show dvmrp routing_table DVMRP Routing Table Source Address/Netmask Upstream Neighbor Metric Learned Interface Expire ---------------------- ----------------- ------ ------- ---------- ------ 10.0.0.0/8 10.90.90.90 Local System 20.0.0.0/16 20.1.1.1...
  • Page 401: Chapter 27 D-Link License Management System (Dlms)

    DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 27 D-Link License Management System (DLMS) install dlms activation_code <string 25> {unit <unit_id>} show dlms license 27-1 install dlms activation_code Description This command is used to install an activation code. The activation code is a set of codes which activates/ unlocks functions on the switch.
  • Page 402 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 27-2 show dlms license Description This command will display the license information. Format show dlms license {unit <unit_id>} Parameters unit - Specifies the unit to display. <unit_id> Specifies the switch in the switch stack. Restrictions None.
  • Page 403: Chapter 28 Domain Name System (Dns) Relay Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 28 Domain Name System (DNS) Relay Commands config dnsr [[primary | secondary] nameserver <ipaddr> | [add | delete] static <domain_name 32> <ipaddr>] enable dnsr {[cache | static]} disable dnsr {[cache | static]} show dnsr {static} 28-1...
  • Page 404 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To add the entry “dns1” with IP address 10.24.22.5 to the DNS static table: DGS-3620-28SC:admin#config dnsr add static dns1 10.24.22.5 Command: config dnsr add static dns1 10.24.22.5 Success.
  • Page 405 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable dnsr cache Command: enable dnsr cache Success. DGS-3620-28SC:admin# To enable static table lookup for DNS relay: DGS-3620-28SC:admin#enable dnsr static Command: enable dnsr static Success. DGS-3620-28SC:admin# 28-3 disable dnsr Description This command is used to disable DNS relay on the switch.
  • Page 406 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To disable static table lookup for DNS relay: DGS-3620-28SC:admin#disable dnsr static Command: disable dnsr static Success. DGS-3620-28SC:admin# 28-4 show dnsr Description This command is used to display the current DNS relay configuration and static entries. Format show dnsr {static} Parameters...
  • Page 407 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show dnsr Command: show dnsr DNSR Status : Disabled Primary Name Server : 0.0.0.0 Secondary Name Server : 0.0.0.0 DNSR Cache Status : Disabled DNSR Static Table Status : Disabled DNS Relay Static Table Domain Name IP Address...
  • Page 408: Chapter 29 Domain Name System (Dns) Resolver Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 29 Domain Name System (DNS) Resolver Commands config name_server add <ipaddr> {primary} config name_server delete <ipaddr> {primary} config name_server timeout <second 1-60> show name_server create host_name <name 255> <ipaddr> delete host_name [<name 255>...
  • Page 409 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 29-2 config name_server delete Description This command is used to delete a DNS resolver name server from the Switch. Format config name_server delete <ipaddr> {primary} Parameters <ipaddr> - Enter the DNS Resolver name server IP address used here. primary –...
  • Page 410 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config name_server timeout 10 Command: config name_server timeout 10 Success. DGS-3620-28SC:admin# 29-4 show name_server Description This command is used to display the current DNS Resolver name servers and name server time out on the Switch.
  • Page 411 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 29-5 create host_name Description This command is used to create the static host name entry of the Switch. Format create host_name <name 255> <ipaddr> Parameters <name 255> - Enter the hostname used here. This name can be up to 255 characters long. <ipaddr>...
  • Page 412 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3620-28SC:admin# 29-7 show host_name Description This command is used to display the current host name. Format show host_name {static | dynamic} Parameters static –...
  • Page 413 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 29-8 enable dns_resolver Description This command is used to enable the DNS Resolver state of the Switch. Format enable dns_resolver Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DNS Resolver state to enabled: DGS-3620-28SC:admin# enable dns_resolver...
  • Page 414 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# disable dns_resolver Command: disable dns_resolver Success. DGS-3620-28SC:admin#...
  • Page 415: D-Link Unidirectional Link Detection (Duld) Commands

    DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 30 D-Link Unidirectional Link Detection (DULD) Commands config duld ports [<portlist> | all] {state [enable | disable] | mode [shutdown | normal] | discovery_time <sec 5-65535>} show duld ports {<portlist>}...
  • Page 416 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable unidirectional link detection on port 1: DGS-3620-28SC:admin# config duld ports 1 state enable Commands: config duld ports 1 state enable Success DGS-3620-28SC:admin# 30-2 show duld ports Description This command is used to show unidirectional link detection information.
  • Page 417: Chapter 31 Ethernet Ring Protection Switching (Erps) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 31 Ethernet Ring Protection Switching (ERPS) Commands enable erps disable erps create erps raps_vlan <vlanid> delete erps raps_vlan <vlanid> config erps raps_vlan <vlanid> [state [enable | disable] | ring_mel <value 0-7> | ring_port [west [<port>...
  • Page 418 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable ERPS: DGS-3620-28SC:admin#enable erps Command: enable erps Success. DGS-3620-28SC:admin# 31-2 disable erps Description This command is used to disable the ERPS function on the switch. Format disable erps Parameters None.
  • Page 419 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <vlanid> - Specify the VLAN which will be the R-APS VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an ERPS RAPS VLAN: DGS-3620-28SC:admin#create erps raps_vlan 4094 Command: create erps raps_vlan 4094 Success.
  • Page 420 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 31-5 config erps raps_vlan Description This command is used to set the R-APS VLAN parameters. The ring_mel command is used to configure the ring MEL for an R-APS VLAN. The ring MEL is one field in the R-APS PDU. Note that if CFM (Connectivity Fault Management) and ERPS are used at the same time, R-APS PDU is one of a suite of Ethernet OAM PDU.
  • Page 421 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config erps raps_vlan <vlanid> [state [enable | disable] | ring_mel <value 0-7> | ring_port [west [<port> | virtual_channel] | east [<port> | virtual_channel]] | rpl_port [west | east | none] | rpl_owner [enable | disable] | protected_vlan [add | delete] vlanid <vidlist>...
  • Page 422 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide holdoff_time - Specify the holdoff time of the R-APS function. <value 0-10000> - Specify the time between 0 and 10000. The default hold off time is 0 milliseconds. guard_time - Specify the guard time of the R-APS function.
  • Page 423 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To set the R-APS timer parameter: DGS-3620-28SC:admin#config erps raps_vlan 4094 timer holdoff_time 100 guard_time 1000 wtr_time 10 Command: config erps raps_vlan 4094 timer holdoff_time 100 guard_time 1000 wtr_time 10 Success.
  • Page 424 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters trap - Specifies to enable or disable the ERPS trap state. enable - Enter enable to enable the trap state. disable - Enter disable to disable the trap state. The default value is disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 425 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show erps Command: show erps Global Status : Enabled Log Status : Enabled Trap Status : Disabled ------------------------------------ R-APS VLAN : 4094 ERPS Status : Disabled Admin West Port : 1:5 Operational West Port : 1:5...
  • Page 426: Chapter 32 External Alarm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 32 External Alarm Commands config external_alarm {unit < unit_id>} channel <value 1-2> message <sentence 1-128> show external_alarm {unit <unitlist>} 32-1 config external_alarm Description This command is used to configure external alarm message for a channel. The source of alarm is located outside of the switch.
  • Page 427 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 32-2 show external_alarm Description This command is used to display the real-time status of external alarm. Format show external_alarm {unit <unitlist>} Parameters unit - Specifies the unit(s) to display. <unitlist>...
  • Page 428: Chapter 33 Fdb Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 33 FDB Commands create fdb <vlan_name 32> <macaddr> [port <port> | drop] create fdb vlanid <vidlist> <macaddr> [port <port> | drop] create multicast_fdb <vlan_name 32> <macaddr> config multicast_fdb <vlan_name 32> <macaddr> [add | delete] <portlist> config fdb aging_time <sec 10-1000000>...
  • Page 429: Create Fdb Vlanid

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 33-2 create fdb vlanid Description This command is used to create an entry into the switch’s unicast MAC address forwarding database using the VLAN ID. Format create fdb vlanid <vidlist> <macaddr> [port <port> | drop] Parameters <vidlist>...
  • Page 430 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create multicast MAC forwarding: DGS-3620-28SC:admin# create multicast_fdb default 01-00-00-00-01-01 Command: create multicast_fdb default 01-00-00-00-01-01 Success.
  • Page 431 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 33-5 config fdb aging_time Description This command is used to set the age-out timer for the switch’s dynamic unicast MAC address forwarding tables. Format config fdb aging_time <sec 10-1000000> Parameters <sec 10-1000000>...
  • Page 432: Delete Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide filter_unregistered_groups - Specify the filtering mode as filter_unregistered_groups. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the the multicast packet filtering mode for all VLANs: DGS-3620-28SC:admin#config multicast vlan_filtering_mode all forward_unregistered_groups Command: config multicast port filtering_mode all forward_unregistered_groups...
  • Page 433: Clear Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 33-8 clear fdb Description This command is used to clear the switch’s forwarding database of all dynamically learned MAC addresses. Format clear fdb [vlan <vlan_name 32> | port <port> | all ] Parameters vlan - Specify the name of the VLAN on which the MAC address resides.
  • Page 434: Show Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, all multicast FDB entries will be displayed. Restrictions None. Example To display multicast MAC address table: DGS-3620-28SC:admin#show multicast_fdb Command: show multicast_fdb VLAN Name : default MAC Address : 01-00-00-00-01-01...
  • Page 435 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display unicast MAC address table: DGS-3620-28SC:admin#show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type Status ---- -------------------------------- ----------------- ----- ------- ------- default 00-01-02-03-04-00 CPU...
  • Page 436 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#...
  • Page 437: Chapter 34 File System Management Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 34 File System Management Commands show storage_media_info {[unit <unit_id> | all]} md {{unit <unit_id>} <drive_id>} <pathname> rd {{unit <unit_id>} <drive_id>} <pathname> cd {<pathname>} dir {{unit <unit_id>} <drive_id>} {<pathname>} rename {{unit <unit_id>} <drive_id>} <pathname>...
  • Page 438 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show storage_media_info Command: show storage_media_info Unit Drive Media Type Size Label FS Type Version ---- ----- ---------- -------- ----------- ------- ------- Flash 123 MB DGS-3620-28SC:admin# 34-2 Description This command is used to create a directory. Format md {{unit <unit_id>} <drive_id>} <pathname>...
  • Page 439 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here. <drive_id>...
  • Page 440 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Current work directory: “c:/d1” DGS-3620-28SC:admin# 34-5 Description This command is used to list all of the files located in a directory of a drive. If a path name is not specified, then all of the files in the specified drive will be displayed.
  • Page 441 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#dir c:/system Command: dir c:/system System reserved directory. Used space 89KB. DGS-3620-28SC:admin# 34-6 rename Description This command is used to rename a file in the file system. The pathname specifies the file (in path form) to be renamed and the file name specifies the new file name.
  • Page 442 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here. <drive_id>...
  • Page 443 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#format d: fat32 Command: format d: fat32 Formatting......Done! DGS-3620-28SC:admin# 34-9 Description This command is used to delete a file. It is also used to delete a directory and its contents. The system will prompt if the target file is a bootup image/configuration or the last image.
  • Page 444 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 34-10 move Description This command is used to move a file around the file system. Note that when a file is moved, it can be specified whether to be renamed at the same time. Format move {{unit <unit_id>} <drive_id>} <pathname>...
  • Page 445: Change Drive

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here. <drive_id>...
  • Page 446 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# change drive unit 3 c: Command: change drive unit 3 c: Current work directory: "/unit3:/c:". DGS-3620-28SC:admin#...
  • Page 447: Chapter 35 Filter Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 35 Filter Commands config filter dhcp_server [add permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist> | all] | delete permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist> | all] | ports [<portlist> | all] state [enable | disable] | illegal_server_log_suppress_duration [1min | 5min | 30min] | trap_log [enable | disable]] show filter dhcp_server config filter extensive_netbios [<portlist>...
  • Page 448 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specify to configure all ports. state - Specify the port status. enable - Enable the state. disable - Disable the state. illegal_server_log_suppress_duration - Specify the illegal server log suppression duration. 1min - Specify an illegal server log suppression duration of 1 minute.
  • Page 449 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the DHCP server/client filter list created on the switch: DGS-3620-28SC:admin#show filter dhcp_server Command: show filter dhcp_server Enabled Ports: 1,28 Trap & Log State: Enabled Illegal Server Log Suppress Duration: 1 minutes Permit DHCP Server/Client Table Server IP Address Client MAC Address...
  • Page 450 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 35-4 show filter extensive_netbios Description This command is used to display the extensive NetBIOS filter state on the switch. Format show filter extensive_netbios Parameters None. Restrictions None.
  • Page 451 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Disable the filter to block NetBIOS packets. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the NetBIOS filter state: DGS-3620-28SC:admin#config filter netbios 1-10 state enable Command: config filter netbios 1-10 state enable Success.
  • Page 452: Chapter 36 Gratuitous Arp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 36 Gratuitous ARP Commands enable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) config gratuitous_arp learning [enable | disable] config gratuitous_arp send dup_ip_detected [enable | disable] config gratuitous_arp send ipif_status_up [enable | disable] config gratuitous_arp send periodically ipif <ipif_name 12>...
  • Page 453 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) Parameters ipif - (Optional) The interface name of the L3 interface. <ipif_name 12> - Specify the interface name. The maximum length is 12 characters. trap - Specify trap.
  • Page 454 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config gratuitous_arp learning enable Success. DGS-3620-28SC:admin# 36-4 config gratuitous_arp send dup_ip_detected Description This command is used to enable or disable the sending of gratuitous ARP requests when a duplicate IP address is detected.
  • Page 455 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config gratuitous_arp send ipif_status_up [enable | disable] Parameters enable - Enable the sending of gratuitous ARP requests when the IPIF status becomes up. disable - Disable the sending of gratuitous ARP requests when the IPIF status becomes up. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 456 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config gratuitous_arp send periodically ipif System interval 5 Success. DGS-3620-28SC:admin# 36-7 show gratuitous_arp Description This command is used to display gratuitous ARP configuration. Format show gratuitous_arp {ipif <ipif_name 12>} Parameters ipif - (Optional) The interface name of the L3 interface.
  • Page 457: Chapter 37 Internet Group Management Protocol (Igmp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 37 Internet Group Management Protocol (IGMP) Commands config igmp [ipif <ipif_name 12> | all] {version <value 1-3> | query_interval <sec 1-31744> | max_response_time <sec 1-25> | robustness_variable <value 1-7> | last_member_query_interval <value 1-25>...
  • Page 458: Show Igmp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-25> - Enter the last member query interval value here. This value must be between 1 and 25. The default value is 1. state - (Optional) Specifies the IGMP state on a router interface. enable - Specifies that the IGMP state will be enabled.
  • Page 459: Show Igmp Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the IGMP configuration for all interfaces: DGS-3620-28SC:admin#show igmp Command: show igmp IGMP Interface Configurations Interface IP Address/Netmask Ver- Query Maximum Robust- Last State sion Response ness Member Time Value...
  • Page 460 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide System 224.0.0.9 10.20.53.1 10.48.74.122 System 224.0.1.24 10.18.1.3 10.48.74.122 System 224.0.1.41 10.1.43.252 10.48.74.122 System 224.0.1.149 10.20.63.11 10.48.74.122 Total Entries : 5 DGS-3620-28SC:admin# 37-4 config igmp check_subscriber_source_network Description This command is used to configure the flag that determines whether or not to check the subscriber source IP when an IGMP report or leave message is received.
  • Page 461 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-5 show igmp check_subscriber_source_network Description This command is used to display the status of the IGMP report/leave message source IP check. Format show igmp check_subscriber_source_network {ipif <ipif_name 12>} Parameters ipif –...
  • Page 462 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 37-6 create igmp static_group Description This command is used to create an IGMP static group on the Switch. Format create igmp static_group ipif <ipif_name 12> group <ipaddr> Parameters ipif –...
  • Page 463 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all – Specifies that all the multicast IP addresses will be deleted. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete the IGMP static group, with the multicast IP address 225.0.0.2 on the IP interface “System”.
  • Page 464 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show igmp static_group ipif n20 Command: show igmp static_group ipif n20 Interface Multicast Group ------------ --------------- 239.0.0.3 Total Entries: 1 DGS-3620-28SC:admin# To display all IGMP static groups on all interfaces: DGS-3620-28SC:admin# show igmp static_group Command: show igmp static_group Interface...
  • Page 465: Chapter 38 Igmp Proxy Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 38 IGMP Proxy Commands enable igmp_proxy disable igmp_proxy config igmp_proxy downstream_if [add | delete] vlan [<vlan_name 32> | vlanid <vidlist>] config igmp_proxy upstream_if {vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] | router_ports [add | delete] <portlist>...
  • Page 466 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the IGMP proxy: DGS-3620-28SC:admin#disable igmp_proxy Command: disable igmp_proxy Success. DGS-3620-28SC:admin# 38-3 config igmp_proxy downstream_if Description This command is used to configure the IGMP proxy downstream interfaces.
  • Page 467 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config igmp_proxy downstream_if add vlan vlanid 2-7 Success. DGS-3620-28SC:admin# 38-4 config igmp_proxy upstream_if Description This command is used to configure the setting for the IGMP proxy’s upstream interface. The IGMP proxy plays the host role on the upstream interface.
  • Page 468 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 38-5 show igmp_proxy Description This command displays IGMP proxy configuration information or group information on the switch. The display status item means group entry is determined by whether or not the chip is inserted. Format show igmp_proxy {group} Parameters...
  • Page 469 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Dest-V : The destination VLAN. : Active : Inactive Dest IP Source IP Dest-V Member Ports Status ----------- ------------- ------ ---------------- --------- 224.2.2.2 NULL 227.3.1.5 NULL 2,5,8 5,7,9 Total Entries: 2 DGS-3620-28SC:admin#...
  • Page 470: Chapter 39 Igmp Snooping Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 39 IGMP Snooping Commands config igmp_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_leave [enable | disable] | proxy_reporting {state [enable | disable] | source_ip <ipaddr>}(1)}(1) config igmp_snooping querier [vlan_name <vlan_name 32>...
  • Page 471 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - Enable or disable IGMP snooping for the chosen VLAN. enable - Enable IGMP snooping for the chosen VLAN. disable - Disable IGMP snooping for the chosen VLAN. fast_leave - Enable or disable the IGMP snooping fast leave function.
  • Page 472 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide default setting is 10 seconds. robustness_variable - Provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the following IGMP message intervals: 1.
  • Page 473 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 39-3 config router_ports Description This command is used 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.
  • Page 474 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specify to add the router ports. delete - Specify to delete the router ports. <portlist> - Specify a range of ports to be configured. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To set up port range 1 to 7 to be forbidden router ports of the default VLAN: DGS-3620-28SC:admin#config router_ports_forbidden default add 1-7...
  • Page 475 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 39-6 disable igmp_snooping Description This command is used to disable IGMP snooping on the switch. IGMP snooping can be disabled only if IP multicast routing is not being used. Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface.
  • Page 476 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To show IGMP snooping: DGS-3620-28SC:admin#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Disabled VLAN Name : default Query Interval : 125 Max Response Time : 10 Robustness Value Last Member Query Interval...
  • Page 477 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Specify a range of ports to be configured. <ipaddr> - (Optional) Specify the group IP address for which to view IGMP snooping group information. Note: If no parameter is specified, the system will display all of the current IGMP snooping group configuration of the switch.
  • Page 478 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] [<value 1-1000> | no_limit] Parameters ports - Specify a range of ports to be configured. <portlist> - Specify a range of ports to be configured. vlanid - Specify a range of VLANs to be configured.
  • Page 479 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the IGMP snooping rate limit for ports 1-2: DGS-3620-28SC:admin#show igmp_snooping rate_limit ports 1-2 Command: show igmp_snooping rate_limit ports 1-2 Port Rate Limit -------- ------------ No Limit No Limit Total Entries: 2 DGS-3620-28SC:admin#...
  • Page 480 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 39-12 config igmp_snooping static_group Description This command is used to configure an IGMP snooping static group on the switch. When a port is configured as a static member port, the IGMP protocol will not operate on this port. Therefore, suppose that a port is a dynamic member port learned by IGMP.
  • Page 481 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete igmp_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipaddr> Parameters vlan - Specify the name of the VLAN on which the router port resides. <vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters. vlanid - Specify the VLAN ID list on which the router port resides.
  • Page 482 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports --------------------------------------- -------------- -------------------- 1/Default 239.1.1.1 9-10 Total Entries : 1 DGS-3620-28SC:admin# 39-15 show igmp_snooping statistic counter Description This command is used to display the IGMP snooping statistics counter for IGMP protocol packets that are transmitted or received by the switch since IGMP snooping was enabled.
  • Page 483 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Dropped By Multicast VLAN Report & Leave IGMP v1 Report IGMP v2 Report IGMP v3 Report IGMP v2 Leave Total Dropped By Rate Limitation Dropped By Max Group Limitation Dropped By Group Filter Dropped By Multicast VLAN Transmit Statistics...
  • Page 484 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#clear igmp_snooping statistics counter Command: clear igmp_snooping statistics counter Success. DGS-3620-28SC:admin# 39-17 show igmp_snooping forwarding Description This command is used to display the switch’s current IGMP snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group comes from in terms of specific sources.
  • Page 485 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 39-18 show router_ports Description This command is used to display the current router ports on the switch. Format show router_ports [vlan <vlan_name 32> | vlanid <vlanid_list> | all] {[static | dynamic | forbidden]} Parameters vlan - Specify the name of the VLAN on which the router port resides.
  • Page 486: Chapter 40 Igmp Snooping Multicast (Ism) Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 40 IGMP Snooping Multicast (ISM) VLAN Commands create igmp_snooping multicast_vlan <vlan_name 32> <vlanid 2-4094> {remap_priority [<value 0-7> | none] {replace_priority}} config igmp_snooping multicast_vlan <vlan_name 32> {[add | delete] [member_port <portlist> | [source_port <portlist>...
  • Page 487 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide forwarded on the multicast VLAN. none - If none is specified, the packet’s original priority will be used. The default setting is none. replace_priority - (Optional) Specify that the packet’s priority will be changed by the switch, based on the remap priority.
  • Page 488 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Specify a range of ports to be configured. state - (Optional) Specify if the multicast VLAN for a chosen VLAN should be enabled or disabled. enable - Enable multicast VLAN for the chosen VLAN. disable - Disable multicast VLAN for the chosen VLAN.
  • Page 489 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an IGMP snooping multicast group profile with the name “Knicks”: DGS-3620-28SC:admin#create igmp_snooping multicast_vlan_group_profile Knicks Command: create igmp_snooping multicast_vlan_group_profile Knicks Success. DGS-3620-28SC:admin# 40-4 config igmp_snooping multicast_vlan_group_profile Description This command is used to configure an IGMP snooping multicast group profile on the switch and to add or delete multicast addresses for a profile.
  • Page 490 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 40-5 delete igmp_snooping multicast_vlan_group_profile Description This command is used to delete an existing IGMP snooping multicast group profile on the switch. Specify a profile name to delete it. Format delete igmp_snooping multicast_vlan_group_profile [profile_name <profile_name 1-32>...
  • Page 491 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display all IGMP snooping multicast VLAN profiles: DGS-3620-28SC:admin#show igmp_snooping multicast_vlan_group_profile Command: show igmp_snooping multicast_vlan_group_profile Profile Name Multicast Addresses ----------------------- -------------------------------- Knicks 234.1.1.1 - 238.244.244.244 239.1.1.1 - 239.2.2.2 customer 224.19.62.34 - 224.19.162.200...
  • Page 492 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add an IGMP snooping profile to a multicast VLAN group with the name “v1”: DGS-3620-28SC:admin#config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Command: config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Success.
  • Page 493 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 40-9 delete igmp_snooping multicast_vlan Description This command is used to delete an IGMP snooping multicast VLAN. Format delete igmp_snooping multicast_vlan <vlan_name 32> Parameters <vlan_name 32> - Specify the name of the multicast VLAN to be deleted. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 494 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable igmp_snooping multicast_vlan Command: enable igmp_snooping multicast_vlan Success. DGS-3620-28SC:admin# 40-11 disable igmp_snooping multicast_vlan Description This command is used to disable the IGMP snooping multicast VLAN function. By default, the multicast VLAN is disabled.
  • Page 495 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, the system will display all multicast VLANs. Restrictions None. Example To display all IGMP snooping multicast VLANs: DGS-3620-28SC:admin#show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan IGMP Multicast VLAN Global State : Disabled IGMP Multicast VLAN Forward Unmatched...
  • Page 496 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the forwarding mode for IGMP snooping multicast VLAN unmatched packets: DGS-3620-28SC:admin#config igmp_snooping multicast_vlan forward_unmatched enable Command: config igmp_snooping multicast_vlan forward_unmatched enable Success.
  • Page 497: Chapter 41 Ip Multicasting Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 41 IP Multicasting Commands show ipmc {ipif <ipif_name 12> | protocol [inactive | dvmrp | pim]} show ipmc cache {group <group>} {ipaddress <network_address>} 41-1 show ipmc Description This command is used to display the IP Multicast interface table.
  • Page 498 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ipmc Command: show ipmc Interface IP Address Multicast Routing ----------- ----------------- ----------------- System 10.90.90.90 INACT 1.3.2.3 PIM-SM 2.3.2.3 PIM-SM-DM 3.3.2.3 PIM-DM 4.3.2.3 DVMRP Total Entries : 5 DGS-3620-28SC:admin# 41-2 show ipmc cache...
  • Page 499 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ipmc cache Command: show ipmc cache Multicast Source Upstream Expire Routing Group Address/Netmask Neighbor Time Protocol --------------- ----------------- ----------- ------- ----------- 224.1.1.1 10.48.74.121/8 10.48.75.63 DVMRP 224.1.1.1 20.48.74.25/8 20.48.75.25 PIM-DM...
  • Page 500: Chapter 42 Ip Route Filter Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 42 IP Route Filter Commands create ip prefix_list <list_name 16> config ip prefix_list <list_name 16> [[add | delete] {sequence <value 1-65535>} <network_address> {ge <value 1-32>} {le <value 1-32>} [deny | permit] | [description <desc 80>...
  • Page 501 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create ip prefix_list 1 Command: create ip prefix_list 1 Success. DGS-3620-28SC:admin# 42-2 config ip prefix_list Description This command defines the rule entry for an IP route prefix list. A prefix list can have multiple rule entries;...
  • Page 502 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <network_address> - Specifies the network address used. ge - (Optional) Specifies the minimum prefix length to be matched. <value 1-32> - Enter the 'ge' value used here. This value must be between 1 and 32. le - (Optional) Specifies the maximum prefix length to be matched.
  • Page 503 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete ip prefix_list list_name list1 Command: delete ip prefix_list list_name list1 Success. DGS-3620-28SC:admin# 42-4 show ip prefix_list Description This command is used to show an IP prefix list. Format show ip prefix_list {<list_name 16>} Parameters...
  • Page 504 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - Enter the name of the access list used here. This name can be up to 16 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an access list named “List1”: DGS-3620-28SC:admin# create ip standard access_list List1...
  • Page 505 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ip standard access_list List1 add 10.10.10.0/24 permit Command: config ip standard access_list List1 add 10.10.10.0/24 permit Success. DGS-3620-28SC:admin# 42-7 delete ip standard access_list Description This command is used to delete an access list used from the route filters. Format delete ip standard access_list [list_name <list_name 16>...
  • Page 506 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - (Optional) Enter the name of the access list used here. This name can be up to 16 characters long. If no parameter is specified, all access lists on the Switch will be displayed. Restrictions None.
  • Page 507 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# clear ip prefix_list counter list_name 192.168.10.0/24 Command: clear ip prefix_list counter list_name 192.168.10.0/24 Success. DGS-3620-28SC:admin# 42-10 create route_map Description This command is used to create a route map or add/delete sequences to a route map. A route map can have multiple rule entries, each with a different sequence number.
  • Page 508 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config route_map <map_name 16> [[add | delete] sequence <value 1-65535> {[deny | permit]} | sequence <value 1-65535> [match [add | delete] [as_path <list_name 16> | community_list <list_name 16> {exact} | ip [next_hop | address] {prefix_list} <list_name 16> | metric <uint 0- 4294967294>] | set [add | delete] [next_hop [<ipaddr>...
  • Page 509 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4294967294. local_preference - Specifies to set the local preference for the matched route. <uint 0-4294967295> - Enter the local preference value used here. This value must be between 0 and 4294967295. weight - Set the weight for the matched routes.
  • Page 510 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config route_map map1 add sequence 20 Command: config route_map map1 add sequence 20 Success. DGS-3620-28SC:admin# To configure the route map match access list “ac_list1” and set the metric to 50: DGS-3620-28SC:admin# config route_map map1 sequence 10 set add metric 50 Command: config route_map map1 sequence 10 set add metric 50 Success.
  • Page 511 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete route_map map_name map1 Command: delete route_map map_name map1 Success. DGS-3620-28SC:admin# 42-13 show route_map Description This command is used to display the route map configuration. Format show route_map {<map_name 16>} Parameters <map_name 16>...
  • Page 512: Chapter 43 Ip Routing Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 43 IP Routing Commands create iproute [default | <network_address>] [null0 | <ipaddr> {<metric 1-65535>} {[primary | backup | weight <value 1-4>]} | ip_tunnel <tunnel_name 12>] delete iproute [default | <network_address>] [null0 | <ipaddr> | ip_tunnel <tunnel_name 12>] show iproute {[<network_address>...
  • Page 513: Delete Iproute

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a default route with a nexthop of 10.48.74.21: DGS-3620-28SC:admin#create iproute default 10.48.74.121 Command: create iproute default 10.48.74.121 Success.
  • Page 514: Show Iproute

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 43-3 show iproute Description This command is used to display the switch’s current IP routing table. Format show iproute {[<network_address> | <ipaddr>]} {[static | rip | ospf | bgp | hardware]} Parameters <network_address>...
  • Page 515: Delete Ipv6Route

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create ipv6route [default | <ipv6networkaddr>] [[<ipif_name 12> <ipv6addr> | <ipv6addr>] {<metric 1-65535>} {[primary | backup]} | ip_tunnel <tunnel_name 12>] Parameters default - Specifies the default route. <ipv6networkaddr> - Specifies the destination network for the route. <ipif_name 12>...
  • Page 516: Show Ipv6Route

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ip_tunnel - Specifies the IPv6 tunnel name used. (EI Mode Only Parameter) <tunnel_name 12> - Enter the IPv6 tunnel name used here. This name can be up to 12 characters long.
  • Page 517 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 1 DGS-3620-28SC:admin# 43-7 enable ecmp ospf Description This command is used to activate the OSPF ECMP function. Format enable ecmp ospf Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the OSPF ECMP function: DGS-3620-28SC:admin# enable ecmp ospf...
  • Page 518 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the OSPF ECMP function: DGS-3620-28SC:admin# disable ecmp ospf Command: disable ecmp ospf Success. DGS-3620-28SC:admin# 43-9 config ecmp algorithm Description This command is used to configure the ECMP route load-balancing algorithm. Format config ecmp algorithm {ip_destination | [ip_source| crc_low | crc_high] | tcp_udp_port} (1) Parameters...
  • Page 519 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 43-10 show ecmp algorithm Description This command is used to display the ECMP related settings. Format show ecmp algorithm Parameters None. Restrictions None. Example To show current ECMP related settings: DGS-3620-28SC:admin#show ecmp algorithm Command: show ecmp algorithm ECMP for OSPF : Enabled...
  • Page 520: Chapter 44 Ip Tunnel Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 44 IP Tunnel Commands create ip_tunnel <tunnel_name 12> delete ip_tunnel <tunnel_name 12> config ip_tunnel manual <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr> | destination <ipaddr>}(1) config ip_tunnel 6to4 <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr>}(1) config ip_tunnel isatap <tunnel_name 12>...
  • Page 521 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 44-2 delete ip_tunnel Description This command is used to delete an IP tunnel interface. Format delete ip_tunnel <tunnel_name 12> Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long.
  • Page 522 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide configured. The IPv6 address is not connected with the tunnel source or the destination IPv4 address. <ipv6networkaddr> - Enter the IPv6 address used here. source - (Optional) Specifies the source IPv4 address of the IPv6 tunnel interface. It is used as the source address for packets in the IPv6 tunnel.
  • Page 523 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long. ipv6address - (Optional) Specifies the IPv6 address assigned to this IPv6 tunnel interface. IPv6 processing will be enabled on this IPv6 tunnel interface as soon as its IPv6 address is configured.
  • Page 524 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ip_tunnel isatap <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr>}(1) Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long.
  • Page 525 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tunnel_name 12> - (Optional) Enter the IP tunnel interface name used here. This name can be up to 12 characters long. Restrictions None. (EI Mode Only Command) Example To show an IP tunnel interface’s information (Tunnel name is “tn2”): DGS-3620-28SC:admin# show ip_tunnel tn2...
  • Page 526 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# enable ip_tunnel tn2 Command: enable ip_tunnel tn2 Success. DGS-3620-28SC:admin# 44-8 disable ip_tunnel Description This command is used to disable a single specified IP tunnel or all IP tunnels on the Switch. Format disable ip_tunnel {<tunnel_name 12>} Parameters...
  • Page 527 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide When a user wants to configure a GRE IPv6/IPv4-in-IPv6 tunnel, both the source and destination address must be IPv6 addresses because the delivery protocol is the IPv6 protocol. If the source and destination address type are not consistent then the GRE tunnel will not work.
  • Page 528 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ip_tunnel gre tn1 source 1.0.0.1 destination 1.0.0.2 Command: config ip_tunnel gre tn1 source 1.0.0.1 destination 1.0.0.2 Success. DGS-3620-28SC:admin# config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2001::1/64 Command: config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2001::1/64 Success.
  • Page 529 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface : tn2 Interface Admin State : Enabled Tunnel Mode : GRE Ipv4 Address : 3.0.0.1/8 IPv6 Address : 3001::1/64 Tunnel Source : 2000::1 Tunnel Destination...
  • Page 530: Chapter 45 Ipv6 Ndp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 45 IPv6 NDP Commands create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr> delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynamic | all] show ipv6 neighbor_cache ipif [<ipif_name 12>...
  • Page 531 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 45-2 delete ipv6 neighbor_cache ipif Description This command is used to delete 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.
  • Page 532 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6addr> - Specify the IPv6 address static - Specify to display the IPv6 static neighbor cache entries. dynamic - Specify to display the IPv6 dynamic entries. all - Specify to display all IPv6 addresses, static and dynamic. hardware - (Optional) Specify to display all the neighbor cache entries which were written into the hardware table.
  • Page 533 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the NS retransmit time of a specified interface: DGS-3620-28SC:admin#config ipv6 nd ns ipif System retrans_time 400 Command: config ipv6 nd ns ipif System retrans_time 400 Success.
  • Page 534 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide multicast Router Advertisements from the interface, in seconds. It must be no less than 4 seconds and no greater than 1800 seconds. The default is 600 seconds. <sec 4-1800> - Specify the time between 4 and 1800 seconds. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 535: Show Ipv6 Nd

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide address configuration. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the value of the preferred_life_time of prefix option to be 1000 seconds for the prefix 3ffe:501:ffff:100::/64, which is the prefix of the ip1 interface: DGS-3620-28SC:admin#config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64 preferred_life_time 1000...
  • Page 536 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide NS Retransmit Time : 400 (ms) Router Advertisement : Disabled RA Max Router AdvInterval : 600 (sec) RA Min Router AdvInterval : 198 (sec) RA Router Life Time : 1800 (sec) RA Reachable Time : 1200000 (ms)
  • Page 537: Chapter 46 Ip-Mac-Port Binding (Impb) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 46 IP-MAC-Port Binding (IMPB) Commands create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports[<portlist>| all ]} create address_binding ip_mac ipv6address <ipv6addr> mac_address <macaddr> {ports [<portlist> | all]} config address_binding ip_mac ports [<portlist> | all] {arp_inspection [strict | loose | disable] | ip_inspection [enable | disable] | protocol [ipv4 | ipv6 | all] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}(1) config address_binding ip_mac ipaddress <ipaddr>...
  • Page 538 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Specify the IP address. mac_address - Specify the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist or all ports. <portlist>...
  • Page 539 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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 Success. DGS-3620-28SC:admin# 46-3 config address_binding ip_mac ports Description This command is used to configure the per port state of IP-MAC-Port binding in the switch. If a port has been configured as group member of an aggregated link, then it can not enable its IP-MAC- Port binding function.
  • Page 540 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Inspection. forward_dhcppkt - (Optional) By default, the DHCP packets with broadcast DA will be flooded. enable - This setting is effective when DHCP snooping is enabled because the DHCP packet which has been trapped to CPU needs to be forwarded by the software.
  • Page 541 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure an address binding entry: DGS-3620-28SC: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. DGS-3620-28SC:admin# 46-5 config address_binding ip_mac ipv6address Description This command is used to update an address binding entry using IPv6.
  • Page 542 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 46-6 delete address_binding blocked Description This command is used to delete a blocked entry. It specifies the address database that the system has automatically learned and blocked. Format delete address_binding blocked [all | vlan_name <vlan_name>...
  • Page 543 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipv6address - Specifies the IPv6 address of the IMPB entry. <ipv6addr> - Enter the IPv6 address of the IMPB entry here. mac_address - Specifies the MAC address of the IMPB entry. <macaddr>...
  • Page 544 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display address binding information: DGS-3620-28SC:admin#show address_binding Command: show address_binding Trap/Log : Disabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled ND Snoop : Disabled DGS-3620-28SC:admin# To display address binding information for all ports: DGS-3620-28SC:admin#show address_binding ports Command: show address_binding ports ARP: ARP Inspection...
  • Page 545 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters blocked - (Optional) Specify the address database that system auto learned and blocked. all - Specify to display all. vlan_name - Specify the VLAN name (the blocked MAC belongs to). <vlan_name>...
  • Page 546 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ip_mac - (Optional) Specify the database that a user creates for address binding. all - Specify to display all. ipaddress - Specify the IP address. <ipaddr> - Enter the IP address here. mac_address - Specify the MAC address.
  • Page 547 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 46-11 enable address_binding trap_log Description This command is used to send trap and log messages when an address binding module detects illegal IP and MAC addresses. Format enable address_binding trap_log Parameters None.
  • Page 548 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#disable address_binding trap_log Command: disable address_binding trap_log Success. DGS-3620-28SC:admin# 46-13 enable address_binding dhcp_snoop Description This command is used to enable the address binding DHCP snooping mode. By default, DHCP snooping is disabled.
  • Page 549 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable address_binding dhcp_snoop Command: enable address_binding dhcp_snoop Success. DGS-3620-28SC:admin# 46-14 disable address_binding dhcp_snoop Description This command is used to disable address binding DHCP snooping. When DHCP snooping is disabled, all of the auto-learned binding entries will be removed.
  • Page 550 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipv6 – (Optional) Specifies that the address used is an IPv6 address. all – Specifies that all IPv6 addresses will be used. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the address binding entries for ports 1 to 3: DGS-3620-28SC:admin# clear address_binding dhcp_snoop binding_entry ports 1-3...
  • Page 551 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show address_binding dhcp_snoop max_entry ports 1-10 Port Max Entry Max IPv6 Entry ---- --------- -------------- No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit...
  • Page 552 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show address_binding dhcp_snoop binding_entry Command: show address_binding dhcp_snoop binding_entry S (Status) - A: Active, I: Inactive Time - Left Time (sec) IP Address MAC Address LT(sec) Port --------------------------------------- ----------------- -- ---------- ----- 10.62.58.35 00-0B-5D-05-34-0B A 35964...
  • Page 553 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 46-19 config address_binding recover_learning ports Description This command is used to recover port learning. Format config address_binding recover_learning ports [<portlist> | all] Parameters <portlist> - Specify the list of ports to recover learning. all - Specify to recover learning for all ports.
  • Page 554 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable the ND snooping function on the Switch: DGS-3620-28SC:admin# enable address_binding nd_snoop Command: enable address_binding nd_snoop Success. DGS-3620-28SC:admin# 46-21 disable address_binding nd_snoop Description This command is used to disable ND snooping on the Switch. Format disable address_binding nd_snoop Parameters...
  • Page 555 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - Specifies the list of ports used for this configuration. <portlist> - Enter the list of ports used for this configuration here. all - Specifies that all the ports will be usd for this configuration. max_entry - Specifies the maximum number of entries.
  • Page 556 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To show the ND snooping maximum entry information for ports 1-5: DGS-3620-28SC:admin#show address_binding nd_snoop ports 1:1-1:5 Command: show address_binding nd_snoop ports 1:1-1:5 Port Max Entry ---- --------- No Limit No Limit No Limit No Limit...
  • Page 557 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 46-25 clear address_binding nd_snoop binding_entry ports Description This command is used to clear the ND snooping entries on specified ports. Format clear address_binding nd_snoop binding_entry ports [<portlist> | all] Parameters ports - Specify the list of ports that you would like to clear the ND snoop learned entry.
  • Page 558: Chapter 47 Japanese Web-Based Access Control (Jwac) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 47 Japanese Web- based Access Control (JWAC) Commands 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...
  • Page 559 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Using the JWAC function, PC users need to pass two stages of authentication. The first stage is to do the authentication with the quarantine server and the second stage is the authentication with the switch.
  • Page 560 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#disable jwac Command: disable jwac Success. DGS-3620-28SC:admin# 47-3 enable jwac redirect Description This command is used to enable JWAC redirect. When redirect quarantine_server is enabled, the unauthenticated host will be redirected to a quarantine server when it tries to access a random URL.
  • Page 561 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JWAC redirect: DGS-3620-28SC:admin#disable jwac redirect Command: disable jwac redirect Success. DGS-3620-28SC:admin# 47-5 enable jwac forcible_logout Description...
  • Page 562 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 47-6 disable jwac forcible_logout Description This command is used to disable JWAC forcible logout. Format disable jwac forcible_logout Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JWAC forcible logout: DGS-3620-28SC:admin#disable jwac forcible_logout...
  • Page 563 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable JWAC UDP filtering: DGS-3620-28SC:admin#enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3620-28SC:admin# 47-8 disable jwac udp_filtering Description This command is used to disable JWAC UDP filtering. Format disable jwac udp_filtering Parameters...
  • Page 564 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable JWAC quarantine server monitoring: DGS-3620-28SC:admin#enable jwac quarantine_server_monitor Command: enable jwac quarantine_server_monitor Success.
  • Page 565 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 47-11 config jwac quarantine_server_error_timeout Description This command is used to set the quarantine server error timeout. When the quarantine server monitor is enabled, the JWAC switch will periodically check if the quarantine works okay. If the switch does not receive any response from quarantine server during the configured error timeout, the switch then regards it as not working properly.
  • Page 566 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters quarantine_server_url - Specify the entire URL of the authentication page on the quarantine server. <string 128> - Specify the entire URL of the authentication page on the quarantine server. The quarantine server URL can be up to 128 characters long.
  • Page 567 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure JWAC redirect destination to JWAC login web page and a delay time of 5 seconds: DGS-3620-28SC:admin#config jwac redirect destination jwac_login_page delay_time Command: config jwac redirect_ destination jwac_login_page delay_time 5 Success.
  • Page 568 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide need to be able to have access to accomplish authentication. Before the client passes authentication, it should be added to the Switch with its IP address. For example, the client may need to access update.microsoft.com or some sites of the Anti-Virus software companies to check whether the OS or Anti-Virus software of the client are the latest;...
  • Page 569 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tcp_port_number 1-65535> - Specify a TCP port which the JWAC switch listens to and uses to finish the authenticating process. http - (Optional) Specify the JWAC run HTTP protocol on this TCP port. https - (Optional) Specify the JWAC run HTTPS protocol on this TCP port.
  • Page 570 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide block_time - If a host fails to pass the authentication, it will be blocked for a period specified by the blocking time.The default value is 60 seconds. <sec 0-300> - Specify a blocking time value between 0 and 300. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 571 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 47-19 create jwac user Description This command creates JWAC users in the local database. When “local” is chosen while configuring the JWAC RADIUS protocol, the local database will be used. Format create jwac user <username 15>...
  • Page 572 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide account to pass authentication. <vlanid 1-4094> - Specify the target VLAN ID for the authenticated host which uses this user account to pass authentication. The VLAN ID value must be between 1 and 4094. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 573 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 47-22 show jwac user Description This command is used to display JWAC users in the local database. Format show jwac user Parameters None. Restrictions None. Example To display the current JWAC local users: DGS-3620-28SC:admin#show jwac user Command: show jwac user Current Accounts:...
  • Page 574 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the current JWAC configuration: DGS-3620-28SC:admin#show jwac Command: show jwac State : Disabled Enabled Ports Virtual IP/URL : 0.0.0.0/- Switch HTTP Port : 80 (HTTP) UDP Filtering : Enabled Forcible Logout...
  • Page 575 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display JWAC authentication entries for ports 1 to 2: DGS-3620-28SC:admin#show jwac auth_state ports 1-2 Command: show jwac auth_state ports 1-2 Pri:Priority. State – A:Authenticated. B:Bloacked. -:Authenticating Time –...
  • Page 576 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 172.18.0.0/21 Active DGS-3620-28SC:admin# 47-26 show jwac ports Description This command is used to display the port configuration of JWAC. Format show jwac ports {<portlist>} Parameters <portlist> - (Optional) Specify a port range to show the configuration of JWAC. Restrictions None.
  • Page 577 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - Specify the port range to delete hosts on. all - Specify to delete all ports. <portlist> - Specify range of ports to delete. authenticated - (Optional) Specify the state of host to delete. authenticating - (Optional) Specify the state of host to delete.
  • Page 578 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 47-29 show jwac authenticate_page Description This command is used to display the element mapping of the customized authenticate page. Format show jwac authenticate_page Parameters None. Restrictions None. Example To display the element mapping of the customized authenticate page: DGS-3620-28SC:admin#show jwac authenticate_page...
  • Page 579 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config jwac authentication_page element [japanese | english] [default | page_title <desc 128> | login_window_title <desc 32> | user_name_title <desc 16> | password_title <desc 16> | logout_window_title <desc 32> | notification_line <value 1-5> <desc 128>] Parameters japanese - Specify to change to the Japanese page.
  • Page 580 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide user_name_title ユーザ名 Command: config jwac authentication_page element japanese user_name_title ユーザ 名 Success. DGS-3620-28SC:admin# config jwac authentication_page element japanese password_title パスワード Command: config jwac authentication_page element japanese password_title パスワー ド...
  • Page 581 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the configuration authorized from the local database: DGS-3620-28SC:admin#config jwac authorization attributes local disable Command: config jwac authorization attributes local disable Success. DGS-3620-28SC:admin#...
  • Page 582: Chapter 48 Jumbo Frame Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 48 Jumbo Frame Commands enable jumbo_frame disable jumbo_frame config jumbo_frame ports [<portlist> | all] state [enable | disable] show jumbo_frame {<portlist>} 48-1 enable jumbo_frame Description This command is used to enable support of Jumbo Frames. Format enable jumbo_frame Parameters...
  • Page 583 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable Jumbo Frames: DGS-3620-28SC:admin#disable jumbo_frame Command: disable jumbo_frame Success. DGS-3620-28SC:admin# 48-3 config jumbo_frame ports Description This command is used to configure the jumbo frame state on specified ports.
  • Page 584 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 48-4 show jumbo_frame Description This command is used to display Jumbo Frames. Format show jumbo_frame {<portlist>} Parameters <portlist> - (Optional) Enter the list of ports to be displayed here. Restrictions None.
  • Page 585: Chapter 49 Lacp Configuration Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 49 LACP Configuration Commands config lacp_port <portlist> mode [active | passive] show lacp_port {<portlist>} 49-1 config lacp_port Description This command is used to configure per-port LACP mode. Format config lacp_port <portlist>...
  • Page 586 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display current LACP mode for all ports. Restrictions None.
  • Page 587: Chapter 50 Layer 2 Protocol Tunneling (L2Pt) Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 50 Layer 2 Protocol Tunneling (L2PT) Command List config l2protocol_tunnel ports [<portlist> | all] type [uni tunneled_protocol [{stp | gvrp | protocol_mac [01-00-0C-CC-CC-CC | 01-00-0C-CC-CC-CD]}(1) | all] {threshold <value 0- 65535>} | nni | none] show l2protocol_tunnel {[uni | nni]} enable l2protocol_tunnel...
  • Page 588 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide threshold - (Optional) Specify the drop threshold for packets-per-second accepted on this UNI port. The port drops the PDU if the protocol’s threshold is exceeded. The range of the threshold value is 0 to 65535 (packet/second).
  • Page 589 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show l2protocol_tunnel Command: show l2protocol_tunnel Global State: Enabled UNI Ports: 1-2 NNI Ports: 3-4 DGS-3620-28SC:admin# To show Layer 2 protocol tunneling detail information on UNI ports: DGS-3620-28SC:admin# show l2protocol_tunnel uni Command: show l2protocol_tunnel uni Tunneled Threshold...
  • Page 590 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable l2protocol_tunnel Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the Layer 2 protocol tunneling function: DGS-3620-28SC:admin# enable l2protocol_tunnel Command: enable l2protocol_tunnel Success.
  • Page 591 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# disable l2protocol_tunnel Command: disable l2protocol_tunnel Success. DGS-3620-28SC:admin#...
  • Page 592: Chapter 51 Limited Multicast Ip Address Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 51 Limited Multicast IP Address Commands create mcast_filter_profile {[ipv4 | ipv6]} profile_id <value 1-60> profile_name <name 32> config mcast_filter_profile [profile_id <value 1-60> | profile_name <name 32>] {profile_name <name 32>...
  • Page 593 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 51-2 config mcast_filter_profile Description This command is used to modify the profile name, add or delete a range of previously defined multicast IP addresses to or from the profile. Format config mcast_filter_profile [profile_id <value 1-60>...
  • Page 594 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mcast_filter_profile ipv6 [profile_id <value 1-60> | profile_name <name 32>] {profile_name <name 32> | [add | delete] <mcastv6_address_list>}(1) Parameters profile_id - Specify the ID of the profile. <value 1-60>...
  • Page 595 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - All multicast address profiles will be deleted. profile_name - Specify a profile based on the profile name. <name 32> - The profile name can be up to 32 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 596 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all the defined multicast address profiles: DGS-3620-28SC:admin#show mcast_filter_profile Command: show mcast_filter_profile Profile ID Name Multicast Addresses ---------- --------------------------- ----------------------------- 234.1.1.1 – 238.244.244.244 234.1.1.1 – 238.244.244.244 customer 224.19.62.34 –...
  • Page 597 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add multicast address profile 2 to ports 1 and 3: DGS-3620-28SC:admin#config limited_multicast_addr ports 1,3 add profile_id 2 Command: config limited_multicast_addr ports 1,3 add profile_id 2 Success.
  • Page 598 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To display the limited multicast address range on ports 1 and 3: DGS-3620-28SC:admin#show limited_multicast_addr ports 1,3 Command: show limited_multicast_addr ports 1,3 Port Access : Deny Profile ID Name Multicast Addresses -----------...
  • Page 599 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide drop - The new group will be dropped. replace - The new group will replace the oldest group in the register table. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of multicast groups that ports 1 and 3 can join to 100: DGS-3620-28SC:admin# config max_mcast_group ports 1, 3 max_group 100...
  • Page 600 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show max_mcast_group ports 1-2 Command: show max_mcast_group ports 1-2 Port Max Multicast Group Number Action ----- --------------------------- --------- Infinite Drop Infinite Drop Total Entries : 2 DGS-3620-28SC:admin#...
  • Page 601: Chapter 52 Link Aggregation Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 52 Link Aggregation Commands create link_aggregation group_id <value 1-32> {type [lacp | static]} delete link_aggregation group_id <value 1-32> config link_aggregation group_id <value 1-32> {master_port <port> | ports <portlist> | state [enable | disable]} (1) config link_aggregation algorithm [mac_source | mac_destination | mac_source_dest | ip_source | ip_destination | ip_source_dest | l4_src_port | l4_dest_port | l4_src_dest_port]...
  • Page 602 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-2 delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id <value 1-32> Parameters <value 1-32> - Specify the group ID. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 603 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the group type is LACP, the ports’ state machine will start. enable - Enable the specified link aggregation group. disable - Disable the specified link aggregation group. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 604 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the link aggregation algorithm to mac-source-dest: DGS-3620-28SC:admin#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success.
  • Page 605 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Status : Enabled Flooding Port : 7 Total Entries: 1 DGS-3620-28SC:admin# To display the current link aggregation configuration when link aggregation is disabled: DGS-3620-28SC:admin#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-Source-Dest Group ID Type...
  • Page 606: Chapter 53 Lldp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 53 LLDP Commands enable lldp disable lldp config lldp [message_tx_interval <sec 5-32768> | message_tx_hold_multiplier <int 2-10> | tx_delay <sec 1-8192> | reinit_delay <sec 1-10>] show lldp config lldp forward_message [enable | disable] config lldp notification_interval <sec 5-3600>...
  • Page 607: Disable Lldp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable LLDP: DGS-3620-28SC:admin#enable lldp Command: enable lldp Success. DGS-3620-28SC:admin# 53-2 disable lldp Description This command is used to disable LLDP. The switch will stop the sending and receiving of LLDP advertisement packets.
  • Page 608 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The TTL will be carried in the LLDPDU packet. The lifetime will be the minimum of 65535 and (message_tx_interval * message_tx_hold_multiplier). On the partner switch, when the time-to-live for a given advertisement expires, the advertised data is deleted from the neighbor switch’s MIB.
  • Page 609: Show Lldp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config lldp tx_delay 8 Command: config lldp tx_delay 8 Success. DGS-3620-28SC:admin# To change the re-initialization delay interval to five seconds: DGS-3620-28SC:admin#config lldp reinit_delay 5 Command: config lldp reinit_delay 5 Success.
  • Page 610 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Message TX Hold Multiplier: 4 ReInit Delay TX Delay Notification Interval DGS-3620-28SC:admin# 53-5 config lldp forward_message Description This command is used to configure LLDP forwarding messages. When LLDP is disabled and LLDP forward message is enabled, the received LLDPDU packet will be forwarded.
  • Page 611: Config Lldp Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <sec 5-3600> - Specify the notification interval range is from 5 to 3600 seconds. The default setting is 5 seconds. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To change the notification interval to 10 seconds: DGS-3620-28SC:admin#config lldp notification_interval 10...
  • Page 612 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Configure an individual port or group of ports to exclude one or more of IEEE 802.1 Organizationally protocol identity TLV data types from outbound LLDP advertisements. This TLV optional data type indicates whether the corresponding Local System's Protocol Identity instance will be transmitted on the port.
  • Page 613 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide agent should transmit “System Description TLV.” The default state is disabled. system_capabilities - (Optional) This TLV optional data type includes indicates that LLDP agent should transmit “System Capabilities TLV.” The system capability will indicate whether the device provides repeater, bridge, or router function, and whether the provided functions are currently enabled.
  • Page 614 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide advertisements. dot3_tlvs - An individual port or group of ports to exclude one or more of IEEE 802.3 Organizationally Specific TLV data types from outbound LLDP advertisements. all – (Optional) Configure all of the TLV optional data types below. mac_phy_configuration_status - (Optional) This TLV optional data type indicates that LLDP agent should transmit “MAC/PHY configuration/status TLV.”...
  • Page 615 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To exclude the system name TLV from the outbound LLDP advertisements for all ports: DGS-3620-28SC:admin#config lldp ports all basic_tlvs system_name enable Command: config lldp ports all basic_tlvs system_name enable Success.
  • Page 616: Show Lldp Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To exclude the MAC/PHY configuration/status TLV from the outbound LLDP advertisements for all ports: DGS-3620-28SC:admin#config lldp ports all dot3_tlvs mac_phy_configuration_status enable Command: config lldp ports all dot3_tlvs mac_phy_configuration_status enable Success.
  • Page 617 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show lldp ports 1 Command: show lldp ports 1 Port ID -------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Disabled Advertised TLVs Option Port Description Disabled System Name Disabled System Description Disabled...
  • Page 618 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config lldp_med fast_start repeat_count 5 Command: config lldp_med fast_start repeat_count 5 Success. DGS-3620-28SC:admin# 53-10 config lldp_med log state Description This command is used to configure the log state of LLDP-MED events. Format config lldp_med log state [enable | disable] Parameters...
  • Page 619 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specify to set all ports in the system. state - Enable or disable the SNMP trap notification of topology change detected state. enable - Enable the SNMP trap notification of topology change detected. disable - Disable the SNMP trap notification of topology change detected.
  • Page 620 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable transmitting of all capabilities on ports 1 to 2: DGS-3620-28SC:admin#config lldp_med ports 1-2 med_transmit_capabilities all state enable Command: config lldp_med ports 1-2 med_transmit_capabilities all state enable Success.
  • Page 621 : A1 Firmware Revision : 1.00.012 Software Revision : 1.00.034 Serial Number : D1234567890 Manufacturer Name : D-Link Model Name : DGS-3620-28SC Gigabit Ethernet S Asset ID PoE Device Type : PSE Device PoE PSE Power Source : Primary LLDP-MED Configuration:...
  • Page 622 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 53-15 show lldp_med local_ports Description This command is used to display the per-port LLDP-MED information currently available for populating outbound LLDP-MED advertisements. Format show lldp_med local_ports {<portlist>} Parameters <portlist>...
  • Page 623 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show lldp_med remote_ ports {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: When a port list is not specified, information for all ports will be displayed. Restrictions None.
  • Page 624 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 Extended Power Via MDI...
  • Page 625 Port ID : 1 ----------------------------------------------------------------------------- Port ID Subtype : MAC Address Port ID : 00-01-02-03-05-00 Port Description : D-Link DGS-3620-28SC R1.00.034 Port 1 on Unit 1 Port PVID Management Address Count PPVID Entries Count VLAN Name Entries Count Protocol Identity Entries Count...
  • Page 626 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show lldp mgt_addr Command: show lldp mgt_addr Address 1 : ------------------------------------------------------ Subtype : IPv4 Address : 10.19.72.38 IF Type : Unknown : 1.3.6.1.4.1.171.10.114.1.1 Advertising Ports Total Entries : 1 DGS-3620-28SC:admin# 53-19 show lldp remote_ ports Description...
  • Page 627: Show Lldp Statistics

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 53-20 show lldp statistics Description This command is used to display an overview of neighbor detection activity on the switch. Format show lldp statistics Parameters None. Restrictions None. Example To display LLDP statistics: DGS-3620-28SC:admin#show lldp statistics...
  • Page 628 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display LLDP statistic information for port 1: DGS-3620-28SC:admin#show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID : 1 --------------------------------------------- LLDPStatsTXPortFramesTotal LLDPStatsRXPortFramesDiscardTotal LLDPStatsRXPortFramesErrors LLDPStatsRXPortFramesTotal...
  • Page 629: Chapter 54 Loopback Detection Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 54 Loopback Detection Commands config loopdetect {recover_timer [<value 0> | <sec 60-1000000>] | interval <sec 1-32767> | mode [port-based | vlan-based]}(1) config loopdetect ports [<portlist> | all] state [enable | disable] enable loopdetect disable loopdetect show loopdetect...
  • Page 630: Config Loopdetect Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config loopdetect recover_timer 0 interval 20 mode vlan- based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success. DGS-3620-28SC:admin# 54-2 config loopdetect ports Description This command is used to set up the loop-back detection function for the ports on the switch. Format config loopdetect ports [<portlist>...
  • Page 631: Disable Loopdetect

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable loop detection: DGS-3620-28SC:admin#enable loopdetect Command: enable loopdetect Success. DGS-3620-28SC:admin# 54-4 disable loopdetect Description This command allows the loop detection function to be globally disabled on the switch.
  • Page 632: Show Loopdetect

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 54-5 show loopdetect Description This command is used to display the switch’s current loop detection configuration. Format show loopdetect Parameters None. Restrictions None. Example To display the switch’s current loop detection configuration: DGS-3620-28SC:admin#show loopdetect Command: show loopdetect LBD Global Settings...
  • Page 633 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the loop detection state of ports 1 to 9 in port-based mode: DGS-3620-28SC:admin#show loopdetect ports 1-9 Command: show loopdetect ports 1-9 Port Loopdetect State Loop Status ------ ------------------ ---------- Enabled...
  • Page 634 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config loopdetect trap [none | loop_detected | loop_cleared | both] Parameters none - Trap will not be sent for both cases. loop_detected - Trap is sent when the loop condition is detected loop_cleared - Trap is sent when the loop condition is cleared.
  • Page 635 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin#...
  • Page 636: Chapter 55 Loopback Interface Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 55 Loopback Interface Commands create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]} config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] show loopback ipif {<ipif_name 12>} delete loopback ipif [<ipif_name 12>...
  • Page 637 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] Parameters <ipif_name 12> - Enter the IP interface name used for this configuration here. This name can be up to 12 characters long.
  • Page 638 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the information of the loopback interface named loopback1: DGS-3620-28SC:admin# show loopback ipif loopback1 Command: show loopback ipif loopback1 Loopback Interface : loopback1 Interface Admin State : Enabled IPv4 Address : 10.0.0.1/8 (MANUAL)
  • Page 639: Chapter 56 Mac Notification Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 56 MAC Notification Commands enable mac_notification disable mac_notification config mac_notification {interval <int 1-2147483647> | historysize <int 1-500>}(1) config mac_notification ports [<portlist> | all] [enable | disable] show mac_notification show mac_notification ports {<portlist>} 56-1 enable mac_notification...
  • Page 640 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable mac_notification Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the MAC notification function: DGS-3620-28SC:admin#disable mac_notification Command: disable mac_notification Success. DGS-3620-28SC:admin# 56-3 config mac_notification...
  • Page 641 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DGS-3620-28SC:admin# 56-4 config mac_notification ports Description This command is used to configure the port’s MAC address table notification status settings. Format config mac_notification ports [<portlist>...
  • Page 642 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To show the switch’s MAC address table notification global settings: DGS-3620-28SC:admin#show mac_notification Command: show mac_notification Global MAC Notification Settings State : Enabled Interval History Size : 500 DGS-3620-28SC:admin# 56-6 show mac_notification ports...
  • Page 643 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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 DGS-3620-28SC:admin#...
  • Page 644: Chapter 57 Mac-Based Access Control Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 57 MAC-based Access Control Commands enable mac_based_access_control disable mac_based_access_control config mac_based_access_control password <passwd 16> config mac_based_access_control method [local | radius] config mac_based_access_control guest_vlan ports <portlist> config mac_based_access_control ports [<portlist> | all] {state [enable | disable] | aging_time [infinite | <min 1-1440>] | block_time <sec 0-300>...
  • Page 645 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable MAC-based access control: DGS-3620-28SC:admin#enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3620-28SC:admin# 57-2 disable mac_based_access_control Description This command is used to disable the MAC-based access control function. Format disable mac_based_access_control Parameters...
  • Page 646 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <passwd 16> - In RADIUS mode, the switch communicates with the RADIUS server using this password. The maximum length of the key is 16 characters. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the password “rosebud”...
  • Page 647 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 57-5 config mac_based_access_control guest_vlan ports Description This command is used to put the specified port in guest VLAN mode. For those ports not contained in the port list, they are in non-guest VLAN mode.For detailed information about the operation of guest VLAN mode, please see the description for configuring the MAC-based access control port command.
  • Page 648 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mac_based_access_control ports [<portlist> | all] {state [enable | disable] | aging_time [infinite | <min 1-1440>] | block_time <sec 0-300> | max_users [<value 1-4000> | no_limit]}(1) Parameters <portlist>...
  • Page 649 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters guest_vlan - Specify the name of the guest VLAN. <vlan_name 32> - Specify the name of the guest VLAN. The guest VLAN name can be up to 32 characters long.
  • Page 650 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 57-9 clear mac_based_access_control auth_state Description This command is used to clear the authentication state of a user (or port). The port (or the user) will return to un-authenticated state. All the timers associated with the port (or the user) will be reset.
  • Page 651 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <macaddr> - Specify the MAC address that access accepts by local mode. vlan - (Optional) If the MAC address is authorized, the port will be assigned to this VLAN. <vlan_name 32>...
  • Page 652 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Success. DGS-3620-28SC:admin# 57-12 config mac_based_access_control max_users Description This command is used to configure the MAC-based access control maximum number of authorized users. Format config mac_based_access_control max_users [<value 1-4000>...
  • Page 653 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters radius - Specify to enable or disable the authorized attributes assigned by the RADIUS server that will be accepted. enable - If specified to enable, the authorized attributes (for example VLAN, 802.1p default priority, and ACL) assigned by the RADIUS server will be accepted if the global authorization status is enabled.
  • Page 654 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a MAC-based access control local by MAC address: DGS-3620-28SC:admin#delete mac_based_access_control_local mac 00-00-00-00-00-01 Command: delete mac_based_access_control_local mac 00-00-00-00-00-01 Success.
  • Page 655 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show mac_based_access_control auth_state ports Command: show mac_based_access_control auth_state ports (P): Port-based Prio: Priority Port MAC Address Original State Prio Aging Time/ RX VID Block Time ------ -------------------- ---- -------------- ---- ---- ----------- 00-00-00-00-00-01 Authenticated 1439...
  • Page 656 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Guest VLAN Guest VLAN Member Ports: RADIUS Authorization : Enabled Local Authorization : Enabled Trap State : Enabled Log State : Enabled DGS-3620-28SC:admin# To display MAC-based access control information for ports 1 to 4: DGS-3620-28SC:admin#show mac_based_access_control ports 1-4 Command: show mac_based_access_control ports 1-4 Port...
  • Page 657 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address ----------------- ------ 00-00-00-00-00-01 Total Entries:1 DGS-3620-28SC:admin# To display MAC-based access control local data by MAC address: DGS-3620-28SC:admin#show mac_based_access_control_local mac 00-00-00-00-00-01 Command: show mac_based_access_control_local mac 00-00-00-00-00-01 MAC Address ----------------- ------...
  • Page 658 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the log state for MAC-based Access Control: DGS-3620-28SC:admin# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success.
  • Page 659 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mac_based_access_control password_type [manual_string | client_mac_address] Parameters manual_string - Specifies to use the same string as password for all clients do RADIUS authentication, the string can be configured by using the command “config mac_based_access_control password”.
  • Page 660: Chapter 58 Md5 Configuration Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 58 MD5 Configuration Command List config md5 key <key_id 1-255> <password 16> create md5 key <key_id 1-255> <password 16> delete md5 key <key_id 1-255> show md5 {key <key_id 1-255>} 58-1 config md5 key Description...
  • Page 661 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create md5 key <key_id 1-255> <password 16> Parameters key - Specifies that the MD5 Key will be created. <key_id 1-255> - Enter the MD5 Key used here. This key must be between 1 and 255. <password 16>...
  • Page 662 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete md5 key 1 Command: delete md5 key 1 Success. DGS-3620-28SC:admin# 58-4 show md5 Description This command is used to display the MD5 key table. Format show md5 {key <key_id 1-255>} Parameters key - (Optional) Specifies that the MD5 Key will be displayed.
  • Page 663: Chapter 59 Mirror Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 59 Mirror Commands create mirror group_id <value 1-4> config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]} config mirror group_id <value 1-4> {target_port <port> | [add | delete] source ports <portlist> [rx | tx | both] | state [enable | disable]}(1) delete mirror group_id <value 1-4>...
  • Page 664 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mirror port <port> {[add |delete] source ports <portlist> [rx | tx | both]} Parameters <port> - Specify the port that will receive the packets duplicated at the mirror port. add - (Optional) Specify the mirror entry to be added.
  • Page 665 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete - (Optional) Specifies the mirror source ports to be delete source - (Optional) Specifies the source ports used. ports - (Optional) Specifies the list of ports used as source ports. <portlist>...
  • Page 666: Enable Mirror

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete mirror group_id 3 Command: delete mirror group_id 3 Success. DGS-3620-28SC:admin# 59-5 enable mirror Description This command, combined with the disable mirror command below, allows you to enable or disable mirror function without having to modify the mirror session configuration.
  • Page 667: Show Mirror

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable mirroring configurations: DGS-3620-28SC:admin#disable mirror Command: disable mirror Success. DGS-3620-28SC:admin# 59-7 show mirror Description This command is used to display the current port mirroring configuration on the switch.
  • Page 668 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mirror Command: show mirror Mirror Global State: Disabled Group State Target Port Source Ports ------- ---------- ------------- --------------------------------------------- Enabled RX: 2-3 TX: 2-3 DGS-3620-28SC:admin#...
  • Page 669: Chapter 60 Mld Proxy Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 60 MLD Proxy Commands enable mld_proxy disable mld_proxy config mld_proxy downstream_if [add | delete] vlan [<vlan_name 32> | vlanid <vidlist>] config mld_proxy upstream_if {vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] | router_ports [add | delete] <portlist>...
  • Page 670 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the MLD proxy: DGS-3620-28SC:admin#disable mld_proxy Command: disable mld_proxy Success. DGS-3620-28SC:admin# 60-3 config mld_proxy downstream_if Description This command configures the MLD proxy downstream interfaces.
  • Page 671 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 60-4 config mld_proxy upstream_if Description This command is used to configure the setting for the MLD proxy’s upstream interface. The MLD proxy plays the host role on the upstream interface. It will send MLD report packets to the router port.
  • Page 672 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 60-5 show mld_proxy Description This command is used to display the MLD proxy’s configuration or group information. The display status item means group entry is determined by whether or not the chip has been inserted. Format show mld_proxy {group} Parameters...
  • Page 673 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Source : FF80::200 Group : FF1E::0202 Downstream VLAN Member Ports : 2,5,8 Status : Inactive Total Entries: 2 DGS-3620-28SC:admin#...
  • Page 674: Chapter 61 Mld Snooping Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 61 MLD Snooping Commands config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_done [enable | disable] | proxy_reporting {state [enable | disable]| source_ip <ipv6addr>}(1)}(1) config mld_snooping rate_limit [ports <portlist>...
  • Page 675 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <vlanid_list> - Specify the VLAN ID list. all - Specify to configure all VLANs. state - Enable or disable MLD snooping for the chosen VLAN. enable - Enable MLD snooping for the chosen VLAN. disable - Disable MLD snooping for the chosen VLAN.
  • Page 676 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MLD snooping packet rate limit on port 1 for 100: DGS-3620-28SC:admin#config mld_snooping rate_limit ports 1 100 Command: config mld_snooping rate_limit ports 1 100 Success.
  • Page 677 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 61-4 create mld_snooping static_group Description This command is used to create an MLD snooping multicast static group. Member ports can be added to the static group. The static member and the dynamic member port form the member ports of a group.
  • Page 678 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mld_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipv6addr> [add | delete] <portlist> Parameters vlan - Specify the name of the VLAN on which the static group resides. <vlan_name 32>...
  • Page 679 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an MLD snooping static group from the default VLAN, group FF1E::1: DGS-3620-28SC:admin#delete mld_snooping static_group vlan default FF1E::1 Command: delete mld_snooping static_group vlan default FF1E::1 Success. DGS-3620-28SC:admin# 61-7 show mld_snooping static_group...
  • Page 680 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 61-8 show mld_snooping statistic counter Description This command is used to display the MLD snooping statistics counters for MLD protocol packets that are transmitted or received by the switch since MLD snooping was enabled. Format show mld_snooping statistic counter [vlan <vlan_name 32>...
  • Page 681 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mld_snooping statistic counter ports 1 Command: show mld_snooping statistic counter ports 1 Port # -------------------------------------------------- Group Number Receive Statistics Query MLD v1 Query MLD v2 Query Total Dropped By Rate Limitation Dropped By Multicast VLAN Report &...
  • Page 682 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the MLD snooping statistics counters: DGS-3620-28SC:admin#clear mld_snooping statistics counter Command: clear mld_snooping statistics counter Success.
  • Page 683 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide decides that there is no longer another multicast router that is the querier. This interval is calculated as follows: (robustness variable x query interval) + (0.5 x query response interval).
  • Page 684 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <vlan_name 32> - Specify the name of the VLAN on which the router port resides. The maximum length is 32 characters. vlanid - Specify the ID of the VLAN on which the router port resides. <vlanid_list>...
  • Page 685 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Command: config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Success. DGS-3620-28SC:admin# 61-13 enable mld_snooping Description This command is used to enable MLD snooping on the switch. Format enable mld_snooping Parameters...
  • Page 686 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable MLD snooping on the switch: DGS-3620-28SC:admin#disable mld_snooping Command: disable mld_snooping Success. DGS-3620-28SC:admin# 61-15 show mld_snooping Description This command is used to display the current MLD snooping configuration on the switch.
  • Page 687 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Max Response Time : 10 Robustness Value Last Listener Query Interval Querier State : Disabled Querier Role : Non-Querier Querier IP : :: Querier Expiry Time : 0 secs State : Disabled Fast Done...
  • Page 688 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mld_snooping group Command: show mld_snooping group Source/Group : 2001::1/FE1E::1 VLAN Name/VID :default/1 Member Ports : 1-2 UP Time : 26 Expiry Time : 258 Filter Mode : INCLUDE Source/Group : 2002::2/FE1E::1 VLAN Name/VID:...
  • Page 689 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display router ports: DGS-3620-28SC:admin#show mld_snooping mrouter_ports all Command: show mld_snooping mrouter_ports all VLAN Name : default Static Router Port Dynamic Router Port Router IP Forbidden Router Port Total Entries: 1 DGS-3620-28SC:admin#...
  • Page 690 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP : 2001::1 Multicast Group: FE1E::1 Port Member : 2,7 VLAN Name : default Source IP : 2001::1 Multicast Group: FE1E::2 Port Member...
  • Page 691: Chapter 62 Mld Snooping Multicast (Msm) Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 62 MLD Snooping Multicast (MSM) VLAN Commands create mld_snooping multicast_vlan <vlan_name 32> <vlanid 2-4094> {remap_priority [<value 0-7> | none] {replace_priority}} config mld_snooping multicast_vlan <vlan_name 32> {[add | delete] [member_port <portlist> | [source_port <portlist>...
  • Page 692 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide forwarded on the multicast VLAN. none - If none is specified, the packet’s original priority will be used. The default setting is none. replace_priority - (Optional) Specify that the packet’s priority will be changed by the switch, based on the remap priority.
  • Page 693 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Specify a range of ports to be configured. state - Specify if the multicast VLAN for a chosen VLAN should be enabled or disabled. enable - Enable multicast VLAN for the chosen VLAN. disable - Disable multicast VLAN for the chosen VLAN.
  • Page 694 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an MLD snooping multicast group profile with the name “Knicks”: DGS-3620-28SC:admin#create mld_snooping multicast_vlan_group_profile Knicks Command: create mld_snooping multicast_vlan_group_profile Knicks Success. DGS-3620-28SC:admin# 62-4 config mld_snooping multicast_vlan_group_profile Description This command is used to configure an MLD snooping multicast group profile on the switch.
  • Page 695 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 62-5 delete mld_snooping multicast_vlan_group_profile Description This command is used to delete an existing MLD snooping multicast group profile on the switch. Specify a profile name to delete it. Format delete mld_snooping multicast_vlan_group_profile [profile_name <profile_name 1-32>...
  • Page 696 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display all MLD snooping multicast VLAN profiles: DGS-3620-28SC:admin#show mld_snooping multicast_vlan_group_profile Command: show mld_snooping multicast_vlan_group_profile Profile Name Multicast Addresses ----------------------- -------------------------------- rock FF1E::1 FF1E::10-FF1E::20 Total Entries : 1 DGS-3620-28SC:admin# 62-7 config mld_snooping multicast_vlan_group...
  • Page 697 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add an MLD snooping profile to a multicast VLAN group with the name “v1”: DGS-3620-28SC:admin#config mld_snooping multicast_vlan_group v1 add profile_name channel_1 Command: config mld_snooping multicast_vlan_group v1 add profile_name channel_1 Success.
  • Page 698 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 62-9 delete mld_snooping multicast_vlan Description This command is used to delete an MLD snooping multicast VLAN. Format delete mld_snooping multicast_vlan <vlan_name 32> Parameters <vlan_name 32> - Specify the name of the multicast VLAN to be deleted. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 699 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable mld_snooping multicast_vlan Command: enable mld_snooping multicast_vlan Success. DGS-3620-28SC:admin# 62-11 disable mld_snooping multicast_vlan Description This command is used to disable the MLD snooping multicast VLAN function. By default, the multicast VLAN is disabled.
  • Page 700 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, the system will display all multicast VLANs on the switch. Restrictions None. Example To display all MLD snooping multicast VLANs: DGS-3620-28SC:admin#show mld_snooping multicast_vlan Command: show mld_snooping multicast_vlan MLD Multicast VLAN Global State : Disabled...
  • Page 701 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the forwarding mode for MLD snooping multicast VLAN unmatched packets: DGS-3620-28SC:admin#config mld_snooping multicast_vlan forward_unmatched enable Command: config mld_snooping multicast_vlan forward_unmatched enable Success.
  • Page 702: Chapter 63 Modify Login Banner And Prompt Commands

    Only Administrator and Operator-level users can issue this command. Example To edit the banner: DGS-3620-28SC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. All rights reserved.
  • Page 703 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide =============================================================================== <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W Save and quit up/down Move cursor Ctrl+D Delete line Ctrl+X Erase all setting Ctrl+L Reload original setting ------------------------------------------------------------------------------- 63-2 show greeting_message...
  • Page 704 DGS-3620-28SC:admin#show greeting_message Command: show greeting_message =============================================================================== DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. All rights reserved. =============================================================================== DGS-3620-28SC:admin# 63-3 config command_prompt Description This command is used to modify the command prompt. The current command prompt consists of four parts: “product name”...
  • Page 705 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions When users issue the “reset” command, the current command prompt will remain in tact. Issuing the “reset system” will return the command prompt to its original factory default value. Only Administrator and Operator-level users can issue this command.
  • Page 706: Chapter 64 Multicast Listener Discovery (Mld) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 64 Multicast Listener Discovery (MLD) Commands config mld [ipif <ipif_name 12> | all] {query_interval <sec 1-31744> | max_response_time <sec 1- 25> | robustness_variable <value 2-7> | last_listener_query_interval <sec 1-25> | version <value 1-2>...
  • Page 707 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that the MLD state for the specified interface will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MLD on the IP interface “System”: DGS-3620-28SC:admin# config mld ipif System version 1 state enabled Command: config mld ipif System version 1 state enabled Success.
  • Page 708 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the MLD configurations on all interfaces: DGS-3620-28SC:admin# show mld Command: show mld MLD Interface Configurations MRT = Maximum Response Time, LLQI = Last Listener Query Interval Interface Version Query Robustness LLQI...
  • Page 709 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show mld group {ipif <ipif_name 12> | group <ipv6addr>} Parameters ipif – (Optional) Specifies the IP interface name used for this configuration. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 710 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To display the group source address list for interface “n10” with the group address “FF1E::100:0:20”, the “Expiry” uses second as the unit: DGS-3620-28SC:admin# show mld group ipif n10 group FF1E::100:0:20 Command: show mld group ipif n10 group FF1E::100:0:20 MLD Group Details Interface...
  • Page 711: Chapter 65 Network Load Balancing (Nlb) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 65 Network Load Balancing (NLB) Commands create nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] <macaddr> delete nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] <macaddr> config nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] <macaddr> [add | delete] <portlist> show nlb fdb 65-1 create nlb multicast_fdb...
  • Page 712 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create nlb multicast_fdb default 03-bf-01-01-01-01 Command: create nlb multicast_fdb default 03-bf-01-01-01-01 Success. DGS-3620-28SC:admin# 65-2 delete nlb multicast_fdb Description This command is used to delete the Switch’s NLB multicast FDB entry. Format delete nlb multicast_fdb [<vlan_name 32>...
  • Page 713: Show Nlb Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <vlan_name 32> - Enter the VLAN name of the NLB multicast FDB entry here. This name can be up to 32 characters long. vlanid - Specifies the VLAN ID used. <vlanid>...
  • Page 714 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show nlb fdb Command: show nlb fdb MAC Address VLAN ID Egress Ports ----------------- ---------- ---------------------------------- 02-bf-01-01-01-01 1:1-1:5,1:26,2:26 02-bf-01-01-01-02 1:1-1:5,1:26,2:26 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 : 4 DGS-3620-28SC:admin#...
  • Page 715: Chapter 66 Network Management Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 66 Network Management Commands enable snmp disable snmp create trusted_host [<ipaddr> | <ipv6addr> | network <network_address> | ipv6_prefix <ipv6networkaddr>] {snmp | telnet | ssh | http | https | ping} config trusted_host [<ipaddr>...
  • Page 716: Disable Snmp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP: DGS-3620-28SC:admin#enable snmp Command: enable snmp Success. DGS-3620-28SC:admin# 66-2 disable snmp Description This command is used to disable the SNMP function. When SNMP function is disabled, the network manager will not be able to access SNMP MIB objects.
  • Page 717 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide addresses are specified, then there is nothing to prevent any IP address from accessing the switch, provided the user knows the Username and Password. Format create trusted_host [<ipaddr> | <ipv6addr> | network <network_address> | ipv6_prefix <ipv6networkaddr>] {snmp | telnet | ssh | http | https | ping} Parameters <ipaddr>...
  • Page 718 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Specify the IP address of the trusted host. <ipv6addr> - Specify the IPv6 address of the trusted host. network - Specify the network address of the trusted network. The form of network address is xxx.xxx.xxx.xxx/y.
  • Page 719 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <network_address> - Specify the network address of the trusted network. The form of network address is xxx.xxx.xxx.xxx/y. ipv6_prefix - Specify the IPv6 network address of the trusted network. <ipv6networkaddr>...
  • Page 720 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 10.50.95.90 Total Entries : 3 DGS-3620-28SC:admin# 66-7 config snmp system_name Description This command is used to configure the SNMP system name of the switch. Format config snmp system_name <sw_name> Parameters <sw_name>...
  • Page 721: Enable Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the switch location for “HQ 5F”: DGS-3620-28SC:admin#config snmp system_location HQ 5F Command: config snmp system_location HQ 5F Success.
  • Page 722: Disable Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable snmp traps Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP trap support: DGS-3620-28SC:admin#enable snmp traps Command: enable snmp traps Success.
  • Page 723 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 66-12 enable snmp authenticate_traps Description This command is used to enable SNMP authentication failure trap support. Format enable snmp authenticate_traps Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP authentication trap support: DGS-3620-28SC:admin#enable snmp authenticate_traps...
  • Page 724 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: disable snmp authenticate_traps Success. DGS-3620-28SC:admin# 66-14 enable snmp linkchange_traps Description This command is used to enable SNMP linkchange trap support. Format enable snmp linkchange_traps Parameters None. Restrictions Only Administrator and Operator-level users can issue this command..
  • Page 725 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable SNMP linkchange trap support: DGS-3620-28SC:admin#disable snmp linkchange_traps Command: disable snmp linkchange_traps Success. DGS-3620-28SC:admin# 66-16 config snmp linkchange_traps ports Description This command is used to configure the sending of linkchange traps and per port control for sending of change traps.
  • Page 726: Show Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 66-17 show snmp traps Description This command is used to display the SNMP trap state. Format show snmp traps {linkchange_traps {ports <portlist>}} Parameters linkchange_traps - (Optional) Specify to display the status of linkchange traps. ports - (Optional) Specify a port or port range.
  • Page 727 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show snmp traps linkchange_traps Command: show snmp traps linkchange_traps Linkchange Traps : Enabled Port 1 : Enabled Port 2 : Enabled Port 3 : Enabled Port 4 : Enabled Port 5 : Enabled Port 6 : Enabled Port 7 : Enabled...
  • Page 728 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 66-19 config snmp warmstart_traps Description This command is used to configure the trap state for warmstart events. Format config snmp warmstart_traps [enable | disable] Parameters enable - Enable traps for warmstart events. The default state is enabled. disable - Disable traps for warmstart events.
  • Page 729 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the trap source IP interface: DGS-3620-28SC:admin#config trap source_ipif inter4 Command: config trap source_ipif inter4 Success. DGS-3620-28SC:admin# To clear the configured trap source IP interface: DGS-3620-28SC:admin#config trap source_ipif none...
  • Page 730: Config Rmon Trap

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide IP Interface : ipif4 IPv4 Address : None IPv6 Address : 3000::52 DGS-3620-28SC:admin# 66-22 config rmon trap Description This command is used to configure the trap state for RMON events. Format config rmon trap {rising_alarm [enable | disable] | falling_alarm [enable | disable]} Parameters...
  • Page 731 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display current RMON settings: DGS-3620-28SC:admin#show rmon Command: show rmon RMON Rising Alarm Trap : Enabled RMON Falling Alarm Trap : Enabled DGS-3620-28SC:admin#...
  • Page 732: Chapter 67 Network Monitoring Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 67 Network Monitoring Commands show packet ports <portlist> show error ports <portlist> show utilization [ports | cpu] show utilization dram {unit <unit_id>} show utilization flash {unit <unit_id>} clear counters {ports <portlist>} clear log show log {[index <value_list>...
  • Page 733: Show Error Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the packets analysis for port 7: DGS-3620-28SC:admin#show packet ports 7 Command: show packet ports 7 Port number : 7 Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 65-127...
  • Page 734: Show Utilization

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the errors of port 3: DGS-3620-28SC:admin#show error ports 3 Command: show error ports 3 Port Number : 3 RX Frames TX Frames --------- --------- CRC Error Excessive Deferral...
  • Page 735: Show Utilization Dram

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh To display CPU utilization: DGS-3620-28SC:admin# show utilization cpu Command: show utilization cpu CPU utilization : ------------------------------------------------------------------------------- Five seconds – 20% One minute –...
  • Page 736: Show Utilization Flash

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display DRAM utilization: DGS-3620-28SC:admin# show utilization dram Command: show utilization dram DRAM utilization : Total DRAM : 262144 Used DRAM 119586 Utilization CTRL+C ESC q Quit SPACE n Next Page Previous Page...
  • Page 737: Clear Log

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format clear counters {ports <portlist>} Parameters ports - Specify a range of ports to be configured. The beginning and end of the port list range are separated by a dash. <portlist>...
  • Page 738: Show Log

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: clear log Success DGS-3620-28SC:admin# 67-8 show log Description This command is used to display the switch history log. Format show log {[index <value_list> | severity {module <module_list>} {emergency | alert | critical | error | warning | notice | informational | debug | <level_list 0-7>} | module <module_list>]} Parameters index - (Optional) Specify to display the history log between two values.
  • Page 739 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Index Date Time Level Log Text ----- ---------- -------- ------- -------------------------------------------- 2000-03-01 00:26:51 INFO(6) Successful login through Console (Username: Anonymous) 2000-03-01 00:26:49 CRIT(2) System started up 2000-03-01 00:26:49 CRIT(2) System warm start DGS-3620-28SC:admin# 67-9 show log_save_timing...
  • Page 740 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the the protocols or applications that support the enhanced log: DGS-3620-28SC:admin#show log_software_module Command: show log_software_module CFM_EXT DHCPv6_CLIENT DHCPv6_RELAY DHCPv6_SERVER ERPS ERROR_LOG MSTP OSPFV2 VRRP...
  • Page 741: Enable Syslog

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 67-12 enable syslog Description This command is used to globally enable syslog to send log messages to a remote server. Format enable syslog Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable syslog to send a message: DGS-3620-28SC:admin#enable syslog...
  • Page 742: Show Syslog

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable syslog sending a message: DGS-3620-28SC:admin#disable syslog Command: disable syslog Success DGS-3620-28SC:admin# 67-14 show syslog Description This command is used to display the syslog protocol global state. Format show syslog Parameters...
  • Page 743 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide local5 | local6 | local7] | udp_port <udp_port_number> | ipaddress[ <ipaddr> | <ipv6addr>] | state [enable | disable]} (1) Parameters <index> - Specify the host index. all - Specify all hosts. severity - (Optional) Specify the severity level supported: emergency, alert, critical, error, warning, notice, informational, or debug.
  • Page 744: Create Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 67-16 create syslog host Description This command is used to create a new syslog host. Format create syslog host <index 1-4> ipaddress [<ipaddr> | <ipv6addr>] {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 745: Delete Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create syslog host 1 ipaddress 10.1.1.1 Command: create syslog host 1 ipaddress 10.1.1.1 Success. DGS-3620-28SC:admin# 67-17 delete syslog host Description This command is used to delete syslog host(s). Format delete syslog host [<index 1-4>...
  • Page 746 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, all hosts will be displayed. Restrictions None. Example To display syslog host configurations: DGS-3620-28SC:admin#show syslog host Command: show syslog host Syslog Global State: Disabled Host 1 IP Address : 10.1.1.2...
  • Page 747 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the syslog source IP interface: DGS-3620-28SC:admin#config syslog source_ipif Sysetm Command: config syslog source_ipif System Success. DGS-3620-28SC:admin# To clear the configured source IP interface for syslog: DGS-3620-28SC:admin#config syslog source_ipif none...
  • Page 748 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide IPv6 Address : None DGS-3620-28SC:admin# 67-21 show attack_log Description This command is used to display the switch’s attack log. Format show attack_log {index <value_list>} Parameters index - (Optional) Specify the list of index of the entries that need to be displayed. <value_list>...
  • Page 749 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format clear attack_log Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To clear the switch’s attack log: DGS-3620-28SC:admin#clear attack_log Command: clear attack_log Success. DGS-3620-28SC:admin#...
  • Page 750: Chapter 68 Oam Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 68 OAM Commands config ethernet_oam ports [<portlist> | all] [mode [active | passive] | state [enable | disable] | link_monitor [error_symbol {threshold <range 0-4294967295> | window <millisecond 1000- 60000>...
  • Page 751 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ethernet_oam ports [<portlist> | all] [mode [active | passive] | state [enable | disable] | link_monitor [error_symbol {threshold <range 0-4294967295> | window <millisecond 1000- 60000> | notify_state [enable | disable]} (1) | error_frame {threshold <range 0-4294967295> | window <millisecond 1000-60000>...
  • Page 752 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide critical_link_event –Specify critical link event. dying_gasp - An unrecoverable local failure condition has occurred. critical_event - An unspecified critical event has occurred. notify_state - Specify the event notification status. The default state is enable. enable - Specify to enable event notification.
  • Page 753 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To configure the error frame seconds threshold to 2 and period to 10000 ms for port 1: DGS-3620-28SC:admin#config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2 window 10000 notify_state enable Command: config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2 window 10000 notify_state enable Success.
  • Page 754 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 68-2 show ethernet_oam ports Description This command is used to display Ethernet OAM information, including status, configuration, statistics, and event log, on specified ports. The status information includes: (1) OAM administration status: enabled or disabled.
  • Page 755 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ethernet_oam ports {<portlist>} [status | configuration | statistics | event_log {index <value_list>}] Parameters <portlist> - (Optional) Specify the range of ports to display. status - Specify to display the Ethernet OAM status. configuration - Specify to display the Ethernet OAM configuration.
  • Page 756 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 68-3 clear ethernet_oam ports Description This command is used to clear Ethernet OAM information. Format clear ethernet_oam ports [<portlist> | all] [event_log | statistics] Parameters <portlist> - Specify a range of Ethernet OAM ports to be cleared. all - Specify to clear all Ethernet OAM ports.
  • Page 757: Chapter 69 Open Shortest Path First (Ospf) Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 69 Open Shortest Path First (OSPF) Command List config ospf [ipif <ipif_name 12> | all] {area <area_id> | priority <value> | hello_interval <sec 1- 65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>] | metric <value 1-65535>...
  • Page 758 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <key_id 1-255>] | metric <value 1-65535> | state [enable | disable] | passive [enable | disable]}(1) Parameters ipif - Specifies the name of the IP interface. <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
  • Page 759 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ospf ipif System priority 2 hello_interval 20 metric 2 state enabled Command: config ospf ipif System priority 2 hello_interval 20 metric 2 state enabled Success. DGS-3620-28SC:admin# 69-2 create ospf aggregation Description...
  • Page 760 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 69-3 config ospf aggregation Description This command is used to configure the OSPF area aggregation settings. Format config ospf aggregation <area_id> <network_address> lsdb_type [summary {advertise [enable | disable]} | nssa_ext {advertise [enable | disable]}] Parameters <area_id>...
  • Page 761 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain. <network_address> - The IP address that uniquely identifies the network that corresponds to the OSPF Area.
  • Page 762 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 0.0.0.0 10.90.0.0/16 Summary Enabled 0.0.0.0 10.90.0.0/17 Summary Enabled...
  • Page 763 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an OSPF area: DGS-3620-28SC:admin# create ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Command: create ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Success.
  • Page 764 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure an OSPF area’s settings: DGS-3620-28SC:admin# config ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Command: config ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Success.
  • Page 765 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - (Optional) Enter the OSPF area ID used here. Restrictions None. Example To display OSPF area’s configuration: DGS-3620-28SC:admin# show ospf area Command: show ospf area OSPF Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost Translate...
  • Page 766 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an OSPF host route: DGS-3620-28SC:admin# create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3620-28SC:admin# 69-11 config ospf host_route Description This command is used to configure an OSPF host route.
  • Page 767 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete ospf host_route <ipaddr> Parameters <ipaddr> - Enter the host’s IP address used here. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an OSPF host route: DGS-3620-28SC:admin# delete ospf host_route 10.48.74.122 Command: delete ospf host_route 10.48.74.122...
  • Page 768 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ospf host_route Command: show ospf host_route OSPF Host Route Settings Host Address Metric Area ID --------------- ------ --------------- 10.48.73.21 10.1.1.1 10.48.74.122 10.1.1.1 Total Entries : 2 DGS-3620-28SC:admin# 69-14 config ospf router_id Description...
  • Page 769 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]} Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
  • Page 770 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]} (1) Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
  • Page 771 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete ospf virtual_link <area_id> <neighbor_id> Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain. <neighbor_id>...
  • Page 772: Enable Ospf

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the current OSPF virtual interface configuration: DGS-3620-28SC:admin#show ospf virtual_link Command: show ospf virtual_link Virtual Interface Configuration Transit Virtual Hello Dead Authentication Link Area ID Neighbor Router Interval Interval Status --------------- --------------- -------- -------- -------------- ------ 4.4.4.4...
  • Page 773 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ospf {[ipif <ipif_name 12> | all]} Parameters ipif - (Optional) Specifies the IP interface name. <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
  • Page 774 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries : 1 OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 10.0.0.2 10.0.0.0/8 Summary Enabled Total Entries : 1 OSPF Host Route Settings Host Address Metric Area ID...
  • Page 775 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 69-22 show ospf lsdb Description This command is used to display the OSPF Link State Database (LSDB). Format show ospf lsdb {area <area_id> | advertise_router <ipaddr> | type [rtrlink | netlink | summary | assummary | asextlink | nssa_ext | stub]} Parameters area - (Optional) Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that...
  • Page 776 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 69-23 show ospf neighbor Description This command is used to display the OSPF-neighbor information on a per-interface basis. Format show ospf neighbor {<ipaddr>} Parameters <ipaddr> - (Optional) Specifies the IP address of the neighbor router. If no parameter is specified, the system will display all OSPF neighbor information.
  • Page 777 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display OSPF virtual-link neighbor information: DGS-3620-28SC:admin# show ospf virtual_neighbor Command: show ospf virtual_neighbor Transit Router ID of IP Address of Virtual Neighbor Area ID Virtual Neighbor Virtual Neighbor State...
  • Page 778: Chapter 70 Ospfv3 Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 70 OSPFv3 Commands enable ospfv3 disable ospfv3 show ospfv3 {[ipif <ipif_name 12> | all]} config ospfv3 router_id <ipaddr> create ospfv3 area <area_id> type [normal | stub {stub_summary [enable | disable] | metric <value 0-65535>}] delete ospfv3 area <area_id>...
  • Page 779 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable OSPFv3: DGS-3620-28SC:admin# enable ospfv3 Command: enable ospfv3 Success. DGS-3620-28SC:admin# 70-2 disable ospfv3 Description This command is used to disable OSPFv3 on the Switch. Format disable ospfv3 Parameters None.
  • Page 780 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the OSPFv3 IP interface name used. <ipif_name 12> - Enter the OSPFv3 IP interface name used here. This name can be up to 12 characters long.
  • Page 781 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 0 DGS-3620-28SC:admin# show ospfv3 all Command: show ospfv3 all Interface Name: System Link Local Address: FE80::201:2FF:FE03:400 (Link Up) Network Medium Type: BROADCAST Metric: 10 Area ID: 0.0.0.0 Administrative State: Disabled Priority: 1 DR State: DOWN...
  • Page 782 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To set OSPFv3 router ID: DGS-3620-28SC:admin# config ospfv3 router_id 1.1.1.1 Command: config ospfv3 router_id 1.1.1.1 Success.
  • Page 783 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create ospfv3 area 1.1.1.1 type normal Command: create ospfv3 area 1.1.1.1 type normal Success. DGS-3620-28SC:admin# create ospfv3 area 2.2.2.2 type stub stub_summary enable Command: create ospfv3 area 2.2.2.2 type stub stub_summary enable Success.
  • Page 784 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospfv3 area <area_id> type [normal | stub {stub_summary [enable | disable] | metric <value 0-65535>}] Parameters <area_id> - Specifies the OSPFv3 area’s ID. It is a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain.
  • Page 785 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 areas: DGS-3620-28SC:admin# show ospfv3 area Command: show ospfv3 area OSPFv3 Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost --------------- ------ ----------------------- ----------------- 0.0.0.0 Normal None None...
  • Page 786 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create an OSPFv3 area aggregation: DGS-3620-28SC:admin# create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable Command: create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable Success.
  • Page 787 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospfv3 aggregation <area_id> <ipv6networkaddr> advertise [enable | disable] Parameters <area_id> - Specifies the OSPFv3 area’s ID. It is a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain.
  • Page 788 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 area aggregations: DGS-3620-28SC:admin# show ospfv3 aggregation Command: show ospfv3 aggregation OSPFv3 Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------------------------------- -------- --------- 1.1.1.1 1000::/16 Summary...
  • Page 789 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide intra_area_prefix - Specifies that the Intra-Area-Prefix LSA will be displayed. Restrictions None. (EI Mode Only Command) Example To display OSPFv3 Link-State Database: DGS-3620-28SC:admin# show ospfv3 lsdb Command: show ospfv3 lsdb Router LSA (Area 0.0.0.0) Link State ID ADV Router...
  • Page 790 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <neighbor_id> - (Optional) Specifies the ID of the neighbor. ipif - (Optional) Specifies the IP interface where the neighbor is built. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 791 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display OSPFv3 virtual neighbor: DGS-3620-28SC:admin# show ospfv3 virtual_neighbor Command: show ospfv3 virtual_neighbor Transit Router ID Of Virtual Neighbor Area ID Virtual Neighbor State --------------- ---------------- ---------------- 1.1.1.1...
  • Page 792 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide hello_interval - (Optional) Specifies to allow the specification of the interval between the transmission of OSPFv3 Hello packets, in seconds. The Hello Interval and Dead Interval should be the same for all routers on the same link. <sec 1-65535>...
  • Page 793 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - Specifies a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is built.
  • Page 794 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the OSPFv3 virtual neighbor in the OSPFv3 domain. hello_interval - (Optional) Specifies to allow the specification of the interval between the transmission of OSPFv3 Hello packets. The Hello Interval and Dead Interval should be the same for all routers on the same link.
  • Page 795 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an OSPFv3 virtual link: DGS-3620-28SC:admin# delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Command: delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Success. DGS-3620-28SC:admin# 70-20 show ospfv3 virtual_link Description This command is used to display OSPFv3 virtual link configurations. If no parameters are set, all the virtual links will be displayed.
  • Page 796 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show ospfv3 virtual_link 1.1.1.1 60.60.60.60 Transit Area ID: 1.1.1.1 Virtual Neighbor Router ID: 60.60.60.60 Hello Interval: 10 Dead Interval: 60 Transmit Delay: 1 Retransmit Time: 5 Instance ID: 0 Virtual Link Status: DOWN Total Entries: 1 DGS-3620-28SC:admin#...
  • Page 797: Chapter 71 Packet Storm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Packet Storm Commands config traffic control [<portlist> | all] {broadcast [enable | disable] | multicast [enable | disable] | unicast [enable | disable] | action [drop | shutdown] | threshold <value 0-255000> | countdown [<min 0>...
  • Page 798 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <min 3-30> - Enter a value between 3 and 30 minutes. disable – Specifies that when the action is shutdown and the countdown is disabled, when the Switch detects a storm, it will shutdown the port directly. time_interval - The sampling interval of received packet counts.
  • Page 799 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config traffic control auto_recover_time 5 Command: config traffic control auto_recover_time 5 Success. DGS-3620-28SC:admin# 71-3 config traffic control log state Description This command is used to configure the traffic control log state. When the log state is enabled, traffic control states are logged when a storm occurs and when a storm is cleared.
  • Page 800: Show Traffic Control

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: A traffic control trap is active only when the control action is configured as shutdown. If the control action is drop there will no traps issue while storm event is detected.
  • Page 801 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the packet storm control setting for ports 1 to 3: DGS-3620-28SC:admin#show traffic control 1-3 Command: show traffic control 1-3 Traffic Control Trap : [None] Traffic Control Log : Enabled Traffic Control Auto Recover Time: 0 Minutes Port Thres...
  • Page 802: Chapter 72 Password Recovery Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 72 Password Recovery Commands enable password_recovery disable password_recovery show password_recovery 72-1 enable password_recovery Description This command is used to enable the password recovery mode. Note: The configuration does not take effect until saved. Format enable password_recovery Parameters...
  • Page 803 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable password_recovery Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the password recovery mode: DGS-3620-28SC:admin# disable password_recovery Command: disable password_recovery Success. DGS-3620-28SC:admin# 72-3 show password_recovery Description...
  • Page 804 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the password recovery state: DGS-3620-28SC:admin# show password_recovery Command: show password_recovery Running Configuration : Disabled NV-RAM Configuration : Enabled DGS-3620-28SC:admin#...
  • Page 805: Chapter 73 Protocol Independent Multicast (Pim) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 73 Protocol Independent Multicast (PIM) Commands config pim [[ipif <ipif_name 12> | all] {hello <sec 1-18724> | jp_interval <sec 1-18724> | state [enable | disable] | mode [dm | sm | sm-dm] | dr_priority <uint 0-4294967294>}(1) | register_probe_time <value 1-127>...
  • Page 806 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide hello - (Optional) Specifies the time between issuing hello packets to find neighboring routers. <sec 1-18724> - Enter the hello time value here. This value must be between 1 and 18724 seconds.
  • Page 807 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable PIM: DGS-3620-28SC:admin# enable pim Command: enable pim Success. DGS-3620-28SC:admin# 73-3 disable pim Description This command is used to disable PIM on the switch.
  • Page 808 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-4 show pim neighbor Description This command is used to display the current PIM neighbor router table. Format show pim neighbor {ipif <ipif_name 12> | ipaddress <network_address>} Parameters ipif - (Optional) Specifies the name of the IP interface for which you want to display the current PIM neighbor router table.
  • Page 809 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long. If no parameter is specified, the system will display all the PIM configurations of all IP interfaces. Restrictions None.
  • Page 810 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide candidate RP and the multicast group address, to calculate the hash algorithm used by the router to determine which CRP on the PIM-SM enabled network will be the RP. <value 0-32>...
  • Page 811 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide C-BSR Hash Mask Len : 30 C-BSR Bootstrap Period : 60 Interface IP Address Priority ------------ ------------------ ------------- System 11.52.33.3/8 -1 (Disabled) Total Entries: 1 DGS-3620-28SC:admin# 73-8 config pim crp Description This command is used to set the candidate rendezvous point (RP) related parameters.
  • Page 812 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 73-9 create pim crp group Description This command is used to add a multicast group range into a C-RP serve list for PIM-SM. Format create pim crp group <network_address> rp <ipif_name 12> Parameters group - Specifies the multicast group address for this Switch to become a Candidate RP.
  • Page 813 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a multicast group range from the C-RP server list: DGS-3620-28SC:admin# delete pim crp group 224.1.2.3/32 Command: delete pim crp group 224.1.2.3/32 Success.
  • Page 814 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-12 config pim last_hop_spt_switchover Description This command is used by the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree. When the switchover mode is set to be never, the last hop router will always receive the multicast data from the shared tree.
  • Page 815 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To list all the entries of multicast routing: DGS-3620-28SC:admin# show pim ipmroute Command: show pim ipmroute PIM IP Multicast Route Table UA = Upstream AssertTimer AM = Assert Metric AMPref = Assert MetricPref = Assert RPTBit Group Address...
  • Page 816 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a static RP: DGS-3620-28SC:admin# create pim static_rp group 239.1.1.0/24 rp 10.52.33.18 Command: create pim static_rp group 239.1.1.0/24 rp 10.52.33.18 Success. DGS-3620-28SC:admin# 73-15 delete pim static_rp group Description This command is used to delete a static RP.
  • Page 817 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To list all the static RP settings: DGS-3620-28SC:admin# show pim static_rp Command: show pim static_rp PIM Static RP Table Group RP Address ------------------ ------------------ 224.1.2.0/24 10.52.33.4 239.1.1.0/24...
  • Page 818 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Bootstrap Router: 10.54.71.9 Group Address RP Address Holdtime Expired Time Type --------------- ---------- -------- ------------ ---- 224.0.0.0/4 10.20.6.36 Dynamic 224.0.0.0/4 10.54.71.9 Static Total Entries: 2 DGS-3620-28SC:admin# 73-18 create pim register_checksum_include_data rp_address Description This command is used to decide the checksum in register packet will include the data portion or not.
  • Page 819 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-19 delete pim register_checksum_include_data rp_address Description This command is used to delete the register checksum including the data for the specific RP address. Format delete pim register_checksum_include_data rp_address <ipaddr> Parameters rp_address - Specifies the RP address that will be removed from the checksum, including the data portion list.
  • Page 820 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To list all the RPs of the registered checksum, including the data: DGS-3620-28SC:admin# show pim register_checksum_include_data_rp_list Command: show pim register_checksum_include_data_rp_list PIM Register Checksum Include Data RP Address ------------------ 24.0.0.0 24.1.2.3...
  • Page 821 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-22 show pim-ssm Description This command is used to list all PIM-SSM protocol related information. Format show pim-ssm Parameters None. Restrictions None. Example To display PIM-SSM state and group range: DGS-3620-28SC:admin# show pim-ssm Command: show pim-ssm SSM Service Model State...
  • Page 822: Chapter 74 Pim6-Sm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 74 PIM6-SM Commands config pim6 [ipif <ipif_name 12> | all] {hello_interval <sec 0-18000> | triggered_hello_delay <sec 0-60> | propagation_delay <sec 0-32> | override_interval <sec 0-65> | jp_interval <sec 0- 18000>...
  • Page 823 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide routers. A value of zero represents an ‘infinite’ interval, and indicates that periodic PIM6 Hello message should not be sent on this interface. <sec 0-18000> - Enter the hello packet interval value here. This value must be between 1 and 18000 seconds.
  • Page 824 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 74-2 show pim6 Description This command is used to display the PIM6 configurations. Format show pim6 {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the IP interface to be displayed. <ipif_name 12>...
  • Page 825 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To show the detailed info of the PIM6 protocol concerned parameters on the interface “System”: DGS-3620-28SC:admin# show pim6 ipif System Command: show pim6 ipif System Interface Name : System Interface Link-Local Address : FE80::207:E9FF:81D PIM6 Mode...
  • Page 826 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 128. The default value is 126. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To configure the C-BSR on the interface “System”: DGS-3620-28SC:admin# config pim6 cbsr ipif System state enable priority 64 hash_masklen 126 Command: config pim6 cbsr ipif System state enable priority 64 hash_masklen 126...
  • Page 827 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-5 config pim6 crp Description This command is used to set the candidate rendezvous point (RP) related parameters. Format config pim6 crp [rp <ipif_name 12> | all] {priority <value 0-255> | interval <sec 1-16383>} (1) Parameters rp - Specifies the RP IP interface used.
  • Page 828 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide rp - Specifies the interface that will act as the C-RP. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 829 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-8 enable pim6 Description This command is used to enable the PIM global state for IPv6 network. Format enable pim6 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To enable PIM global state for IPv6 network:...
  • Page 830 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable PIM-SM for IPv6 network: DGS-3620-28SC:admin# disable pim6 Command: disable pim6 Success. DGS-3620-28SC:admin# 74-10 config pim6 last_hop_spt_switchover Description This command is used on the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree.
  • Page 831 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the IP interface used. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long. If no parameter is specified, the system will display all neighbors learned by PIM6.
  • Page 832 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show pim6 mroute {group <ipv6addr> {source <ipv6addr>}} Parameters group - (Optional) Specifies the IPv6 multicast group address. <ipv6addr> - Enter the IPv6 multicast group address used here. source - (Optional) Specifies the IPv6 source address.
  • Page 833 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide You can check the detailed info for a specific multicasting routing entry by specifying the options in the command. To show the detailed info of the multicast routing entries for a specific group, you should specify the group address.
  • Page 834 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Assert Won : n10 Outgoing : n10 n30 RPT Bit : True RP Address : 3FFE:10:10::153 Upstream : n1 Upstream State : RPT not joined RPF Neighbor : FE80::68FE Override Timer : 3 sec Pruned : n10...
  • Page 835 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-14 delete pim6 static_rp group Description This command is used to delete a static RP. Format delete pim6 static_rp group <ipv6networkaddr> Parameters group - Specifies the multicast group network address which will be removed from the static RP. <ipv6networkaddr>...
  • Page 836 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable the embedded RP state: DGS-3620-28SC:admin# config pim6 embedded_rp state enable Command: config pim6 embedded_rp state enable Success. DGS-3620-28SC:admin# 74-16 show pim6 crp Description This command is used to list all candidate rendezvous pint (RP) related information. Format show pim6 crp Parameters...
  • Page 837 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show pim6 static_rp Parameters None. Restrictions None. (EI Mode Only Command) Example To show the static RP: DGS-3620-28SC:admin# show pim6 static_rp Command: show pim6 static_rp PIM6 Static RP Table --------------------------------------------- Group : FF1E:9B::/64...
  • Page 838 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the entire active RP information: DGS-3620-28SC:admin# show pim6 rpset Command: show pim6 rpset Bootstrap Router: 2008::1 PIM6 RP-Set Table ----------------------------------------- Group : FF3D::/64 RP Address : 2008::10F2 Hold Time : 210 sec...
  • Page 839 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To specify the switch calculates the register packet checksum including data portion: DGS-3620-28SC:admin# config pim6 register_checksum_calculate include_data Command: config pim6 register_checksum_calculate include_data Success. DGS-3620-28SC:admin# 74-20 config pim6 register_probe_time Description This command is used to configure the PIM6-SM register probe time.
  • Page 840 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config pim6 register_suppression_time <sec 0-65535> Parameters register_suppression_time - Specifies the period during which a PIM DR stops sending Register-encapsulated data to the RP after receiving a Register-Stop message. <sec 0-65535>...
  • Page 841 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the multicast routing keepalive period to be 220 seconds: DGS-3620-28SC:admin# config pim6 keepalive_period 220 Command: config pim6 keepalive_period 220 Success. DGS-3620-28SC:admin# 74-23 show pim6 mroute s_g Description This command is used to display the multicast routing information for (S, G) or (S, G, rpt) entries generated by PIM6.
  • Page 842 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Group : FF13::200 Source : 2001::1111 Group : FF13::300 Source : 2001::1111 Total Entries: 4 DGS-3620-28SC:admin# Check the detailed information for a specific multicasting route entry by specifying the options in the command.
  • Page 843 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Join Expiry Timer : 10 sec Assert State : NoInfo Assert Timer : 0 sec Assert Winner Address Assert Winner Metric Pref Assert Winner Metric DGS-3620-28SC:admin# To show the whole IPv6 multicast routing table of (S, G, rpt) generated on the switch: DGS-3620-28SC:admin# show pim6 mroute s_g rpt Command: show pim6 mroute s_g (S, G, rpt) Entry Table...
  • Page 844 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To show the detailed information on a downstream interface of the multicast routing entry (S, G, rpt), specify the group address, source address and interface name. DGS-3620-28SC:admin# show pim6 mroute s_g rpt group FF13::100 source 2001::1111 ipif n20 Command: show pim6 mroute s_g rpt group FF13::100 source 2001::1111 ipif n20 Group Address...
  • Page 845 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide RP Address : 3FFE:10:10::153 Group : FF13::101 Upstream : n2 RP Address : 3FFE:10:10::153 Group : FF13::102 Upstream : n2 RP Address : 3FFE:10:10::153 Total Entries: 3 DGS-3620-28SC:admin# Check the detailed information for a specific multicasting routing entry by specifying the options in the command.
  • Page 846 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Assert Winner Address Assert Winner Metric Pref : 0 Assert Winner Metric DGS-3620-28SC:admin#...
  • Page 847: Chapter 75 Policy Route Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 75 Policy Route Commands create policy_route name <policyroute_name 32> delete policy_route name <policyroute_name 32> config policy_route name <policyroute_name 32> acl profile_id <value 1-6> access_id <value 1- 256> nexthop <ipaddr> state [enable | disable] show policy_route 75-1 create policy_route name...
  • Page 848 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <policyroute_name 32> - The policy route name. The maximum length is 32 characters. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an IP route entry in the switch’s IP routing table named “duhon”: DGS-3620-28SC:admin#delete policy_route name duhon Command: delete policy_route name duhon Success.
  • Page 849 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure all packets which match ACL rule profile ID=1 and access ID=1, and then route to 20.1.1.100: DGS-3620-28SC:admin#config policy_route name danillo acl profile_id 1 access_id 1 nexthop 20.1.1.100 state enable...
  • Page 850 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show policy_route Command: show policy_route Policy Routing Table --------------------- Name Profile ID Access ID Next Hop State -------------------------------- ---------- --------- --------------- -------- rname 192.168.69.1 Enabled Total Entries: 1 DGS-3620-28SC:admin#...
  • Page 851: Chapter 76 Port Security Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 76 Port Security Commands config port_security ports [<portlist> | all] [{admin_state [enable | disable] | max_learning_addr <max_lock_no 0-3328> | lock_address_mode [permanent | deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32> | vlanid <vidlist>] max_learning_addr [<max_lock_no 0-3328>...
  • Page 852 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN of the entry is removed or the port are removed from the VLAN, or port security is disabled on the port where the address resides. deleteontimeout - The locked addresses can be aged out after aging timer expires. deleteonreset - This address will be removed if the switch is reset or reboots.
  • Page 853 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config port_security system max_learning_addr [<max_lock_no 1-3328> | no_limit] Parameters <max_lock_no 1-3328> - Specify the maximum number of MAC address entries that can be learned by the system. If the setting is smaller than the number of current learned entries on all enabled ports, the command will be rejected.
  • Page 854 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of entries that can be learned at 64: DGS-3620-28SC:admin#config port_security vlan vlanid 1 max_learning_addr 64 Command: config port_security vlan vlanid 1 max_learning_addr 64 Success.
  • Page 855 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 76-5 clear port_security_entry Description This command is used to clear the MAC entries learned from the specified port(s) or VLAN(s) for the port security function. Format clear port_security_entry {ports [<portlist> | all] | {[vlan <vlan_name 32> | vlanid <vidlist>]}} Parameters ports - (Optional) The port-security entries learned on the specified port will be cleared.
  • Page 856 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display a port security entry: DGS-3620-28SC:admin#show port_security_entry Command: show port_security_entry MAC Address Port Lock Mode ----------------- ---- ---------- 00-00-00-00-00-01 DeleteOnTimeout Total Entry Number: 1 DGS-3620-28SC:admin# 76-7 show port_security...
  • Page 857 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide System Maximum Address : 512 VLAN Configuration (Only VLANs with limitation are displayed) VLAN Name Max. Learning Addr. ---- -------------------------------- ------------------- default TstVLAN DGS-3620-28SC:admin# To display the port security information of switch ports 1 to 6: DGS-3620-28SC:admin#show port_security ports 1-6 Command: show port_security ports 1-6 Port...
  • Page 858 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 76-9 disable port_security trap_log Description This command is used to disable a port security trap/log. If the port security trap is disabled, no trap will be sent out for MAC violations, and no log will be recorded. Format disable port_security trap_log Parameters...
  • Page 859: Chapter 77 Power Over Ethernet (Poe) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 77 Power over Ethernet (PoE) Commands config poe ports [all | <portlist>] {state [enable | disable] | [time_range <range_name 32> | clear_time_range] | priority [critical | high | low] | power_limit [class_0 | class_1 | class_2 | class_3 | user_define <value 1000-35000>]} config poe system {units [<unitlist>...
  • Page 860: Config Poe System

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide power_limit - (Optional) Specifies the per-port power limit. If a port exceeds its power limit, it will be shut down. Based on the industry standard, 802.3af, there are 5 kinds of PD classes, class 0, class 1, class 2, and class 3.
  • Page 861: Show Poe Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide power_limit - (Optional) Specifies the power budget of the PoE system. <value 37-760> - Enter the power budger limit value here. This value must be between 37 and 760. power_disconnect_method - (Optional) Specifies the disconnection method that will be used when the power budget is running out.
  • Page 862: Show Poe System

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, the system will display the status for all the ports. Restrictions None. Example To display PoE port configurations on port 1 to 6: DGS-3620-28PC:admin# show poe ports 1:1-1:6 Command: show poe ports 1:1-1:6 Port...
  • Page 863 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters units - (Optional) Specifies the unit list, that will be displayed, here. <unitlist> - Enter the unit list, used for this display, here. If no parameter is specified, the system will display the status of all the supported PoE units in the system.
  • Page 864: Chapter 78 Power Saving Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 78 Power Saving Commands config power_saving {state [enable | disable] | length_detection [enable | disable]} show power_saving 78-1 config power_saving Description This command is used to configure the power saving for the system. By default, the power saving mode is enabled and the length detection mode is disabled.
  • Page 865 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config power_saving state enable Command: config power_saving state enable Success DGS-3620-28SC:admin# 78-2 show power_saving Description This command is used to display power saving information. Format show power_saving Parameters None.
  • Page 866: Chapter 79 Precision Time Protocol (Ptp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 79 Precision Time Protocol (PTP) Commands enable ptp disable ptp config ptp mode [boundary | p2p_transparent | e2e_transparent] config ptp transport protocol [ethernet | udp] config ptp clock domain_number <value 0-127> {unit <unit_id 1-12>} {domain_name <string 1- 32>} config ptp boundary {priority1 <value 0-255>...
  • Page 867 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# enable ptp Command: enable ptp Success. DGS-3620-28SC:admin# 79-2 disable ptp Description This command is used to disable the PTP function globally. When the PTP function is disabled, all switch ports will forward the PTP packets according to the multicast filtering configuration.
  • Page 868 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide is receiving the PTP event messages. Ports on peer-to-peer transparent clocks use the peer delay mechanism to calculate the propagation delay between PTP ports. An End-to-End Transparent Clock supports the use of an end-to-end delay measurement mechanism between the slave clock and the master clock.
  • Page 869 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To specify the transport protocol of PTP as IEEE802.3 Ethernet frames: DGS-3620-28SC:admin# config ptp transport protocol ethernet Command: config ptp transport protocol ethernet Success. DGS-3620-28SC:admin# 79-5 config ptp clock domain_number Description This command is used to configure the PTP clock common attribute of the domain number.
  • Page 870 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To configure the domain number of the PTP clock as 1 and assign a domain name of internal_domain for the unit 1, when the stacking mode is enabled. DGS-3620-28SC:admin#config ptp clock domain_number 1 unit 1 domain_name internal_domain Command: config ptp clock domain_number 1 unit 1 domain_name internal_domain...
  • Page 871 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 79-7 config ptp ports Description This command is used to configure the per port state of the PTP clock. PTP port active state should meet the following three conditions: ...
  • Page 872 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - Specifies the list of port used for this configuration. <portlist> - Enter the list of port used for this configuration here. all - Specifies that all the ports will be used for this configuration. announce - (Optional) Specifies that the announce options will be configured.
  • Page 873 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To configure the announce timeout attribute of ports 1-4 to 4 seconds, which is about 4*Announce interval: DGS-3620-28SC:admin# config ptp boundary ports 1:1-1:4 announce timeout 4 Command: config ptp boundary ports 1:1-1:4 announce timeout 4 Success.
  • Page 874 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 79-9 config ptp p2p_transparent ports Description This command is used to configure the pdelay_request message attribute for the message interval of the P2P transparent clock. Format config ptp p2p_transparent ports [<portlist> | all] pdelay_req_interval <sec 1-32> Parameters ports - Specifies the list of port used for this configuration.
  • Page 875 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the global PTP configuration: DGS-3620-28SC:admin# show ptp Command: show ptp PTP State Setting : Enabled PTP Mode Setting Boundary Clock PTP Transport Protocol Setting PTP Clock Domain Number Setting PTP Clock Domain Name Setting Internal Domain DGS-3620-28SC:admin#...
  • Page 876 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock Command: show ptp clock PTP State : Enabled PTP Clock Mode Boundary Clock PTP Transport Protocol PTP Clock Domain Number PTP Clock Domain Name internal_domain PTP Clock Identity ACDE48FFFE6789AB...
  • Page 877 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PTP Steps Removed PTP Last Offset +110 ns PTP Mean Path Delay 120 second PTP Enabled Ports : 1:1-1:4 Box ID: 2 PTP State : Enabled PTP Clock Mode Boundary Clock PTP Transport Protocol PTP Clock Domain Number...
  • Page 878 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock parent Command: show ptp clock parent PTP Parent Port Identity ACDE48FFFE6789AB PTP Parent Port Number PTP Grandmaster Identity ACDE48FFFE9789AD PTP Grandmaster Clock Class PTP Grandmaster Clock Accuracy 100ns PTP Grandmaster Priority 1 PTP Grandmaster Priority 2...
  • Page 879 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock parent Command: show ptp clock parent Box ID: 1 PTP Parent Port Identity ACDE4823456789AB PTP Parent Port Number PTP Grandmaster Identity ACDE4823659789AD PTP Grandmaster Clock Class PTP Grandmaster Clock Accuracy 100ns PTP Grandmaster Priority 1...
  • Page 880 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp ports 1:1-1:4 Command: show ptp ports 1:1-1:4 The active attributes: : Delay Mechanism : Announce Interval ART : Announce Receipt Timeout : Synchronization Interval DRIM: Delay_Request Interval-Master DRIS: Delay_Request Interval-Slave PDRI: Pdelay_Request Interval PMPD: Peer Mean Path Delay...
  • Page 881 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports – (Optional) Specifies the list of port used for this display. <portlist> - Enter the list of port used for this display here. all - Specifies that all the ports will be used for this display. Restrictions None.
  • Page 882 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ptp p2p_transparent ports [<portlist> | all] Parameters ports - Specifies the list of port used for this display. <portlist> - Enter the list of port used for this display here. all - Specifies that all the ports will be used for this display.
  • Page 883 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the current records of the foreign master data set for special ports 1:1-1:3 of the boundary clock: DGS-3620-28SC:admin#show ptp foreign_master_records ports all Command: show ptp foreign_master_records ports all FM Port Identity : The clock identity of the Foreign Master Port FM Port Number...
  • Page 884: Chapter 80 Protocol Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 80 Protocol VLAN Commands create dot1v_protocol_group group_id <id> group_name <name 32> config dot1v_protocol_group [group_id <id> | group_name <name 32>] [add protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value> | delete protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value>] delete dot1v_protocol_group [group_id <id>...
  • Page 885 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 80-2 config dot1v_protocol_group Description This command is used to add a protocol to a protocol group. The selection of a protocol can be a pre-defined protocol type or a user defined protocol. Format config dot1v_protocol_group [group_id <id>...
  • Page 886 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add a protocol IPv6 to protocol group 4: DGS-3620-28SC:admin# config dot1v_protocol_group group_id 4 add protocol ethernet_2 86dd Command: config dot1v_protocol_group group_id 4 add protocol ethernet_2 86dd Success.
  • Page 887 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 80-4 show dot1v_protocol_group Description This command is used to display the protocols defined in protocol groups. Format show dot1v_protocol_group {group_id <id> | group_name <name 32>} Parameters group_id - (Optional) Specify the group ID to be displayed. <id>...
  • Page 888: Show Port Dot1V

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config port dot1v ports [<portlist> | all] [add protocol_group [group_id <id>| group_name <name 32>] [vlan <vlan_name 32> | vlanid <id>] {priority <value 0-7>} | delete protocol_group [group_id <id> | all]] Parameters <portlist>...
  • Page 889 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist> - Specify a range of ports to be displayed. Note: If no parameter is specified, information for all ports will be displayed. Restrictions None.
  • Page 890: Chapter 81 Qos Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 81 QoS Commands config bandwidth_control [<portlist> | all] {rx_rate [no_limit | <value 64-10240000>] | tx_rate [no_limit | <value 64-10240000>]}(1) show bandwidth_control {<portlist>} config per_queue bandwidth_control {ports [<portlist> | all]} <cos_id_list 0-7> {{min_rate [no_limit | <value 64-10240000>]} max_rate [no_limit | <value 64-10240000>]}(1) show per_queue bandwidth_control {<portlist>} config scheduling {ports [<portlist>...
  • Page 891 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure port bandwidth: DGS-3620-28SC:admin#config bandwidth_control 1-10 tx_rate 1024 Command: config bandwidth_control 1-10 tx_rate 1024 Success.
  • Page 892 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit DGS-3620-28SC:admin# 81-3 config per_queue bandwidth_control Description This command is used to set the bandwidth control for each specific egress queue on specified ports.
  • Page 893: Config Scheduling

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Granularity: TX: 64. Actual Rate: MAX: 64. Success. DGS-3620-28SC:admin# 81-4 show per_queue bandwidth_control Description This command is used to display the bandwidth control setting of per egress queue for each port. Format show per_queue bandwidth_control {<portlist>} Parameters...
  • Page 894 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config scheduling {ports [<portlist> | all]} <class_id 0-7> [strict | weight <value 1-127>] Parameters ports - (Optional) Specifies the range of ports to be configured. <portlist> - Enter the list of ports here. all - Specifies that all the ports will be used.
  • Page 895: Show Scheduling

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specifies the range of ports to be configured. <portlist> - Enter the list of ports here. all - Specifies that all the ports will be used. strict - Specifies that all the queues will operate in strict mode.
  • Page 896 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show scheduling Command: show scheduling QOS Output Scheduling On Port: 1 Class ID Weight -------- ------ Class-0 Class-1 Class-2 Class-3 Class-4 Class-5 Class-6 Class-7 QOS Output Scheduling On Port: 2 Class ID Weight --------...
  • Page 897 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show scheduling_mechanism {<portlist>} Parameters <portlist> - (Optional) Specifies a range of ports to be displayed. Restrictions None. Example To display the scheduling mechanism for all ports: DGS-3620-28SC:admin#show scheduling_mechanism Command: show scheduling_mechanism Port Mode...
  • Page 898 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-9 config 802.1p user_priority Description This command is used to configure the way by which the switch will map an incoming packet, based on its 802.1p user priority, to one of the eight available hardware priority queues on the switch.
  • Page 899 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-10 show 802.1p user_priority Description This command is used to display 802.1p user priority. Format show 802.1p user_priority {<portlist>} Parameters <portlist> - (Optional) Specifies the range of ports to be configured. Restrictions None.
  • Page 900 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-11 config 802.1p default_priority Description This command is used to specify default priority for untagged packets received on a port of the switch. Format config 802.1p default_priority [<portlist> | all ] <priority 0-7> Parameters <portlist>...
  • Page 901 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display all ports with 802.1p default priority. Restrictions None.
  • Page 902 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 81-14 disable hol_prevention Description This command is used to disable head of line prevention on the switch. Format disable hol_prevention Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable HOL prevention on the switch: DGS-3620-28SC:admin#disable hol_prevention...
  • Page 903: Config Dscp Trust

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display HOL prevention state on the switch: DGS-3620-28SC:admin#show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-3620-28SC:admin# 81-16 config dscp trust Description This command is used to enable or disable the DSCP trust state on specified ports. Format config dscp trust [<portlist>|all] state [enable | disable] Parameters...
  • Page 904: Config Dscp Map

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - A range of ports to display. If not specifying any ports, the DSCP trust status for all ports on the switch will be displayed. Restrictions Only Administrator, Operator level users can issue this command.
  • Page 905: Show Dscp Map

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator level users can issue this command. Example In the case of a product supporting per-port DSCP mapping configuration, to configure the mapping of DSCP priority 1 to priority 1: DGS-3620-28SC:admin#config dscp map 1:1-1:8 dscp_priority 1 to priority 1 Command: config dscp map 1:1-1:8 dscp_priority 1 to priority 1 Success.
  • Page 906 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example In the case of a product supporting per port configuration.,To show the DSCP map configuration on port 1:1. DGS-3620-28SC:admin#show dscp map 1 dscp_priority Command: show dscp map 1 dscp_priority DSCP to 802.1p Priority Mapping: Port 1 DSCP 0-7 is mapped to 0...
  • Page 907: Chapter 82 Q-In-Q Command

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 82 Q-in-Q Command enable qinq disable qinq show qinq config qinq ports [<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex 0x1-0xffff>...
  • Page 908: Disable Qinq

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 82-2 disable qinq Description This command is used to disable Q-in-Q. When Q-in-Q is disabled, all dynamic learned L2 addresses will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
  • Page 909: Config Qinq Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display Q-in-Q: DGS-3620-28SC:admin#show qinq Command: show qinq QinQ Status : Enabled DGS-3620-28SC:admin# 82-4 config qinq ports Description This command is used to configure Q-in-Q port parameters on this Switch. Format config qinq ports [<portlist>...
  • Page 910 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 82-5 config qinq inner_tpid Description The command is used to configure the inner TPID of the system. The inner TPID is used to decide if the ingress packet is c-tagged. Inner tag TPID is per system configurable. This command is used in the ‘per-system’...
  • Page 911: Show Qinq Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the inner TPID of the system: DGS-3620-28SC:admin#show qinq inner_tpid Command: show qinq inner_tpid Inner TPID: 0x8100 DGS-3620-28SC:admin# 82-7 show qinq ports Description This command is used to display the Q-in-Q configuration of ports. Format show qinq ports {<portlist>} Parameters...
  • Page 912 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide --------------------------------------------------------- Role: Miss Drop: Disabled Outer Tpid: 0x8100 Use Inner Priority: Disabled Add Inner Tag: Disabled DGS-3620-28SC:admin# 82-8 create vlan_translation ports Description This command is used to create translation relationships between C-VLAN and S-VLAN. This setting will not be effective when the Q-in-Q mode is disabled.
  • Page 913 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To add S-tag with SVID 300 and 802.1p priority 5, if incoming packet with CVID 30: DGS-3620-28SC:admin#create vlan_translation ports 1 add cvid 30 svid 300 priority 5 Command: create vlan_translation ports 1 add cvid 30 svid 300 priority 5 Success.
  • Page 914 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show vlan_translation {[ports <portlist> | cvid <vidlist>]} Parameters ports - Specify to display the C-VLAN based VLAN translation rules of the ports. <portlist> - Specify a range of ports to be displayed. cvid - Specify to display the rules for the specified CVIDs.
  • Page 915: Chapter 83 Routing Information Protocol (Rip) Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 83 Routing Information Protocol (RIP) Command List enable rip config rip [ipif <ipif_name 12> | all] {authentication [enable <password 16> | disable] | tx_mode [disable | v1_only | v1_compatible | v2_only] | rx_mode [v1_only | v2_only | v1_or_v2 | disable] | state [enable | disable]}(1) config rip timers {update <sec 5-65535>...
  • Page 916 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config rip [ipif <ipif_name 12> | all] {authentication [enable <password 16> | disable] | tx_mode [disable | v1_only | v1_compatible | v2_only] | rx_mode [v1_only | v2_only | v1_or_v2 | disable] | state [enable | disable]}(1) Parameters ipif_name - Specifies the IP interface name used for this configuration.
  • Page 917 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config rip timers {update <sec 5-65535> | timeout <sec 5-65535> | garbage_collection <sec 5-65535>} (1) Parameters update - (Optional) Specifies the value of the rate at which RIP updates are sent. <sec 5-65535>...
  • Page 918 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable RIP: DGS-3620-28SC:admin# disable rip Command: disable rip Success. DGS-3620-28SC:admin# 83-5 show rip Description This command is used to display the RIP configuration for one or all the IP interfaces. Format show rip {ipif <ipif_name 12>} Parameters...
  • Page 919 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show rip Command: show rip RIP Global State : Enabled Update Time : 120 seconds Timeout Time : 300 seconds Garbage Collection Time : 150 seconds RIP Interface Settings Interface IP Address TX Mode...
  • Page 920: Chapter 84 Ripng Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 84 RIPng Commands enable ripng disable ripng show ripng {ipif <ipif_name 12>} config ripng {method [no_horizon | split_horizon | poison_reverse] | update <sec 5-65535> | expire <sec 1-65535> | garbage_collection <sec 1-65535>} (1) config ripng ipif [<ipif_name 12>...
  • Page 921 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To disable RIPng globally: DGS-3620-28SC:admin# disable ripng Command: disable ripng Success.
  • Page 922 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ripng Command: show ripng Global State: Disabled Method: Split Horizon Update Time: 30 seconds Expire Time: 180 seconds Garbage Collection Time: 120 seconds Interface State Metric ----------------------------------------------------- Total Entries : 0 DGS-3620-28SC:admin# 84-4...
  • Page 923 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ripng method poison_reverse Command: config ripng method poison_reverse Success. DGS-3620-28SC:admin# 84-5 config ripng ipif Description This command is used to specify the RIPng state and metric value for one or all interfaces Format config ripng ipif [<ipif_name 12>...
  • Page 924: Chapter 85 Rspan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 85 RSPAN Commands enable rspan disable rspan create rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] delete rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] config rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] [redirect [add | delete] ports <portlist>...
  • Page 925: Create Rspan Vlan

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the RSPAN globally: DGS-3620-28SC:admin#disable rspan Command: disable rspan Success. DGS-3620-28SC:admin# 85-3 create rspan vlan Description This command is used to create an RSPAN VLAN.
  • Page 926: Delete Rspan Vlan

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To create an RSPAN VLAN entry by VLAN ID “3”: DGS-3620-28SC:admin#create rspan vlan vlan_id 3 Command: create rspan vlan vlan_id 3 Success. DGS-3620-28SC:admin# 85-4 delete rspan vlan Description This command is used to delete an RSPAN VLAN.
  • Page 927: Config Rspan Vlan

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 85-5 config rspan vlan Description This command is used by the source switch to configure the source setting for the RSPAN VLAN. The redirect command is used by the intermediate or last switch to configure the output port of the RSPAN VLAN packets, and makes sure that the RSPAN VLAN packets can egress to the redirect ports.
  • Page 928: Show Rspan

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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. DGS-3620-28SC:admin# To configure an RSPAN source entry for per flow RSPAN, without any source ports: DGS-3620-28SC:admin#config rspan vlan vlan_id 2 source Command: config rspan vlan vlan_id 2 source Success.
  • Page 929 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide RSPAN : Enabled RSPAN VLAN ID : 63 ------------------- Mirror Group ID Target Port : 1:1 Source Ports : 1:2-1:5 : 1:2-1:5 Redirect Ports : 1:9-1:12 Total RSPAN VLAN : 1 DGS-3620-28SC:admin# To display all RSPAN settings: DGS-3620-28SC:admin# show rspan...
  • Page 930: Chapter 86 Safeguard Engine Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 86 Safeguard Engine Commands config safeguard_engine {state [enable | disable] | utilization {rising <value 20-100> | falling <value 20-100>} (1)| trap_log [enable | disable] | mode [strict | fuzzy]} (1) show safeguard_engine 86-1 config safeguard_engine...
  • Page 931 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the safeguard engine: DGS-3620-28SC:admin#config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable Command: config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable Success.
  • Page 932: Chapter 87 Sflow Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 87 sFlow Commands enable sflow disable sflow show sflow create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0- 65535> | tx_rate <value 0-65535> | maxheadersize <value 18-256>} config sflow flow_sampler ports [<portlist>...
  • Page 933: Disable Sflow

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 87-2 disable sflow Description This command is used to disable the sFlow function. Format disable sflow Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the sFlow function: DGS-3620-28SC:admin#disable sflow...
  • Page 934 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the sFlow information: DGS-3620-28SC:admin#show sflow Command: show sflow sFlow Version : V5 sFlow Address : 10.90.90.90 sFlow AddressV6: FE80::201:2FF:FE03:400 sFlow State : Enabled DGS-3620-28SC:admin# 87-4 create sflow flow_sampler ports Description This command is used to create the sFlow flow sampler.
  • Page 935 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 200 maxheadersize 120 Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 200 maxheadersize 120 Success. DGS-3620-28SC:admin# 87-5 config sflow flow_sampler ports Description This command is used to configure the sFlow flow sampler parameters. Format config sflow flow_sampler ports [<portlist>...
  • Page 936 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 87-6 delete sflow flow_sampler ports Description This command is used to delete the sFlow flow sampler. Format delete sflow flow_sampler ports [<portlist> | all] Parameters <portlist> - Specify the list of ports to be deleted. all - Specify to delete all ports.
  • Page 937 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <sec 1-2000000> - Specify the time out value, in seconds, between 1 and 2000000. infinite - Specify to never time out. collectoraddress - (Optional) Specify the IP address of the analyzer server. <ipaddr>...
  • Page 938 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 87-9 config sflow analyzer_server Description This command is used to configure the sFlow analyzer server information. More than one collector with the same IP address can be specified if the UDP port numbers are unique. Format config sflow analyzer_server <value 1-4>...
  • Page 939 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 87-10 show sflow analyzer_server Description This command is used to display sFlow analyzer server information. Format show sflow analyzer_server Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display sFlow analyzer server information: DGS-3620-28SC:admin#show sflow analyzer_server...
  • Page 940 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Specify the ports to be configured. all - Specify to configure all ports. analyzer_server_id - Specify the ID of an analyzer server where the packet will be forwarded. <value 1-4>...
  • Page 941 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config sflow counter_poller ports 1 interval 50 Command: config sflow counter_poller ports 1 interval 50 Success. DGS-3620-28SC:admin# 87-13 delete sflow counter_poller ports Description This command is used to delete the sFlow counter poller. Format delete sflow counter_poller ports [<portlist>...
  • Page 942 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display sFlow counter poller information for the ports that have been created: DGS-3620-28SC:admin#show sflow counter_poller Command: show sflow counter_poller Port Analyzer Server ID...
  • Page 943: Chapter 88 Single Ip Management Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 88 Single IP Management Commands 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 944 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 88-2 disable sim Description This command is used to configure the single IP management on the switch as disabled. Format disable sim Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable single IP management: DGS-3620-28SC:admin#disable sim...
  • Page 945 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To show the self information in detail: DGS-3620-28SC:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 1.00.034 Device Name MAC Address : 00-01-02-03-04-00 Capabilities : L3 Platform...
  • Page 946 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 00-55-55-00-55-00 DGS-3620-28SC-DC L3 Switch 140 2.00.009 default master Total Entries: 2 DGS-3620-28SC:admin# To show other groups information in summary: DGS-3620-28SC:admin#show sim group Command: show sim group SIM Group Name : default MAC Address Platform / Hold...
  • Page 947 DGS-3620-28SC:admin#reconfig member_id 1 Command: reconfig member_id 1 DGS-3620-28SC:admin# DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.00.015 Copyright(C) 2012 D-Link Corporation. All rights reserved. DGS-3620-28SC:admin# 88-5 config sim_group Description This command is used to configure group information on the switch.
  • Page 948 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <candidate_id 1-100> - Specify to add a specific candidate to the group. <password> - (Optional) Specify the password of a candidate, if necessary. delete - Specify to remove a specific member from the group. <member_id 1-32>...
  • Page 949 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide group_name - (Optional) If commander, users can specify the name of the group. <groupname 64> - If commander, users can specify the name of the group. The maximum length is 64 characters.
  • Page 950 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config sim hold_time 200 Command: config sim hold_time 200 Success. DGS-3620-28SC:admin# 88-7 download sim_ms Description This command is used to download firmware or configuration from a TFTP server to indicated devices.
  • Page 951 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To download configuration: DGS-3620-28SC:admin#download sim_ms configuration_from_tftp 10.55.47.1 D:\test.txt members 1-3 Commands: download sim_ms configuration_from_tftp 10.55.47.1 D:\test.txt members 1-3 This device is updating configuration. Please wait several minutes... Download Status : MAC Address Result...
  • Page 952 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide This device is uploading configuration. Please wait several minutes... Upload Status: MAC Address Result ---------------- ------- 00-01-02-03-04-00 Success DGS-3620-28SC:admin#...
  • Page 953: Snmpv1/V2/V3 Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 89 SNMPv1/v2/v3 Commands create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5 <auth_password 8-16> | sha <auth_password 8-20>] priv [none | des <priv_password 8-16>] | by_key auth [md5 <auth_key 32-32>...
  • Page 954: Delete Snmp User

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide to 32 characters. encrypted - (Optional) Specify whether the password appears in encrypted format. by_password auth - Indicate the input password for authentication sha - Specify the HMAC-SHA-96 authentication level between 8 and 20 characters. <auth_password 8-20>...
  • Page 955: Show Snmp User

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <user_name 32> - Specify the name of the user on the host to be deleted. The range is 1 to 32 characters. Restrictions Only Administrator-level users can issue this command. Example To delete an SNMP user: DGS-3620-28SC:admin#delete snmp user dlink...
  • Page 956: Show Snmp Groups

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries : 1 DGS-3620-28SC:admin# 89-4 show snmp groups Description This command is used to display the names of groups on the switch, and the security model, level, and the status of the different views.
  • Page 957: Create Snmp View

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 3 DGS-3620-28SC:admin# 89-5 create snmp view Description This command is used to assign views to community strings to limit which MIB objects an SNMP manager can access. Format create snmp view <view_name 32>...
  • Page 958: Show Snmp View

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specify to view all records. <oid> - Specify the object-identified tree (the MIB tree). Restrictions Only Administrator-level users can issue this command. Example To remove a view record: DGS-3620-28SC:admin#delete snmp view dlinkview all Command: delete snmp view dlinkview all Success.
  • Page 959: Create Snmp Community

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide CommunityView 1.3.6.1.6.3 Excluded CommunityView 1.3.6.1.6.3.1 Included Total Entries: 8 DGS-3620-28SC:admin# 89-8 create snmp community Description This command is used to create an SNMP community string. Use an SNMP community string to define the relationship between the SNMP manager and the agent.
  • Page 960: Show Snmp Community

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete snmp community <community_string 32> Parameters <community_string 32> - Specify the community string that will be deleted. Restrictions Only Administrator-level users can issue this command. Example To delete an SNMP community: DGS-3620-28SC:admin#delete snmp community dlink Command: delete snmp community dlink Success.
  • Page 961 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Community Name View Name Access Right ---------------------------- ------------------------ ------------ private CommunityView read_write public CommunityView read_only Total Entries : 2 DGS-3620-28SC:admin# 89-11 create snmp community_masking view Description This command is used to choose a security method for creating an SNMP community string, but the community string encrypted or not depends on the SNMP community encryption state.
  • Page 962: Config Snmp Engineid

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 89-12 config snmp engineID Description This command is used to configure an identifier for the SNMP engine on the switch. Associated with each SNMP entity is a unique engine ID. Format config snmp engineID <snmp_engineID 10-64>...
  • Page 963: Create Snmp Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show snmp engineID Command: show snmp engineID SNMP Engine ID : 1023457890 DGS-3620-28SC:admin# 89-14 create snmp group Description This command is used to create a new SNMP group. Format create snmp group <groupname 32>...
  • Page 964: Delete Snmp Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 89-15 delete snmp group Description This command is used to remove an SNMP group. Format delete snmp group <groupname 32> Parameters <groupname 32> - Specify the name of the group that will be deleted. Restrictions Only Administrator-level users can issue this command.
  • Page 965: Delete Snmp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide is specified, the auth_string presents the user name, and it must be one of the entries in the user table. Restrictions Only Administrator level users can issue this command. Example To create a recipient of an SNMP operation: DGS-3620-28SC:admin#create snmp host 10.48.74.100 v3 noauth_nopriv initial...
  • Page 966: Show Snmp Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 89-18 show snmp host Description This command is used to display the recipient for which the traps are targeted. Format show snmp host {<ipaddr>} Parameters <ipaddr> - (Optional) Specify the IP address of the recipient for which the traps are targeted. Note: If no parameter is specified, all SNMP hosts will be displayed.
  • Page 967 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, all SNMP IPv6 hosts will be displayed. Restrictions None. Example To display the recipient for which the traps are targeted: DGS-3620-28SC:admin# show snmp v6host Command: show snmp v6host SNMP Host Table -------------------------------------------------------------------...
  • Page 968 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# When creating an SNMP community string after the encryption state has been enabled, the community string will be displayed as an encrypted string (six "*"), otherwise displayed as plaintext, for example: DGS-3620-28SC:admin# show snmp community Command: show snmp community...
  • Page 969 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 89-22 show community_encryption Description This command is used to display the encryption state on the SNMP community string. Format show community_encryption Parameters None. Restrictions None. Example To show the encryption state on the SNMP community string: DGS-3620-28SC:admin# show community_encryption Command: show community_encryption SNMP Community Encryption State : Enabled...
  • Page 970: Chapter 90 Spanning Tree Protocol (Stp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 90 Spanning Tree Protocol (STP) commands show stp show stp instance {<value 0-64>} show stp ports {<portlist>} show stp mst_config_id create stp instance_id <value 1-64> delete stp instance_id <value 1-64> config stp instance_id <value 1-64>...
  • Page 971: Show Stp Instance

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show stp Command: show stp STP Bridge Global Settings ----------------------------- STP Status : Enabled STP Version : MSTP Max Age : 20 Forward Delay : 15 Max Hops : 20 TX Hold Count Forwarding BPDU...
  • Page 972: Show Stp Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC: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 973 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide MSTP Port Information Port Index Hello Time : 2 /2 , Port STP : enabled External PathCost : Auto/200000 Edge Port : No /No , : False/No Port RestrictedRole : False, Port RestrictedTCN : False Port Forward BPDU : Enabled MSTI...
  • Page 974 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 90-5 create stp instance_id Description This command is used to create a new MST instance independent from the default Instance: CIST (Instance 0). After creating the MST instance, a user needs to configure the VLANs (using commands in 90-7), or the newly created MST instance will still be in a disabled state.
  • Page 975 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an MSTP instance: DGS-3620-28SC:admin#delete stp instance_id 2 Command: delete stp instance_id 2 Success. DGS-3620-28SC:admin# 90-7 config stp instance_id Description There are two different action types to deal with an MST instance. They are listed as follows: 1) add_vlan: To map specified VLAN lists to an existing MST instance.
  • Page 976: Enable Stp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 90-8 config stp mst_config_id Description This command is used to configure a configuration name or revision level in the MST configuration identification. The default configuration name is the MAC address of the bridge. Format config stp mst_config_id {revision_level <int 0-65535>...
  • Page 977: Disable Stp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable STP: DGS-3620-28SC:admin#enable stp Command: enable stp Success. DGS-3620-28SC:admin# 90-10 disable stp Description This command is used to disable STP functionality in every existing instance.
  • Page 978: Config Stp Version

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 90-11 config stp version Description This command is used to change STP version. If the version is configured as STP or RSTP, all currently running MSTIs should be disabled. If the version is configured as MSTP, the current chip design is enabled for all available MSTIs (assuming that CIST is enabled).
  • Page 979: Config Stp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <value 0-61440> - Specify the bridge priority value, which must be divisible by 4096. The default value is 32768. instance_id - Specify the identifier value, which is used to distinguish different STP instances. <value 0-64>...
  • Page 980: Config Stp Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - Specify to enable FBPDU. disable - Specify to disable FBPDU. nni_bpdu_addr - Specify to determine the BPDU protocol address for STP in service provide site. It can use 802.1d STP address, 802.1ad service provider STP address. dot1d - Specify to use an 802.1d STP address.
  • Page 981 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide auto - The bridge will delay for a period to become edge port if no bridge BPDU is received. p2p - Decide if this port is in Full-Duplex or Half-Duplex mode. true - Specify full-duplex mode.
  • Page 982 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-200000000> - Specify a value between 1 and 200000000. priority - Specify the Port Priority. <value 0-240> - Specify a value between 0 and 240. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure STP MST ports: DGS-3620-28SC:admin# config stp mst_ports 1 instance_id 0 internalCost auto...
  • Page 983: Chapter 91 Ssh Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 91 SSH Commands config ssh algorithm [3DES | AES128 | AES192 | AES256 | arcfour | blowfish | cast128 | twofish128 | twofish192 | twofish256 | MD5 | SHA1 | RSA | DSA] [enable | disable] show ssh algorithm config ssh authmode [password | publickey | hostbased] [enable | disable] show ssh authmode...
  • Page 984: Show Ssh Algorithm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config ssh algorithm DSA enable Success. DGS-3620-28SC:admin# 91-2 show ssh algorithm Description This command is used to display the SSH authentication algorithm. Format show ssh algorithm Parameters None.
  • Page 985: Config Ssh Authmode

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide : Enabled DGS-3620-28SC:admin# 91-3 config ssh authmode Description This command is used to update the user authentication for SSH configuration. Format config ssh authmode [password | publickey | hostbased] [enable | disable] Parameters password - Specify the user authentication method.
  • Page 986: Config Ssh User

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the SSH user authentication method: DGS-3620-28SC:admin#show ssh authmode Command: show ssh authmode The SSH Authentication Method: Password : Enabled Public Key : Enabled Host-based : Enabled DGS-3620-28SC:admin#...
  • Page 987: Config Ssh Server

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config ssh user danilo authmode publickey Command: config ssh user danilo authmode publickey Success. DGS-3620-28SC:admin# 91-6 show ssh user authmode Description This command is used to display SSH user information. Format show ssh user authmode Parameters...
  • Page 988: Enable Ssh

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ssh server {maxsession <int 1-8> | contimeout <sec 30-600> | authfail <int 2-20> | rekey [10min | 30min | 60min | never] | port <tcp_port_number 1-65535>}(1) Parameters maxsession - Specify the SSH server maximum session at the same time.
  • Page 989: Disable Ssh

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable SSH: DGS-3620-28SC:admin#enable ssh Command: enable ssh Success. DGS-3620-28SC:admin# 91-9 disable ssh Description This command is used to disable SSH server services. Format disable ssh Parameters...
  • Page 990 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To show SSH server: DGS-3620-28SC:admin# show ssh server Command: show ssh server The SSH Server Configuration Maximum Session Connection Timeout : 300 Authentication Fail Attempts Rekey Timeout : 60min TCP Port Number...
  • Page 991: Chapter 92 Ssl Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 92 SSL Commands download ssl certificate <ipaddr> certfilename <path_filename 64> keyfilename <path_filename 64> 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 }(1)} 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 }(1)} show ssl {certificate} show ssl cachetimeout...
  • Page 992: Enable Ssl

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide pkey.der Success. DGS-3620-28SC:admin# 92-2 enable ssl Description This command is used to enable the SSL status and its individual cipher suites. Using the enable ssl command will enable the SSL feature, which means SSLv3 and TLSv1. Each cipher suite must be enabled by this command.
  • Page 993: Disable Ssl

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 92-3 disable ssl Description This command is used to disable the SSL feature and supported ciphersuites. Format 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}(1)} Parameters ciphersuite - (Optional) This is used for configuring cipher suite combination.
  • Page 994: Show Ssl

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 92-4 show ssl Description This command is used to display the current SSL status and supported ciphersuites. Format show ssl {certificate} Parameters certificate - (Optional) Specify the certificate type. Restrictions None.
  • Page 995: Config Ssl Cachetimeout

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ssl cachetimeout Parameters None. Restrictions None. Example To show the SSL cache timeout: DGS-3620-28SC:admin# show ssl cachetimeout Commands: show ssl cachetimeout Cache timeout is 600 second(s) DGS-3620-28SC:admin# 92-6 config ssl cachetimeout...
  • Page 996 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Commands: config ssl cachetimeout 60 Success. DGS-3620-28SC:admin#...
  • Page 997: Chapter 93 Stacking Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 93 Stacking Commands config stacking_mode [disable | enable] config stacking force_master_role state [enable | disable] show stacking_mode show stack_information show stack_device config box_id current_box_id <value 1-12> new_box_id [auto | <value 1-12>] config box_priority current_box_id <value 1-12>...
  • Page 998 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config stacking force_master_role state [enable | disable] Parameters enable - Specifies that the Switch's Stacking Force Master Role state will be enabled. disable - Specifies that the Switch's Stacking Force Master Role state will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
  • Page 999 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show stacking_mode Command: show stacking_mode Stacking mode : Enabled DGS-3620-28SC:admin# 93-4 show stack_information Description This command displays stacking information. Format show stack_information Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display the stack information: DGS-3620-28SC:admin# show stack_information...
  • Page 1000 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide NOT_EXIST NOT_EXIST DGS-3620-28SC:admin# 93-5 show stack_device Description This command displays stack device information. Format show stack_device Parameters None. Restrictions None. Example To display the stack information: DGS-3620-28SC:admin# show stack_device Command: show stack_device Box ID Box Type...

This manual is also suitable for:

Dgs-3620-52tXstack dgs-3620 series

Table of Contents