Hide thumbs Also See for xStack DGS-3620:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack DGS-3620

  • Page 2: Table Of Contents

    Digital Diagnostic Monitoring (DDM) Commands ........... 447 Chapter 28 Distance Vector Multicast Routing Protocol (DVMRP) Commands ......454 Chapter 29 D-Link License Management System (DLMS) Commands ........460 Chapter 30 Domain Name System (DNS) Relay Commands ........... 462 Chapter 31 Domain Name System (DNS) Resolver Commands ..........
  • Page 3 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 38 File System Management Commands ..............502 Chapter 39 Filter Commands ..................... 512 Chapter 40 FTP Client Commands .................... 515 Chapter 41 Gratuitous ARP Commands ..................523 Chapter 42 Internet Group Management Protocol (IGMP) Commands........
  • Page 4 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 78 Packet Storm Commands ..................914 Chapter 79 Password Recovery Commands ................920 Chapter 80 Protocol Independent Multicast (PIM) Commands ..........923 Chapter 81 PIM6-SM Commands ....................941 Chapter 82 Policy Route Commands ..................
  • Page 5 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 118 Voice VLAN Commands ..................1235 Chapter 119 VLAN Commands....................1245 Chapter 120 VLAN Trunking Commands .................. 1262 Chapter 121 Web-based Access Control (WAC) Commands ........... 1266 Chapter 122 Weighted Random Early Detection (WRED) Commands ........
  • 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 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 command in the CLI has this feature, and complex commands have several layers of parameter prompting. 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.
  • Page 10 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show 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...
  • Page 11: Command Syntax Symbols

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide tacacs tech_support telnet terminal tftp time time_range traffic traffic_segmentation trap trusted_host udp_helper utilization vlan vlan_precedence vlan_translation vlan_translation_profile vlan_trunk voice_vlan vrrp wred DGS-3620-28PC: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 parentheses ( ) Indicates at least one or more of the values or arguments in the preceding syntax enclosed by braces must be specified. For example, in the syntax config dhcp_relay {hops <int 1-16>...
  • Page 13 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Stops the display of remaining pages when multiple pages are to be displayed. Refreshes the pages currently displayed. Displays the remaining pages without pausing between pages. 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 15> {encrypt [plain_text | sha_1] <password>} show account delete account <username 15>...
  • Page 15 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters admin - Specifies the name of the admin account. operator - Specifies the name of the operator account. power_user - Specifies a power user level account. The power user level is lower than the operator level and higher than the user level.
  • 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-28PC:admin#disable password encryption Command: disable password encryption Success. DGS-3620-28PC: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-28PC:admin# To configure the user password of the “administrator” account: DGS-3620-28PC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Success. DGS-3620-28PC: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 15> Parameters <username 15> - Enter 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-28PC: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 PIM6 : 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 DGS-3620-28PC:admin# show environment Command: show environment High Warning Temperature Threshold(Celsius) : Low Warning Temperature Threshold(Celsius) Unit Internal Power : Active External Power : Fail Right Fan 1 : Speed Low (3000 RPM) Right Fan 2 : Speed Low...
  • Page 23: Config Temperature Threshold

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To enable the warning temperature log state: DGS-3620-28PC:admin#config temperature log state enable Command: config temperature log state enable Success. DGS-3620-28PC:admin# 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 Format show serial_port Parameters None. Restrictions None. Example To display the console port setting: DGS-3620-28PC:admin#show serial_port Command: show serial_port Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins...
  • Page 25: Enable Clipaging

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To configure the baud rate: DGS-3620-28PC:admin# config serial_port baud_rate 9600 Command: config serial_port baud_rate 9600 Success. DGS-3620-28PC:admin# 2-14 enable clipaging Description This command is used to enable pausing of the screen display when show command output...
  • Page 26: Enable Telnet

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable clipaging Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable pausing of the screen display when show command output reaches the end of the page: DGS-3620-28PC:admin#disable clipaging Command: disable clipaging Success.
  • Page 27: Disable Telnet

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-17 disable telnet Description This command is used to disable Telnet. Format disable telnet Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable Telnet: DGS-3620-28PC:admin#disable telnet Command: disable telnet Success.
  • Page 28: Disable Web

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable HTTP and configure port number: DGS-3620-28PC:admin#enable web 80 Command: enable web 80 Note: SSL will be disabled if web is enabled. Success. DGS-3620-28PC:admin# 2-19 disable web Description This command is used to disable Web UI.
  • Page 29 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters config - (Optional) Specifies to save configuration. <pathname> - Enter the path name of the indicated configuration log - (Optional) Specifies to save log. all - (Optional) Specifies to save changes to currently active configuration and save logs. Note: If no keyword is specified, all changes will be saved to bootup configuration file.
  • Page 30 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-21 reboot Description This command is used to restart the switch. Format reboot {force_agree} Parameters force_agree – (Optional) Specify to immediately execute the reboot command without further confirmation. Restrictions Only Administrator-level users can issue this command.
  • Page 31 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To reset all the switch parameters except the IP address: DGS-3620-28PC:admin#reset Command: reset Are you sure to proceed with system reset except IP address?(y/n) Success.
  • Page 32 This command is used to log out of the switch. Format logout Parameters None. Restrictions None. Example To logout of the switch: DGS-3620-28PC:admin#logout Command: logout *********** * Logout * *********** DGS-3620-28PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.60.016 Copyright(C) 2013 D-Link Corporation. All rights reserved. UserName:...
  • Page 33: Config Terminal Width

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-25 clear Description This command is used to clear the terminal screen. Format clear Parameters None. Restrictions None. Example To clear the terminal screan: DGS-3620-28PC:admin#clear Command: clear 2-26 config terminal width Description This command is used to configure the terminal width.
  • Page 34: Show Terminal Width

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 2-27 show terminal width Description This command is used to display the configuration of the current terminal width. Format show terminal width Parameters None. Restrictions None. Example To display the configuration of the current terminal width: DGS-3620-28PC:admin#show terminal width...
  • Page 35 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To show device status, the number 1, 2, 3 etc represent the fan number: DGS-3620-28PC:admin# show device_status Command: show device_status Unit 1: Internal Power: Active External Power: Fail Left Fan : 1, 3 Fail...
  • Page 36 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipaddr> - Enter the gateway IP address. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the out-of-band management state: DGS-3620-28PC:admin#config out_band_ipif state disable Command: config out_band_ipif state disable Success.
  • Page 37: 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 38 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the 802.1X function: DGS-3620-28PC:admin#enable 802.1x Command: enable 802.1x Success. DGS-3620-28PC:admin# disable 802.1x Description This command is used to disable the 802.1X function.
  • Page 39 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> - Enter to add a user name. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 40 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete the user named “Tiberius”: DGS-3620-28PC:admin#delete 802.1x user Tiberius Command: delete 802.1x user Tiberius Success. DGS-3620-28PC: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 41 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 - Specifies the authentication protocol as RADIUS EAP. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the 802.1X RADIUS EAP: DGS-3620-28PC:admin#config 802.1x auth_protocol radius_eap...
  • Page 42 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-28PC:admin# To display the 802.1x state for ports 1 to 5: DGS-3620-28PC:admin# show 802.1x auth_state ports 1-4 Command: show 802.1x auth_state ports 1-4 Status:...
  • Page 43 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> - Enter a range of ports to be configured. all - Specifies to configure all ports.
  • Page 44 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the 802.1X PDU forwarding state on ports 1 to 2: DGS-3620-28PC:admin#config 802.1x fwd_pdu ports 1-2 enable Command: config 802.1x fwd_pdu ports 1-2 enable Success.
  • Page 45 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 46 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-28PC:admin# config 802.1x auth_parameter ports 1-20 direction both Command: config 802.1x auth_parameter ports 1-20 direction both Success.
  • Page 47 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 48 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config 802.1x max_users 2 Command: config 802.1x max_users 2 Success. DGS-3620-28PC: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 49 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> - Enter the static VLAN to be a guest VLAN. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To assign a static VLAN to be a guest VLAN: DGS-3620-28PC:admin# create 802.1x guest_vlan guestVLAN...
  • Page 50 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 51: 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-28PC: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-28PC:admin# 3-20 config radius add...
  • Page 52: Config Radius Delete

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <int 1-20> - The re-transmit value must be between 1 and 20. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To add a new RADIUS server: DGS-3620-28PC: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 53: Config Radius

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config radius delete <server_index 1-3> Parameters <server_index 1-3> - Enter the RADIUS server index. The range is from 1 to 3. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete a RADIUS server: DGS-3620-28PC:admin#config radius delete 1...
  • Page 54: Show Radius

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <udp_port_number 1-65535> - The authentication port value must be between 1 and 65535. default - Specifies to use the default value. acct_port - Specifies the UDP port number which is used to transmit RADIUS accounting statistics between the switch and the RADIUS server.
  • Page 55 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show radius Index 1 IP Address : 192.168.69.1 Auth-Port : 1812 Acct-Port : 1813 Timeout Retransmit : 123456 Total Entries : 1 DGS-3620-28PC:admin# 3-25 show auth_statistics Description This command is used to display authenticator statistics information Format show auth_statistics {ports <portlist>}...
  • Page 56 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 00-00-00-00-00-03 CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh 3-26 show auth_diagnostics Description This command is used to display authenticator diagnostics information. Format show auth_diagnostics {ports <portlist>} Parameters...
  • Page 57 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide BackendNonNakResponsesFromSupplicant BackendAuthSuccesses BackendAuthFails CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh 3-27 show auth_session_statistics Description This command is used to display authenticator session statistics information. Format show auth_session_statistics {ports <portlist>} Parameters...
  • Page 58 Format show auth_client Parameters None. Restrictions None. Example To display authentication client information: DGS-3620-28PC:admin# show auth_client Command: show auth_client radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex :1 radiusAuthServerAddress 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators...
  • Page 59 DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped radiusAuthClient ==> radiusAuthClientInvalidServerAddresses radiusAuthClientIdentifier D-Link radiusAuthServerEntry ==> radiusAuthServerIndex :3 radiusAuthServerAddress 0.0.0.0 radiusAuthClientServerPortNumber radiusAuthClientRoundTripTime radiusAuthClientAccessRequests radiusAuthClientAccessRetransmissions radiusAuthClientAccessAccepts radiusAuthClientAccessRejects radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes...
  • Page 60 DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display account client information: DGS-3620-28PC: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...
  • Page 61 DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 3 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped DGS-3620-28PC: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 enable authen_policy_encryption disable authen_policy_encryption 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 server_group <string 15> | none} config accounting service [network | shell | system] state [enable {[radius_only | method_list_name <string 15> | default_method_list]} | disable] config accounting service command {administrator | operator | power_user | user} [method_list_name <string>...
  • Page 64: Enable Authen_Policy

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The Switch also supports the RADIUS protocol for authentication using the Access Authentication Control commands. RADIUS or Remote Authentication Dial In User Server also uses a remote server for authentication and can be responsible for receiving user connection requests, authenticating the user and returning all configuration information necessary for the client to deliver service through the user.
  • Page 65 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable authen_policy Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enable system access authentication policy: DGS-3620-28PC:admin#enable authen_policy Command: enable authen_policy Success. DGS-3620-28PC:admin# disable authen_policy Description This command is used to disable system access authentication policy.
  • Page 66 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# show authen_policy Description This command is used to display whether system access authentication policy is enabled or disabled. Format show authen_policy Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display system access authentication policy: DGS-3620-28PC:admin#show authen_policy...
  • Page 67 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To enable the authentication policy encryption: DGS-3620-28PC:admin#enable authen_policy_encryption Command: enable authen_policy_encryption Success. DGS-3620-28PC:admin# disable authen_policy_encryption Description This command is used to disable the authentication policy encryption. When disabled, TACACS+ and RADIUS key will be in the plain text form.
  • Page 68: Create Authen_Login Method_List_Name

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create authen_login method_list_name <string 15> Parameters <string 15> - Enter the user-defined method list name. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for user login: DGS-3620-28PC:admin#create authen_login method_list_name login_list_1 Command: create authen_login method_list_name login_list_1 Success.
  • Page 69: Delete Authen_Login Method_List_Name

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide tacacs - Specifies authentication by the built-in server group TACACS. xtacacs - Specifies authentication by the built-in server group XTACACS. tacacs+ - Specifies authentication by the built-in server group TACACS+. radius - Specifies authentication by the built-in server group RADIUS.
  • Page 70: Show Authen_Login [Default | Method_List_Name | All]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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> | all] Parameters default –...
  • Page 71: Tacacs+ | Radius | Server_Group | Local_Enable | None

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <string 15> - Enter the user-defined method list name. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for promoting a user's privilege to Admin level: DGS-3620-28PC:admin#create authen_enable method_list_name enable_list_1 Command: create authen_enable method_list_name enable_list_1 Success.
  • Page 72: Delete Authen_Enable Method_List_Name

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide local_enable - Specifies authentication by local enable password in the device. none - Specifies no authentication. Restrictions Only Administrator-level users can issue this command. Example To configure a user-defined method list for promoting a user's privilege to Admin level: DGS-3620-28PC:admin#config authen_enable method_list_name enable_list_1 method tacacs+ tacacs local_enable Command: config authen_ enable method_list_name enable_list_1 method tacacs+...
  • Page 73: Config Authen Application

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-13 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. Format show authen_enable [default | method_list_name <string 15> | all] Parameters default - Specifies to display the default method list for promoting a user's privilege to Administrator level.
  • Page 74: Config Authen Application [Console | Telnet | Ssh | Http | All] [Login | Enable] [Default

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config authen application [console | telnet | ssh | http | all] [login | enable] [default | method_list_name <string 15>] Parameters console - Specifies an application: console. telnet - Specifies an application: Telnet.
  • Page 75: Create Authen Server_Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the login and enable method list for all applications: DGS-3620-28PC:admin#show authen application Command: show authen application Application Login Method List Enable Method List ----------- ----------------- ------------------ Console default...
  • Page 76: Server_Host Protocol [Tacacs | Xtacacs | Tacacs+ | Radius]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide protocols. The server host must be created first by using the CLI command create authen server_host. Format config authen server_group [tacacs | xtacacs | tacacs+ | radius | <string 15>] [add | delete] server_host <ipaddr>...
  • Page 77 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <string 15> - Enter the user-defined server group name. Restrictions Only Administrator-level users can issue this command. Example To delete a user-defined authentication server group: DGS-3620-28PC:admin#delete authen server_group mix_1 Command: delete authen server_group mix_1 Success.
  • Page 78: 255> | Retransmit

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 4-20 create authen server_host Description This command is used to create an authentication server host. When an authentication server host is created, the IP address and protocol are the index. That means more than one authentication protocol service can be run on the same physical host.
  • Page 79: Config Authen Server_Host Protocol [Tacacs | Xtacacs | Tacacs+ | Radius]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a TACACS+ authentication server host with a listening port number of 15555 and a timeout value of 10 seconds: DGS-3620-28PC:admin#create authen server_host 10.1.1.222 protocol tacacs+ port 15555 key "123"...
  • Page 80: Delete Authen Server_Host Protocol [Tacacs | Xtacacs | Tacacs+ | Radius]

    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 a TACACS+ authentication server host’s key value: DGS-3620-28PC:admin#config authen server_host 10.1.1.222 protocol tacacs+ key "abc123" Command: config authen server_host 10.1.1.222 protocol tacacs+ key "abc123" Success.
  • Page 81 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-23 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-28PC:admin#show authen server_host...
  • Page 82: Config Authen Parameter Attempt

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure 60 seconds for user to input: DGS-3620-28PC:admin#config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success. DGS-3620-28PC:admin# 4-25 config authen parameter attempt Description This command is used to configure the maximum attempts for users trying to login or promote the privilege on console or Telnet applications.
  • Page 83: Enable Admin

    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 the authentication parameters: DGS-3620-28PC:admin# show authen parameter Command: show authen parameter Response Timeout : 60 seconds User Attempts DGS-3620-28PC:admin# 4-27...
  • Page 84: Config Admin Local_Enable {Encrypt [Plain_Text | Sha_1]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 4-28 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 85: Delete] Server_Host Protocol [Tacacs | Xtacacs | Tacacs+ | Radius]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <string 15> - Enter the user-defined server group name. Restrictions Only Administrator level can issue this command. Example To create a user-defined AAA server group called “mix_1”: DGS-3620-28PC:admin#create aaa server_group mix_1 Command: create aaa server_group mix_1 Success.
  • Page 86: Delete Aaa Server_Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level can issue this command. Example To To add an AAA server host with an IP address of 10.1.1.222 to server group “mix_1”, specifying the TACACS+ protocol: DGS-3620-28PC:admin#config aaa server_group group_name mix_1 add server_host 10.1.1.222 protocol tacacs+ Command: config aaa server_group group_name mix_1 add server_host 10.1.1.222...
  • Page 87: Delete Aaa Server_Host Protocol [Tacacs | Xtacacs | Tacacs+ | Radius]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete aaa server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] Parameters <ipaddr> - Enter the IP address of the server host. protocol – Specify the protocol. tacacs –...
  • Page 88: Show Aaa Server_Group {

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show aaa Command: show aaa Authentication Policy: Enabled Accounting Network Service State: AAA Method Accounting Network Service Method: acc_telnet Accounting Shell Service State: RADIUS Only Accounting Shell Service Method: Accounting System Service State: Disabled Accounting System Service Method: Accounting Admin Command Service Method:...
  • Page 89 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show aaa server_group Command: show aaa server_group Group Name IP Address Protocol --------------- --------------------------------------- -------- mix_1 --------------------------------------- -------- radius --------------------------------------- -------- tacacs --------------------------------------- -------- tacacs+ --------------------------------------- -------- xtacacs --------------------------------------- -------- Total Entries : 5 DGS-3620-28PC:admin#...
  • Page 90 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-36 enable aaa_server_password_encryption Description This command is used to enable AAA server password encryption. Format enable aaa_server_password_encryption Parameters None. Restrictions Only Administrator level can issue this command. Example To enable AAA server password encryption: DGS-3620-28PC:admin#enable aaa_server_password_encryption Command: enable aaa_server_password_encryption...
  • Page 91 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#disable aaa_server_password_encryption Command: disable aaa_server_password_encryption Success. DGS-3620-28PC:admin# 4-38 config accounting Description This command is used to configure a user-defined or default method list of accounting methods. Format config accounting [default | method_list_name <string 15>] method {tacacs+ | radius | server_group <string 15>...
  • Page 92: Config Accounting Service

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-39 config accounting service Description This command is used to configure the state of the specified RADIUS accounting service. Format config accounting service [network | shell | system] state [enable {[radius_only | method_list_name <string 15>...
  • Page 93 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config accounting service command {administrator | operator | power_user | user} [method_list_name <string> | none] Parameters administrator - (Optional) Specifies the accounting service for all administrator level commands. operator - (Optional) Specifies the accounting service for all operator level commands.
  • Page 94: Show Accounting

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a user-defined accounting method list called “shell_acct”: DGS-3620-28PC:admin#create accounting method_list_name shell_acct Command: create accounting method_list_name shell_acct Success. DGS-3620-28PC:admin# 4-42 delete accounting method_list_name Description This command is used to delete a user-defined method list of accounting methods. Format delete accounting method_list_name <string 15>...
  • Page 95: Show Accounting Service

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters default - Displays the user-defined list of default accounting methods. method_list_name - Displays the user-defined list of specific accounting methods. <string 15> - Enter the user-defined method list name here. This name can be up to 15 characters long.
  • Page 96 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Shell : Disabled System : Disabled DGS-3620-28PC:admin# 4-45 create radius server_host Description This command is used to create an RADIUS server host. Format create radius server_host <ipaddr> {auth_port <int 1-65535> | acct_port <int 1-65535> | [key [<key_string 254>...
  • Page 97 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-46 config radius server_host Description This command is used to configure the RADIUS server host. Format config radius server_host <ipaddr> {auth_port <int 1-65535> | acct_port <int 1-65535> | [key [<key_string 254>...
  • Page 98 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipif_name 12> - Enter the IP interface name used here. <ipaddr> - Enter the IPv4 address used here. <ipv6addr> - Enter the IPv6 address used here. none - Specifies to revert to the default route table for all outgoing RADIUS packet. Restrictions Only Administrator level can issue this command.
  • Page 99 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-49 create tacacs server_host Description This command is used to create a TACACS server host. Format create tacacs server_host <ipaddr> {port <int 1-65535> | timeout <int 1-255> | retransmit <int 1-20>} Parameters <ipaddr>...
  • Page 100 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide timeout - (Optional) Specifies the time in second to wait for the server to reply. <int 1-255> - Enter the value between 1 and 255. The default value is 5. retransmit - (Optional) Specifies the count for re-transmissions.
  • Page 101 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#create tacacs+ server_host 10.1.1.211 port 15555 timeout 10 key "abc123" Command: create tacacs+ server_host 10.1.1.211 port 15555 timeout 10 key "abc123" Success. DGS-3620-28PC:admin# 4-52 config tacacs+ server_host Description This command is used to configure the TACACS+ server host.
  • Page 102 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create xtacacs server_host <ipaddr> {port <int 1-65535> | timeout <int 1-255> | retransmit <int 1-20>} Parameters <ipaddr> - Enter the IP address of the server host. port - (Optional) The port number of the XTACACS server host. <int 1-65535>...
  • Page 103 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level can issue this command. Example To configure the XTACACS server host: DGS-3620-28PC:admin#config xtacacs server_host 10.1.1.224 retransmit 5 Command: config xtacacs server_host 10.1.1.224 retransmit 5 Key is meaningless for TACACS and XTACACS.
  • Page 104 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show tacacs source_ipif Parameters None. Restrictions Only Administrator level can issue this command. Example To display the specified source interface for all outgoing TACACS packets. DGS-3620-28PC:admin#show tacacs source_ipif Command: show tacacs source_ipif IP Interface : if_v200...
  • Page 105: 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 106 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_64-79 <hex 0x0- 0xffffffff>...
  • Page 107 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide flowlabel | source_ipv6_mask <ipv6mask> | destination_ipv6_mask <ipv6mask> | [tcp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} | udp {src_port_mask <hex 0x0-0xffff> | dst_port_mask <hex 0x0-0xffff>} | icmp {type | code}]}(1)] Parameters <value 1-6>...
  • Page 108 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide offset_chunks within a packet at one time and specifies the frame content offset and mask. <value 0-31> - Enter the offset chunk 1 value here. This value must be between 0 and 31. <hex 0x0-0xffffffff>...
  • Page 109 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide source_ip_mask 255.255.255.255 destination_ip_mask 255.255.255.0 dscp icmp Success. DGS-3620-28PC:admin# delete access_profile Description This command is used to delete access list profiles. Format delete access_profile [profile_id <value 1-6> | profile_name <name 1-32> | all] Parameters profile_id - Specifies the index of the access list profile.
  • Page 110 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 63> | [icmp {type <value 0-255> | code <value 0-255>} | igmp {type <value 0-255>} | tcp {src_port <value 0-65535> {mask <hex 0x0-0xffff>} | dst_port <value 0-65535> {mask <hex 0x0-0xffff>} | flag [all | {urg | ack | psh | rst | syn | fin}]} | udp {src_port <value 0-65535>...
  • Page 111 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipaddr> - Enter an IP source address. mask - (Optional) Specifies the mask. <netmask> - Enter the mask. destination_ip - Specifies an IP destination address. <ipaddr> - Enter an IP destination address. mask - (Optional) Specifies the mask.
  • Page 112 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide offset_chunk_3 - Specifies the contents of the offset trunk 3 to be monitored. <hex 0x0-0xffffffff> - Enter the contents of the offset trunk 3 to be monitored here. mask - Specifies an additional mask for each field.
  • Page 113 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide priority tag field by the switch. <value 0-7> - Enter the value between 0 and 7. replace_priority - (Optional) Specifies the packets that match the access profile remarking the 802.1p priority tag field by the switch.
  • Page 114 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) Specifies the index of the access list profile. <value 1-6>...
  • Page 115 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide URPF State Check: Enabled (Replaced)Priority Replace ToS Precedence : 7 ============================================================================== ============================================================================== Profile ID: 2 Profile name: IPv4ACL Type: IPv4 Mask on VLAN : 0xFFF DSCP ICMP Type Code Available HW Entries : 254 ------------------------------------------------------------------------------...
  • Page 116 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Mask on Class Flow Label Available HW Entries : 255 ------------------------------------------------------------------------------ Rule ID : 1 Ports: 1 Match on Class : 255 Flow Label : 0xFFFFF Action: Permit URPF State Check: Enabled (Replaced)Priority Replace ToS Precedence : 7...
  • Page 117 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide URPF State Check: Enabled (Replaced)Priority Replace ToS Precedence : 7 ============================================================================== DGS-3620-28PC:admin# 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.
  • Page 118 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show time_range Description This command is used to display current time range settings. Format show time_range Parameters None. Restrictions None. Example To display current time range setting: DGS-3620-28PC:admin#show time_range Command: show time_range Time Range Information -------------------------...
  • Page 119 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the ACL part of the current configuration: DGS-3620-28PC:admin#show current_config access_profile Command: show current_config access_profile #----------------------------------------------------------------------------- # ACL create access_profile profile_id 1 profile_name EtherACL ethernet vlan 0xFFF 802.1p ethernet_type config access_profile profile_id 1 add access_id 1 ethernet vlan_id 1 802.1p 7 ethernet_type 0xFFFF port 1 permit priority 7 replace_priority replace_tos 7...
  • Page 120 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies to delete all the access list profiles. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete access list rules: DGS-3620-28PC:admin#delete cpu access_profile profile_id 3 Command: delete cpu access_profile profile_id 3 Success.
  • Page 121 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide destination_ip_mask - Specifies an IP destination submask. <netmask> - Enter an IP destination submask. dscp - Specifies the DSCP mask. icmp - Specifies that the rule applies to ICMP traffic. type - (Optional) Specifies the ICMP packet type.
  • Page 122 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6mask> - Enter the IPv6 source IP mask. destination_ipv6_mask - Specifies the IPv6 destination IP mask. <ipv6mask> - Enter the IPv6 destination IP mask. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create CPU access list profiles: DGS-3620-28PC:admin#create cpu access_profile profile_id 1 ethernet vlan...
  • Page 123 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <value 1-5> - Enter the index of the CPU access list profile. add access_id - Specifies the index of an access list entry to add. The range of this value is 1 to 100.
  • Page 124 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide mask options behind the IP header, which has a length of 4 bytes. <hex 0x0-0xffffffff> - Enter that the rule will apply to the IP protocol ID and that the mask options behind the IP header , which has a length of 4 bytes.
  • Page 125 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config cpu access_profile profile_id 1 add access_id 1 ethernet vlan default port 1-3 deny Success. DGS-3620-28PC:admin# 5-11 show cpu access_profile Description This command is used to display the current CPU access list table. Format show cpu access_profile {profile_id <value 1-5>} Parameters...
  • Page 126 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN ID 802.1p Ethernet Type : 0xFFFF Action: Permit ============================================================================== ============================================================================== Profile ID: 2 Type: IPv4 Mask on VLAN : 0xFFF DSCP ICMP Type Code Unused Rule Entries: 99 ------------------------------------------------------------------------------ Rule ID : 1 Ports: 1...
  • Page 127 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ============================================================================== ============================================================================== Profile ID: 4 Type: User Defined Mask on Offset 0-15 : 0x00000000 0x00000000 0x00000000 0x00000000 Offset 16-31 : 0x00000000 0x00000000 0x00000000 0x00000000 Offset 32-47 : 0x00000000 0x00000000 0x00000000 0x00000000 Offset 48-63 : 0x00000000 0x00000000 0x00000000 0x00000000 Offset 64-79 : 0x00000000 0x00000000 0x00000000 0x00000000 Unused Rule Entries: 99...
  • Page 128 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable cpu_interface_filtering Command: enable cpu_interface_filtering Success. DGS-3620-28PC:admin# 5-13 disable cpu_interface_filtering Description This command is used to disable CPU interface filtering. Format disable cpu_interface_filtering Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable CPU interface filtering: DGS-3620-28PC:admin#disable cpu_interface_filtering...
  • Page 129 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The replace DSCP action can be performed on packets that conform (GREEN) and packets that do not conform (YELLOW and RED). If drop YELLOW/RED is selected, the action to replace the DSCP will not take effect.
  • Page 130 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide permit - Enter this parameter to allow packet flows that are in the green flow. replace_dscp - Packets that are in the green flow may have their DSCP field rewritten using this parameter and entering the DSCP value to replace.
  • Page 131 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide drop - Enter this parameter to drop packets that are in the yellow flow. counter - (Optional) Use this parameter to enable or disable the packet counter for the specified ACL entry in the green flow.
  • Page 132 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show flow_meter {[profile_id <value 1-6> | profile_name <name 1-32>] {access_id <value 1- 256>}} Parameters profile_id - (Optional) Specifies the profile ID. <value 1-6> - Enter the profile ID. Enter a value between 1 and 6. profile_name - (Optional) Specifies the name of the profile.
  • Page 133: Chapter 6 Access Control List (Acl) Egress Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 6 Access Control List (ACL) Egress Commands 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 134 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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. The user will be prompted for these limitations.
  • Page 135 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies that the TCP flag field mask will be set to 'all'. urg - Specifies that the TCP flag field mask will be set to 'urg'. ack - Specifies that the TCP flag field mask will be set to 'ack'.
  • Page 136 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 137 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide mirror} | 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> {mask <hex 0x0-0xffff>}} | udp {src_port <value 0-65535>...
  • Page 138 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipaddr> - Enter the destination IP address used here. 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 139 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6addr> - Enter the source IPv6 source address here. mask - Specifies the IPv6 source address mask here. <ipv6mask> - Enter the IPv6 source address mask value here. destination_ipv6 - (Optional) Specifies the value of IPv6 destination address.
  • Page 140 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide replace_vlan_id_with - (Optional) Specifies the VLAN ID to replace the outer VLAN ID of the matched packets. <value 1-4094> - Enter the replacement VLAN ID here. This value must be between 1 and 4094.
  • Page 141 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show egress_access_profile {[profile_id <value 1-4> | profile_name <name 1-32>]} 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 142 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Profile ID: 2 Profile name: 2 Type: IPv4 Mask on Source IP : 255.255.255.255 Destination IP : 255.255.255.255 DSCP Available Hardware Entries : 126 ------------------------------------------------------------------------------- Rule ID : 1 (auto assign) Port group: 1 Match on...
  • Page 143 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 144 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 145 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 146 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 147 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-28PC: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 148 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 149 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# create port_group id 2 name group2 Command: create port_group id 2 name group2 Success. DGS-3620-28PC: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 150 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 151 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin#...
  • Page 152: 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 arpentry force_aging_addr [add | delete] <ipaddr> show arpentry {ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address <macaddr>} show arpentry force_aging_addr clear arptable show ipfdb {[ip_address <ipaddr>...
  • Page 153: 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 Administrators, Operators and Power-Users can issue this command. Example To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3620-28PC:admin#delete arpentry 10.48.74.121...
  • Page 154: Show Arpentry

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# config arpentry force_aging_addr Description This command is used to to configure the force aging gateway address in the ARP table. Format config arpentry force_aging_addr [add | delete] <ipaddr> Parameters add - Specifies to add a new entry.
  • Page 155 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipaddress - The IP address of the end node or station. <ipaddr> - Enter the IP address. static - Displays the static entries to the ARP table. mac_address - Displays the ARP entry by MAC address. <macaddr>...
  • Page 156: Clear Arptable

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example shows how to display the force aging address in the ARP table. DGS-3620-28PC:admin#show arpentry force_aging_addr Command: show arpentry force_aging_addr ARP Force Aging Address: Interface IP Address MAC Address Type -------------...
  • Page 157 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ipfdb {[ip_address <ipaddr> | interface <ipif_name 12> | port <port>]} Parameters ip_address - (Optional) Specifies the IP address of the forwarding table. <ipaddr> - Enter the IP address to be displayed. interface - (Optional) Specifies the interface name of the forwarding table.
  • Page 158 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the ARP aging time: DGS-3620-28PC:admin#config arp_aging time 30 Command: config arp_aging time 30 Success. DGS-3620-28PC:admin# 7-10 config arp_retry times Description This command is used to configure the ARP retry times. Format config arp_retry times <value 0-4>...
  • Page 159: 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 160 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-28PC:admin#show arp_spoofing_prevention Command: show arp_spoofing_prevention Gateway IP...
  • Page 161: 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 162 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable asymmetric VLAN setting: DGS-3620-28PC:admin# disable asymmetric_vlan Command: disable asymmetric_vlan Success. DGS-3620-28PC:admin# show asymmetric_vlan Description This command is used to display the asymmetric VLAN function.
  • Page 163: 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 164: Disable Autoconfig

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To enable DHCP auto configuration status: DGS-3620-28PC:admin#enable autoconfig Command: enable autoconfig Success. DGS-3620-28PC:admin# 10-3 disable autoconfig Description This command is used to disable automatically to get configuration from a TFTP server.
  • Page 165: Chapter 11 Bidirectional Forwarding Detection (Bfd) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 11 Bidirectional Forwarding Detection (BFD) Commands enable bfd disable bfd config bfd [ipif <ipif_name 12> | all] {min_tx_interval <millisecond 50-1000> | min_rx_interval <millisecond 50-1000> | multiplier <value 3-99> | slow_time <millisecond 1000-3000>} show bfd {ipif <ipif_name 12>} show bfd neighbor {ipif <ipif_name 12>...
  • Page 166 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable bfd Parameters None Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example show how to disable the BFD global state. DGS-3620-28PC:admin# disable bfd Command: disable bfd Success.
  • Page 167: Show Bfd

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example show how to configure the desired minimum TX interval value to 100 milliseconds and detection time multiplier to 5 on the interface System. DGS-3620-28PC:admin# config bfd ipif System min_tx_interval 100 multiplier 5 Command: config bfd ipif System min_tx_interval 100 multiplier 5 Success.
  • Page 168 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show bfd Command: show bfd BFD Global State : Disabled BFD Interface Setting MinTxInt - Desired Minimum TX Interval MinRxInt - Required Minimum RX Interval Interface Name MinTxInt(ms) MinRxInt(ms) Multiplier Slow time(ms) --------------- ------------ ------------ ---------- ------------- System...
  • Page 169 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show bfd neighbor Command: show bfd neighbor BFD Neighbor Table Local Discr : Local Discriminator Remote Discr: Remote Discriminator Neighbor Local Remote Detect Address Interface Name Discr Discr Time(ms) Status --------------- -------------- ------ ------ -------- ----------...
  • Page 170: Chapter 12 Border Gateway Protocol (Bgp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Border Gateway Protocol (BGP) Commands enable bgp disable bgp create bgp <as_number 1-4294967295> delete bgp <as_number 1-4294967295> config bgp router_id <ipaddr> config bgp synchronization [enable | disable] config bgp enforce_first_as [enable | disable] create bgp aggregate_address [<network_address>...
  • Page 171 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <peer_group_name 16>] {[ipv4 | ipv6] unicast} state [enable | disable] config bgp neighbor map [<ipaddr> | <ipv6addr> | peer_group <peer_group_name 16>] {[ipv4 | ipv6] unicast} {unsuppress_map [add | delete] <map_name 16> | route_map [in | out] [add | delete] <map_name 16>} config bgp neighbor filter [<ipaddr>...
  • Page 172: Enable Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <network_address>] | ipv6 unicast {[<ipv6addr> | <ipv6_networkaddr>]}]} 12-1 enable bgp Description This command is used to enable the BGP protocol. By enabling the BGP protocol, all the previous configurations will be applied to the protocol kernel and start.
  • Page 173: Create Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To disable BGP protocol: DGS-3620-28PC:admin# disable bgp Command: disable bgp Success. DGS-3620-28PC:admin# 12-3 create bgp Description This command is used to create a BGP process.
  • Page 174: Delete Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-4 delete bgp Description This command is used to delete the BGP process. The AS number must be specified. When the BGP process is deleted, all peer and route information from BGP will be deleted. Route entries redistributed from BGP must also be canceled.
  • Page 175: Config Bgp Router_Id

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp router_id <ipaddr> Parameters <ipaddr> - An ID to identify a BGP router. If it is set to zero the router ID will be automatically determined. The default value is the highest IP address on a physical interface. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 176: Config Bgp Enforce_First_As [Enable | Disable]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable the BGP process’ synchronization ability: DGS-3620-28PC:admin# config bgp synchronization enable Command: config bgp synchronization enable Success DGS-3620-28PC:admin# 12-7 config bgp enforce_first_as Description This command is used to enforce the neighbor’s AS as the first AS in the AS list. 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 177: Create Bgp Aggregate_Address [ | Ipv6 ] {Summary_Only

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Using the aggregate_address command with no keywords will create an aggregate entry in the BGP routing table, if any more specific BGP routes are available that fall within the specified range. The aggregate route will be advertised as coming from your Autonomous System and will have the atomic aggregate attribute set to indicate that information might be missing.
  • Page 178: Show Bgp Aggregate_Address {[ | Ipv6 {}]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete bgp aggregate_address [[<network_address> | all] | ipv6 [<ipv6_networkaddr> | all]] Parameters <network_address> - Specifies the IPv4 aggregated network to be deleted. all – Specifies that all IPv4 aggregated networks will be deleted.. ipv6 –...
  • Page 179: Create Bgp Network [ | Ipv6 ] {Route_Map

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display an aggregate route of 10.0.0.0/8: DGS-3620-28PC:admin# show bgp aggregate_address 10.0.0.0/8 Command: show bgp aggregate_address 10.0.0.0/8 Network Address Options ------------------ ---------------------- 10.0.0.0/8 summary_only, as_set Total Aggregate Address Number: 1. DGS-3620-28PC:admin# 12-11 create bgp network Description...
  • Page 180: Config Bgp Network [ | Ipv6 ] [Route_Map

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-12 config bgp network Description This command is used to configure the attribute associated with the network advertised by the Border Gateway Protocol (BGP). Format config bgp network [<network_address> | ipv6 <ipv6_networkaddr>] [route_map <map_name 16>...
  • Page 181: Show Bgp Network {[ | Ipv6 {}]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6_networkaddr> - Enter the IPv6 network address here. all – Specifies to delete all IPv6 BGP networks. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To delete network 10.108.0.0/16 to be advertised in the BGP updates:...
  • Page 182: Config Bgp Timer Holdtime Keepalive

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show bgp network 10.108.0.0/16 Command: show bgp network 10.108.0.0/16 Network Address Route Map --------------- ---------------- 10.108.0.0/16 Total Network Number: DGS-3620-28PC:admin# 12-15 config bgp timer Description This command is used to configure the BGP protocol timer. The hold time needs to be at least three times that of the keepalive time.
  • Page 183: Compare_Routerid [Disable | Enable] | Med_Confed [Disable | Enable] | Med_Missing_As_Worst

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config bgp timer holdtime 360 keepalive 120 Command: config bgp timer holdtime 360 keepalive 120 Success. DGS-3620-28PC:admin# 12-16 config bgp Description This command is used to configure the BGP best path selection related setting. MED is a metric assigned to tell the external router how to choose a route.
  • Page 184 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters always_compare_med - (Optional) Enable or disable the comparison of the Multi Exit Discriminator (MED) for paths from the neighbors in different Autonomous Systems. By default this setting is disabled. enable - Specifies that the 'always compare MED' option will be enabled.
  • Page 185: Config Bgp Dampening {[Ipv4 | Ipv6] Unicast} [Route_Map | Clear_Routemap

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config bgp always_compare_med disable Command: config bgp always_compare_med disable Success. DGS-3620-28PC: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 186 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - (Optional) Specifies the BGP dampening function’s state. enable - Specifies that the BGP dampening function's state will be enabled. 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 187: Show Bgp Dampening {[Ipv4 | Ipv6] Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Network 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-28PC:admin# 12-18 show bgp dampening Description This command is used to show the BGP dampening configurations.
  • Page 188 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 Suppress Value :2000 MAX Suppress Time :45 minutes Unreachable route's Half-life :15 mins...
  • Page 189: Config Bgp Peer_Group

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide After this command is executed, all peers belonging to this peer group, which are generated with no indicated AS number, will change their AS number to the same value as the peer group’s, stop and restarted values.
  • Page 190 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 191: Config Bgp Neighbor [[[ | Peer_Group ]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Specifies the IPv4 address of the neighbor that will be deleted. <ipv6addr> - Specifies the IPv6 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 192: [{[Ipv4 | Ipv6] Unicast} Activity | State] [Enable | Disable]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure a neighbor’s description: DGS-3620-28PC:admin# config bgp neighbor 10.10.10.2 description EBGP-neighbor Command: config bgp neighbor 10.10.10.2 description EBGP-neighbor Success.
  • Page 193 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-28PC:admin# config bgp neighbor session peer_group Campus state disable Command: config bgp neighbor session peer_group Campus state disable Success.
  • Page 194: [{Ebgp_Multihop | Weight [ | Default] | Update_Source [Add

    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 195: Advertisement_Interval [ | Default]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide remove_private_as - (Optional) If this setting is set to enable, the private AS number in the AS path attribute of the BGP update packets will be dropped. By default, the setting is disabled. enable - Specifies that the 'remove private AS' option will be enabled.
  • Page 196 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Specifies the IPv4 address of the neighbor to be configured. <ipv6addr> - Specifies the IPv6 address of the neighbor to be configured. peer_group - Specifies the peer group to be configured. <peer_group_name 16>...
  • Page 197: 12-26 Config Bgp Neighbor Route_Reflector_Client

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-26 config bgp neighbor route_reflector_client Description This command is used to configure the BGP’s neighbor of the route reflector client. When the route reflector client is defined and the router reflection is enabled, the BGP router will act as the route reflector.
  • Page 198 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config bgp neighbor route_reflector_client 10.10.10.2 state enable Command: config bgp neighbor route_reflector_client 10.10.10.2 state enable Success. DGS-3620-28PC:admin# 12-27 config bgp neighbor map Description The command is used to configure the route map related setting for a BGP neighbor. When a route map is applied by the route_map command, it enforces the route policy.
  • Page 199 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example shows how to configure the unsuppress map of peer group “Campus” to Profile1: DGS-3620-28PC:admin# config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Command: config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Success.
  • Page 200 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specifies that a filter list will be added. delete - Specifies that a filter list will be deleted. <list_name 16> - Enter the prefic list name here. This name can be up to 16 characters long.
  • Page 201 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Show the information of the BGP peer group local1: DGS-3620-28PC:admin# create bgp neighbor peer_group local1 Command: create bgp neighbor peer_group local1 Success. DGS-3620-28PC:admin# create bgp neighbor 10.2.2.2 remote_as 10 Command: create bgp neighbor 10.2.2.2 remote_as 10 Success.
  • Page 202 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-30 config bgp route_reflector cluster_id Description This command is used to configure the BGP process’s global attribute. The route reflector and its clients together form a cluster. When a single route reflector is deployed in a cluster, the cluster is identified by the router ID of the route reflector.
  • Page 203 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp client_to_client_reflection [enable | disable] Parameters enable - The reflector will operate in reflector mode. disable - The reflector will operate in non-reflector mode. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example This example shows how to disable the client to client reflection:...
  • Page 204: Clear Bgp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a confederation, AS number is 20: DGS-3620-28PC:admin# config bgp confederation identifier 20 Command: config bgp confederation identifier 20 Success. DGS-3620-28PC:admin# 12-33 config bgp confederation peers Description The command is used to configure multiple adjacent Autonomous Systems in a confederation.
  • Page 205 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide will be cleared and needs to be rebuilt. If a soft reconfiguration inbound is enabled, then the routing table can be rebuilt based on the stored route updates information. If a soft reconfiguration inbound is disabled, then the local router will send the route refresh request to the neighbor to ask for the route refresh.
  • Page 206 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# clear bgp all Command: clear bgp all Success. DGS-3620-28PC:admin# 12-35 clear bgp dampening Description This command clears the route dampening information stored in the routing table. If no IP/IPv6 address or IP/IPv6 network is specified, the dampening information for the entire routing table of the IPv4 unicast or IPv6 unicast address family will be cleared.
  • Page 207 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 208 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide deny - Denies advertisement based on matching conditions. permit - Permits advertisement based on matching conditions. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example This example configures a matching rule for an AS path access list:...
  • Page 209 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example deletes a matching rule for an AS path access list: DGS-3620-28PC:admin# delete bgp as_path access_list list_name test Command: delete bgp as_path access_list list_name test Success. DGS-3620-28PC:admin# 12-39 show bgp as_path access_list Description...
  • Page 210: Create Bgp Community_List [Standard | Expanded]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create bgp community_list [standard | expanded] <list_name 16> Parameters standard - Creates a standard named community list. expanded - Creates an expanded named community list. <list_name 16> - Enter the name of the community list that will be created here. This name can be up to 16 characters long.
  • Page 211 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters standard - Configures a standard community list. <list_name 16> - Enter the standard community list name here. This name can be up to 16 characters long. add - Adds a rule to the community list. delete - Deletes a rule from the community list.
  • Page 212: Delete Bgp Community_List [List_Name | All]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-42 delete bgp community_list Description This command is used to delete a BGP community list. Format delete bgp community_list [list_name <list_name 16> | all] Parameters list_name - Specifies the name of the community list to be deleted. <list_name 16>...
  • Page 213: Ipv6_Networkaddr> {Longer_Prefixes} | Ipv6_Prefix_List ]} | Ipv4 Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example displays the community list name as list1: DGS-3620-28PC:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3620-28PC:admin# config bgp community_list standard list1 add community_set 50000:10 permit Command: config bgp community_list standard list1 add community_set 50000:10 permit...
  • Page 214 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <desc 80> - A regular expression to match the BGP AS paths, must enclose in the quotes. Can include blank space. The string can be up to 80 characters long. inconsistent_as - (Optional) Display the routes if they have of same prefix and different AS path originate.
  • Page 215 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Network Gateway Metric LocPrf Weight Path *> 10.10.10.0/24 172.16.10.1 10 i *> 10.10.20.0/24 172.16.10.1 10 i 10.20.10.0/24 172.16.10.1 10 i *dh 30.10.1.1/24 172.3.3.2 20 i Total Entries :4 DGS-3620-28PC:admin# show bgp route cidr_only Command: show bgp route cidr_only...
  • Page 216 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries :6 DGS-3620-28PC:admin# show bgp route regexp “108$” Command: show bgp route regexp “108$” BGP local router ID is 172.16.72.24 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
  • Page 217: Show Bgp Neighbors {[ | ] {[{[Ipv4 | Ipv6] Unicast} [Advertised_Routes

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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. To display BGP and TCP connection information for neighbor sessions, or routing table entries with BGP neighbor.
  • Page 218 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide For Address Family IPv4 Unicast IPv4 Unicast : Advertised and Received Next Hop Self : Disabled Remove Private As : Disabled AllowAS In : Disabled Soft Reconfiguration Inbound : Disabled Send Community : None...
  • Page 219: Show Bgp Dampened_Routes {[Ipv4 | Ipv6] Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
  • Page 220: Show Bgp Flap_Statistics {[Ipv4 | Ipv6] Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 221: Show Bgp {Summary {[Ipv4 | Ipv6 ] Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show bgp flap_statistics Command:show bgp flap_statistics 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 Flaps...
  • Page 222: Show Bgp Reflection {[Ipv4 | Ipv6] Unicast

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Hold Time : 300 Seconds Keepalive Interval : 100 Seconds Always Compare MED : Disabled Deterministics MED : Disabled Med Confed : Disabled Default Local Preference : 200 AS Path Ignore : Disabled Compare Router ID...
  • Page 223: 12-50 Show Bgp Confederation

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example displays the BGP reflection setting: DGS-3620-28PC:admin# show bgp reflection Command: show bgp reflection Client to Client Reflection State : Disabled Cluster ID : 0.0.0.0 Router Reflector Client: 10.1.1.20 10.1.1.30 DGS-3620-28PC:admin#...
  • Page 224: Config Bgp Trap [Peer_Established | Peer_Idle | All] [Enable | Disable]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-51 config bgp trap Description This command is used to configure the BGP trap state. Format config bgp trap [peer_established | peer_idle | all] [enable | disable] Parameters peer_established - Enable or disable the sending of the peer established trap.
  • Page 225 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example displays the BGP trap state: DGS-3620-28PC:admin# show bgp trap_state Command: show bgp trap_state BGP Trap State BGP Peer Established : Enabled BGP Peer Idle : Enabled DGS-3620-28PC:admin# 12-53 config bgp scan_timer Description...
  • Page 226: Config Bgp Aggregate_Next_Hop_Check [Enable | Disable]

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config bgp aggregate_next_hop_check [enable | disable] Parameters enable - Specifies that the BGP aggregate next hop check will be enabled. disable - Specifies that the BGP aggregate next hop check will be disabled. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 227: 12-56 Config Bgp Neighbor Maximum_Prefix

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config bgp fast_external_fallover disable Command: config bgp fast_external_fallover disable Success. DGS-3620-28PC:admin# 12-56 config bgp neighbor maximum_prefix Description This command is used to configure the BGP neighbor maximum prefix. Format config bgp neighbor maximum_prefix [<ipaddr>...
  • Page 228 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-57 clear bgp flap_statistics Description The command is used to clear the accumulated penalties for routes that have been received on a router that has BGP dampening enabled. If no IP/IPv6 address or IP/IPv6 network are specified, flap statistics of the IPv4 unicast or IPv6 unicast address family are cleared for all routes.
  • Page 229: 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 230 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config bpdu_protection ports 1 state enable mode drop Command: config bpdu_protection ports 1 state enable mode drop Success. DGS-3620-28PC: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 231 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters trap - Specifies the trap state. log - Specifies the log state. none - Specifies neither attack_detected nor attack_cleared is trapped or logged. attack_detected - Specifies events will be logged or trapped when the BPDU attacks is detected. attack_cleared - Specifies events will be logged or trapped when the BPDU attacks is cleared.
  • Page 232 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 Administrators, Operators and Power-Users can issue this command. Example To disable BPDU protection: DGS-3620-28PC:admin#disable bpdu_protection...
  • Page 233 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-28PC: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 234: 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 235 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide • Between 80m and 100m (80m~100m) • Greater than 100m (>100m) Note: This test will consume a low number of packets. Since this test is for copper cable, the port with fiber cable will be skipped from the test.
  • Page 236 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 237: 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 238: 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 239: Config Cfm Md

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#create cfm md op_domain level 2 Command: create cfm md op_domain level 2 Success. DGS-3620-28PC:admin# 15-2 config cfm md Description This command is used to configure the parameters of a maintenance domain. The creation of MIPs on an MA is useful to trace the link, MIP by MIP.
  • Page 240: Create Cfm Ma

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 15-3 create cfm ma Description This command is used to create a maintenance association. Different MAs in a MD must have different MA Names. Different MAs in different MDs may have the same MA Name. Format create cfm ma <string 22>...
  • Page 241 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config cfm ma [<string 22> | ma_index <uint 1-4294967295>] md [<string 22> | md_index <uint 1-4294967295>] {vlanid <vlanid 1-4094> | mip [none | auto | explicit | defer] | sender_id [none | chassis | manage | chassis_manage | defer] | ccm_interval [3.3ms | 10ms | 100ms | 1sec | 10sec | 1min | 10min] | mepid_list [add | delete] <mepid_list 1-8191>...
  • Page 242: Create Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure the parameters of a maintenance association: DGS-3620-28PC:admin#config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec Command: config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec Success.
  • Page 243: Config Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To create an MEP: DGS-3620-28PC:admin#create cfm mep mep1 mepid 1 md op_domain ma op1 direction inward port 2 Command: create cfm mep mep1 mepid 1 md op_domain ma op1 direction inward port Success.
  • Page 244: Delete Cfm Mep

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters. ma_index - Specifies the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. state - Specifies the MEP administrative state. The default is disable. enable - Enable MEP.
  • Page 245: Delete Cfm Ma

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete cfm mep [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] Parameters mepname - Specifies the MEP name. <string 32>...
  • Page 246: Delete Cfm Md

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. md - Specifies the maintenance domain name. <string 22> - Enter the maintenance domain name. The maximum length is 22 characters. md_index - Specifies the maintenance domain index.
  • Page 247: Enable Cfm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 15-10 enable cfm Description This command is used to enable the CFM globally. Format enable cfm Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To enable the CFM globally:...
  • Page 248: Config Cfm Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To disable the CFM globally: DGS-3620-28PC:admin#disable cfm Command: disable cfm Success. DGS-3620-28PC:admin# 15-12 config cfm ports Description This command is used to enable or disable the CFM function on a per-port basis.
  • Page 249: Show Cfm Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 15-13 show cfm ports Description This command is used to display the CFM state of specified ports. Format show cfm ports <portlist> Parameters <portlist> - Enter the logical port list. Restrictions None.
  • Page 250: Show Cfm Fault

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide md_index - Specifies the maintenance domain index. <uint 1-4294967295> - Enter the maintenance domain index value here. This value must be between 1 and 4294967295. ma - (Optional) Specifies the maintenance association name. <string 22>...
  • Page 251: Show Cfm Port

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance domain index value here. This value must be between 1 and 4294967295. ma - (Optional) Specifies the maintenance association name. <string 22> - Enter the maintenance association name. The maximum length is 22 characters.
  • Page 252 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show cfm port 1 Command: show cfm port 1 MAC Address: 00-05-78-82-32-01 MD Name MA Name MEPID Level Direction ----------- ---------- ------- ------- --------- --- op_domain inward cust_domain cust1 inward serv_domain...
  • Page 253: Cfm Loopback

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To start management lock: DGS-3620-28PC:admin# cfm lock md op-domain ma op-ma mepid 1 remote_mepid 2 action start Command: cfm lock md op-domain ma op-ma mepid 1 remote_mepid 2 action start Success.
  • Page 254: Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To start a CFM loopback test: DGS-3620-28PC:admin# cfm loopback 00-02-03-04-12-19 mepname op-mep1 Command: cfm loopback 00-02-03-04-12-19 mepname op-mep1 Reply from 00-02-03-04-12-19: bytes=0 time<10ms Reply from 00-02-03-04-12-19: bytes=0 time<10ms Reply from 00-02-03-04-12-19: bytes=0 time<10ms Reply from 00-02-03-04-12-19: bytes=0 time<10ms...
  • Page 255: Show Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <int 0-7> - Enter the 802.1p priority to be set in the transmitted LBMs. If not specified, it uses the same priority as CCMs and LTMs sent by the MA. Enter a value between 0 and 7. Restrictions None.
  • Page 256: Delete Cfm Linktrace

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display a CFM linktrace reply: DGS-3620-28PC:admin#show cfm linktrace mepname mep1 Command: show cfm linktrace mepname mep1 Trans ID Source MEP Destination -------- ------------- ------------------ mep1 XX-XX-XX-XX-XX-XX DGS-3620-28PC:admin# To display a CFM linktrace reply: DGS-3620-28PC:admin# show cfm linktrace mepname mep trans_id 0...
  • Page 257 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide between 1 and 4294967295. mepid - (Optional) Specifies the MEPID. <int 1-8191> - Enter the MEP MEPID between 1 and 8191. mepname - (Optional) Specifies the MEP name. <string 32>...
  • Page 258: Show Cfm Mipccm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 15-23 show cfm mipccm Description This command is used to display the MIP CCM database entries. All entries in the MIP CCM database will be displayed. An MIP CCM entry is similar to an FDB which keeps the forwarding port information of a MAC entry.
  • Page 259 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display the configuration of the all-MPs-reply-to-LTR function: DGS-3620-28PC:admin#show cfm mp_ltr_all Command: show cfm mp_ltr_all All MPs reply LTRs: Disabled DGS-3620-28PC:admin# 15-25 show cfm pkt_cnt Description...
  • Page 260 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Port AllPkt VidDrop OpcoDrop ----- -------- -------- -------- --------- ------ ------- -------- -------- CFM TX Statistics ---------------------------------------------------------- Port AllPkt ----- -------- -------- -------- --------- ------ ------- DGS-3620-28PC:admin# 15-26 clear cfm pkt_cnt Description This command is used to clear the CFM packet’s RX/TX counters.
  • Page 261 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# To clear the CFM packet CCM counters: DGS-3620-28PC:admin#clear cfm pkt_cnt ccm Command: clear cfm pkt_cnt ccm Success. DGS-3620-28PC:admin# 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>...
  • Page 262 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Remote MEPID MAC Address : 00-11-22-33-44-02 Status : OK : Yes Port State : Blocked Interface Name : Down Last CCM Serial Number : 1000 Send Chassis ID : 00-11-22-33-44-00 Sender Management Address: SNMP-UDP-IPv4 10.90.90.90:161 Detect Time...
  • Page 263 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the AIS function so that it is enabled and has a client level of 5: DGS-3620-28PC: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 264 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the LCK function state as enabled and specify a client level of 5: DGS-3620-28PC: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 265 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide messages and the percentile of the frame delay measurement test. To calculate the FDV, continuous received DMR frames are needed. Users can abort the frame delay measurement test by disable frame delay measurement function on the MEP.
  • Page 266 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#cfm dm 00-01-02-03-04-05 mepname mep1 period:interval 1sec:10sec percentile 75 pdu_priority 7 Command: cfm dm 00-01-02-03-04-05 mepname mep1 period:interval 1sec:10sec percentile 75 pdu_priority 7 Success. DGS-3620-28PC:admin# 15-32 cfm lm Description This command is used to start a frame loss measurement test.
  • Page 267 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To start a frame loss measurement test: DGS-3620-28PC:admin#cfm lm 00-01-02-03-04-05 mepname mep1 period 1s pdu_priority 7 Command: cfm lm 00-01-02-03-04-05 mepname mep1 period 1sec pdu_priority 7 Success. DGS-3620-28PC:admin# 15-33 clear cfm dm...
  • Page 268 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#clear cfm dm mepname mep1 Command: clear cfm dm mepname mep1 Success. DGS-3620-28PC:admin# 15-34 clear cfm lm Description This command is used to clear the frame loss measurement information. Format clear cfm lm {[mepname <string 32>...
  • Page 269 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 15-35 config cfm dm Description This command is used to configure the parameters of frame delay measurement function. Format config cfm dm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22>...
  • Page 270 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config cfm lm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] state [enable | disable] Parameters mepname - Specifies the MEP name.
  • Page 271 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters mepname - Specifies the MEP name. <string 32> - Enter the MEP name. This name can be up to 32 characters long. mepid - Specifies the MEP ID. <int 1-8191>...
  • Page 272 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show cfm lm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] Parameters mepname - Specifies the MEP name. <string 32>...
  • Page 273: 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 274 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 SPACE n...
  • Page 275 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 show 802.1x auth_configuration ports 1...
  • Page 276: Chapter 17 Command Logging Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 17 Command Logging Commands 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 277: 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-28PC:admin# disable command logging Command: disable command logging Success.
  • Page 278: Chapter 18 Common Unicast Routing Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 18 Common Unicast Routing Commands 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 [local | static | rip | bgp] {mettype [1 | 2] | metric <value 0-...
  • Page 279 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ibgp - Configure the preference of BGP AS-internal route. (EI Mode Only Parameter) <value 1-999> - Enter the route preference value here. This value must be between 1 and 999. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 280 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 18-3 create route redistribute dst ospf src Description...
  • Page 281 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To add route redistribution to OSPF: DGS-3620-28PC:admin# create route redistribute dst ospf src rip Command: create route redistribute dst ospf src rip Success.
  • Page 282 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure route redistributions: DGS-3620-28PC: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.
  • Page 283 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# create route redistribute dst rip src ospf all metric 2 Command: create route redistribute dst rip src ospf all metric 2 Success. DGS-3620-28PC:admin# 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.
  • Page 284 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config route redistribute dst rip src ospf internal Command: config route redistribute dst rip src ospf internal Success. DGS-3620-28PC:admin# 18-7 delete route redistribute dst rip src Description This command is used to delete the route redistribute configuration on the Switch.
  • Page 285 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 286 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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. internal - To redistribute only the OSPF AS-internal routes.
  • Page 287 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display route redistributions: DGS-3620-28PC:admin#show route redistribute Command: show route redistribute Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------------ ------------ OSPF Type-2 Total Entries : 1 DGS-3620-28PC:admin#...
  • Page 288 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show route redistribute dst rip Command: show route redistribute dst rip Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------ ------------ OSPF ExtType2 STATIC LOCAL Total Entries : 3...
  • Page 289 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 18-13 delete route redistribute dst ospf src Description This command is used to delete the route redistribute configuration on the Switch. It specifies to not redistribute other routing protocols to OSPF. Format delete route redistribute dst ospf src [local | static | rip | bgp] Parameters...
  • Page 290 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display route redistributions: DGS-3620-28PC:admin#show route redistribute dst bgp Command: show route redistribute dst bgp Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol...
  • Page 291 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show route redistribute dst ospf Command: show route redistribute dst ospf Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------ ------------ Total Entries : 0 DGS-3620-28PC:admin#...
  • Page 292: 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 293 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-28PC:admin#create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3620-28PC:admin# 19-2 delete authentication guest_vlan Description This command is used to delete a guest VLAN setting, but not a static VLAN.
  • Page 294 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 - Specifies the guest VLAN name. <vlan_name 32> - Enter the guest VLAN name. The VLAN name can be up to 32 characters long.
  • Page 295: 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 296: Show Authentication

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide then 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 297 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the authentication failover configuration: DGS-3620-28PC:admin#show authentication Command: show authentication Authentication Server Failover: Block. DGS-3620-28PC:admin# 19-7 show authentication guest_vlan Description This command is used to display guest VLAN information. Format show authentication guest_vlan Parameters...
  • Page 298: 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-28PC:admin#show authentication mac_format Command: show authentication mac_format Case : Uppercase Delimiter : None Delimiter Number DGS-3620-28PC:admin# 19-9 show authentication ports Description...
  • Page 299: Enable Authorization Attributes

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 19-10 enable authorization attributes Description This command is used to enable the authorization global state.
  • Page 300: Show Authorization

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the authorization global state: DGS-3620-28PC:admin#disable authorization attributes Command: disable authorization attributes Success. DGS-3620-28PC:admin# 19-12 show authorization Description...
  • Page 301 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 302: Chapter 20 Debug Software Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 20 Debug Software Commands 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 303 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide debug bgp show network {ipv6 unicast} debug bgp show aggregate {ipv6 unicast} debug bgp show damp {ipv6 unicast} 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 304 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - Specifies the state of the address binding debugging option. enable - Specifies that the address binding debugging option will be enabled. disable - Specifies that the address binding debugging option will be disabled. Restrictions Only Administrator level users can issue this command.
  • Page 305 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-3 debug error_log Description Use this command to dump, clear or upload the software error log to a TFTP server. Format debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] Parameters dump - Display the debug message of the debug log.
  • Page 306: Debug Buffer

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide gp($28) : 8180ADA0 sp($29) : 4CFEA7A0 fp($30) : 00000001 ra($31) : 80A02938 ------------------------- TASK STACKTRACE ------------------------ ->81150A58 ->809B346C ->809E1DEC ->809D7E6C ->80A038CC ->80A033B0 ->80A0297C To clear the error log: DGS-3620-28PC:admin# debug error_log clear Command: debug error_log clear Success.
  • Page 307: Debug Output

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide dump - Display the debug message in the debug buffer. clear - Clear the debug buffer. upload_toTFTP - Upload the debug buffer to a TFTP server specified by IP address. <ipaddr>...
  • Page 308 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the system memory pool resource may fail to execute command such as download and upload firmware, or save configuration. If you want to execute these commands successfully, please use the command “debug buffer clear”...
  • Page 309: Debug Config State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To set the switch to not need a reboot when a fatal error occurs: DGS-3620-28PC:admin# debug config error_reboot disable Command: debug config error_reboot disable Success.
  • Page 310: Debug Stp Clear Counter

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug show error_reboot state Parameters None. Restrictions Only Administrator level users can issue this command. Example To show the error reboot status: DGS-3620-28PC:admin#debug show error_reboot state Command: debug show error_reboot state Error Reboot: Enabled DGS-3620-28PC:admin# 20-9...
  • Page 311: 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 312: Debug Stp Show Flag

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specifies the STP ports for display. <portlist> - Enter the list of port used for this configuration here. all - Display all port’s counters. If no parameter is specified, display the global counters.
  • Page 313: Debug Stp Show Information

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specifies the STP ports to display. <portlist> - (Optional) Enter the list of port used for this configuration here. If no parameter is specified, all ports on the switch will be displayed. Restrictions Only Administrator level users can issue this command.
  • Page 314 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To show STP debug information: DGS-3620-28PC:admin# debug stp show information Command: debug stp show information Spanning Tree Debug Information: ---------------------------------------- Port Status In Hardware Table: Instance 0:...
  • Page 315: Debug Stp State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Instance 1: Port 1 : Regional Root Bridge /00-00-00-00-00-00 Internal Root Cost Designated Bridge /00-00-00-00-00-00 Designated Port Remaining Hops : 20 DGS-3620-28PC:admin# 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...
  • Page 316 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug ospf [neighbor_state_change | interface_state_change {dr_bdr_selection} | lsa {all | originating | installing | receiving | flooding} (1) | packet {all | receiving | sending} (1) | retransmission | spf {all | intra | inter | extern} (1) | timer | virtual_link | route | redistribution] state [enable | disable] Parameters...
  • Page 317 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug ospf interface_state_change state enable Command: debug ospf interface_state_change state enable Success. DGS-3620-28PC:admin# To enable all OSPF LSA debug flags: DGS-3620-28PC:admin# debug ospf lsa all state enable Command: debug ospf lsa all state enable Success.
  • Page 318 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters packet - (Optional) Specifies to reset the OSPF packet counter. neighbor - (Optional) Specifies to reset the OSPF neighbor event counter. spf - (Optional) Specifies to reset the OSPF SPF event counter. If the parameter is not specified, all OSPF counters will be cleared.
  • Page 319 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-18 debug ospf show counter Description This command is used to display OSPF statistic counters. 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.
  • Page 320 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Intra Inter Extern : 0 DGS-3620-28PC:admin# 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.
  • Page 321 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Metric: 20 Forwarding Address: 10.90.90.101 External Route Tag: 0 Internal Field: Del_flag: 0x0 I_ref_count: 0 Seq: 0x80000001 Csum: 0xd08e Rxtime: 384 Txtime: 0 Orgage: 0 Current Time: 394 DGS-3620-28PC:admin# 20-20 debug ospf show detail net_link...
  • Page 322 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 0..= 7 Bit Isn't Set LS Sequence Number: 0x80000001 Length: 32 Attached Router: 10.90.90.91 Attached Router: 1.1.1.1 Internal Field: Del_flag: 0x0 I_ref_count: 0 Seq: 0x80000001 Csum: 0x4e99 Rxtime: 4 Txtime: 4 Orgage: 1...
  • Page 323 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide .0..= O: O Bit Isn't Set 0..= 7 Bit Isn't Set LS Sequence Number: 0x80000002 Length: 36 Flags: 0x0 ..0 = B: Not Area Border Router ..
  • Page 324 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ..1. = E: ExternalRoutingCapability ..0.. = MC: NOT Multicast Capable ..0... = N/P: NSSA Bit ...0 ..= EA: Not Support Rcv And Fwd EA_LSA ..0.
  • Page 325 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Options: 0x2 ..0 = 0 Bit Isn't Set ..1. = E: ExternalRoutingCapability ..0.. = MC: NOT Multicast Capable ..0... = N/P: NSSA Bit ...0 ..= EA: Not Support Rcv And Fwd EA_LSA ..0.
  • Page 326 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Interface State Change LSA Originating LSA Operating LSA Receiving LSA Flooding Packet Receiving Packet Sending Retransmission Timer DR Selection Route Redistribution Virtual Link SPF Intra SPF Inter SPF Extern DGS-3620-28PC:admin# 20-25 debug ospf show log state...
  • Page 327 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-26 debug ospf show redistribution Description This command is used to display the current internal OSPF redistribute list. Format debug ospf show redistribution Parameters None. Restrictions Only Administrator level users can issue this command. Example To display the current OSPF redistribution list: DGS-3620-28PC:admin# debug ospf show redistribution...
  • Page 328 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 the current OSPF request list: DGS-3620-28PC: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...
  • Page 329 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 20-29 debug ospf state...
  • Page 330: Debug Vrrp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug ospf state enable Command: debug ospf state enable Success. DGS-3620-28PC:admin# debug ospf show flag Command: debug ospf show flag Global State: Enabled Current OSPF Flags Setting: Neighbor State Change DGS-3620-28PC:admin# 20-30...
  • Page 331 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug vrrp vr_state_change state enable Command: debug vrrp vr_state_change state enable Success. DGS-3620-28PC:admin# To enable all VRRP packet debug flags: DGS-3620-28PC:admin# debug vrrp packet all state enable Command: debug vrrp packet all state enable Success.
  • Page 332 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-28PC:admin# debug vrrp clear counter Command: debug vrrp clear counter Success DGS-3620-28PC:admin# 20-32...
  • Page 333 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-33 debug vrrp show counter Description This command is used to display the VRRP debug statistic counters. Format debug vrrp show counter Parameters None. Restrictions Only Administrator level users can issue this command. Example To display VRRP statistic counters: DGS-3620-28PC:admin# debug vrrp show counter...
  • Page 334 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display VRRP debug flag settings: DGS-3620-28PC:admin#debug vrrp show flag Command: debug vrrp show flag Global State: Disabled Current VRRP debug level setting: virtual router state change packet receiving packet sending mac address update...
  • Page 335: Debug Vrrp State

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 state - Specifies the state of the VRRP debug state. The default setting is disabled. enable - Specifies that the VRRP debug state will be enabled.
  • Page 336 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug bgp show flag Command: debug bgp show flag Current BGP flags setting: Peer FSM Event Disable OPEN Packet Receive Disable OPEN Packet Send Disable UPDATE Packet Receive Disable UPDATE Packet Send Disable...
  • Page 337 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug bgp all flag enable Command: debug bgp all flag enable Success. DGS-3620-28PC:admin# 20-39 debug bgp fsm_event Description This command is used for setting the flag of debugging information about peer FSM Event. Format debug bgp fsm_event [enable | disable] Parameters...
  • Page 338 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug bgp packet [{open | update | keepalive | notify | refresh | capability}(1) | all] [in | out] [enable | disable] Parameters open - (Optional) Specifies that 'open' information will be displayed. update - (Optional) Specifies that 'update' information will be displayed.
  • Page 339 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-41 debug bgp error state Description This command is use for setting the flag of debugging information about BGP Error not need send BGP NOTIFICATION. Format debug bgp error state [enable | disable] Parameters enable - Enable the BGP debug function.
  • Page 340 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 BGP to show global information: DGS-3620-28PC:admin# debug bgp show global_info Command: debug bgp show global_info Following is the information for global debugging: --------------------------------------------------- AS Number...
  • Page 341 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 BGP to show all peers’ information: DGS-3620-28PC:admin# debug bgp show peer Command: debug bgp show peer BGP neighbor: 10.10.10.2 (Internal Peer) ----------------------------------------------- Session State: Enabled...
  • Page 342 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 20-44 debug bgp show peer_group Description This command is used for displaying current peer group’s configuration in BGP protocol stack. Format debug bgp show peer_group {ipv6 unicast} Parameters ipv6 unicast –...
  • Page 343 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 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 344 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 20-46 debug bgp show aggregate Description This command is used for displaying current aggregate’s configuration in BGP protocol stack.
  • Page 345 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug bgp show damp {ipv6 unicast} Parameters ipv6 unicast – (Optional) Specifies to debug the IPv6 unicast address family. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show current dampening information: DGS-3620-28PC:admin# debug bgp show damp...
  • Page 346 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 0.757858 Output truncated... DGS-3620-28PC:admin# 20-48 debug bgp show interface_info Description This command is used for displaying current interface information in BGP protocol stack. Format debug bgp show interface_info Parameters None.
  • Page 347 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 BGP as_path access_list information: DGS-3620-28PC: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]_)
  • Page 348 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug bgp show bgp_timer Command: debug bgp show bgp_timer BGP timer Link: Node Time Func ---- ---- ------ 08B108D0 0001 00675AF4 08B1AC70 0016 0065F4F4 08B1ACA8 0017 0065F5CC 08B37DCC 0029 0065F4F4...
  • Page 349 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug bgp show redist_info Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show current BGP redistribution information: DGS-3620-28PC:admin# debug bgp show redist_info Command: debug bgp show redist_info Last redistribution count summary:...
  • Page 350 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 routemap debug flags’ state to enable: DGS-3620-28PC:admin# debug bgp router_map enable Command: debug bgp router_map enable Success.
  • Page 351 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug bgp access_list enable Command: debug bgp access_list enable Success. DGS-3620-28PC:admin# Output Examples: After configure BGP to enable access list debug flag, it may print following information when access list applied. access_list:<ac1>,apply bgp neighbor:<19.0.0.1>...
  • Page 352 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-56 debug bgp state Description This command is used to set the global state of BGP debug function. Format debug bgp state [enable | disable] Parameters enable - Specifies to enable the debug function of BGP. disable - Specifies to disable the debug function of BGP.
  • Page 353 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug dhcpv6_client state enable Command: debug dhcpv6_client state enable Success. DGS-3620-28PC:admin# 20-58 debug dhcpv6_client state disable Description This command is used to disable the DHCPv6 client Debug function. Format debug dhcpv6_client state enable Parameters...
  • Page 354 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To set debug information to output to console: DGS-3620-28PC:admin# debug dhcpv6_client output console Command: debug dhcpv6_client output console Success. DGS-3620-28PC:admin# 20-60 debug dhcpv6_client packet Description...
  • Page 355 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-61 debug dhcpv6_relay state enable Description This command is used to enable the DHCPv6 relay Debug function. Format debug dhcpv6_relay state enable Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enabled DHCPv6 relay debug function: DGS-3620-28PC:admin#...
  • Page 356 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug dhcpv6_relay state disable Command: debug dhcpv6_relay state disable Success. DGS-3620-28PC:admin# 20-63 debug dhcpv6_relay hop_count state Description This command is used to enable or disable debug information flag about the hop count. Format debug dhcpv6_relay hop_count state [enable | disable] Parameters...
  • Page 357 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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-28PC:admin# debug dhcpv6_relay output console Command: debug dhcpv6_relay output console Success.
  • Page 358 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-66 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. Format debug dhcpv6_server packet [all | receiving | sending] state [enable | disable] Parameters all - Set packet receiving and sending debug flags.
  • Page 359 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disabled the DHCPv6 server debug function: DGS-3620-28PC:admin# debug dhcpv6_server state disable Command: debug dhcpv6_server state disable Success. DGS-3620-28PC:admin# 20-68 debug dhcpv6_server state enable Description This command is used to enable the DHCPv6 server debug functions. Format debug dhcpv6_server state enable Parameters...
  • Page 360 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 enable the PIM-SSM debug function: DGS-3620-28PC:admin# debug pim ssm Command: debug pim ssm Success. DGS-3620-28PC:admin# Once the PIM-SSM debug enabled, the debug information maybe outputted. DGS-3620-28PC:admin# PIM_SSM, 6 Dec 2012 15:37:22 IGMP Group Record Type 2 for group 232.1.1.1 from 192.168.2.14 on n101, ignored.
  • Page 361 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# no debug pim ssm Command: no debug pim ssm Success. DGS-3620-28PC:admin# 20-71 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 362 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 20-72 debug ripng show flag Description This command is used to display the RIPng debug flag setting. Format debug ripng show flag Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example To show the current RIPng debug flag setting: DGS-3620-28PC:admin# debug ripng show flag...
  • Page 363 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable RIPng debug globally: DGS-3620-28PC:admin# debug ripng state disable Command: debug ripng state disable Success. DGS-3620-28PC:admin# 20-74 debug ripng state enable Description This command is used to enable the RIPng debug state. Format debug ripng state enable Parameters...
  • Page 364 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters prefix_list - Specifies to display IPv4 prefix list debug information. access_list - Specifies to display IPv4 access list debug information. route_map - Specifies to display route map debug information. ipv6_prefix_list - Specifies to display IPv6 prefix list debug information.
  • Page 365: Debug Show Status

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug routefilter show route_map Command: debug routefilter show route_map route-map 123,r_id:1 Sequence 1, type:1 Match clauses: as-path (as-path filter): list1 community list1 exact ip next-hop prefix-list 123 ip address prefix-list 123 metric 4294967294 ipv6 address prefix-list abc...
  • Page 366 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If the input module list is empty, the states of all registered modules which support debug module will be shown. Format debug show status {module <module_list>} Parameters module – (Optional) Specifies the module list. <module_list>...
  • Page 367 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug super_vlan state [enable | disable] Parameters state - Specifies the super VLAN debug function state. enable - Specifies that the super VLAN debug function will be enabled. disable - Specifies that the super VLAN debug function will be disabled.
  • Page 368 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the DHCPv6 snooping binding state of entries: DGS-3620-28PC:admin# debug show address_binding binding_state_table dhcpv6_snooping Command: debug show address_binding binding_state_table dhcpv6_snooping S (State) - S: Start, L: Live, D :Detection, R: Renew, B: Bound Time - Expiry Time (sec) IP Address MAC Address...
  • Page 369 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To show error statistics information of the SIO port: DGS-3620-28PC:admin#debug show error ports box_id all sio1 Command: debug show error ports box_id all sio1 Box ID 1 SIO 1: RX Frames TX Frames...
  • Page 370 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display debug information of JWAC: DGS-3620-28PC:admin#debug show jwac auth_info Command: debug show jwac auth_info ACL Index Bitmap DB (jwac_db_acl_bmp): Internal TCP Port Number (jwac_internal_port_bitmap): Connection DB: No Host Current AUTH DB (_jwac_db_nodes): No Host...
  • Page 371 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show packet statistics information of the SIO port: DGS-3620-28PC:admin# debug show packet ports box_id all sio1 Command: debug show packet ports box_id all sio1 BOX ID 1 SIO 1: Frame Size/Type Frame Counts Frames/sec...
  • Page 372 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# debug show cpu utilization Command: debug show cpu utilization Five seconds - 14 % One minute - 14 % Five minutes - 14 % Process Name 5Sec 1Min 5Min -----------------...
  • Page 373: 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 1-4094> state [enable | disable] enable dhcp_local_relay disable dhcp_local_relay show dhcp_local_relay 21-1 config dhcp_local_relay vlan...
  • Page 374 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 1-4094> state [enable | disable] Parameters vlanid - Specifies the VLAN ID used to enabled DHCP local relay.
  • Page 375 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3620-28PC: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 376 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-28PC: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-28PC:admin#...
  • Page 377: 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 378 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters hops - Specifies 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> - Enter the maximum number of router hops that the DHCP/BOOTP packets can cross.
  • Page 379 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC: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 380 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <multiword 255> - Enter a string. relay - Specifies 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 381 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-28PC:admin#config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-3620-28PC:admin# 22-6 config dhcp_relay option_60 delete Description This command is used to delete a DHCP Option 60 entry.
  • Page 382 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 383 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <macaddr> - Enter the client’s client-ID, which is the MAC address of the client. string - Specifies the client’s client-ID, which is specified by administrator. <desc_long 255> - Enter the client’s client-ID, which is specified by administrator The client- ID string can be up to 255 characters long.
  • Page 384 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config dhcp_relay option_61 default drop Command: config dhcp_relay option_61 default drop Success. DGS-3620-28PC: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 385 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp_relay option_61 state [enable | disable] Parameters enable - Specifies to enable the DHCP relay function to use option 61 rules to relay DHCP packets. disable - Specifies to disable the DHCP relay function to use option 61 rules to relay DHCP packets.
  • Page 386 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 22-13 config dhcp_relay option_82 circuit_id Description This command is used to configure the DHCP relay option 82 circuit ID. Format config dhcp_relay option_82 circuit_id [default | user_define <string 32> | vendor6] Parameters default - Specifies that the original format of the circuit ID will be used.
  • Page 387 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the ciruit ID as vendor 6: DGS-3620-28PC:admin# config dhcp_relay option_82 circuit_id vendor6 Command: config dhcp_relay option_82 circuit_id vendor6 Success. DGS-3620-28PC:admin# 22-14 config dhcp_relay option_82 policy Description This option takes effect only when the check status is disabled.
  • Page 388 Only Administrators, Operators and Power-Users can issue this command. Example To configure the remote ID string of the DHCP relay agent information Option 82: DGS-3620-28PC: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-28PC:admin# 22-16 config dhcp_relay option_82 state...
  • Page 389 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the state of the DHCP relay agent information Option 82: DGS-3620-28PC:admin#config dhcp_relay option_82 state enable Command: config dhcp_relay option_82 state enable Success. DGS-3620-28PC:admin# 22-17 enable dhcp_relay Description This command is used to enable the DHCP relay function on the switch.
  • Page 390 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the DHCP relay function: DGS-3620-28PC:admin#disable dhcp_relay Command: disable dhcp_relay Success. DGS-3620-28PC:admin# 22-19 show dhcp_relay Description This command is used to display the current DHCP relay configuration.
  • Page 391 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 DHCP Relay Agent Information Option 82 Circuit ID : default Interface...
  • Page 392 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide String Match Type IP Address ------- --------- --------- Exact Match 10.90.90.1 abcde Partial Match 10.90.90.2 abcdefg Exact Match 10.90.90.3 Total Entries: 3 DGS-3620-28PC:admin# 22-21 show dhcp_relay option_61 Description This command is used to display all the DHCP relay option 61 rules.
  • Page 393 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 22-22 config dhcp_relay ports Description This command is used to configure the state of the DHCP relay function for each port. Format config dhcp_relay ports [<portlist> | all] state [enable | disable] Parameters <portlist>...
  • Page 394 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the DHCP relay state of ports 1 to 10: DGS-3620-28PC:admin#show dhcp_relay ports 1:1-1:10 Command: show dhcp_relay ports 1:1-1:10 Port DHCP Relay State ---- ---------------- Enabled Enabled Enabled Enabled...
  • Page 395: 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 396 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters begin_address - Specifies the starting address of the IP address range. <ipaddr> - Enter the starting address of the IP address range. end_address - Specifies the ending address of the IP address range. <ipaddr>...
  • Page 397 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 Success. DGS-3620-28PC: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.
  • Page 398 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the name of the DHCP pool. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create a DHCP pool: DGS-3620-28PC:admin#create dhcp pool nyknicks Command: create dhcp pool nyknicks Success.
  • Page 399 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 400 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the DHCP pool name. <domain_name 64> - (Optional) Specifies the domain name of the client. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the domain name option of the DHCP pool: DGS-3620-28PC:admin#config dhcp pool domain_name nyknicks nba.com...
  • Page 401 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 402 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the DHCP pool name. broadcast - Specifies the NetBIOS node type for Microsoft DHCP clients as broadcast. peer_to_peer - Specifies the NetBIOS node type for Microsoft DHCP clients as peer_to_peer. mixed - Specifies the NetBIOS node type for Microsoft DHCP clients as mixed.
  • Page 403 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC: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 404 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp pool boot_file <pool_name 12> {<file_name 64>} Parameters <pool_name 12> - Enter the DHCP pool name. <file_name 64> - (Optional) Specifies the file name of the boot image. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 405 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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. By default, the DHCP server pings a pool address twice before assigning the address to a DHCP client.
  • Page 406 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <millisecond 10-2000> - Enter the amount of time the DHCP server must wait before timing out a ping packet. The default value is 100. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the time out value for ping packets: DGS-3620-28PC:admin#config dhcp ping_timeout 500...
  • Page 407: Clear Dhcp Binding

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure manual bindings: DGS-3620-28PC: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. DGS-3620-28PC:admin# 23-18 delete dhcp pool manual_binding Description...
  • Page 408: Show Dhcp Binding

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format clear dhcp binding [<pool_name 12> [<ipaddr> | all] | all] Parameters <pool_name 12> - Enter the DHCP pool name to clear. <ipaddr> - Enter the IP address to clear. all - Specifies to clear all IP addresses for the specified pool.
  • Page 409 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide engineering 192.168.0.1 00-80-C8-08-13-88 Ethernet Manual 86400 engineering 192.168.0.2 00-80-C8-08-13-99 Ethernet Automatic 86400 engineering 192.168.0.3 00-80-C8-08-13-A0 Ethernet Automatic 86400 engineering 192.168.0.4 00-80-C8-08-13-B0 Ethernet Automatic 86400 Total Entries: 4 DGS-3620-28PC:admin# 23-21 show dhcp pool Description...
  • Page 410 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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> - (Optional) Specifies the DHCP pool name. Restrictions None.
  • Page 411 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable DHCP server: DGS-3620-28PC:admin#enable dhcp_server Command: enable dhcp_server Success. DGS-3620-28PC:admin# 23-24 disable dhcp_server Description This command is used to disable the DHCP server function on the switch. Format disable dhcp_server Parameters...
  • Page 412 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the DHCP server status: DGS-3620-28PC:admin#show dhcp_server Command: show dhcp_server DHCP Server Global State: Disabled Ping Packet Number Ping Timeout : 100 ms DGS-3620-28PC:admin# 23-26 clear dhcp conflict_ip...
  • Page 413 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 414 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create a DHCP option profile: DGS-3620-28PC:admin#create dhcp option_profile profile1 Command: create dhcp option_profile profile1 Success. DGS-3620-28PC:admin# 23-29 config dhcp option_profile Description...
  • Page 415 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# To add option 72 using string format: DGS-3620-28PC:admin#config dhcp option_profile profile1 add option 72 string "192.168.0.254" Command: config dhcp option_profile profile1 add option 72 string "192.168.0.254" Success.
  • Page 416 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-31 show dhcp option_profile Description This command is used to display the current DHCP option profile configuration. Format show dhcp option_profile {<profile_name 12>} Parameters <profile_name 12> - (Optional) Enter the DHCP server option profile name here. This name can be up to 12 characters long.
  • Page 417 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete - Specifies to delete an option profile from a DHCP pool, configured on this switch. <profile_name 12> - Enter the DHCP server option profile name here. This name can be up to 12 characters long.
  • Page 418: Chapter 24 Dhcp Server Screening Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 24 DHCP Server Screening 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>...
  • Page 419 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <macaddr> - Enter the MAC address. ports - Specifies the ports. <portlist> - Enter the range of ports to be configured. all - Specifies to configure all ports. delete permit server_ip - Specifies the delete permit server IP address.
  • Page 420 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config filter dhcp_server log [enable | disable] Parameters enable – Specifies to enable the log for a DHCP server filter event. disable – Specifies to disable the log for a DHCP server filter event. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 421 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-4 show filter dhcp_server Description This command is used to display the DHCP server/client filter list created on the switch. Format show filter dhcp_server Parameters None. Restrictions None. Example To display the DHCP server/client filter list created on the switch: DGS-3620-28PC:admin#show filter dhcp_server...
  • Page 422 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipv6addr> - Specifies the source address of the entry which will be created into the Filter DHCPv6 server forward list. ports - Specifies the list of ports used for this configuration. <portlist>...
  • Page 423 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-7 config filter dhcpv6_server ports Description This command is used to configure the state of filter DHCPv6 server packets on the switch. The filter DHCPv6 server function is used to filter the DHCPv6 server packets on the specific port(s) and receive the trust packets from the specific source.
  • Page 424 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the filter DHCPv6 server trap state: DGS-3620-28PC:admin#config filter dhcpv6_server trap enable Command: config filter dhcpv6_server trap enable Success.
  • Page 425 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-10 delete filter dhcpv6_server permit sip Description This command is used to delete a filter DHCPv6 server permit entry. Format delete filter dhcpv6_server permit sip <ipv6addr> Parameters <ipv6addr> - Enter the source IPv6 address of the entry here. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 426 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a filter ICMPv6 RA All-nodes permit entry on port 5: DGS-3620-28PC:admin#create filter icmpv6_ra_all_node permit sip 2200::5 ports Command: create filter icmpv6_ra_all_node permit sip 2200::5 ports 1:5 Success.
  • Page 427 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config filter icmpv6_ra_all_node ports [<portlist> | all] state [enable | disable] Parameters <portlist> - Enter the list of ports, used for this configuration, here. all - Specifies that all ports will be used for this configuration. state - Specifies whether the port’s filter ICMPv6 RA all-nodes packets function is enabled or disabled.
  • Page 428 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config filter icmpv6_ra_all_node trap enable Command: config filter icmpv6_ra_all_node trap enable Success. DGS-3620-28PC:admin# 24-15 show filter icmpv6_ra_all_node Description This command is used to display the filter ICMPv6 RA all-nodes information. Format show filter icmpv6_ra_all_node Parameters...
  • Page 429 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete filter icmpv6_ra_all_node permit sip <ipv6addr> Parameters <ipv6addr> - Enter the source IPv6 address of the entry which will be deleted in the filter ICMPv6 RA all-nodes forward list. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 430: Chapter 25 Dhcpv6 Relay Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 25 DHCPv6 Relay Commands 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>} config dhcpv6_relay option_37 {state [enable | disable] | check [enable | disable] | remote_id [default | cid_with_user_define <desc 128>| user_define <desc 128>]}(1)
  • Page 431 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable dhcpv6_relay Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the DHCPv6 relay global state to disable: DGS-3620-28PC:admin# disable dhcpv6_relay Command: disable dhcpv6_relay Success.
  • Page 432 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 25-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 433 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies that all the configured IP interfaces wil be used.. state - Specifies if the DHCPv6 relay state will be enabled or disabled. 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.
  • Page 434 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State : Disabled DHCPv6 Hops Count Limit DHCPv6 Relay Information Option 37 State : Disabled DHCPv6 Relay Information Option 37 Check : Disabled DHCPv6 Relay Information Option 37 Remote ID Type : Default DHCPv6 Relay Information Option 37 Remote ID : ---------------------------------------------------------------...
  • Page 435 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6_relay option_37 {state [enable | disable] | check [enable | disable] | remote_id [default | cid_with_user_define <desc 128>| user_define <desc 128>]}(1) Parameters state - Specifies the DHCPv6 relay Option 37 state. enable - When the state is enabled, the DHCP packet will be inserted with the Option 37 field before being relayed to server.
  • Page 436 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config dhcpv6_relay option_37 remote_id default Command: config dhcpv6_relay option_37 remote_id default Success. DGS-3620-28PC:admin#...
  • Page 437: Chapter 26 Dhcpv6 Server Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 26 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 438 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3620-28PC:admin# 26-2 delete dhcpv6 pool Description This command is used to delete one or all DHCPv6 pools. Format delete dhcpv6 pool [<pool_name 12>...
  • Page 439 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 440 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 441 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the domain name for the DHCPv6 pool pool1: DGS-3620-28PC:admin# config dhcpv6 pool domain_name pool1 dlink.com Command: config dhcpv6 pool domain_name pool1 dlink.com Success. DGS-3620-28PC:admin# 26-6 config dhcpv6 pool dns_server Description This command is used to configure the DNS server’s IPv6 addresses for a specific DHCPv6 pool.
  • Page 442 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Preferred lifetime - the length of time that a valid address is preferred (i.e., the time until deprecation). When the preferred lifetime expires, the address becomes deprecated. Valid lifetime - the length of time an address remains in the valid state (i.e., the time until invalidation).
  • Page 443 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long. add - Specifies the IPv6 address that will statically be bound to a device. <ipv6addr>...
  • Page 444 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create a DHCPv6 prefix pool prefixpool1 for interface System: DGS-3620-28PC:admin#config dhcpv6 pool prefix_delegation prefixpool1 1111::/48 64 System Command: config dhcpv6 pool prefix_delegation prefixpool1 1111::/48 64 System Success.
  • Page 445 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 Entry IPv6 Address: 3000:91:1::100 DUID : 00030006aabbcc000000 Entry IPv6 Address: 3000:91:1::101 DUID...
  • Page 446 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 IPv6 Address: 3000:100:1::1 DUID : 00030006001572200300 Preferred(s): 120 Valid(s): 240...
  • Page 447 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable dhcpv6_server Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the DHCPv6 server global state to enable: DGS-3620-28PC:admin# enable dhcpv6_server Command: enable dhcpv6_server Success.
  • Page 448 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 26-15 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. <ipif_name 12>...
  • Page 449 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters long. add - Specifies to add an excluded address range for a specified pool. begin - Specifies the beginning IPv6 address of the range of IPv6 addresses to be excluded from the DHCPv6 pool.
  • Page 450 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the excluded address information: DGS-3620-28PC:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address Pool Name: net100 Range Begin Address: 3000:110:1::1 End Address : 3000:110:1::7 Range Begin Address: 3000:110:1::9 End Address : 3000:110:1::9 Range...
  • Page 451 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config dhcpv6_server ipif System state enable Command: config dhcpv6_server ipif System state enable Success. DGS-3620-28PC:admin#...
  • Page 452: Chapter 27 Digital Diagnostic Monitoring (Ddm) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 27 Digital Diagnostic Monitoring (DDM) Commands config ddm [trap | log] [enable | disable] config ddm ports [<portlist> | all] [[temperature_threshold {high_alarm <degrees> | low_alarm <degrees> | high_warning <degrees> | low_warning <degrees>} | voltage_threshold {high_alarm <voltage>...
  • Page 453 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config ddm log enable Command: config ddm log enable Success. DGS-3620-28PC:admin# To configure DDM trap state to enable: DGS-3620-28PC:admin#config ddm trap enable Command: config ddm trap enable Success. DGS-3620-28PC:admin# 27-2 config ddm ports...
  • Page 454 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <voltage> - Enter the high threshold alarm value used here. low_alarm - (Optional) Specifies the low threshold for the alarm. When the operating parameter falls below this value, the action associated with the alarm is taken. <voltage>...
  • Page 455 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To configure the port 21’s temperature threshold: DGS-3620-28PC:admin#config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Command: config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Success.
  • Page 456: Show Ddm

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 Command: config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 Success. DGS-3620-28PC:admin# To configure port 21’s actions associate with the alarm: DGS-3620-28PC:admin#config ddm ports 1:21 state enable shutdown alarm...
  • Page 457 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 27-4 show ddm ports Description This command is used to show the current operating DDM parameters and configuration values of the optic module of the specified ports. There are two types of thresholds: the administrative configuration and the operation configuration threshold.
  • Page 458 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show ddm ports 1:21 configuration Command: show ddm ports 1:21 configuration Port: 1:21 -------------------------------------------- DDM State : Enabled Shutdown : Alarm Threshold Temperature Voltage Bias-Current TX-Power RX-Power (in Celsius) (mA) (mW) (mW)
  • Page 459: Chapter 28 Distance Vector Multicast Routing Protocol (Dvmrp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 28 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 460: Enable Dvmrp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure DVMRP configurations of IP interface called ‘System’: DGS-3620-28PC:admin# config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Command: config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Success...
  • Page 461 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable dvmrp Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To disable DVMRP: DGS-3620-28PC:admin# disable dvmrp Command: disable dvmrp Success.
  • Page 462 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout Probe Metric State ------------ ----------------- ---------------- ----- ------ -------- System 192.168.69.123 Disabled Total Entries: 1 DGS-3620-28PC:admin# 28-5 show dvmrp neighbor...
  • Page 463 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 28-6 show dvmrp nexthop Description This command is used to display the DVMRP routing next hop table. Format show dvmrp nexthop {ipaddress <network_address> | ipif <ipif_name 12>} Parameters ipaddress - (Optional) Specifies the IP address and netmask of the destination used.
  • Page 464 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipaddress - (Optional) Specifies the IP address and netmask of the destination used. <network_address> - Enter the IP address and netmask of the destination used here. If no parameter is specified, the system will display the whole DVMRP routing table. Restrictions None.
  • Page 465: Chapter 29 D-Link License Management System (Dlms) Commands

    DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 29 D-Link License Management System (DLMS) Commands install dlms activation_code <string 25> {unit <unit_id>} show dlms license 29-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 functions on the switch.
  • Page 466 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 29-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 467: Chapter 30 Domain Name System (Dns) Relay Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 30 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} 30-1...
  • Page 468 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# To add the entry “dns1” with IP address 10.24.22.5 to the DNS static table: DGS-3620-28PC:admin#config dnsr add static dns1 10.24.22.5 Command: config dnsr add static dns1 10.24.22.5 Success.
  • Page 469 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable dnsr cache Command: enable dnsr cache Success. DGS-3620-28PC:admin# To enable static table lookup for DNS relay: DGS-3620-28PC:admin#enable dnsr static Command: enable dnsr static Success. DGS-3620-28PC:admin# 30-3 disable dnsr Description This command is used to disable DNS relay on the switch.
  • Page 470 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# To disable static table lookup for DNS relay: DGS-3620-28PC:admin#disable dnsr static Command: disable dnsr static Success. DGS-3620-28PC:admin# 30-4 show dnsr Description This command is used to display the current DNS relay configuration and static entries. Format show dnsr {static} Parameters...
  • Page 471 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 472: Chapter 31 Domain Name System (Dns) Resolver Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 31 Domain Name System (DNS) Resolver Commands config name_server add [<ipaddr> | <ipv6addr>] {primary} config name_server delete [<ipaddr> | <ipv6addr>] {primary} config name_server timeout <second 1-60> show name_server create host_name <name 255>...
  • Page 473 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 31-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> | <ipv6addr>] {primary} Parameters <ipaddr>...
  • Page 474 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure DNS Resolver name server time out to 10 seconds: DGS-3620-28PC:admin# config name_server timeout 10 Command: config name_server timeout 10 Success. DGS-3620-28PC:admin# 31-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 475 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 31-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> | <ipv6addr>] Parameters <name 255> - Enter the hostname used here. This name can be up to 255 characters long. <ipaddr>...
  • Page 476 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3620-28PC:admin# 31-7 show host_name Description This command is used to display the current host name. Format show host_name {static | dynamic} Parameters static –...
  • Page 477 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Dynamic Entries: 0 DGS-3620-28PC:admin# 31-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 Administrators, Operators and Power-Users can issue this command.
  • Page 478 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the DNS Resolver state to disabled: DGS-3620-28PC:admin# disable dns_resolver Command: disable dns_resolver Success. DGS-3620-28PC:admin#...
  • Page 479: Chapter 32 Dos Attack Prevention Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 32 DoS Attack Prevention Commands config dos_prevention dos_type [{land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin | tcp_syn_srcport_less_1024 | ping_death_attack | tcp_tiny_frag_attack} | all] {action [drop] | state [enable | disable]}(1) config dos_prevention log [enable | disable] config dos_prevention trap [enable | disable] show dos_prevention {land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin |...
  • Page 480 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure land attack and blat attack prevention, the action is drop: DGS-3620-28PC:admin#config dos_prevention dos_type land_attack blat_attack action drop state enable Command: config dos_prevention dos_type land_attack blat_attack action drop state enable...
  • Page 481 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dos_prevention trap [enable | disable] Parameters enable - Specifies to enable the DoS prevention trap state. disable - Specifies to disable the DoS prevention trap state. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 482 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display DoS prevention information: DGS-3620-28PC:admin#show dos_prevention Command: show dos_prevention Trap:Disabled Log:Enabled Function Version : 1.01 DoS Type State Action Frame Counts -------------------------- -------- ---------------- ------------ Land Attack Enabled Drop Blat Attack...
  • Page 483: Chapter 33 D-Link Unidirectional Link Detection (Duld) Commands

    DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 33 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 484 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Commands: config duld ports 1 state enable Success DGS-3620-28PC:admin# 33-2 show duld ports Description This command is used to show unidirectional link detection information. Format show duld ports {<portlist>} Parameters ports - (Optional) Specifies a range of ports to be display.
  • Page 485: Chapter 34 Ethernet Ring Protection Switching (Erps) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 34 Ethernet Ring Protection Switching (ERPS) Commands enable erps disable erps create erps raps_vlan <vlanid 1-4094> delete erps raps_vlan <vlanid 1-4094> config erps raps_vlan <vlanid 1-4094> [state [enable | disable] | ring_mel <value 0-7> | ring_port [west [<port>...
  • Page 486 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable ERPS: DGS-3620-28PC:admin#enable erps Command: enable erps Success. DGS-3620-28PC:admin# 34-2 disable erps Description This command is used to disable the ERPS function on the switch. Format disable erps Parameters...
  • Page 487 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create erps raps_vlan <vlanid 1-4094> Parameters <vlanid 1-4094> - Enter the VLAN which will be the R-APS VLAN. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create an ERPS RAPS VLAN: DGS-3620-28PC:admin#create erps raps_vlan 4094...
  • Page 488 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 34-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 489 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Holdoff timer - Hold-off timer is used to filter out intermittent link faults when link failure occurs. This timer is used during the protection switching process when link failure occurs. When a ring node detects a link’s failure, it will start the hold off timer.
  • Page 490 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - Specifies a VLAN ID list. <vidlist> - Enter a range of VLAN IDs. sub_ring - Specifies the sub-ring configuration. raps_vlan - Specifies the R-APS VLAN. <vlanid> - Enter the R-APS VLAN ID used here. tc_propagation - Specifies to configure the state of the topology change propagation for the sub-ring.
  • Page 491 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config erps raps_vlan 4094 rpl_port west Command: config erps raps_vlan 4094 rpl_port west Success. DGS-3620-28PC:admin#config erps raps_vlan 4094 rpl_owner enable Command: config erps raps_vlan 4094 rpl_owner enable Success. DGS-3620-28PC:admin# To set the R-APS protected VLAN parameter: DGS-3620-28PC:admin#config erps raps_vlan 4094 protected_vlan add vlanid 10-20...
  • Page 492 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the log state: DGS-3620-28PC:admin#config erps log enable Command: config erps log enable Success. DGS-3620-28PC:admin# 34-7 config erps trap Description This command is used to configure trap state of ERPS events. Format config erps trap [enable | disable] Parameters...
  • Page 493 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show erps {raps_vlan <vlanid 1-4094> {sub_ring}} Parameters raps_vlan - (Optional) Specifies the R-APS VLAN. <vlanid 1-4094> - Enter the R-APS VLAN ID used here. sub_ring - (Optional) Display the sub-ring configuration information. Restrictions None.
  • Page 494: Chapter 35 Energy Efficient Ethernet (Eee) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 35 Energy Efficient Ethernet (EEE) Commands config eee ports [<portlist> | all] state [enable | disable] show eee ports {<portlist>} Note: This feature is only available on hardware version B1 and later. 35-1 config eee ports Description...
  • Page 495 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show eee ports {<portlist>} Parameters <portlist> - (Optional) Specifies a list of ports to be displayed. Restrictions None. Example To display the EEE state: DGS-3620-28PC:admin#show eee ports 1:1-1:6,1:9 Command: show eee ports 1:1-1:6,1:9 Port State...
  • Page 496: Chapter 36 External Alarm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 36 External Alarm Commands config external_alarm {unit <unit_id>} channel <value 1-2> message <sentence 1-128> show external_alarm {unit <unitlist>} 36-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 497 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 36-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 498: Chapter 37 Fdb Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 37 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 499: Create Fdb Vlanid

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-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 500 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create multicast MAC forwarding: DGS-3620-28PC:admin# create multicast_fdb default 01-00-00-00-01-01 Command: create multicast_fdb default 01-00-00-00-01-01 Success. DGS-3620-28PC:admin# 37-4 config multicast_fdb Description...
  • Page 501 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-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 502: Delete Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide table and unregistered group filtered. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the the multicast packet filtering mode for all VLANs: DGS-3620-28PC:admin#config multicast vlan_filtering_mode all forward_unregistered_groups Command: config multicast port filtering_mode all forward_unregistered_groups Success.
  • Page 503: Clear Fdb

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-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 - Specifies the name of the VLAN on which the MAC address resides.
  • Page 504: 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-28PC:admin#show multicast_fdb Command: show multicast_fdb VLAN Name : default MAC Address : 01-00-00-00-01-01...
  • Page 505 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display unicast MAC address table: DGS-3620-28PC: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 506 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#...
  • Page 507: Chapter 38 File System Management Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 38 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 508 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 38-2 Description This command is used to create a directory. Format md {{unit <unit_id>} <drive_id>} <pathname> Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id>...
  • Page 509 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide directory. Restrictions Only Administrators and Operators can issue this command. Example To delete an empty directory: DGS-3620-28PC:admin#rd c:/abc Command: rd c:/abc Success. DGS-3620-28PC:admin# 38-4 Description This command is used to change the current directory. The user can change the current directory to another drive using this command.
  • Page 510 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 38-5 Description This command is used to list all of the files located in a directory of a drive. If a path name is specified, then all of the files in the specified drive will be displayed. If none of the parameters are specified, the files in the current directory will be displayed.
  • Page 511 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 38-6 rename Description This command is used to rename a file or a directory in the file system. The pathname specifies the file (in path form) to be renamed and the file name specifies the new file name. If the path name is not a full path, then it refers to a path under the current directory for the drive.
  • Page 512 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <unit_id> - Enter the unit ID value here. <drive_id> - Specifies the drive ID. If not specified, it refers to the current drive. <pathname> - Enter the file to be deleted. If it is specified in the associated form, then it is related to the current directory.
  • Page 513 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#format d: fat32 Command: format d: fat32 Formatting......Done! DGS-3620-28PC:admin# 38-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 514 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 38-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 515: 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 516 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# change drive unit 3 c: Command: change drive unit 3 c: Current work directory: "/unit3:/c:". DGS-3620-28PC:admin#...
  • Page 517: Chapter 39 Filter Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 39 Filter Commands config filter extensive_netbios [<portlist> | all] state [enable | disable] show filter extensive_netbios config filter netbios [<portlist> | all] state [enable | disable] show filter netbios 39-1 config filter extensive_netbios Description...
  • Page 518 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show filter extensive_netbios Parameters None. Restrictions None. Example To display the extensive NetBIOS filter state on the switch: DGS-3620-28PC:admin#show filter extensive_netbios Command: show filter extensive_netbios Enabled Ports: 1-3 DGS-3620-28PC:admin# 39-3 config filter netbios...
  • Page 519 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config filter netbios 1-10 state enable Success. DGS-3620-28PC:admin# 39-4 show filter netbios Description This command is used to display the NetBIOS filter state on the switch. Format show filter netbios Parameters None.
  • Page 520: Chapter 40 Ftp Client Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 40 FTP Client Commands download cfg_fromFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} src_file <path_filename 64> | ftp: <string 128>] {[unit <unit_id> | all]} {dest_file <path_filename 64>} download firmware_fromFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} src_file <path_filename 64>...
  • Page 521 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Examples This example shows how to download the configuration file from an FTP server. DGS-3620-28PC:admin# download cfg_fromFTP 10.54.71.1 cfg01.txt 1 Command: download cfg_fromFTP 10.54.71.1 cfg01.txt 1 Connecting to server....
  • Page 522 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide john:123456@172.18.211.41:21/image/cfg.txt. unit - (Optional) Specifies the switch stacking unit's ID. <unit_id> - Enter the switch stacking unit's ID here. all - Specifies that all the switch units in the stack will be used. dest_file - (Optional) Specifies the destination file name and path.
  • Page 523 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Enter the IPv4 address of the FTP server here. <ipv6addr> - Enter the IPv6 address of the FTP server here. tcp_port - (Optional) Specifies the TCP port number used for the FTP connection. <tcp_port_number 1-65535>...
  • Page 524 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format upload cfg_toFTP [[<ipaddr> | <ipv6addr>] {tcp_port <tcp_port_number 1-65535>} dest_file <path_filename 64> | ftp: <string 128>] {unit <unit_id>} {src_file <path_filename 64>} {[include | exclude | begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude | begin] <filter_string 80>...
  • Page 525 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Connecting to server....Done. Download configuration....Done. DGS-3620-28PC:admin# This example shows how to upload the configuration file to an FTP server using a string and the filter expression. DGS-3620-28PC:admin# download cfg_fromFTP ftp: john:123456@10.90.90.15:21/cfg/cfg.txt config_id 2 include “VLAN”...
  • Page 526 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example shows how to upload a firmware file from the Switch to an FTP server. DGS-3620-28PC:admin# upload firmware_toFTP ftp: john:123456@10.54.71.1:21/image/image.had 260b11.had Command: upload firmware_toFTP ftp: john:123456@10.54.71.1:21/image/image.had 260b11.had Connecting to server....
  • Page 527 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# This example shows how to upload the log file to an FTP server using a string. DGS-3620-28PC:admin# upload log_toFTP ftp: john:123456@10.90.90.15:21/log/log.txt Command: upload log_toFTP ftp: john:123456@10.90.90.15:21/log/log.txt Connecting to server....Done. Upload log......
  • Page 528: Chapter 41 Gratuitous Arp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 41 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 529 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> - Enter the interface name. The maximum length is 12 characters. trap - Specifies trap.
  • Page 530 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config gratuitous_arp learning enable Success. DGS-3620-28PC:admin# 41-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 531 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 Administrators, Operators and Power-Users can issue this command.
  • Page 532 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 41-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. <ipif_name 12>...
  • Page 533: Chapter 42 Internet Group Management Protocol (Igmp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 42 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 534: 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 535: 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-28PC: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 536 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 : 3 DGS-3620-28PC:admin# 42-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 537 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show igmp check_subscriber_source_network {ipif <ipif_name 12>} Parameters ipif – (Optional) Specifies the IP interface name used for this configuration. <ipif_name 12> - Enter the IP interface name used for this configuration here. This name can be up to 12 characters long.
  • Page 538 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 42-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 539 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-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”. DGS-3620-28PC:admin# delete igmp static_group ipif System group 225.0.0.2 Command: delete igmp static_group ipif System group 225.0.0.2 Success.
  • Page 540 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# To display all IGMP static groups on all interfaces: DGS-3620-28PC:admin# show igmp static_group Command: show igmp static_group Interface...
  • Page 541: Chapter 43 Igmp Proxy Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 43 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 542 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the IGMP proxy: DGS-3620-28PC:admin#disable igmp_proxy Command: disable igmp_proxy Success. DGS-3620-28PC:admin# 43-3 config igmp_proxy downstream_if Description This command is used to configure the IGMP proxy downstream interfaces.
  • Page 543 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-28PC:admin# 43-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 544 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 43-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 545 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-28PC:admin#...
  • Page 546: Chapter 44 Igmp Snooping Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 44 IGMP Snooping Commands config igmp_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | topology_changes_notification [ignore | process] | fast_leave [enable | disable] | proxy_reporting {state [enable | disable] | source_ip <ipaddr>}}(1) config igmp_snooping querier [vlan_name <vlan_name 32>...
  • Page 547 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <vlanid_list> - Enter the VLAN ID list. all - Specifies to configure all VLANs. 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.
  • Page 548 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters vlan_name - Specifies the name of the VLAN for which IGMP snooping querier is to be configured. <vlan_name 32> - Enter the VLAN name. The maximum length is 32 characters. vlanid - Specifies the VLAN ID list.
  • Page 549 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config igmp_snooping querier vlan_name default query_interval 125 state enable Success. DGS-3620-28PC:admin# 44-3 config router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers.
  • Page 550 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config router_ports_forbidden [<vlan_name 32> | vlanid <vlanid_list>] [add | delete] <portlist> Parameters <vlan_name 32> - Enter the name of the VLAN on which the router port resides. vlanid - Specifies the VLAN ID list.
  • Page 551 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 44-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 552 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, the system will display all current IGMP snooping configuration. Restrictions None. Example To show IGMP snooping: DGS-3620-28PC:admin# show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Enabled VLAN Name...
  • Page 553 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide group configuration information. <vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters. vlanid - (Optional) Specifies the ID of the VLAN for which to view IGMP snooping group information.
  • Page 554 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 44-9 config igmp_snooping rate_limit Description This command is used to configure the upper limit per second for ingress IGMP control packets. Format config igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] [<value 1-1000> | no_limit] Parameters ports - Specifies a range of ports to be configured.
  • Page 555 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the IGMP snooping rate limit for ports 1-2: DGS-3620-28PC:admin# show igmp_snooping rate_limit ports 2:1 Command: show igmp_snooping rate_limit ports 2:1 Port Rate Limit(pkt/sec) -------- -------------------- No Limit...
  • Page 556 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#create igmp_snooping static_group vlan default 239.1.1.1 Command: create igmp_snooping static_group vlan default 239.1.1.1 Success. DGS-3620-28PC:admin# 44-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.
  • Page 557 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 44-13 delete igmp_snooping static_group Description This command is used to delete an IGMP snooping static group on the switch. The deletion of an IGMP snooping static group will not affect the IGMP snooping dynamic member ports for a group. Format delete igmp_snooping static_group [vlan <vlan_name 32>...
  • Page 558 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display all the IGMP snooping static groups: DGS-3620-28PC:admin#show igmp_snooping static_group Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports --------------------------------------- -------------- -------------------- 1/default 239.1.1.1 9-10...
  • Page 559 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Receive Statistics Query IGMP v1 Query IGMP v2 Query IGMP v3 Query Total Dropped By Rate Limitation Dropped By Multicast VLAN Report & Leave IGMP v1 Report IGMP v2 Report IGMP v3 Report IGMP v2 Leave Total...
  • Page 560 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear the IGMP snooping statistic counter: DGS-3620-28PC:admin#clear igmp_snooping statistics counter Command: clear igmp_snooping statistics counter Success. DGS-3620-28PC:admin# 44-17 show igmp_snooping forwarding...
  • Page 561 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN Name : default Source IP : 10.90.90.10 Multicast Group: 225.0.0.1 Port Member : 2,5 Total Entries : 2 DGS-3620-28PC:admin# 44-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>...
  • Page 562 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show router_ports vlan default Command: show router_ports vlan default VLAN Name : default Static Router Port Dynamic Router Port Router IP Forbidden Router Port Total Entries: 1 DGS-3620-28PC:admin# 44-19 config igmp access_authentication ports Description...
  • Page 563 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config igmp access_authentication ports all state enable Command: config igmp access_authentication ports all state enable Success. DGS-3620-28PC:admin# 44-20 show igmp access_authentication ports Description This command is used to display the current IGMP Access Control configuration. Format show igmp access_authentication ports [all | <portlist>] Parameters...
  • Page 564 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Disabled Disabled Disabled Disabled Disabled Disabled 1:10 Disabled 1:11 Disabled 1:12 Disabled 1:13 Disabled 1:14 Disabled 1:15 Disabled 1:16 Disabled 1:17 Disabled 1:18 Disabled 1:19 Disabled CTRL+C ESC q Quit SPACE n Next Page...
  • Page 565: Chapter 45 Igmp Snooping Multicast (Ism) Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 45 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 566 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) Specifies that the packet’s priority will be changed by the switch, based on the remap priority.
  • Page 567 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - (Optional) Specifies 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. replace_source_ip - With the IGMP snooping function, the IGMP report packet sent by the host will be forwarded to the source port.
  • Page 568 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-28PC:admin#create igmp_snooping multicast_vlan_group_profile Knicks Command: create igmp_snooping multicast_vlan_group_profile Knicks Success. DGS-3620-28PC:admin# 45-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 569 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 45-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 570 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-28PC: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 571 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-28PC: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 572 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 45-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> - Enter the name of the multicast VLAN to be deleted. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 573 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable igmp_snooping multicast_vlan Command: enable igmp_snooping multicast_vlan Success. DGS-3620-28PC:admin# 45-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 574 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-28PC:admin# show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan IGMP Multicast VLAN Global State : Enabled IGMP Multicast VLAN Forward Unmatched...
  • Page 575 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the forwarding mode for IGMP snooping multicast VLAN unmatched packets: DGS-3620-28PC:admin#config igmp_snooping multicast_vlan forward_unmatched enable Command: config igmp_snooping multicast_vlan forward_unmatched enable Success.
  • Page 576: Chapter 46 Ip Interface Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 46 IP Interface Commands create ipif <ipif_name 12> {<network_address>} <vlan_name 32> {secondary | state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} 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 {prefix_name <string 1-12>} <ipv6networkaddr>...
  • Page 577: Config Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide local - (Optional) This setting controls whether the system provides the proxy reply for the ARP packets destined for IP address located on the same interface as the received interface. When proxy ARP is enabled for an interface, the system will do the proxy reply for the ARP packets destined for an IP address located on a different interface.
  • Page 578 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide (for example, 10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8). vlan - (Optional) The name of the VLAN corresponding to the IP interface. <vlan_name 32> - Enter the VLAN name. The maximum length is 32 characters. state - Enable or disable the IP interface.
  • Page 579: Delete Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DHCPDISCOVER and DHCPREQUEST messages. dhcpv6_client_pd - Specifies the DHCPv6 client PD configuration. enable - Specifies to enable the DHCPv6 client PD state of the interface. prefix_name - Specifies an alias name for the prefix requested from the delegation router. If disable the DHCPv6 client PD the name will be automatic clear.
  • Page 580: Enable Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: delete ipif petrovic1 Success. DGS-3620-28PC:admin# 46-4 enable ipif Description This command is used to enable the state for an IPIF. When the state is enabled, the IPv4 processing will be started when an IPv4 address is configured on the IPIF.
  • Page 581: Show Ipif

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - All of the IP interfaces. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the state for an interface: DGS-3620-28PC:admin#disable ipif petrovic1 Command: disable ipif petrovic1 Success.
  • Page 582 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide IPv6 Link-Local Address : FE80::2CD:8FF:FE65:B00/128 IPv6 Global Unicast Address : 2001::1000/64 (Manual) IPv6 State : Enabled IP MTU : 1500 DHCP Option12 State : Disabled DHCP Option12 Host Name IP Interface : mgmt_ipif Status...
  • Page 583 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 46-8 disable ipif_ipv6_link_local_auto Description This command is used to disable the auto configuration of link local address when no IPv6 address is explicitly configured. Format disable ipif_ipv6_link_local_auto [<ipif_name 12> | all] Parameters <ipif_name 12>...
  • Page 584 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the link local address automatic configuration state: DGS-3620-28PC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Disabled DGS-3620-28PC:admin# 46-10 config ipif ipv6_autoconfig Description This command is used to enable or disable automatic configuration of the IPv6 address using stateless auto-configuration.
  • Page 585 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example shows how to configure the state of the automatic configuration of the IPv6 address for the System IP interface. DGS-3620-28PC:admin# config ipif ipv6_autoconfig System state enable Command: config ipif ipv6_autoconfig System state enable Success.
  • Page 586: Chapter 47 Ip Multicasting Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 47 IP Multicasting Commands show ipmc {ipif <ipif_name 12> | protocol [inactive | dvmrp | pim]} show ipmc cache {group <group>} {ipaddress <network_address>} show ipmc statistics counter {igmp | pim | dvmrp} {ipif <ipif_name 12>} clear ipmc statistics counter {igmp | pim | dvmrp} 47-1 show ipmc...
  • Page 587 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show ipmc Command: show ipmc Interface Name 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-28PC:admin# 47-2 show ipmc cache...
  • Page 588 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show ipmc cache Command: show ipmc cache IP Multicast Forwarding Table 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...
  • Page 589 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show ipmc statistics counter Command: show ipmc statistics counter IGMP Packets Counter Received Sent IGMP Query v1/v2/v3 0/0/0 0/0/0 IGMP Report v1/v2/v3 0/0/0 0/0/0 IGMP Leave Unknown IGMP PIM Packets Counter Received Sent...
  • Page 590 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example shows how to clear all multicast protocol packet statistics counters. DGS-3620-28PC:admin# clear ipmc statistics counter Command: clear ipmc statistics counter Success.
  • Page 591: Chapter 48 Ip Route Filter Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 48 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 592 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - Specifies the name to identify the prefix list. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To creates one IP prefix list named 1: DGS-3620-28PC:admin# create ip prefix_list 1 Command: create ip prefix_list 1...
  • Page 593 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format 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> | clear_description]] Parameters <list_name 16>...
  • Page 594 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <list_name 16> - Enter the prefix list name that will be deleted here. This name must be 16 characters long. all - Specifies that all the entries will be deleted. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 595 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 48-5 create ip standard access_list Description This command is used to create an access list used to filter routes. Format create ip standard access_list <list_name 16> Parameters <list_name 16> - Enter the name of the access list used here. This name can be up to 16 characters long.
  • Page 596 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example configures access list “List1” to add one entry: DGS-3620-28PC: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...
  • Page 597 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ip standard access_list {<list_name 16>} 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.
  • Page 598 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To clear prefix list counters for the prefix list named “first_list” that matches the 192.168.10.0/24 prefix: DGS-3620-28PC:admin# clear ip prefix_list counter first_list 192.168.10.0/24 Command: clear ip prefix_list counter first_list 192.168.10.0/24 Success.
  • Page 599 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>...
  • Page 600 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide type_1 - Specifies an OSPF AS-external type-1 route. type_2 - Specifies an OSPF AS-external type-2 route. interface - Specifies to match the outgoing interface of the imported route. <ipif_name 12>...
  • Page 601 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide and 20000. <min 1-255> - Enter the dampening time used here. This value must be between 1 and 255 minutes. <min 1-45> - Enter the dampening time used here. This value must be between 1 and 45 minutes.
  • Page 602 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <map_name 16> - Enter the route map name used here. This name can be up to 16 characters long. all_seqence - (Optional) Specifies that all sequence entries will be removed from the route map. all - Specifies to delete all route maps.
  • Page 603 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show route_map map1 Command: show route_map map1 route_map : map1 -------------------------- sequence : 10 (Permit) Match clauses: access_list : ac_list1 Set clauses: metric : DGS-3620-28PC:admin# 48-14 create ipv6 prefix_list Description This command is used to create an IPv6 prefix list.
  • Page 604 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - Enter the IPv6 standard access list name here. This name can be up to 16 characters long. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example shows how to create an IPv6 access list named “List1”.
  • Page 605 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - Enter the prefix list name here. This name can be up to 16 characters long. add - Specifies to add a rule entry. delete - Specifies to delete a rule entry. sequence - (Optional) Specifies the sequence number for the rule entry.
  • Page 606 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide deny - Specifies to deny matched networks. permit - Specifies to permit matched networks. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example shows how to configure the IPv6 access list “List1” to add one entry. DGS-3620-28PC:admin# config ipv6 standard access_list List1 add 3000::/64 permit Command: config ipv6 standard access_list List1 add 3000::/64 permit...
  • Page 607 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show ipv6 prefix_list Command: show ipv6 prefix_list IPv6 Prefix list: ipv6 Description: Total Rule Number: 1 sequence 5 permit 2000::/64 le 80 Total IPv6 Prefix Number: 1 DGS-3620-28PC:admin# 48-19 show ipv6 standard access_list Description...
  • Page 608 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format clear ipv6 prefix_list counter [<list_name 16> {<ipv6_networkaddr>} | all] Parameters <list_name 16> - Enter the prefix list's name that will be cleared here. This name can be up to 16 characters long.
  • Page 609 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# delete ipv6 prefix_list list_name ipv6 Command: delete ipv6 prefix_list list_name ipv6 Success. DGS-3620-28PC:admin# 48-22 delete ipv6 standard access_list Description This command is used to delete an IPv6 access list identified by the access list name. Format delete ipv6 standard access_list [list_name <list_name 16>...
  • Page 610: Chapter 49 Ip Routing Commands

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

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide weight - (Optional) Specifies the weight value of the IP route. <value 1-4> - Enter the weight value used here. This value must be between 1 and 4. null0 - Specifies the null interface as the next hop.
  • Page 612: Show Iproute

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 49-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 613: Create Ipv6Route

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 49-4 create ipv6route Description This command is used to create an IPv6 static route in the Switch’s IP routing table. If the next hop is a global address, it is not necessary to indicate the interface name. If the next hop is a link local address, then the interface name must be specified.
  • Page 614: Show Ipv6Route

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete ipv6route [[default | <ipv6networkaddr>] [<ipif_name 12> <ipv6addr> | <ipv6addr> | ip_tunnel <tunnel_name 12>] | all] Parameters default - Specifies the default route. <ipv6networkaddr> - Specifies the IPv6 network address. <ipif_name 12>...
  • Page 615 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display IPv6 route(s): DGS-3620-28PC:admin#show ipv6route Command: show ipv6route IPv6 Prefix: ::/0 Protocol: Static Metric: 1 Next Hop : FEC0::5 IPIF : System Total Entries: 1 DGS-3620-28PC:admin# 49-7 enable ecmp ospf Description...
  • Page 616 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable ecmp ospf Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the OSPF ECMP function: DGS-3620-28PC:admin# disable ecmp ospf Command: disable ecmp ospf Success.
  • Page 617 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the ECMP hash algorithm: DGS-3620-28PC:admin# config ecmp algorithm ip_destination ip_source Command: config ecmp algorithm ip_destination ip_source Success. DGS-3620-28PC:admin# 49-10 show ecmp algorithm Description This command is used to display the ECMP related settings. Format show ecmp algorithm Parameters...
  • Page 618 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create ipv6route redistribute dst ripng src [local | static | ospfv3] {metric <value 0-16>} Parameters local - Redistribute local routes into RIPng. static - Redistribute static routes into RIPng. ospfv3 - Redistribute OSPFv3 routes into RIPng.
  • Page 619 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure the RIPng route redistribution: DGS-3620-28PC:admin#config ipv6route redistribute dst ripng src local metric 6 Command: config ipv6route redistribute dst ripng src local metric 6 Success.
  • Page 620 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 49-14 create ipv6route redistribute dst ospfv3 src Description This command is used to create a new IPv6 route redistribution to import route of other protocol into OSPFv3. Format create ipv6route redistribute dst ospfv3 src [local | static | ripng] {mettype [1 | 2] | metric <value 1-16777214>} Parameters...
  • Page 621 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ipv6route redistribute dst ospfv3 src [local | static | ripng] {mettype [1 | 2] | metric <value 1-16777214>} Parameters src - Specifies the source protocol. local - Specifies to redistribute local routes into OSPFv3. static - Specifies to redistribute static routes into OSPFv3.
  • Page 622 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ripng - Specifies to stop redistributing RIPng routes into OSPFv3. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To remove OSPFv3 route redistribution: DGS-3620-28PC:admin#delete ipv6route redistribute dst ospfv3 src static Command: delete ipv6route redistribute dst ospfv3 src static Success.
  • Page 623: Chapter 50 Ip Tunnel Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 50 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 624 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 50-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 625 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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. <ipaddr>...
  • Page 626 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 627 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 628 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-28PC:admin# show ip_tunnel tn2...
  • Page 629 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# enable ip_tunnel tn2 Command: enable ip_tunnel tn2 Success. DGS-3620-28PC:admin# 50-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 630 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 631 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC: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 632 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 Global Unicast Address : 3001::1/64 Tunnel Source : 2000::1...
  • Page 633: Chapter 51 Ipv6 Ndp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 51 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 634 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 51-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 635 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipv6address - Specifies the IPv6 address of the neighbor. <ipv6addr> - Enter the IPv6 address static - Specifies to display the IPv6 static neighbor cache entries. dynamic - Specifies to display the IPv6 dynamic entries. all - Specifies to display all IPv6 addresses, static and dynamic.
  • Page 636 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config ipv6 neighbor_cache force_aging_addr add System 3FFC::1 Command: config ipv6 neighbor_cache force_aging_addr add System 3FFC::1 Success. DGS-3620-28PC:admin# 51-5 show ipv6 neighbor_cache force_aging_addr Description This command is used to display the IPv6 force aging address in the neighbor cache. Format show ipv6 neighbor_cache force_aging_addr Parameters...
  • Page 637 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ipv6 nd ns ipif <ipif_name 12> retrans_time <millisecond 0-4294967295> Parameters <ipif_name 12> - Enter the name of the interface. The maximum length is 12 characters. retrans_time - Specifies the neighbor solicitation’s retransmit timer in milliseconds. It has the same value as ra retrans_time in the config ipv6 nd ra command.
  • Page 638 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <millisecond 0-3600000> - Enter the time between 0 and 3600000 milliseconds. retrans_time - Specifies the amount of time between retransmissions of router advertisement message in millisecond, and the router advertisement packet will take it to host. <millisecond 0-4294967295>...
  • Page 639: Show Ipv6 Nd

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipif_name 12> - Enter the name of the interface. The maximum length is 12 characters. <ipv6networkaddr> - Enter the IPv6 network address. preferred_life_time - Specifies the number in seconds that an address, based on the specified prefix using the stateless address configuration, remains in preferred state.
  • Page 640 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipif_name 12> - Enter the interface name. The maximum length is 12 characters. Note: If no IP interface is specified, the IPv6 ND related configuration of all interfaces will be displayed.
  • Page 641: Chapter 52 Ip-Mac-Port Binding (Impb) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 52 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] | nd_inspection [enable | disable] | protocol [ipv4 | ipv6 | all] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}(1)
  • Page 642 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide user:pasword@ipaddr:tcpport/path_filename>] upload address_binding snoop_entry_toFTP [<ipaddr> {tcp_port <tcp_port_number 1-65535>} filename <path_filename 64> | ftp: <string user:pasword@ipaddr:tcpport/path_filename>] 52-1 create address_binding ip_mac ipaddress Description This command is used to create an IP-MAC-Port binding entry. Format create address_binding ip_mac ipaddress <ipaddr>...
  • Page 643 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipv6addr> - Enter the IPv6 address. mac_address - Specifies the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist or all ports. <portlist>...
  • Page 644 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies to configure all ports. arp_inspection - (Optional) Specifies that when the ARP inspection function is enabled, the legal ARP packets wil be forwarded, while the illegal packets will be dropped. strict - Specifies that in this mode, all packets are dropped by default until a legal ARP or IP packet is detected.
  • Page 645 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports [<portlist>| all ]} Parameters <ipaddr> - Enter the IP address. mac_address - Specifies the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist to apply, if ports are not configured, then it will apply to all ports.
  • Page 646 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure a static IPv6 IMPB entry so that that IPv6 address fe80::240:5ff:fe00:28 is bound to the MAC address 00-00-00-00-00-11: DGS-3620-28PC:admin# config address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11 Command: config address_binding ip_mac ipv6address fe80::240:5ff:fe00:28...
  • Page 647 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-7 delete address_binding ip_mac Description This command is used to delete an IMPB entry. Format delete address_binding ip_mac [all | ipaddress <ipaddr> mac_address <macaddr> | ipv6address <ipv6addr> mac_address <macaddr>] Parameters all - Specifies that all the MAC addresses will be used.
  • Page 648 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-8 show address_binding Description This command is used to display address binding information. Format show address_binding {ports {<portlist>}} Parameters ports – (Optional) Specify to display the state of IP MAC port binding for all ports. <portlist>...
  • Page 649 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Disabled Disabled Disabled All Not Allow Forward 500/Normal Disabled Disabled Disabled All Not Allow Forward 500/Normal Disabled Disabled Disabled All Not Allow Forward 500/Normal Disabled Disabled Disabled All Not Allow Forward 500/Normal 1:10...
  • Page 650 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide default 00-50-BA-DA-01-58 default 00-A0-C9-01-01-23 default 00-E0-18-D4-63-1C Total Entries : 15 DGS-3620-28PC:admin# 52-10 show address_binding ip_mac Description This command is used to display the user created database of address binding information. Format show address_binding ip_mac [all | [[ipaddress <ipaddr>...
  • Page 651 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# To display the IMPB entry by IP address and MAC address: DGS-3620-28PC:admin# show address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00-00-11 Command: show address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00- 00-00-11 M(Mode) –...
  • Page 652 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-12 disable address_binding trap_log Description This command is used to disable address binding trap logs. Format disable address_binding trap_log Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the address binding trap and log: DGS-3620-28PC:admin#disable address_binding trap_log...
  • Page 653 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide statically configured in ARP table, then the auto learned entry will not be created. If the entry is statically configured on one port and the entry is auto-learned on another port, then the auto- learned entry will not be created either.
  • Page 654 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#disable address_binding dhcp_snoop Command: disable address_binding dhcp_snoop Success. DGS-3620-28PC:admin# 52-15 clear address_binding dhcp_snoop binding_entry ports Description This command is used to clear the address binding entries learned for the specified ports. Format clear address_binding dhcp_snoop binding_entry ports [<portlist>...
  • Page 655 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ports - (Optional) Specifies a range of ports. <portlist> - Enter a range of ports to be displayed. Restrictions None. Example To display address binding DHCP snooping: DGS-3620-28PC:admin#show address_binding dhcp_snoop Command: show address_binding dhcp_snoop DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled...
  • Page 656 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <port> - Enter the port number here. Restrictions None. Example To display the DHCP snooping binding entries: DGS-3620-28PC: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...
  • Page 657 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show address_binding dhcp_snoop limit_rate ports 1:1-1:10 Command: show address_binding dhcp_snoop limit_rate ports 1:1-1:10 Port Rate Limit (pps) Action ------ ---------------- --------- No Limit No Limit No Limit No Limit No Limit No Limit...
  • Page 658 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 52-20 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> - Enter the list of ports to recover learning. all - Specifies to recover learning for all ports.
  • Page 659 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-28PC:admin# enable address_binding nd_snoop Command: enable address_binding nd_snoop Success. DGS-3620-28PC:admin# 52-22 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 660 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 661 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-28PC: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 662 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-26 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 - Specifies the list of ports that you would like to clear the ND snoop learned entry.
  • Page 663 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the auto-save option: DGS-3620-28PC:admin#config address_binding dhcp_snoop_entry file save_dhcp.cfg autosave enable Command: config address_binding dhcp_snoop_entry filename save_dhcp.cfg autosave enable Success.
  • Page 664 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-29 disable address_binding roaming Description This command is used to disable IMPB roaming. When disabled, all dynamic entries learned through DHCP/ND snooping on a specific port will not have chance to change to the learning port, even if the switch detects that the client already changed ports.
  • Page 665 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide filename - Specifies the path of the file to the TFTP server. <path_filename 64> - Enter the file path, to the TFTP server, here. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To download the DHCP snooping binding table: DGS-3620-28PC:admin#download address_binding snoop_entry_fromTFTP 10.90.90.6...
  • Page 666 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Upload DHCP Snooping Entry....Done. DGS-3620-28PC:admin# 52-32 save dhcp_snoop_entry Description This command is used to save the DHCPv4 Snooping binding entries. Format save dhcp_snoop_entry Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To backup the binding entries: DGS-3620-28PC:admin#save dhcp_snoop_entry...
  • Page 667 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide drop - Drop all the above rate limit DHCP packets when the port enters the under attack state. shutdown - Shut down the port when the port enters the under attack state. no_limit –...
  • Page 668 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-35 download address_binding snoop_entry_fromFTP Description This command is used to download the DHCPv4 snooping binding entries from an FTP server. Format download address_binding snoop_entry_fromFTP [<ipaddr> {tcp_port <tcp_port_number 1- 65535>} filename <path_filename 64>...
  • Page 669 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#download address_binding snoop_entry_fromFTP ftp: Tony:123456@10.54.71.1:21/cfg/dhccpsnp.cfg Command: download address_binding snoop_entry_fromFTP ftp: john:123456@10.54.71.1:21/cfg/dhccpsnp.cfg Connecting to server....Done. Download DHCPv4 Snooping binding table....Done. Success. DGS-3620-28PC:admin# 52-36 upload address_binding snoop_entry_toFTP Description This command is used to upload the DHCPv4 snooping binding entries to an FTP server.
  • Page 670 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# upload address_binding snoop_entry_fromFTP 10.0.0.1 tcp_port 21 filename impb.cfg Command: upload address_binding snoop_entry_fromFTP 10.0.0.1 tcp_port 21 filename impb.cfg Connecting to server....Done. User(Anonymous): john Pass:****** Upload DHCPv4 Snooping binding table....Done. Success.
  • Page 671: Chapter 53 Japanese Web-Based Access Control (Jwac) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 53 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 672 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 673 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#disable jwac Command: disable jwac Success. DGS-3620-28PC:admin# 53-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 674 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable JWAC redirect: DGS-3620-28PC:admin#disable jwac redirect Command: disable jwac redirect Success. DGS-3620-28PC:admin# 53-5 enable jwac forcible_logout Description This command is used to enable JWAC forcible logout.
  • Page 675 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 53-6 disable jwac forcible_logout Description This command is used to disable JWAC forcible logout. Format disable jwac forcible_logout Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable JWAC forcible logout: DGS-3620-28PC:admin#disable jwac forcible_logout...
  • Page 676 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3620-28PC:admin# 53-8 disable jwac udp_filtering Description This command is used to disable JWAC UDP filtering. Format disable jwac udp_filtering Parameters None.
  • Page 677 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable JWAC quarantine server monitoring: DGS-3620-28PC:admin#enable jwac quarantine_server_monitor Command: enable jwac quarantine_server_monitor Success. DGS-3620-28PC:admin# 53-10 disable jwac quarantine_server_monitor Description This command is used to disable JWAC quarantine server monitoring.
  • Page 678 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config jwac quarantine_server_error_timeout <sec 5-300> Parameters <sec 5-300> - Enter the error timeout interval. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To set the quarantine server error timeout: DGS-3620-28PC:admin#config jwac quarantine_server_error_timeout 60 Command: config jwac quarantine_server_error_timeout 60 Success.
  • Page 679 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the quarantine server URL: DGS-3620-28PC:admin#config jwac quarantine_server_url http://10.90.90.88/authpage.html Command: config jwac quarantine_server_url http://10.90.90.88/authpage.html Success. DGS-3620-28PC:admin# 53-13 config jwac redirect Description...
  • Page 680 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 53-14 config jwac virtual_ip Description This command is used to configure JWAC virtual IP addresses used to accept authentication requests from an unauthenticated host. The virtual IP of JWAC is used to accept authentication request from unauthenticated host.
  • Page 681 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config jwac update_server [add | delete] ipaddress <network_address> {[tcp_port <port_number 1-65535> | udp_port <port_number 1-65535>]} Parameters add - Specifies to add a network address to which the traffic will not be blocked. Up to 100 network addresses can be added.
  • Page 682 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the TCP port which the JWAC switch listens to: DGS-3620-28PC:admin#config jwac switch_http_port 8888 http Command: config jwac switch_http_port 8888 http Success.
  • Page 683 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the JWAC port state: DGS-3620-28PC:admin#config jwac ports 1-9 state enable Command: config jwac ports 1-9 state enable Success. DGS-3620-28PC:admin# 53-18 config jwac radius_protocol Description This command is used to specify the RADIUS protocol used by JWAC to complete RADIUS authentication.
  • Page 684 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create jwac user <username 15> {vlan <vlanid 1-4094>} Parameters <username 15> - Enter the user name to be created. vlan - (Optional) Specifies the target VLAN ID for the authenticated host which uses this user account to pass authentication.
  • Page 685 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure a JWAC user: DGS-3620-28PC:admin#config jwac user 112233 Command: config jwac user 112233 Enter a old password:*** Enter a case-sensitive new password:*** Enter the new password again for confirmation:*** Success.
  • Page 686 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show jwac user Parameters None. Restrictions None. Example To display the current JWAC local users: DGS-3620-28PC:admin#show jwac user Command: show jwac user Current Accounts: Username Password ---------------- --------------- --------- Total Entries:2...
  • Page 687 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 : Enabled Redirect State : Enabled Redirect Delay Time...
  • Page 688 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Port MAC Address State VID Pri Time User Name ----- ----------------- -- ---- -- -------- ------------------- ------------- 00-00-00-00-00-42 00-00-12-34-56-02 00-00-DF-12-E5-6A 00-03-38-10-28-01 Total Authenticating Hosts Total Authenticated Hosts Total Blocked Hosts DGS-3620-28PC:admin# 53-25 show jwac update_server...
  • Page 689 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show jwac ports {<portlist>} Parameters <portlist> - (Optional) Specifies a port range to show the configuration of JWAC. Restrictions None. Example To display JWAC ports 1 to 4: DGS-3620-28PC:admin#show jwac ports 1-4 Command: show jwac ports 1-4 Port...
  • Page 690 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete authentication entries: DGS-3620-28PC:admin#clear jwac auth_state ports all blocked Command: clear jwac auth_state ports all blocked Success.
  • Page 691 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show jwac authenticate_page Parameters None. Restrictions None. Example To display the element mapping of the customized authenticate page: DGS-3620-28PC:admin#show jwac authenticate_page Command: show jwac authenticate_page Current Page : English Version English Page Element ----------------------------------------------------------- Page Title...
  • Page 692 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters japanese - Specifies to change to the Japanese page. english - Specifies to change to the English page. default - Specifies to reset the page element to default. page_title - Specifies the title of the authenticate page.
  • Page 693 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config jwac authentication_page element japanese password_title パスワー ド Success. DGS-3620-28PC:admin# config jwac authentication_page element japanese logout_window_title ログアウト Command: config jwac authentication_page element japanese logout_window_title ロ グアウト Success. DGS-3620-28PC:admin# 53-31 config jwac authorization attributes...
  • Page 694 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#...
  • Page 695: Chapter 54 Jumbo Frame Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 54 Jumbo Frame Commands enable jumbo_frame disable jumbo_frame config jumbo_frame ports [<portlist> | all] state [enable | disable] show jumbo_frame {<portlist>} 54-1 enable jumbo_frame Description This command is used to enable support of Jumbo Frames. Format enable jumbo_frame Parameters...
  • Page 696 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable Jumbo Frames: DGS-3620-28PC:admin#disable jumbo_frame Command: disable jumbo_frame Success. DGS-3620-28PC:admin# 54-3 config jumbo_frame ports Description This command is used to configure the jumbo frame state on specified ports. Format config jumbo_frame ports [<portlist>...
  • Page 697 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show jumbo_frame {<portlist>} Parameters <portlist> - (Optional) Enter the list of ports to be displayed here. Restrictions None. Example To display Jumbo Frames for port 1 to 5: DGS-3620-28PC:admin#show jumbo_frame 1-5 Command: show jumbo_frame 1-5 Jumbo Frame Global State : Disabled...
  • Page 698: Chapter 55 Lacp Configuration Commands

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

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 56 Layer 2 Protocol Tunneling (L2PT) Commands 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 701 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-65535> - Enter the threshold packets-per-seconds value here. This value must be between 0 and 65535. nni - Specifies the port is NNI port none - Disables tunnel on it. By default, a port is none port. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 702 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show l2protocol_tunnel Command: show l2protocol_tunnel Global State: Enabled UNI Ports: 1:1-1:2 NNI Ports: 1:3-1:4 DGS-3620-28PC:admin# To show Layer 2 protocol tunneling detail information on UNI ports: DGS-3620-28PC:admin# show l2protocol_tunnel uni Command: show l2protocol_tunnel uni Tunneled Threshold...
  • Page 703 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable l2protocol_tunnel Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the Layer 2 protocol tunneling function: DGS-3620-28PC:admin# enable l2protocol_tunnel Command: enable l2protocol_tunnel Success.
  • Page 704: Chapter 57 Limited Multicast Ip Address Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 57 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 705 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 57-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 706 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 - Specifies the ID of the profile. <value 1-60>...
  • Page 707 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide profile_name - Specifies a profile based on the profile name. <name 32> - The profile name can be up to 32 characters long. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete a multicast profile with a profile ID of 3: DGS-3620-28PC:admin#delete mcast_filter_profile profile_id 3...
  • Page 708 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all the defined multicast address profiles: DGS-3620-28PC: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 709 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide permit - Specifies that the packets that match the addresses defined in the profiles will be permitted. deny - Specifies that the packets that match the addresses defined in the profiles will be denied.
  • Page 710 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Access : Deny Profile ID Name Multicast Addresses ----------- ----------- ----------------------------- customer 224.19.62.34 – 224.19.162.200 DGS-3620-28PC:admin# To display the limited multicast address range on ports 1 and 3: DGS-3620-28PC:admin#show limited_multicast_addr ports 1,3 Command: show limited_multicast_addr ports 1,3 Port...
  • Page 711 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipv4 - (Optional) Specifies that the maximum number of IPv4 learned addresses should be limited. ipv6 - (Optional) Specifies that the maximum number of IPv6 learned addresses should be limited.
  • Page 712 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin#...
  • Page 713: Chapter 58 Link Aggregation Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 58 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] | trap [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 714 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete link_aggregation group_id <value 1-32> Parameters <value 1-32> - Enter the group ID. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete a link aggregation group: DGS-3620-28PC:admin#delete link_aggregation group_id 3 Command: delete link_aggregation group_id 3 Success.
  • Page 715 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that Link Up and Link Down notifications are disabled for link aggregation group. By default, the trap status for a link aggregation group is disabled. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 716 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the link aggregation algorithm to mac-source-dest: DGS-3620-28PC:admin#config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success.
  • Page 717 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Status : Enabled Flooding Port : Trap : Enabled Total Entries : 1 DGS-3620-28PC:admin# To display the current link aggregation configuration when link aggregation is disabled: DGS-3620-28PC:admin#show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = IP-Source Group ID...
  • Page 718: Chapter 59 Lldp Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 59 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 719: Disable Lldp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable LLDP: DGS-3620-28PC:admin#enable lldp Command: enable lldp Success. DGS-3620-28PC:admin# 59-2 disable lldp Description This command is used to disable LLDP. The switch will stop the sending and receiving of LLDP advertisement packets.
  • Page 720 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 721: Show Lldp

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config lldp tx_delay 8 Command: config lldp tx_delay 8 Success. DGS-3620-28PC:admin# To change the re-initialization delay interval to five seconds: DGS-3620-28PC:admin#config lldp reinit_delay 5 Command: config lldp reinit_delay 5 Success.
  • Page 722 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-28PC:admin# 59-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 723: Config Lldp Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <sec 5-3600> - Enter the notification interval range is from 5 to 3600 seconds. The default setting is 5 seconds. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To change the notification interval to 10 seconds: DGS-3620-28PC:admin#config lldp notification_interval 10...
  • Page 724 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide optional data type indicates whether the corresponding Local System's Protocol Identity instance will be transmitted on the port. The Protocol Identity TLV provides a way for stations to advertise protocols that are important to the operation of the network.
  • Page 725 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide whether the device provides repeater, bridge, or router function, and whether the provided functions are currently enabled. The default state is disabled. enable - Enable configuration of an individual port or group of ports to exclude one or more of optional TLV data types from outbound LLDP advertisements.
  • Page 726 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 727 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# To exclude the system name TLV from the outbound LLDP advertisements for all ports: DGS-3620-28PC:admin#config lldp ports all basic_tlvs system_name enable Command: config lldp ports all basic_tlvs system_name enable Success.
  • Page 728: 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-28PC: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 729 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 730 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config lldp_med fast_start repeat_count 5 Command: config lldp_med fast_start repeat_count 5 Success. DGS-3620-28PC:admin# 59-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 731 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies 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 732 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To enable transmitting of all capabilities on ports 1 to 2: DGS-3620-28PC: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 733 : B1 Firmware Revision : 1.00.016 Software Revision : 2.60.016 Serial Number : D1234567890 Manufacturer Name : D-Link Model Name : DGS-3620-28PC Gigabit Ethernet S Asset ID PoE Device Type : PSE Device PoE PSE Power Source : Primary LLDP-MED Configuration:...
  • Page 734 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 59-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 735 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show lldp_med remote_ ports {<portlist>} Parameters <portlist> - (Optional) Specifies 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 736 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 737 Port ID : 1 ----------------------------------------------------------------------------- Port ID Subtype : MAC Address Port ID : 00-01-02-03-05-00 Port Description : D-Link DGS-3620-28PC R2.60.016 Port 1 on Unit 1 Port PVID Management Address Count PPVID Entries Count VLAN Name Entries Count Protocol Identity Entries Count...
  • Page 738 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 59-19 show lldp remote_ ports...
  • Page 739: Show Lldp Statistics

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 59-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-28PC:admin#show lldp statistics...
  • Page 740 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-28PC:admin#show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID : 1 --------------------------------------------- LLDPStatsTXPortFramesTotal LLDPStatsRXPortFramesDiscardTotal LLDPStatsRXPortFramesErrors LLDPStatsRXPortFramesTotal...
  • Page 741: Chapter 60 Lldp Data Center Bridging Exchange Protocol (Lldp-Dcbx) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 60 LLDP Data Center Bridging Exchange Protocol (LLDP-DCBX) Commands config lldp_dcbx ports [<portlist> | all] tlv-select [all | {pfc-configuration}] state [enable | disable] show lldp_dcbx ports <portlist> show lldp_dcbx local_ports <portlist>...
  • Page 742 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 60-2 show lldp_dcbx ports Description This command is used to display the LLDP-DCBX per-port configuration for advertisement options. Format show lldp_dcbx ports <portlist> Parameters <portlist> - Enter the list of ports that will be displayed here. Restrictions None.
  • Page 743 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example shows how to display local port LLDP-DCBX information for port 1. DGS-3620-28PC:admin# show lldp_dcbx local_ports 1:1 Command: show lldp_dcbx local_ports 1:1 Port ID : 1:1 PFC Basic Configuration Willing : Disabled MBC : Disabled...
  • Page 744 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PFC Basic Configuration Willing : Disabled MBC : Disabled PFC capability : 8 PFC Enable priority0 : Disabled priority1 : Disabled priority2 : Disabled priority3 : Disabled priority4 : Disabled priority5 : Disabled priority6 : Disabled priority7 : Disabled...
  • Page 745: Chapter 61 Loopback Detection Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 61 Loopback Detection Commands config loopdetect {recover_timer [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 746: Config Loopdetect Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 61-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 747: Disable Loopdetect

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

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 61-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-28PC:admin#show loopdetect Command: show loopdetect LBD Global Settings...
  • Page 749 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-28PC:admin#show loopdetect ports 1-9 Command: show loopdetect ports 1-9 Port Loopdetect State Loop Status ------ ------------------ ---------- Enabled...
  • Page 750 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 751 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 61-1 config loopdetect vlan Description This command is used to setup the loop-back detection function for the VLANs on VLAN-based mode. Format config loopdetect vlan [<vid_list> | all] state [enable | disable] Parameters vlan - Specifies the VLAN(s).
  • Page 752: Chapter 62 Loopback Interface Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 62 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 753 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 754 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-28PC:admin#show loopback ipif loopback1 Command: show loopback ipif loopback1 Loopback Interface : loopback1 Interface Admin State : Enabled IPv4 Address : 192.168.69.1/24 (Manual) Total Entries...
  • Page 755: Chapter 63 Mac Notification Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 63 MAC Notification Commands enable mac_notification disable mac_notification config mac_notification {interval <sec 1-2147483647> | historysize <int 1-500>}(1) config mac_notification ports [<portlist> | all] [enable | disable] show mac_notification show mac_notification ports {<portlist>} 63-1 enable mac_notification...
  • Page 756 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable mac_notification Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable the MAC notification function: DGS-3620-28PC:admin#disable mac_notification Command: disable mac_notification Success. DGS-3620-28PC:admin# 63-3 config mac_notification Description...
  • Page 757 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DGS-3620-28PC:admin# 63-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 758 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-28PC:admin#show mac_notification Command: show mac_notification Global MAC Notification Settings State : Enabled Interval History Size : 500 DGS-3620-28PC:admin# 63-6 show mac_notification ports...
  • Page 759 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin#...
  • Page 760: Chapter 64 Mac-Based Access Control Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 64 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 761 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable MAC-based access control: DGS-3620-28PC:admin#enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3620-28PC:admin# 64-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 762 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide password. The maximum length of the key is 16 characters. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the password “rosebud” that will be used for authentication via RADIUS server: DGS-3620-28PC:admin#config mac_based_access_control password rosebud Command: config mac_based_access_control password rosebud Success.
  • Page 763 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide guest VLAN mode, please see the description for configuring the MAC-based access control port command. Format config mac_based_access_control guest_vlan ports <portlist> Parameters <portlist> - When a port is configured as gurest VLAN member port, this port will move to guest VLAN if it’s MAC-based access control state is enable.
  • Page 764 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 765 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <vlan_name 32> - Enter the name of the guest VLAN. The guest VLAN name can be up to 32 characters long. guest_vlanid - Specifies the VLAN ID of the guest VLAN. <vlanid 1-4094>...
  • Page 766 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 64-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 767 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - (Optional) If the MAC address is authorized, the port will be assigned to this VLAN ID. <vlanid 1-4094> - Enter a VLAN ID between 1 and 4094. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 768 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 64-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> | no_limit] Parameters <value 1-4000>...
  • Page 769 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters radius - Specifies 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 770 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete a MAC-based access control local by MAC address: DGS-3620-28PC: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. DGS-3620-28PC:admin# To delete a MAC-based access control local by VLAN name: DGS-3620-28PC:admin#delete mac_based_access_control_local vlan default Command: delete mac_based_access_control_local vlan default Success.
  • Page 771 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 772 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-28PC:admin# To display MAC-based access control information for ports 1 to 4: DGS-3620-28PC:admin#show mac_based_access_control ports 1-4 Command: show mac_based_access_control ports 1-4 Port...
  • Page 773 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# To display MAC-based access control local data by MAC address: DGS-3620-28PC: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 774 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the log state for MAC-based Access Control: DGS-3620-28PC:admin# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success.
  • Page 775 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 776: Chapter 65 Md5 Configuration Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 65 MD5 Configuration Commands 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>} 65-1 config md5 key Description...
  • Page 777 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 778 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# delete md5 key 1 Command: delete md5 key 1 Success. DGS-3620-28PC:admin# 65-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 779: Chapter 66 Mirror Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 66 Mirror Commands create mirror group_id <value 1-4> config mirror port <port> {[add | delete] source [ports <portlist> | vlan vlan_id <vid_list>] [rx | tx | both]} config mirror group_id <value 1-4>...
  • Page 780 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mirror port <port> {[add | delete] source [ports <portlist> | vlan vlan_id <vid_list>] [rx | tx | both]} Parameters <port> - Enter the port that will receive the packets duplicated at the mirror port. add - (Optional) Specifies the mirror entry to be added.
  • Page 781 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <value 1-4> - Enter the mirror group ID used here. This value must be between 1 and 4. target_port - (Optional) Specifies the port that will receive the packets duplicated at the mirror port.
  • Page 782: Enable Mirror

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To delete mirror group 3: DGS-3620-28PC:admin# delete mirror group_id 3 Command: delete mirror group_id 3 Success. DGS-3620-28PC:admin# 66-5 enable mirror Description This command, combined with the disable mirror command below, allows you to enable or disable...
  • Page 783: Disable Mirror

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 66-6 disable mirror Description This command, combined with the enable mirror command above, allows you to enable or disable mirror function without having to modify the mirror session configuration. Format disable mirror Parameters...
  • Page 784 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display mirroring configuration: DGS-3620-28PC:admin#show mirror Command: show mirror Mirror Global State: Enabled Group ID State : Enabled Target Port : 1:1 Source Ports : 1:2-1:3 : 1:2-1:3 Source VLANs : 2-3 DGS-3620-28PC:admin#...
  • Page 785: Chapter 67 Mld Proxy Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 67 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 786 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable the MLD proxy: DGS-3620-28PC:admin#disable mld_proxy Command: disable mld_proxy Success. DGS-3620-28PC:admin# 67-3 config mld_proxy downstream_if Description This command configures the MLD proxy downstream interfaces.
  • Page 787 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 67-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 788 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 67-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 789 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-28PC:admin#...
  • Page 790: Chapter 68 Mld Snooping Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 68 MLD Snooping Commands config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | topology_changes_notification [ignore | process] | fast_done [enable | disable] | proxy_reporting {state [enable | disable]| source_ip <ipv6addr>}}(1) config mld_snooping rate_limit [ports <portlist>...
  • Page 791 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies 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. topology_changes_notification - Specifies that MLD snooping should be aware of link-layer topology changes caused by the Spanning Tree operation or not.
  • Page 792 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-1000> - Enter the rate limit of MLD control packet that the switch can process on a specific port/VLAN. The rate is specified in packet per second. The packet that exceeds the limited rate will be dropped.
  • Page 793 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 2 DGS-3620-28PC:admin# 68-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 794 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide member later, then the MLD protocol will stop operating on this port. The MLD protocol will resume once this port is removed from static member ports. The static member port will only affect V1 MLD operation.
  • Page 795 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6addr> - Enter the multicast group IPv6 address. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete an MLD snooping static group from the default VLAN, group FF1E::1: DGS-3620-28PC:admin#delete mld_snooping static_group vlan default FF1E::1 Command: delete mld_snooping static_group vlan default FF1E::1 Success.
  • Page 796 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 68-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 797 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 798 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear the MLD snooping statistics counters: DGS-3620-28PC:admin#clear mld_snooping statistics counter Command: clear mld_snooping statistics counter Success.
  • Page 799 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2. Other querier present interval—Amount of time that must pass before a multicast router 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 800 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters vlan - Specifies the name of the VLAN on which the router port resides. <vlan_name 32> - Enter the name of the VLAN on which the router port resides. The maximum length is 32 characters.
  • Page 801 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set up ports as forbidden router port: DGS-3620-28PC: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-28PC:admin# 68-13 enable mld_snooping Description This command is used to enable MLD snooping on the switch.
  • Page 802 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable MLD snooping on the switch: DGS-3620-28PC:admin#disable mld_snooping Command: disable mld_snooping Success. DGS-3620-28PC:admin# 68-15 show mld_snooping Description This command is used to display the current MLD snooping configuration on the switch.
  • Page 803 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN Name : default Query Interval : 80 Max Response Time Robustness Value Last Listener Query Interval Querier State : Enabled Querier Role : Querier Querier IP : FE80::2CC:FF:FE11:2233 Querier Expiry Time : 0 secs State...
  • Page 804 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the MLD snooping group: DGS-3620-28PC: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...
  • Page 805 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, the system will display all router ports on the Switch. Restrictions None. Example To display router ports: DGS-3620-28PC:admin#show mld_snooping mrouter_ports all Command: show mld_snooping mrouter_ports all VLAN Name : default Static Router Port...
  • Page 806 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display all MLD snooping forwarding entries located on the switch: DGS-3620-28PC: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...
  • Page 807: Chapter 69 Mld Snooping Multicast (Msm) Vlan Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 69 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 808 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) Specifies that the packet’s priority will be changed by the switch, based on the remap priority.
  • Page 809 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - Specifies 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. replace_source_ipv6 - With the MLD snooping function, the MLD report packet sent by the host will be forwarded to the source port.
  • Page 810 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-28PC:admin#create mld_snooping multicast_vlan_group_profile Knicks Command: create mld_snooping multicast_vlan_group_profile Knicks Success. DGS-3620-28PC:admin# 69-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 811 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 69-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 812 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-28PC: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-28PC:admin# 69-7 config mld_snooping multicast_vlan_group...
  • Page 813 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-28PC: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 814 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 69-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> - Enter the name of the multicast VLAN to be deleted. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 815 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable mld_snooping multicast_vlan Command: enable mld_snooping multicast_vlan Success. DGS-3620-28PC:admin# 69-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 816 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-28PC:admin# show mld_snooping multicast_vlan Command: show mld_snooping multicast_vlan MLD Multicast VLAN Global State : Enabled...
  • Page 817 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the forwarding mode for MLD snooping multicast VLAN unmatched packets: DGS-3620-28PC:admin#config mld_snooping multicast_vlan forward_unmatched enable Command: config mld_snooping multicast_vlan forward_unmatched enable Success.
  • Page 818: Chapter 70 Modify Login Banner And Prompt Commands

    Only Administrators and Operators can issue this command. Example To edit the banner: DGS-3620-28PC:admin#config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3620-28PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.60.016 Copyright(C) 2013 D-Link Corporation. All rights reserved. ===============================================================================...
  • Page 819 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 ------------------------------------------------------------------------------- 70-2 show greeting_message Description...
  • Page 820 DGS-3620-28PC:admin#show greeting_message Command: show greeting_message =============================================================================== DGS-3620-28PC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.60.016 Copyright(C) 2013 D-Link Corporation. All rights reserved. =============================================================================== DGS-3620-28PC:admin# 70-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 821 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 Administrators and Operators can issue this command.
  • Page 822: Chapter 71 Multicast Listener Discovery (Mld) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 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 823 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the MLD on the IP interface “System”: DGS-3620-28PC:admin# config mld ipif System version 1 state enable Command: config mld ipif System version 1 state enable Success.
  • Page 824 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the MLD configurations on all interfaces: DGS-3620-28PC:admin# show mld Command: show mld MLD Interface Configurations MRT = Maximum Response Time, LLQI = Last Listener Query Interval Interface Version Query Robustness LLQI...
  • Page 825 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 826 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-28PC: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 827: Chapter 72 Network Load Balancing (Nlb) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 72 Network Load Balancing (NLB) Commands create nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid 1-4094>] <macaddr> delete nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid 1-4094>] <macaddr> config nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid 1-4094>] <macaddr> [add | delete] <portlist>...
  • Page 828 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 72-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 829: 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 1-4094>...
  • Page 830 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 72-5 create nlb unicast_fdb...
  • Page 831 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config nlb unicast_fdb <macaddr> [add | delete] <portlist> Parameters <macaddr> - Enter the MAC address of the NLB unicast FDB entry to be configured. add - Specifies to add the ports. delete - Specifies to delete the ports.
  • Page 832 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#delete nlb unicast_fdb 02-bf-01-01-01-01 Command: delete nlb unicast_fdb 02-BF-01-01-01-01 Success. DGS-3620-28PC:admin#...
  • Page 833: Chapter 73 Network Management Commands

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

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable SNMP: DGS-3620-28PC:admin#enable snmp Command: enable snmp Success. DGS-3620-28PC:admin# 73-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 835 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display SNMP: DGS-3620-28PC:admin#show snmp Command: show snmp System Name System Location System Contact SNMP Trap : Enabled SNMP State : Disabled SNMP Response Broadcast Request : Disable DGS-3620-28PC:admin# 73-4...
  • Page 836 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide http - (Optional) Specifies the trusted host for HTTP. https - (Optional) Specifies the trusted host for HTTPs. ping - (Optional) Specifies the trusted host for Ping. Note: If no management method is specified, the IP (range) can access the Switch through any method.
  • Page 837 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To configure the trusted host: DGS-3620-28PC:admin#config trusted_host 10.48.74.121 add ssh telnet Command: config trusted_host 10.48.74.121 add ssh telnet Success.
  • Page 838 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-7 show trusted_host Description This command is used to display the trusted hosts. Format show trusted_host Parameters None. Restrictions None. Example To display trusted hosts: DGS-3620-28PC:admin#show trusted_host Command: show trusted_host Management Stations IP Address Access Interface...
  • Page 839 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To configure the switch SNMP name for “DGS-3620-28PC Gigabit Ethernet Switch”: DGS-3620-28PC:admin# config snmp system_name DGS-3620-28PC Gigabit Ethernet Switch Command: config snmp system_name DGS-3620-28PC Gigabit Ethernet Switch Success.
  • Page 840: Enable Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-10 config snmp system_contact Description This command is used to enter the name and/or other information to identify an SNMP system contact person who is responsible for the switch. A maximum of 255 characters can be used. Format config snmp system_contact <sw_contact>...
  • Page 841: Disable Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#enable snmp traps Command: enable snmp traps Success. DGS-3620-28PC:admin# 73-12 disable snmp traps Description This command is used to disable SNMP trap support on the switch. Format disable snmp traps Parameters None.
  • Page 842 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To enable SNMP authentication trap support: DGS-3620-28PC:admin#enable snmp authenticate_traps Command: enable snmp authenticate_traps Success. DGS-3620-28PC:admin# 73-14 disable snmp authenticate_traps Description This command is used to disable SNMP authentication failure trap support.
  • Page 843 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrators and Operators can issue this command.. Example To enable SNMP linkchange trap support: DGS-3620-28PC:admin#enable snmp linkchange_traps Command: enable snmp linkchange_traps Success. DGS-3620-28PC:admin# 73-16 disable snmp linkchange_traps Description This command is used to disable SNMP linkchange trap support.
  • Page 844: Show Snmp Traps

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-17 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. Format config snmp linkchange_traps ports [all | <portlist>] [enable | disable] Parameters all - Specifies all ports.
  • Page 845 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display SNMP traps: DGS-3620-28PC:admin#show snmp traps Command: show snmp traps SNMP Traps : Enabled Authenticate Trap : Enabled Linkchange Traps : Enabled Coldstart Traps : Enabled Warmstart Traps : Enabled DGS-3620-28PC:admin#...
  • Page 846 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters enable - Enable traps for coldstart events. The default state is enabled. disable - Disable traps for coldstart events. Restrictions Only Administrators and Operators can issue this command. Example To enable traps for coldstart events: DGS-3620-28PC:admin#config snmp coldstart_traps enable...
  • Page 847 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-21 config trap source_ipif Description This command is used to force change the ipif information in trap messages. By default, trap messages will carry the information of the ipif they belong to. Format config trap source_ipif [<ipif_name 12>...
  • Page 848: Config Rmon Trap

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the trap source IP interface: DGS-3620-28PC:admin#show trap source_ipif Command: show trap source_ipif Trap Source IP Interface Configuration: IP Interface : ipif4 IPv4 Address : None IPv6 Address...
  • Page 849: Show Rmon

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 73-24 show rmon Description This command is used to display RMON related settings. Format show rmon Parameters None. Restrictions None. Example To display current RMON settings: DGS-3620-28PC:admin#show rmon Command: show rmon RMON Rising Alarm Trap...
  • Page 850: Chapter 74 Network Monitoring Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 74 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 851: Show Error Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Enter a port or range of ports to be displayed. Restrictions None. Example To display the packets analysis for port 1:7: DGS-3620-28PC:admin#show packet ports 1:7 Command: show packet ports 1:7 Port number : 1:7 Frame Size/Type...
  • Page 852 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Enter a port or range of ports to be displayed. Restrictions None. Example To display the errors of port 1:3: DGS-3620-28PC:admin#show error ports 1:3 Command: show error ports 1:3 Port Number : 1:3 RX Frames TX Frames...
  • Page 853 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide cpu - Specifies to display real-time CPU statistics. Restrictions None. Example To display port utilization: DGS-3620-28PC:admin#show utilization ports Command: show utilization ports Port TX/sec RX/sec Util Port TX/sec RX/sec Util -----...
  • Page 854: Show Utilization Dram

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-4 show utilization dram Description This command is used to display real-time DRAM utilization statistics. Format show utilization dram {unit <unit_id>} Parameters unit - Specifies which unit on the stacking system. If it is not specified, it refers to the master unit. <unit_id>...
  • Page 855: Clear Counters

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display Flash utilization: DGS-3620-28PC:admin#show utilization flash Command: show utilization flash Unit 1 Flash Memory Utilization : Total Flash : 126253 Used Flash : 8271 Utilization CTRL+C ESC q Quit SPACE n Next Page...
  • Page 856: Clear Log

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-7 clear log Description This command is used to clear the switch’s history log. Format clear log Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To clear the switch’s history log: DGS-3620-28PC:admin#clear log...
  • Page 857 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide error - (Optional) Specifies severity level 3. warning - (Optional) Specifies severity level 4. notice - (Optional) Specifies severity level 5. informational - (Optional) Specifies severity level 6. debug - (Optional) Specifies severity level 7.
  • Page 858 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the method to save log: DGS-3620-28PC:admin#show log_save_timing Command: show log_save_timing Saving Log Method: On_demand DGS-3620-28PC:admin# 74-10 show log_software_module Description This command is used to display the protocols or applications that support the enhanced log. Format show log_software_module Parameters...
  • Page 859: Enable Syslog

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters time_interval - Specifies to save log to Flash every xxx minutes. If no log occurs in this period, nothing will be saved. <min 1-65535> - Enter the time between 1 and 65535 minutes. on_demand - Specifies to save log to Flash whenever the user types "save log"...
  • Page 860: Disable Syslog

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-13 disable syslog Description This command is used to disable syslog from sending a message. Format disable syslog Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable syslog sending a message: DGS-3620-28PC:admin#disable syslog...
  • Page 861: Config Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show syslog Command: show syslog Syslog Global State: Enabled DGS-3620-28PC:admin# 74-15 config syslog host Description This command is used to configure the syslog host configuration. Format config syslog host [<index 1-4> | all] {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 862: Create Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - Enable the host to receive messages. disable - Disable the host to receive messages. Restrictions Only Administrators and Operators can issue this command. Example To configure the syslog host configuration: DGS-3620-28PC:admin# config syslog host all severity informational facility local0 Command: config syslog host all severity informational facility local0...
  • Page 863: Delete Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide local2 - User-defined facility. local3 - User-defined facility. local4 - User-defined facility. local5 - User-defined facility. local6 - User-defined facility. local7 - User-defined facility. udp_port - Specifies the UDP port number. <udp_port_number>...
  • Page 864: Show Syslog Host

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success DGS-3620-28PC:admin# 74-18 show syslog host Description This command is used to display syslog host configurations. Format show syslog host {<index 1-4>} Parameters <index 1-4> - (Optional) Specifies the host index. Note: If no parameter is specified, all hosts will be displayed.
  • Page 865 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 74-19 config syslog source_ipif Description This command is used to force change the ipif information in syslogs. By default, syslogs will carry the information of the ipif they belong to. Format config syslog source_ipif [<ipif_name 12>...
  • Page 866 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the syslog source interface: DGS-3620-28PC:admin#show syslog source_ipif Command: show syslog source_ipif Syslog Source IP Interface Configuration: IP Interface : System IPv4 Address : None IPv6 Address : None...
  • Page 867 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show attack_log index 1-3 Command: show attack_log index 1-3 Index Date Time Level Log Text ----- ---------- -------- -------- -------------------------------------------- 2009-12-26 14:15:45 WARN(4) Port security violation mac addrss 00-18- F3-10-94-89 on locking address full port 28 2009-12-26 14:15:45 WARN(4)
  • Page 868 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show cpu port {[l2 | l3 {[unicast | multicast]} |type [lacp | stp | gvrp | erps | cfm | 802.1x | lldp | oam | stacking | ctp | ospfv2 | ospfv3 | rip | ripng | bgp | vrrp | igmp | mld | pim-ipv4 | pim- ipv6 | dvmrp | reserved_ipv4_ipmc | reserved_ipv6_ipmc | unknown_ipv4_ipmc | unknown_ipv6_ipmc | arp | icmp | ndp | icmpv6 | sntp | dns | tftp | rcp | telnet | dhcp | dhcpv6 | udp-helper]]}...
  • Page 869 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display statistics of all Layer 3 control packets: DGS-3620-28PC:admin#show cpu port l3 Command: show cpu port l3 Type Total Drop ------------------- ---------- ----------- ----------- OSPFv2 OSPFv3 RIPng DHCP DHCPv6...
  • Page 870 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Reserved-IPv6-IPMC Unknown-IPv4-IPMC Unknown-IPv6-IPMC DGS-3620-28PC:admin# To display statistics of OSPFv2 packets: DGS-3620-28PC:admin#show cpu port type ospfv2 Command: show cpu port type ospfv2 Type Total Drop ------------------- ---------- ----------- ----------- OSPFv2 Hello LSAck...
  • Page 871: Chapter 75 Oam Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 75 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 872 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 60000> | notify_state [enable | disable]} (1) | error_frame {threshold <range 0-4294967295> | window <millisecond 1000-60000> | notify_state [enable | disable]} (1) | error_frame_seconds {threshold <range 1-900> | window <millisecond 10000-900000> | notify_state [enable | disable]} (1) | error_frame_period {threshold <range 0-4294967295>...
  • Page 873 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable - Specifies to enable event notification. disable - Specifies to disable event notification. remote_loopback - Specifies remote loop. start - If start is specified, it will request the peer to change to the remote loopback mode. stop - If stop is specified, it will request the peer to change to the normal operation mode.
  • Page 874 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# To configure the error frame seconds threshold to 2 and period to 10000 ms for port 1: DGS-3620-28PC: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 875 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 75-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 876 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) Specifies the range of ports to display. status - Specifies to display the Ethernet OAM status. configuration - Specifies to display the Ethernet OAM configuration.
  • Page 877 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format clear ethernet_oam ports [<portlist> | all] [event_log | statistics] Parameters <portlist> - Enter a range of Ethernet OAM ports to be cleared. all - Specifies to clear all Ethernet OAM ports. event_log - Specifies to clear Ethernet OAM event log information.
  • Page 878: Chapter 76 Open Shortest Path First (Ospf) Command List

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 76 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 879 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format 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 880 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide broadcast - Specifies to set the network type of designated interfaces to broadcast. This is the default option. bfd - (Optional) Specifies the status of the Bidirectional Forwarding Detection (BFD) function on the OSPF interface.
  • Page 881 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create OSPF area aggregation settings: DGS-3620-28PC:admin# create ospf aggregation 10.1.1.1 192.168.0.0/16 lsdb_type summary Command: create ospf aggresgation 10.1.1.1 192.168.0.0/16 lsdb_type summary Success. DGS-3620-28PC:admin# 76-3 config ospf aggregation Description This command is used to configure the OSPF area aggregation settings.
  • Page 882 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enabled Command: config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enabled Success. DGS-3620-28PC:admin# 76-4 delete ospf aggregation Description This command is used to delete an OSPF area aggregation configuration. Format delete ospf aggregation <area_id>...
  • Page 883 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - (Optional) Enter the area ID used here. Restrictions None. Example To display OSPF aggregation settings: DGS-3620-28PC:admin#show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated LSDB...
  • Page 884 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide stub - Specifies that the OSPF area type will be set to STUB. nssa - Specifies that the OSPF area type will be set to NSSA. translate - (Optional) Specifies whether translation will be enabled or disabled. enable - Specifies that the translate option will be enabled.
  • Page 885 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide stub_summary - (Optional) Specifies whether the summary LSA is effective for this area. enable - Specifies that the STUB summary option will be enabled. disable - Specifies that the STUB summary option will be disabled. metric - (Optional) Specifies the metric (1 - 65535;...
  • Page 886 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 76-9 show ospf area Description This command is used to display an OSPF area’s configuration. Format show ospf area {<area_id>} Parameters <area_id> - (Optional) Enter the OSPF area ID used here. Restrictions None.
  • Page 887 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <area_id> - Enter the area ID value here. metric - (Optional) Specifies a metric that will be advertised. <value 1-65535> - Enter the metric value used here. This value must be between 1 and 65535.
  • Page 888 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 76-12 delete ospf host_route Description This command is used to delete an OSPF host route. Format delete ospf host_route <ipaddr> Parameters <ipaddr> - Enter the host’s IP address used here. Restrictions Only Administrators, Operators and Power-Users can issue this command.
  • Page 889 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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-28PC:admin# 76-14 config ospf router_id...
  • Page 890 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 891 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 892 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 893: Enable Ospf

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 1.1.1.1 4.4.4.4...
  • Page 894 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 895 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 896 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 76-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 897 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 76-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 898 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-28PC: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 899 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the status of originating the OSPF default external route: DGS-3620-28PC:admin#config ospf default-information originate always Command: config ospf default-information originate always Success. DGS-3620-28PC:admin#...
  • Page 900: Chapter 77 Ospfv3 Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 77 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 901 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable OSPFv3: DGS-3620-28PC:admin# enable ospfv3 Command: enable ospfv3 Success. DGS-3620-28PC:admin# 77-2 disable ospfv3 Description This command is used to disable OSPFv3 on the Switch. Format disable ospfv3 Parameters None.
  • Page 902 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 903 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC: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 DR ID: None...
  • Page 904 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To set OSPFv3 router ID: DGS-3620-28PC:admin# config ospfv3 router_id 1.1.1.1 Command: config ospfv3 router_id 1.1.1.1 Success.
  • Page 905 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# create ospfv3 area 1.1.1.1 type normal Command: create ospfv3 area 1.1.1.1 type normal Success. DGS-3620-28PC: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 906 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 907 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 areas: DGS-3620-28PC: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 908 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To create an OSPFv3 area aggregation: DGS-3620-28PC: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 909 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 910 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 area aggregations: DGS-3620-28PC: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 911 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-28PC:admin# show ospfv3 lsdb Command: show ospfv3 lsdb Router LSA (Area 0.0.0.0) Link State ID ADV Router...
  • Page 912 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 913 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-28PC: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 914 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 915 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 916 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 917 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an OSPFv3 virtual link: DGS-3620-28PC: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-28PC:admin# 77-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 918 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-28PC:admin#...
  • Page 919: Chapter 78 Packet Storm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 78 Packet Storm Commands config traffic control [<portlist> | all] {broadcast [enable | disable] | multicast [enable | disable] | unicast [enable | disable] | action [drop | shutdown] | [threshold <value 0-255000> | {broadcast_threshold <value 0-255000>...
  • Page 920 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide broadcast_threshold - Specifies the upper threshold, at which point the specified storm control is triggered. The value is the number of broadcast packets per second received by the switch that will trigger the storm traffic control measure.
  • Page 921 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config traffic control auto_recover_time [<min 0> | <min 1-65535>] Parameters <min 0> - Enter the automatic recovery time used here. This value will specifies the time to be 0 otherwise known as 'no recovery mode'.
  • Page 922: Show Traffic Control

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the traffic log state on the Switch: DGS-3620-28PC:admin# config traffic control log state enable Command: config traffic control log state enable Success. DGS-3620-28PC:admin# 78-4 config traffic trap Description This command is used to configure whether storm control notification will be generated or not while traffic storm events are detected by a SW traffic storm control mechanism.
  • Page 923 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show traffic control {<portlist>} {[broadcast | multicast | unicast]} Parameters <portlist> - (Optional) Specifies a range of ports to be shown. broadcast - (Optional) Displays the information about traffic control for broadcast packets. multicast - (Optional) Displays the information about traffic control for multicast packets.
  • Page 924 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#...
  • Page 925: Chapter 79 Password Recovery Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 79 Password Recovery Commands enable password_recovery disable password_recovery show password_recovery 79-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 926 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 the password recovery mode: DGS-3620-28PC:admin# disable password_recovery Command: disable password_recovery Success. DGS-3620-28PC:admin# 79-3 show password_recovery Description The command is used to display the password recovery state.
  • Page 927 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show password_recovery Command: show password_recovery Running Configuration : Disabled NV-RAM Configuration : Enabled DGS-3620-28PC:admin#...
  • Page 928: Chapter 80 Protocol Independent Multicast (Pim) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 80 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> | passive [enable | disable]}(1) | register_probe_time <value 1-127>...
  • Page 929 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters long. all - Specifies that all the IP interfaces will be used. 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 930 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable pim Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable PIM: DGS-3620-28PC:admin# enable pim Command: enable pim Success. DGS-3620-28PC:admin# 80-3 disable pim Description This command is used to disable PIM on the switch.
  • Page 931 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 80-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 932 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the name of the IP interface used to display the PIM configuration. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
  • Page 933 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 255. hash_masklen - Enter a hash mask length, which will be used with the IP address of the 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.
  • Page 934 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-28PC:admin# 80-8 config pim crp Description This command is used to set the candidate rendezvous point (RP) related parameters.
  • Page 935 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 80-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 936 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete a multicast group range from the C-RP server list: DGS-3620-28PC:admin# delete pim crp group 224.1.2.3/32 Command: delete pim crp group 224.1.2.3/32 Success.
  • Page 937 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 80-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 938 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To list all the entries of multicast routing: DGS-3620-28PC:admin# show pim ipmroute Command: show pim ipmroute PIM IP Multicast Route Table UA = Upstream AssertTimer AM = Assert Metric AMPref = Assert MetricPref = Assert RPTBit...
  • Page 939 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a static RP: DGS-3620-28PC: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-28PC:admin# 80-15 delete pim static_rp group Description This command is used to delete a static RP.
  • Page 940 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-28PC: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 941 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-28PC:admin# This example shows how to display PIM-SM RP information for 229.1.1.1 which was learned by Bootstrap Router.
  • Page 942 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an entry for a specific RP in which the checksum in the registered packet will include the data portion: DGS-3620-28PC:admin# create pim register_checksum_include_data rp_address 24.1.2.3 Command: create pim register_checksum_include_data rp_address 24.1.2.3 Success.
  • Page 943 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show pim register_checksum_include_data_rp_list Parameters None. Restrictions None. Example To list all the RPs of the registered checksum, including the data: DGS-3620-28PC: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 ------------------...
  • Page 944 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure PIM-SSM state and group range: DGS-3620-28PC:admin# config pim-ssm state enable group_range default Command: config pim-ssm state enable group_range default Success.
  • Page 945 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show pim passive {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the IP interface name. <ipif_name 12> - Enter the IP interface name. This name can be up to 12 characters long. Restrictions None.
  • Page 946: Pim6-Sm Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 81 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 947 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 0 and 18000 seconds.
  • Page 948 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28PC:admin# 81-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 949 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-28PC:admin# show pim6 ipif System Command: show pim6 ipif System Interface Name : System Interface Link-Local Address : FE80::200:FF:FE26:6666 Interface Global Address...
  • Page 950 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-128> - Enter the length of the mask value here. This value must be between 0 and 128. The default value is 126. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure the C-BSR on the interface “System”:...
  • Page 951 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-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 952 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 953 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-8 enable pim6 Description This command is used to enable the PIM global state for IPv6 network. Format enable pim6 Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To enable PIM global state for IPv6 network:...
  • Page 954 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# disable pim6 Command: disable pim6 Success. DGS-3620-28PC:admin# 81-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 955 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 956 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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. If this parameter is chosen, the (S, G) or (S, G, rpt) entries will be displayed;...
  • Page 957 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide (*, G) Entry for group FF13::100 --------------------------------------------- RP Address : 3FFE:10:10::153 Upstream : n1 Upstream State : Joined RPF Neighbor : FE80::68FE Local Member : n30 Assert Lost Assert Won Outgoing : n10 n30...
  • Page 958 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Override Timer : 3 sec Pruned : n10 Outgoing Total Entries: 2 DGS-3620-28PC:admin# 81-13 create pim6 static_rp group Description This command is used to create a static RP. Generally a static RP can’t override a dynamic RP. If the option ‘override_dynamic’...
  • Page 959 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters group - Specifies the multicast group network address which will be removed from the static RP. <ipv6networkaddr> - Enter the IPv6 network address used here. Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To delete a static RP:...
  • Page 960 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-16 show pim6 crp Description This command is used to list all candidate rendezvous point (RP) related information. Format show pim6 crp Parameters None. Restrictions None. (EI Mode Only Command) Example To show the C-RP information: DGS-3620-28PC:admin# show pim6 crp...
  • Page 961 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To show the static RP: DGS-3620-28PC:admin# show pim6 static_rp Command: show pim6 static_rp PIM6 Static RP Table --------------------------------------------- Group : FF1E:9B::/64 RP Address : 3000::1 Override Dynamic...
  • Page 962 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ----------------------------------------- Group : FF3D::/64 RP Address : 2008::10F2 Hold Time : 210 sec Expired Time : 196 sec Type : Dynamic Group : FF3D::/64 RP Address : 3008::2DEF Override Dynamic : False Type : Static...
  • Page 963 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# 81-20 config pim6 register_probe_time Description This command is used to configure the PIM6-SM register probe time. Format config pim6 register_probe_time <sec 1-127> Parameters register_probe_time - Specifies the time before the Register-Stop Timer (RST) expires when a DR may send a Null-Register to the RP to cause it to resend a Register-Stop message.
  • Page 964 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. (EI Mode Only Command) Example To configure the PIM6-SM register suppression time to be 120 seconds: DGS-3620-28PC:admin# config pim6 register_suppression_time 120 Command: config pim6 register_suppression_time 120 Success.
  • Page 965 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 81-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. Format show pim6 mroute s_g {rpt} {group <ipv6addr>...
  • Page 966 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Check the detailed information for a specific multicasting route entry by specifying the options in the command. To show the detailed information of the multicast route entries of the specific group and source address.
  • Page 967 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# show pim6 mroute s_g rpt Command: show pim6 mroute s_g rpt (S, G, rpt) Entry Table ------------------------ Group : FF13::100 Source : 2001::1111 RP Address : 3FFE:10:10::153 Group : FF13::100 Source...
  • Page 968 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Prune Pending Timer : 0 sec Prune Expiry Timer : 15 sec DGS-3620-28PC:admin# 81-24 show pim6 mroute star_g Description This command is used to display the multicast routing information for (*, G) entries generated by PIM6.
  • Page 969 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# Check the detailed information for a specific multicasting routing entry by specifying the options in the command. To show the detailed information of the multicast routing entries for a specific group, specify the group address.
  • Page 970: Chapter 82 Policy Route Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 82 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] {route_preference [default | pbr]} show policy_route 82-1 create policy_route name...
  • Page 971 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 Administrators, Operators and Power-Users can issue this command. Example To delete a policy route named “duhon”: DGS-3620-28PC:admin#delete policy_route name duhon Command: delete policy_route name duhon Success.
  • Page 972 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide routes. The one that has the higher priority should be used to check the traffic first. default - Specifies that the policy base route has lower priority than the route in the routing table.
  • Page 973 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#show policy_route Command: show policy_route Policy Routing Table --------------------- Name Pro- Access Next Hop State Route file Pre- ference -------------------------------- ----- ------ --------------- -------- ------- route 192.168.69.1 Enabled Total Entries: 1 DGS-3620-28PC:admin#...
  • Page 974: Chapter 83 Port Security Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 83 Port Security Commands config port_security ports [<portlist> | all] [{admin_state [enable | disable] | max_learning_addr <max_lock_no 0-3328> | action [drop | shutdown] | lock_address_mode [permanent | deleteontimeout | deleteonreset]}(1) | {vlan [<vlan_name 32>...
  • Page 975 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide learned on the port, new entries will be dropped. This is the default setting. shutdown - Specifies that when the number of secure MAC addresses reaches the maximum learned on the port, the port will be shut down and enter the error-disabled state immediately.
  • Page 976 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide for a port, for a VLAN, and for specific VLAN on a port. If any limitation is exceeded, the new entry will be discarded. The setting for system level max learned users must be greater than the total of the max learned users allowed on all ports.
  • Page 977 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <max_lock_no 0-3328> - Enter the value between 0 and 3328. no_limit - Specifies the default value is no limit. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the maximum number of entries that can be learned at 64: DGS-3620-28PC:admin#config port_security vlan vlanid 1 max_learning_addr 64...
  • Page 978 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 83-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 979 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display a port security entry: DGS-3620-28PC: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-28PC:admin# 83-7 show port_security...
  • Page 980 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Port Security Log State : Disabled System Maximum Address : No Limit VLAN Configuration (Only VLANs with limitation are displayed) VLAN Name Max. Learning Addr. ---- -------------------------------- ------------------ default TstVLAN DGS-3620-28PC:admin#...
  • Page 981 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config port_security log state enable Command: config port_security log state enable Success. DGS-3620-28PC:admin# 83-9 config port_security trap state Description This command is used to enable or disable the port security trap. Format config port_security trap state [enable | disable] Parameters...
  • Page 982: Chapter 84 Power Over Ethernet (Poe) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 84 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 983: Config Poe System

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide to the port. There are three levels of priority that can be selected, critical, high, and low. When multiple ports happen to have the same level of priority, the port ID will be used to determine the priority.
  • Page 984: Show Poe Ports

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters units - (Optional) Specifies the unit list that will be configured. <unitlist> - Enter the unit list, used for this configuration, here. all - Specifies that all the units will be used for this configuration. power_limit - (Optional) Specifies the power budget of the PoE system.
  • Page 985: Show Poe System

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show poe ports {<portlist>} Parameters ports - (Optional) Specifies the list of ports to be displayed here. <portlist> - Enter the list of ports, used for the display, here. If no parameter is specified, the system will display the status for all the ports.
  • Page 986 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show poe system {units <unitlist>} 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 987: Chapter 85 Power Saving Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 85 Power Saving Commands config power_saving mode {length_detection | link_detection | led | port | hibernation} [enable | disable] config power_saving hibernation [[add | delete] time_range <range_name 32> | clear_time_range] config power_saving led [[add | delete] time_range <range_name 32>...
  • Page 988 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Led - (Optional) Specifies to configure the power saving state of port LED. port - (Optional) Specifies to configure the power saving state of port. hibernation - (Optional) Specifies to configure the power saving state of system hibernation. enable - Specifies to enable power saving state.
  • Page 989 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin#config power_saving hibernation add time_range range_1 Command: config power_saving hibernation add time_range range_1 Success. DGS-3620-28PC:admin# 85-3 config power_saving led Description This command is used to add or delete the power saving schedule on the LED of all ports. When any schedule is up, all port’s LED will be turned off even device’s LED working on PoE mode.
  • Page 990 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config power_saving port [<portlist> | all] [[add | delete] time_range <range_name 32> | clear_time_range] Parameters <portlist> - Enter a range of ports. all - Specifies all ports. add - Specifies to add a time range.
  • Page 991 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide led - (Optional) Display the port LED configuration of power saving. port - (Optional) Display the port configuration of power saving. hibernation - (Optional) Display the system hibernation configuration of power saving. If no parameter is specified, all configurations of power saving will be displayed.
  • Page 992 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To disable the LED admin state: DGS-3620-28PC:admin#config led state disable Command: config led state disable Success. DGS-3620-28PC:admin# 85-7 show led Description This command is used to display the setting of all port’s LED admin state.
  • Page 993: Chapter 86 Precision Time Protocol (Ptp) Commands

    xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 86 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 994 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the PTP function globally: DGS-3620-28PC:admin# enable ptp Command: enable ptp Success. DGS-3620-28PC:admin# 86-2 disable ptp Description This command is used to disable the PTP function globally.
  • Page 995 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide • Has multiple Precision Time Protocol (PTP) ports in a domain and maintains the timescale used in the domain. • Can serve as the time source and can synchronize with another clock. •...
  • Page 996 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ethernet - Specifies the transport protocol of PTP as IEEE802.3 Ethernet. udp - Specifies the transport protocol of PTP as UDP over IPv4. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To specify the transport protocol of PTP as IEEE802.3 Ethernet frames: DGS-3620-28PC:admin# config ptp transport protocol ethernet...
  • Page 997 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the domain number of the PTP clock as 1 and assign a domain name of internal_domain on the local unit, when the stacking mode is disabled: DGS-3620-28PC:admin# config ptp clock domain_number 1 domain_name internal_domain Command: config ptp clock domain_number 1 domain_name internal_domain...
  • Page 998 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config ptp boundary priority1 127 Command: config ptp boundary priority1 127 Success. DGS-3620-28PC:admin# 86-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 999 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ptp boundary ports [<portlist> | all] {announce [interval <sec 1-16> | timeout <value 2-10>] | sync_interval [half_second | <sec 1-2>] | delay_req_interval <value 0-5> | pdelay_req_interval <sec 1-32> | delay_mechanism [e2e | p2p]}(1) Parameters ports - Specifies the list of port used for this configuration.
  • Page 1000 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config ptp boundary ports 1:1-1:4 announce interval 3 Command: config ptp boundary ports 1:1-1:4 announce interval 3 The announce interval is automatically adjusted to 4. Success. DGS-3620-28PC:admin# To configure the announce timeout attribute of ports 1-4 to 4 seconds, which is about 4*Announce interval: DGS-3620-28PC:admin# config ptp boundary ports 1:1-1:4 announce timeout 4...
  • Page 1001 xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28PC:admin# config ptp boundary ports all delay_mechanism p2p Command: config ptp boundary ports all delay_mechanism p2p Success. DGS-3620-28PC:admin# 86-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.

Table of Contents