Page 2 - Table of Contents
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide II Table of Contents Chapter 1 Using Command Line Interface ........................................................................................... 1 Chapter 2 Basic Management Commands ............................
Page 3 - III
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide III Chapter 35 IGMP Proxy Commands ............................................................................................. 355 Chapter 36 IGMP Snooping Commands ...................................................
Page 5 - Accessing the Switch via the Serial Port; Command Line Interface; Enter
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 1 Chapter 1 Using Command Line Interface The DGS-3420 Layer 2+ stackable Gigabit Ethernet switch series are members of the D-Link xStack® family. Ranging from 10/100/1000Mbps edge switches to core gigabit switches, ...
Page 6 - Setting the Switch’s IP Address; Boot Procedure V1.00.006; config ipif System ipaddress
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 2 1-2 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...
Page 7 - Success; indicates that the command was executed; ESC; Next; In this case, the command; config account; was entered with the parameter; Next possible completions:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 3 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. The Switch can now be c...
Page 10 - Command Syntax Symbols; Syntax
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 6 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. The ...
Page 11 - Line Editing Keys; Multiple Page Display Control Keys; Keys
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 7 ipif <ipif_name 12> metric <value 1-31> 12 means the maximum length of the IP interface name. 1-31 means the legal range of the metric value. 1-4 Line Editing Keys Keys Description Delete Delete charac...
Page 12 - create account; Description; admin; - Specify the name of the admin account.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 8 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 ...
Page 13 - Restrictions; Command: create account admin dlink
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 9 operator - Specify the name of the operator account. power_user - Specify a power user level account. The power user level is lower than the operator level and higher than the user level. user - Specify the name o...
Page 14 - enable password encryption; Only Administrator-level users can issue this command.; Command: enable password encryption; disable password encryption
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 10 2-2 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 p...
Page 15 - Command: disable password encryption; encrypt; Command: config account dlink
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 11 Restrictions Only Administrator-level users can issue this command. Example To disable password encryption: DGS-3420-28SC:admin#disable password encryption Command: disable password encryption Success. DGS-3420-2...
Page 16 - To configure the user password of the “administrator” account:; show account; Command: show account; delete account; This command is used to delete an existing account.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 12 Success. DGS-3420-28SC:admin# To configure the user password of the “administrator” account: DGS-3420-28SC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config ...
Page 17 - Command: delete account System; show session; To display accounts a list of currently logged-in users:; Command: show session
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 13 Format delete account <username> Parameters <username> - Specify the name of the user who will be deleted. Restrictions Only Administrator-level users can issue this command. One active admin user mus...
Page 18 - This command is used to display the switch information.; Format; show switch; Parameters; To display the switch information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 14 Total Entries: 1 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh 2-8 show switch Description This command is used to display the switch information. Format show switch Parameters None. Restrictions ...
Page 19 - show environment; To display the switch hardware status:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 15 Web : Enabled (TCP 80) SNMP : Disabled SSL Status : Disabled SSH Status : Disabled 802.1X : Disabled Jumbo Frame : Off CLI Paging : Enabled MAC Notification : Disabled Port Mirror : Disabled SNTP : Disabled HOL P...
Page 20 - config temperature; trap; Specify to configure the warning temperature trap.; log; Specify to configure the warning temperature log.; state; To enable the warning temperature trap state:; Command: config temperature trap state enable; To enable the warning temperature log state:; Command: config temperature log state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 16 Low Warning Temperature Threshold(Celsius) : 11 DGS-3420-28SC:admin# 2-10 config temperature Description This command is used to configure the warning trap or log state of the system internal temperature. Format ...
Page 21 - config temperature threshold; high; - Specify the high threshold value. This value must be between -500; low; Specify the low threshold value.; Command: config temperature threshold high 80; This command is used to display the current console port setting.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 17 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...
Page 22 - To display the console port setting:; Parity Bits : None; Specify the baud rate value. The default baud rate is 115200.; never; To configure the baud rate:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 18 Restrictions None. Example To display the console port setting: DGS-3420-28SC:admin#show serial_port Command: show serial_port Baud Rate : 115200 Data Bits : 8 Parity Bits : None Stop Bits : 1 Auto-Logout : 10 mi...
Page 23 - enable clipaging; Command: enable clipaging; disable clipaging
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 19 Command: config serial_port baud_rate 9600 Success. DGS-3420-28SC:admin# 2-14 enable clipaging Description This command is used to enable pausing of the screen display when show command output reaches the end of ...
Page 24 - Command: disable clipaging; enable telnet; To enable Telnet and configure a port number:; Command: enable telnet 23; disable telnet; This command is used to disable Telnet.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 20 Restrictions Only Administrator and Operator-level users can issue this command. Example To disable pausing of the screen display when show command output reaches the end of the page: DGS-3420-28SC:admin#disable ...
Page 25 - Command: disable telnet; enable web; To enable HTTP and configure port number:; Command: enable web 80
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 21 Format disable telnet Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable Telnet: DGS-3420-28SC:admin#disable telnet Command: disable telnet Succes...
Page 26 - This command is used to disable Web UI.; disable web; Command: disable web; save; config; - Specify the path name of the indicated configuration
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 22 DGS-3420-28SC:admin# 2-19 disable web Description This command is used to disable Web UI. Format disable web Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Examp...
Page 27 - To save the current configuration to destination file, named 1:; Command: save config 1; To save all the configurations and logs to NV-RAM:; reboot; This command is used to restart the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 23 Restrictions Only Administrator and Operator-level users can issue this command. Example To save the current configuration to the bootup configuration file: DGS-3420-28SC:admin#save Command: save Saving all confi...
Page 28 - Please wait, the switch is rebooting...; reset
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 24 Parameters force_agree – (Optional) Specify to immediately execute the reboot command without further confirmation. Restrictions Only Administrator-level users can issue this command. Example To restart the switc...
Page 29 - This command is used to log in to the switch.; login; To login to the switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 25 Are you sure you want to proceed with system reset except IP address, log, user account and banner?(y/n) y Success. DGS-3420-28SC:admin# To reset the system configuration settings: DGS-3420-28SC:admin#reset confi...
Page 30 - This command is used to log out of the switch.; logout; To logout of the switch:; clear; clear
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 26 2-24 logout Description This command is used to log out of the switch. Format logout Parameters None. Restrictions None. Example To logout of the switch: DGS-3420-28SC:admin#logout Command: logout *********** * L...
Page 31 - To clear the terminal screan:; config terminal width; This command is used to configure the terminal width.; default; - Specify the default terminal width value.; Command: config terminal width 90; show terminal width
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 27 Parameters None. Restrictions None. Example To clear the terminal screan: DGS-3420-28SC:admin#clear Command: clear 2-26 config terminal width Description This command is used to configure the terminal width. Form...
Page 32 - To display the configuration of the current terminal width:; Command: show terminal width
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 28 Format show terminal width Parameters None. Restrictions None. Example To display the configuration of the current terminal width: DGS-3420-28SC:admin#show terminal width Command: show terminal width Global termi...
Page 33 - Example; Internal Power: Active
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 29 Example To show device status, the number 1, 2, 3 etc represent the fan number: DGS-3420-28SC:admin#show device_status Command: show device_status Unit 1: Internal Power: Active External Power: Fail Right Fan : O...
Page 34 - Chapter 3; This command is used to enable the 802.1X function.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 30 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 {...
Page 35 - This command is used to disable the 802.1X function.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 31 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the 802.1X function: DGS-3420-28SC:admin#enable 802.1x Command: enable 802.1x Succes...
Page 36 - Enter the new password again for confirmation:; This command is used to delete a specified user.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 32 3-3 create 802.1x user Description This command is used to create an 802.1X user. Format create 802.1x user <username 15> Parameters <username 15> - Specify to add a user name. Restrictions Only Admin...
Page 37 - To delete the user named “Tiberius”:; Username Password
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 33 Example To delete the user named “Tiberius”: DGS-3420-28SC:admin#delete 802.1x user Tiberius Command: delete 802.1x user Tiberius Success. DGS-3420-28SC:admin# 3-5 show 802.1x user Description This command is use...
Page 38 - local; - Specifiy the authentication protocol as local.; ports; - Specify a range of ports to be displayed.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 34 Format config 802.1x auth_protocol [local | radius_eap] Parameters local - Specifiy the authentication protocol as local. radius_eap - Specify the authentication protocol as RADIUS EAP. Restrictions Only Administ...
Page 40 - config 802.1x capability ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 36 3-8 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> ...
Page 41 - enable; To configure the 802.1X PDU forwarding state:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 37 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1X PDU forwarding state on ports 1 to 2: DGS-3420-28SC:admin#config 802.1x fwd_pdu ports 1...
Page 43 - config 802.1x authorization attributes radius; Command: config 802.1x authorization attributes radius enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 39 Example To configure the parameters that control the operation of the authenticator associated with a port: DGS-3420-28SC:admin# config 802.1x auth_parameter ports 1-20 direction both Command: config 802.1x auth_...
Page 44 - all; all; To initialize the authentication state machine of some or all:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 40 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 por...
Page 45 - - The switch passes data based on the MAC address of authenticated; To reauthenticate the device connected with the port:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 41 DGS-3420-28SC:admin# config 802.1x max_users 2 Command: config 802.1x max_users 2 Success. DGS-3420-28SC:admin# 3-15 config 802.1x reauth Description This command is used to reauthenticate the device connected wi...
Page 47 - - Specify the guest VLAN port state of the configured ports.; To configure a guest VLAN setting for ports 1 to 8:; Warning, The ports are moved to Guest VLAN.; This command is used to display guest VLAN information.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 43 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 <portl...
Page 48 - Guest Vlan Setting; config radius add; key
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 44 Restrictions None. Example To display guest VLAN information: DGS-3420-28SC:admin#show 802.1x guest_vlan Command: show 802.1x guest_vlan Guest Vlan Setting --------------------------------------------------------...
Page 49 - To add a new RADIUS server:; config radius delete; This command is used to delete a RADIUS server.; Command: config radius delete 1; config radius; This command is used to configure a RADIUS server.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 45 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a new RADIUS server: DGS-3420-28SC:admin#config radius add 1 10.48.74.121 key dlink default Command: con...
Page 50 - show radius
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 46 Format config radius <server_index 1-3> {ipaddress [<server_ip> | <ipv6addr>] | key <password 32> | auth_port [<udp_port_number 1-65535> | default] | acct_port [<udp_port_number 1...
Page 51 - To display RADIUS server configurations:; Command: show radius; show auth_statistics
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 47 Format show radius Parameters None. Restrictions None. Example To display RADIUS server configurations: DGS-3420-28SC:admin#show radius Command: show radius Index 1 IP Address : 192.168.69.1 Auth-Port : 1812 Acct...
Page 52 - To display authenticator statistics information for port 3:; show auth_diagnostics
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 48 Example To display authenticator statistics information for port 3: DGS-3420-28SC:admin# show auth_statistics ports 3 Command: show auth_statistics ports 3 Auth VID :100 MAC Address :00-00-00-00-00-03 Port number...
Page 54 - To display authentication client information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 50 Port number : 3 SessionOctetsRx 0 SessionOctetsTx 0 SessionFramesRx 0 SessionFramesTx 0 SessionId SessionAuthenticMethod Remote Authentication Server SessionTime 0 SessionTerminateCause SupplicantLogoff SessionUs...
Page 56 - This command is used to display account client information; To display account client information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 52 radiusAuthClientTimeouts 0 radiusAuthClientUnknownTypes 0 radiusAuthClientPacketsDropped 0 DGS-3420-28SC:admin# 3-28 show acct_client Description This command is used to display account client information Format ...
Page 57 - config accounting service
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 53 radiusAcctClient ==> radiusAcctClientInvalidServerAddresses 0 radiusAcctClientIdentifier D-Link radiusAuthServerEntry ==> radiusAccServerIndex : 2 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNum...
Page 58 - Command: config accounting service shell state enable; show accounting service
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 54 Format config accounting service [network | shell | system] state [enable | disable] Parameters network - Specifies that when enabled, the Switch will send informational packets to a remote RADIUS server when 802...
Page 59 - To display accounting service information:; Command: show accounting service
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 55 Example To display accounting service information: DGS-3420-28SC:admin#show accounting service Command: show accounting service Accounting State ------------------- Network : Disabled Shell : Disabled System : Di...
Page 60 - —Provides password
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 56 Chapter 4 Access Authentication Control (AAC) Commands enable authen_policy disable authen_policy show authen_policy create authen_login method_list_name <string 15> config authen_login [default | method_li...
Page 61 - — An extension of the TACACS protocol with the ability; TACACS+ (Terminal Access Controller Access Control System plus); — Provides
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 57 via one or more centralized TACACS servers, utilizing the UDP protocol for packet transmission. 2. Extended TACACS (XTACACS) — An extension of the TACACS protocol with the ability to provide more types of authent...
Page 62 - enable authen_policy; disable authen_policy
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 58 Note: This Switch also support the assignment of user privilege by a TACACS+ server. Note: TACACS, XTACACS and TACACS+ are separate entities and are not compatible. The Switch and the server must be configured ex...
Page 63 - Authentication Policy : Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 59 Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable system access authentication policy: DGS-3420-28SC:admin#disable authen_policy Command: disable authen_polic...
Page 66 - Method List Name Priority Method Name Comment
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 62 Example To delete a user-defined method list for user login: DGS-3420-28SC:admin#delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-3420-28SC...
Page 67 - config authen_enable; config admin local_enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 63 4-8 create authen_enable method_list_name Description This command is used to create a user-defined method list of authentication methods for promoting a user's privilege to Admin level. The maximum supported num...
Page 69 - Administrator level.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 65 Example To delete a user-defined method list for promoting a user's privilege to Admin level: DGS-3420-28SC:admin#delete authen_enable method_list_name enable_list_1 Command: delete authen_enable method_list_name...
Page 70 - config authen application; - Specify the method list of authentication methods for user login.; show authen application
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 66 Total Entries : 3 DGS-3420-28SC:admin# 4-12 config authen application Description This command is used to configure login or enable method list for all or the specified application. Format config authen applicati...
Page 71 - create authen server_group
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 67 Format show authen application Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the login and enable method list for all applications: DGS-3420-28SC:admin#sh...
Page 72 - config authen server_group
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 68 DGS-3420-28SC:admin#create authen server_group mix_1 Command: create authen server_group mix_1 Success. DGS-3420-28SC:admin# 4-15 config authen server_group Description This command is used to add or remove an au...
Page 73 - delete authen server_group; show authen server_group; This command is used to display the authentication server groups.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 69 DGS-3420-28SC:admin# 4-16 delete authen server_group Description This command is used to delete a user-defined authentication server group. Format delete authen server_group <string 15> Parameters <strin...
Page 74 - Group Name IP Address Protocol; create authen server_host
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 70 Example To display all authentication server groups: DGS-3420-28SC:admin#show authen server_group Command: show authen server_group Group Name IP Address Protocol --------------- --------------- -------- mix_1 10...
Page 75 - config authen server_host
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 71 retransmit - (Optional) Specify the count for re-transmit. This value is meaningless for TACACS+. The default value is 2. <int 1-20> - Specify the count for re-transmit. This value is meaningless for TACACS...
Page 76 - retransmit; delete authen server_host; protocol
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 72 seconds. The timeout value must be between 1 and 255 seconds. retransmit - Specify the count for re-transmit. This value is meaningless for TACACS+. The default value is 2. <int 1-20> - Specify the count fo...
Page 77 - This command is used to display authentication server hosts.; show authen server_host; IP Address Protocol Port Timeout Retransmit Key; config authen parameter response_timeout; there is no time out. The default value is 30 seconds.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 73 DGS-3420-28SC:admin# 4-21 show authen server_host Description This command is used to display authentication server hosts. Format show authen server_host Parameters None. Restrictions Only Administrator-level use...
Page 78 - Command: config authen parameter response_timeout 60; config authen parameter attempt; Command: config authen parameter attempt 9; show authen parameter; This command is used to display the authentication parameters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 74 Restrictions Only Administrator-level users can issue this command. Example To configure 60 seconds for user to input: DGS-3420-28SC:admin#config authen parameter response_timeout 60 Command: config authen parame...
Page 79 - Command: show authen parameter; enable admin; To enable administrator lever privilege:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 75 Format show authen parameter Parameters None. Restrictions Only Administrator-level users can issue this command. Example To display the authentication parameters: DGS-3420-28SC:admin# show authen parameter Comma...
Page 80 - - Specifies that the password entered should be in plain text form.; To configure the administrator password:; Enter the old password:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 76 DGS-3420-28SC:admin# enable admin Password:******** DGS-3420-28SC:admin# 4-26 config admin local_enable Description This command is used to configure the local enable password for the enable command. When the use...
Page 82 - delete access_profile
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 78 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-ffffff...
Page 83 - show cpu access_profile; This command is used to create access list profiles.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 79 0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> | offset_16-31 <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffffff> <hex 0x0-0xffffff...
Page 86 - config access_profile
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 82 DGS-3420-28SC:admin# DGS-3420-28SC:admin#create access_profile profile_id 2 profile_name 2 ip vlan source_ip_mask 255.255.255.255 destination_ip_mask 255.255.255.0 dscp icmp Command: create access_profile profile...
Page 91 - This command is used to display the current access list table.; - Specify the profile ID between 1 and 6.; To display the current access list table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 87 5-4 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_i...
Page 94 - - Specify the name of the time range settings.; weekdays; entries, the deletion of this time range profile will fail.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 90 5-5 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 t...
Page 95 - To display current time range setting:; Time Range Information
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 91 Format show time_range Parameters None. Restrictions None. Example To display current time range setting: DGS-3420-28SC:admin#show time_range Command: show time_range Time Range Information ----------------------...
Page 96 - To display the ACL part of the current configuration:; create access_profile Ethernet vlan profile_id 1; delete cpu access_profile; This command is used to delete CPU access list profiles.; - Specify to delete all the access list profiles.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 92 Example To display the ACL part of the current configuration: DGS-3420-28SC:admin#show current_config access_profile Command: show current_config access_profile #--------------------------------------------------...
Page 98 - Command: create cpu access_profile profile_id 1 ethernet vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 94 syn - (Optional) Specify to synchronize sequence numbers. fin - (Optional) No more data from sender. udp - Specify that the rule applies to UDP traffic. src_port_mask - (Optional) Specify the UDP source port mask...
Page 99 - ethernet
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 95 DGS-3420-28SC:admin#create cpu access_profile profile_id 2 ip source_ip_mask 255.255.255.255 Command: create cpu access_profile profile_id 2 ip source_ip_mask 255.255.255.25 5 Success. DGS-3420-28SC:admin# 5-10 c...
Page 102 - To display the current CPU access list table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 98 Parameters profile_id - (Optional) Specify the index of an access list profile. <value 1-5> - Specify value between 1 and 5. Restrictions None. Example To display the current CPU access list table: DGS-3420...
Page 106 - To disable CPU interface filtering:; - Specify the index of the access list profile.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 102 Example To disable CPU interface filtering: DGS-3420-28SC:admin#disable cpu_interface_filtering Command: disable cpu_interface_filtering Success. DGS-3420-28SC:admin# 5-14 config flow_meter Description This comm...
Page 109 - 000 pbs 200 conform replace_dscp 21 exceed drop violate permit; This command is used to display the flow meter table.; To display the flow meter configuration:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 105 2000 pbs 200 conform replace_dscp 21 exceed drop violate permit Success. DGS-3420-28SC:admin# To replace DSCP action changed to perform on conform (green) and unconform (yellow and red) packets: DGS-3420-28SC:ad...
Page 112 - higher the priority.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 108 delete port_group [id <value 1-64> | name <name 16>] show port_group {id <value 1-64> | name <name 16>} 6-1 create egress_access_profile Description This command is used to create an egre...
Page 114 - To delete egress access list profile ID 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 110 6-2 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&...
Page 119 - - Enter the profile ID here. This value must be between 1 and 4.; To display current egress access list table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 115 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 th...
Page 121 - To display current configuration of egress access list table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 117 DGS-3420-28SC:admin# show egress_access_profile profile_id 1 Command: show egress_access_profile profile_id 1 Egress Access Profile Table =========================================================================...
Page 126 - create port_group id; This command is used to create a port group.; - Enter the port group ID here. This value must be between 1 and 64.; name; To create a port group:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 122 DGS-3420-28SC:admin# show egress_flow_meter Command: show egress_flow_meter Flow Meter Information: ------------------------ Profile ID : 1 Access ID : 1 Mode : trTcm / color-blind CIR:1000(Kbps) CBS:2000(Kbyte)...
Page 127 - Command: create port_group id 2 name group2
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 123 DGS-3420-28SC:admin# create port_group id 2 name group2 Command: create port_group id 2 name group2 Success. DGS-3420-28SC:admin# 6-9 config port_group Description This command is used to add or delete a port li...
Page 130 - create arpentry; - The IP address of the end node or station.; delete arpentry; This command is used to delete a static ARP entry, made using the
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 126 Chapter 7 ARP Commands create arpentry <ipaddr> <macaddr> delete arpentry [<ipaddr> | all] config arpentry <ipaddr> <macaddr> config arp_aging time <min 0-65535> show arpentry...
Page 131 - - Delete all ARP entries; config arpentry
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 127 Format delete arpentry [<ipaddr> | all] Parameters <ipaddr> - The IP address of the end node or station. all - Delete all ARP entries Restrictions Only Administrator, Operator and Power-User level us...
Page 132 - config arp_aging time; To configure the ARP aging time:; show arpentry; ipif; - Specify the IP interface name. The maximum length is 12 characters.; ipaddress
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 128 DGS-3420-28SC:admin# 7-4 config arp_aging time Description This command is used to set the maximum amount of time, in minutes, that an ARP entry can remain in the switch’s ARP table, without being accessed, befo...
Page 133 - static; - Displays the static entries to the ARP table.; Command: show arpentry; clear arptable; To remove the dynamic entries from the ARP table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 129 static - Displays the static entries to the ARP table. mac_address - Displays the ARP entry by MAC address. <macaddr> - Specify the MAC address. Note: If no parameter is specified, all ARP entries will be ...
Page 134 - Command: clear arptable; show ipfdb; - Enter the IP address to be displayed.; interface; - Enter the port number to be displayed.; To display the IP address forwarding table on the Switch:; Interface IP Address Port Learned
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 130 DGS-3420-28SC:admin#clear arptable Command: clear arptable Success. DGS-3420-28SC:admin# 7-7 show ipfdb Description This command is used to display the IP address forwarding table on the Switch. Format show ipfd...
Page 135 - - Specify a gateway MAC to be configured.; – Specify the ports.; To configure the prevent IP spoofing attack:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 131 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_sp...
Page 136 - To display the ARP spoofing prevention status:; Gateway IP Gateway MAC Ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 132 8-2 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...
Page 137 - This command is used to enable the asymmetric VLAN function.; enable asymmetric_vlan; To enable asymmetric VLAN setting:; disable asymmetric_vlan; disable asymmetric_vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 133 Chapter 9 Asymmetric VLAN Commands enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan 9-1 enable asymmetric_vlan Description This command is used to enable the asymmetric VLAN function. Format e...
Page 138 - To disable asymmetric VLAN setting:; This command is used to display the asymmetric VLAN function.; show asymmetric_vlan; To display asymmetric VLAN:; Asymmetric Vlan : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 134 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable asymmetric VLAN setting: DGS-3420-28SC:admin# disable asymmetric_vlan Command: dis...
Page 139 - show autoconfig; To display the DHCP auto configuration status:; Command: show autoconfig; enable autoconfig
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 135 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...
Page 140 - To enable DHCP auto configuration status:; Command: enable autoconfig; disable autoconfig; To disable the DHCP auto configuration status:; Command: disable autoconfig
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 136 Format enable autoconfig Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable DHCP auto configuration status: DGS-3420-28SC:admin#enable autoconfig ...
Page 142 - Basic IP Commands; config ipif; - Specifies the IP interface configured.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 138 Chapter 11 Basic IP Commands config ipif <ipif_name 12> [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]} | proxy_arp [enable | disable] {local [enable | disable]}...
Page 143 - Command: config ipif System vlan v1; create ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 139 disable - Disable the IP interface. proxy_arp - (Optional) Enable or disable the proxy ARP. This is for the IPv4 function. The default is disabled. enable - Enable the proxy ARP. disable - Disable the proxy ARP....
Page 144 - - Specify the name of the VLAN corresponding to the IP interface. The; To create an IP interface petrovic1:; delete ipif; This command is used to delete an interface or an IPv6 address.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 140 multiple IPv4 addresses on the same interface. Configuration of IPv6 addresses must be done through the command config ipif . Format create ipif <ipif_name 12> {<network_address>} <vlan_name 32>...
Page 145 - ipv6address; - The IPv6 network address to be deleted.; - All IP interfaces except the System IP interface will be deleted.; Command: delete ipif petrovic1; enable ipif; To enable the state for interface petrovic1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 141 Format delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all] Parameters <ipif_name 12> - The name of the interface. ipv6address - (Optional) The IPv6 network address to be deleted....
Page 146 - Command: enable ipif petrovic1; disable ipif; This command is used to disable the state of an interface.; To disable the state for an interface:; Command: disable ipif petrovic1; show ipif; This command is used to display IP interface settings.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 142 Command: enable ipif petrovic1 Success. DGS-3420-28SC:admin# 11-5 disable ipif Description This command is used to disable the state of an interface. Format disable ipif [<ipif_name 12> | all] Parameters &...
Page 147 - To display IP interface settings:; – Specify the interface status.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 143 Restrictions None. Example To display IP interface settings: DGS-3420-28SC:admin#show ipif Command: show ipif IP Interface : System VLAN Name : default Interface Admin State : Enabled DHCPv6 Client State : Disab...
Page 150 - To display the link local address automatic configuration state:; IPIF: System Automatic Link Local Address: Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 146 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the automatic configuration of link local address for an interface: DGS-3420-28SC:admin#disable ipi...
Page 151 - config bpdu_protection ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 147 Chapter 12 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-1...
Page 152 - Command: config bpdu_protection ports 1 state enable mode drop; infinite; - Specify the port will not be auto recovered.; config bpdu_protection
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 148 DGS-3420-28SC:admin#config bpdu_protection ports 1 state enable mode drop Command: config bpdu_protection ports 1 state enable mode drop Success. DGS-3420-28SC:admin# 12-2 config bpdu_protection recovery_timer D...
Page 153 - Command: config bpdu_protection trap both; enable bpdu_protection; To enable BPDU protection for the entire switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 149 Parameters trap - Specify the trap state. log - Specify the log state. none - Specify neither attack_detected nor attack_cleared is trapped or logged. attack_detected - Specify events will be logged or trapped w...
Page 154 - disable bpdu_protection; To disable BPDU protection:; show bpdu_protection
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 150 12-5 disable bpdu_protection Description This command is used to disable BPDU protection globally for the entire switch. Format disable bpdu_protection Parameters None. Restrictions Only Administrator, Operator ...
Page 155 - To display BPDU protection information for the entire switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 151 Example To display BPDU protection information for the entire switch: DGS-3420-28SC:admin#show bpdu_protection Command: show bpdu_protection BPDU Protection Global Settings --------------------------------------...
Page 159 - CFM Commands
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 155 Chapter 14 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 | expli...
Page 160 - config cfm lock md; create cfm md; This command is used to create a CFM maintenance domain.; level; - Specify the maintenance domain level.; Command: create cfm md op_domain level 2; config cfm md
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 156 [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> {period [1sec | 1min] | level ...
Page 161 - Command: config cfm md op_domain mip explicit; create cfm ma
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 157 Parameters <string 22> - Enter the maintenance domain name used here. This name can be up to 22 characters long. md_index - Specifies the maintenance domain index used. <uint 1-4294967295> - Enter th...
Page 162 - config cfm ma; md
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 158 must be between 1 and 4294967295. md - Specify the maintenance domain name. <string 22> - Specify the maintenance domain name. The maximum length is 22 characters. md_index - Specifies the maintenance doma...
Page 163 - Command: config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec; create cfm mep
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 159 mip - (Optional) This is the control creation of MIPs. none - Do not create MIPs. auto - MIPs can always be created on any port in this MA if that port is not configured with an MEP of that MA. explicit - MIPs c...
Page 164 - config cfm mep
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 160 Format create cfm mep <string 32> mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] direction [inward | outwar...
Page 166 - Command: config cfm mep mepname mep1 state enable ccm enable; delete cfm mep; mepname
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 162 before the fault can be re-alarmed. The unit is centiseconds. The range is 250 to 1000. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the param...
Page 167 - Command: delete cfm mep mepname mep1; delete cfm ma; This command is used to delete a created maintenance association.; - Specify the maintenance domain index.; delete cfm md
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 163 DGS-3420-28SC:admin#delete cfm mep mepname mep1 Command: delete cfm mep mepname mep1 Success. DGS-3420-28SC:admin# 14-8 delete cfm ma Description This command is used to delete a created maintenance association....
Page 168 - This command is used to enable the CFM globally.; enable cfm; To enable the CFM globally:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164 Format delete cfm md [<string 22> | md_index <uint 1-4294967295>] Parameters <string 22> - Specify the maintenance domain name. The maximum length is 22 characters. md_index - Specify the maint...
Page 169 - This command is used to disable the CFM globally.; disable cfm; To disable the CFM globally:; Command: disable cfm; config cfm ports; MIPs are never created on that port.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 165 DGS-3420-28SC:admin# 14-11 disable cfm Description This command is used to disable the CFM globally. Format disable cfm Parameters None. Restrictions Only Administrator, Operator and Power-User level users can i...
Page 170 - - Specify to disable the CFM function.; show cfm ports; This command is used to display the CFM state of specified ports.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 166 enable - Specify to enable the CFM function. disable - Specify to disable the CFM function. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the CFM ...
Page 171 - show cfm; MD Index MD Name Level; show cfm fault
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 167 14-14 show cfm Description This command is used to display the CFM configuration. Format show cfm {[md [<string 22> | md_index <uint 1-4294967295>] {ma [<string 22> | ma_index <uint 1-429496...
Page 172 - Command: show cfm fault; show cfm port
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 168 Format show cfm fault {md [<string 22> | md_index <uint 1-4294967295>] {ma [<string 22> | ma_index <uint 1-4294967295>]}} Parameters md - (Optional) Specify the maintenance domain name. &...
Page 173 - Command: show cfm port 1; cfm lock md
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 169 outward - Specify outward facing MEP. vlanid - (Optional) Specify the VLAN identifier. If not specified, all VLANs are displayed. <vlanid 1-4094> - Specify the VLAN ID between 1 and 4094. Restrictions None...
Page 174 - cfm loopback
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 170 <int 1-8191> - Enter the remote MEP ID used here. This value must be between 1 and 8191. action - Specifies to start or to stop the management lock function. start - Specifies to start the management lock ...
Page 175 - cfm linktrace
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 171 <int 1-65535> - Specify the value between 1 and 65535. length - (Optional) Specify the payload length of the LBM to be sent. The default is 0. <int 0-1500> - Specify the value between 0 and 1500. pat...
Page 176 - show cfm linktrace
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 172 md_index – Specifies the MD index value used. <uint 1-4294967295> - Enter the MD index value used here. This value must be between 1 and 4294967295. ma - (Optional) Specify the maintenance association name...
Page 177 - ma; - Specify the maintenance association index.; Command: show cfm linktrace mepname mep1; To display a CFM linktrace reply:; Command: show cfm linktrace mepname mep trans_id 0; delete cfm linktrace
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 173 must be between 1 and 4294967295. ma - (Optional) Specify the maintenance association name. <string 22> - Specify the maintenance association name. The maximum length is 22 characters. ma_index - Specify t...
Page 178 - Command: delete cfm linktrace mepname mep1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 174 Parameters md - (Optional) Specify the maintenance domain name. <string 22> - Specify the maintenance domain name. The maximum length is 22 characters. md_index – Specifies the MD index value used. <uin...
Page 179 - show cfm mipccm; To display the MIP CCM database entries:; Command: show cfm mipccm
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 175 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the all-MPs-reply-to-LTR function: DGS-3420-28SC:admin#config cfm mp_ltr_all enable Command: config ...
Page 180 - All MPs reply LTRs: Disabled; This command is used to display the CFM packet’s RX/TX counters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 176 14-24 show cfm mp_ltr_all Description This command is used to display the current configuration of the "all MPs reply LTRs" function. This command is for test purposes. Format show cfm mp_ltr_all Paramet...
Page 181 - To display CFM packet RX/TX counters for ports 1 to 2:; This command is used to clear the CFM packet’s RX/TX counters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 177 Restrictions None. Example To display CFM packet RX/TX counters for ports 1 to 2: DGS-3420-28SC:admin#show cfm pkt_cnt ports 1-2 Command: show cfm pkt_cnt ports 1-2 CFM RX Statistics ----------------------------...
Page 183 - config cfm ais md
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 179 Restrictions None. Example To display CFM remote MEP information: DGS-3420-28SC:admin#show cfm remote_mep mepname mep1 remote_mepid 2 Command: show cfm remote_mep mepname mep1 remote_mepid 2 Remote MEPID : 2 MAC...
Page 185 - - Specifies that LCK function state will be enabled.; disable; - Specifies that LCK function state will be disabled.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 181 1min - Specifies that the transmitting interval period will be set to 1 minute. level - (Optional) Specifies the client level ID to which the MEP sends LCK PDU. The default client MD level is the MD level that t...
Page 186 - corresponding user level.; To display all commands:; cd
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 182 Chapter 15 Command List History Commands ? {<Command>} show command_history config command_history <value 1-40> 15-1 ? Description This command is used to display all of the commands available, on th...
Page 187 - To display the syntax for “config account”:; This command is used to display the command history.; show command_history; To display the command history:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 183 clear counters clear dhcp binding clear dhcp conflict_ip clear ethernet_oam ports clear fdb clear historical_counters ports clear igmp_snooping data_driven_group clear igmp_snooping statistic counter clear jwac ...
Page 188 - config command_history; default value is 25.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 184 config traffic_segmentation 1-6 forward_list 7-8 config radius delete 1 config radius add 1 10.48.74.121 key dlink default config 802.1x reauth port_based ports all config 802.1x init port_based ports all config...
Page 189 - enable command logging; Command: enable command logging; disable command logging
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 185 Chapter 16 Command Logging Command List enable command logging disable command logging show command logging 16-1 enable command logging Description The enable command logging command is used to enable the comman...
Page 190 - Command: disable command logging; show command logging; To show the command logging configuration status:; Command: show command logging
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 186 Format disable command logging Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the command logging: DGS-3420-28SC:admin# disable command logging Command: d...
Page 191 - config route preference; - Configure the preference of static route.; Command: config route preference static 70; show route preference
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 187 Chapter 17 Common Unicast Routing Command List config route preference [static | default | rip] <value 1-999> show route preference {[local | static | default | rip]} create route redistribute dst rip src ...
Page 192 - To display the route preference for all route types:; create route redistribute dst rip src; - To redistribute static routes to RIP.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 188 Format show route preference {[local | static | default | rip]} Parameters local - (Optional) Display the preference of local route. static - (Optional) Display the preference of static route. default - (Optiona...
Page 193 - Command: create route redistribute dst rip src static metric 2; config route redistribute dst rip src; Command: config route redistribute dst rip src local metric 1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 189 metric - (Optional) Specifies the RIP route metric value for the redistributed routes. <value 0-16> - Enter the metric value used here. This value must be between 0 and 16. Restrictions Only Administrator,...
Page 194 - delete route redistribute dst rip src; To delete route redistribution settings:; Command: delete route redistribute dst rip src static; show route redistribute dst rip; - Display the redistribution with the source static.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 190 17-5 delete route redistribute dst rip src Description This command is used to delete the route redistribute configuration on the Switch. It specifies to not redistribute other routing protocols to RIP. Format d...
Page 195 - show route redistribute; To display route redistributions:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 191 Example To display route redistributions: DGS-3420-28SC:admin# show route redistribute dst rip Command: show route redistribute dst rip Route Redistribution Settings Source Destination Type Metric Protocol Proto...
Page 197 - create authentication guest_vlan; - Specify the guest VLAN by VLAN name. The VLAN name can be up to 32
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 193 Chapter 18 Compound Authentication Commands create authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] delete authentication guest_vlan [vlan <vlan_name 32> | vlanid <vl...
Page 198 - To assign a static VLAN to be a guest VLAN:; Command: create authentication guest_vlan vlan guestVLAN; delete authentication guest_vlan; vlan; vlanid; - Specify the guest VLAN by VLAN ID. The VLAN ID value must be between; Command: delete authentication guest_vlan vlan guestVLAN; config authentication guest_vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 194 Example To assign a static VLAN to be a guest VLAN: DGS-3420-28SC:admin#create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3420-28SC:admin# 18-2...
Page 199 - Command: config authentication guest_vlan vlan gv add ports all; config authentication mac_format
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 195 Format config authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ports [<portlist> | all ] Parameters vlan - Specify the guest VLAN name. <vlan_name 32&g...
Page 200 - config authentication ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 196 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 form...
Page 201 - Command: config authentication ports all auth_mode host_based; show authentication
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 197 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 authenticati...
Page 202 - To display the global authentication configuration:; Command: show authentication; show authentication guest_vlan; To display the guest VLAN setting:; Guest VLAN VID :; show authentication mac_format
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 198 Example To display the global authentication configuration: DGS-3420-28SC:admin#show authentication Command: show authentication Authentication Server Failover: Block. DGS-3420-28SC:admin# 18-7 show authenticati...
Page 203 - To display the authentication MAC format setting:; Case : Uppercase; show authentication ports; To display the authentication settings for ports 1 to 3:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 199 Parameters None. Restrictions None. Example To display the authentication MAC format setting: DGS-3420-28SC:admin#show authentication mac_format Command: show authentication mac_format Case : Uppercase Delimiter...
Page 204 - This command is used to enable the authorization global state.; enable authorization attributes; To enable the authorization global state:; Command: enable authorization attributes; disable authorization attributes; disable authorization attributes
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 200 DGS-3420-28SC:admin#show authentication ports 1-3 Command: show authentication ports 1-3 Port Methods Auth Mode Authentication VLAN(s) ---- -------------- ----------- ---------------------- 1 None Host-based 2 N...
Page 205 - To disable the authorization global state:; Command: disable authorization attributes; This command is used to display the authorization status.; show authorization; To display the authorization status:; Command: show authorization; config authentication server failover
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 201 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the authorization global state: DGS-3420-28SC:admin#disable authorization attribut...
Page 206 - - Specify to use the local database to authenticate the client.; permit; - Specify that the client is always regarded as authenticated.; block; - Specify to block the client. This is the default setting.; To set the authentication server failover state:; Command: config authentication server failover local
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 202 * 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-authe...
Page 207 - debug address_binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 203 Chapter 19 Debug Software Command List debug address_binding [event | dhcp | all] state [enable | disable] no debug address_binding debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename ...
Page 208 - Command: debug address_binding all state enable; no debug address_binding; Only Administrator level users can issue this command.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 204 Parameters event - To print out the debug messages when IMPB module receives ARP/IP packets. dhcp - To print out the debug messages when the IMPB module receives the DHCP packets. all - Print out all debug messa...
Page 209 - dump; Status : 1000FC01 Interrupt enable Normal level
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 205 19-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>] P...
Page 210 - debug buffer
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 206 t8($24) : 00000000 t9($25) : FFFFFFC0 k0($26) : 00000000 k1($27) : 00000000 gp($28) : 8180ADA0 sp($29) : 4CFEA7A0 fp($30) : 00000001 ra($31) : 80A02938 ------------------------- TASK STACKTRACE -----------------...
Page 211 - utilization; debug output
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 207 Parameters utilization - Display the debug buffer’s state. 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...
Page 212 - Command: debug output all console; debug config error_reboot; enter the debug shell mode for debug.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 208 Note: When selecting to output to the debug buffer and there are debug messages being outputted, the system memory pool will be used as the debug buffer. The functions which will use the system memory pool resou...
Page 213 - Command: debug config error_reboot disable; debug config state; Command: debug config state disable; debug show error_reboot state
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 209 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-3420-28SC:admin# debug config error_reboot disable Command: debug...
Page 214 - Error Reboot: Enabled; debug stp clear counter
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 210 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-3420-28SC:admin#debug show error_reboot stat...
Page 215 - Command : debug stp clear counter ports all; debug stp config ports; Command: debug stp config ports all all state brief; debug stp show counter
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 211 DGS-3420-28SC:admin# debug stp clear counter ports all Command : debug stp clear counter ports all Success. DGS-3420-28SC:admin# 19-10 debug stp config ports Description This command used to configure per-port S...
Page 216 - - Enter the list of port used for this configuration here.; If no parameter is specified, display the global counters.; To show the STP counters for port 9:; debug stp show flag
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 212 Format debug stp show counter {ports [<portlist> | all]} Parameters ports - (Optional) Specifies the STP ports for display. <portlist> - Enter the list of port used for this configuration here. all -...
Page 217 - debug stp show information
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 213 Format debug stp show flag {ports <portlist>} Parameters ports - (Optional) Specifies the STP ports to display. <portlist> - (Optional) Enter the list of port used for this configuration here. If no ...
Page 218 - To show STP debug information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 214 Parameters None. Restrictions Only Administrator level users can issue this command. Example To show STP debug information:
Page 220 - debug stp state; This command is used to enable or disable the STP debug state.; Command: debug stp state enable; This command is used to enable the DHCPv6 client Debug function.; debug dhcpv6_client state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 216 19-14 debug stp state Description This command is used to enable or disable the STP debug state. Format debug stp state [enable | disable] Parameters state - Specifies the STP debug state. enable - Enable the ST...
Page 221 - Command: debug dhcpv6_client state enable; debug dhcpv6_client state disable; Command: debug dhcpv6_client state disable; debug dhcpv6_client output
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 217 Restrictions Only Administrator-level users can issue this command. Example To enabled DHCPv6 client debug function: DGS-3420-28SC:admin# debug dhcpv6_client state enable Command: debug dhcpv6_client state enabl...
Page 222 - Command: debug dhcpv6_client output console; debug dhcpv6_client packet
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 218 Parameters buffer - Let the debug message output to buffer. console - Let the debug message output to console. Restrictions Only Administrator-level users can issue this command. Example To set debug information...
Page 223 - Command: debug dhcpv6_client packet sending state enable; This command is used to enable the DHCPv6 relay Debug function.; debug dhcpv6_relay state enable; Command: debug dhcpv6_relay state enable; debug dhcpv6_relay state disable; debug dhcpv6_relay state disable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 219 DGS-3420-28SC:admin# debug dhcpv6_client packet sending state enable Command: debug dhcpv6_client packet sending state enable Success. DGS-3420-28SC:admin# 19-19 debug dhcpv6_relay state enable Description This ...
Page 224 - Command: debug dhcpv6_relay state disable; debug dhcpv6_relay output
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 220 Restrictions Only Administrator-level users can issue this command. Example To disabled DHCPv6 relay debug function: DGS-3420-28SC:admin# debug dhcpv6_relay state disable Command: debug dhcpv6_relay state disabl...
Page 225 - Command: debug dhcpv6_relay output console; debug dhcpv6_relay packet
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 221 Format debug dhcpv6_relay output [buffer | console] Parameters output - Specifies the location of the debug message output. buffer - Let the debug message output to buffer. console - Let the debug message output...
Page 226 - Command: debug dhcpv6_relay packet sending state enable; debug dhcpv6_server packet; - Set packet receiving and sending debug flags.; Command: debug dhcpv6_server packet sending state enable; debug dhcpv6_server state disable; This command is used to disable the DHCPv6 server debug functions.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 222 DGS-3420-28SC:admin# debug dhcpv6_relay packet sending state enable Command: debug dhcpv6_relay packet sending state enable Success. DGS-3420-28SC:admin# 19-24 debug dhcpv6_server packet Description This command...
Page 227 - Command: debug dhcpv6_server state disable; debug dhcpv6_server state enable; Command: debug dhcpv6_server state enable; debug ripng flag
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 223 Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disabled the DHCPv6 server debug function: DGS-3420-28SC:admin# debug dhcpv6_server state disable Command: debug dh...
Page 228 - debug ripng show flag
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 224 Format debug ripng flag [{interface | packet [all | rx | tx] | route} | all] state [enable | disable] Parameters interface - (Optional) Specifies the state of the RIPng interface debug. The default setting is di...
Page 229 - This command is used to disable the RIPng debugging state.; debug ripng state disable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 225 Parameters None. Restrictions Only Administrator-level users can issue this command. Example To show the current RIPng debug flag setting: DGS-3420-28SC:admin# debug ripng show flag Command: debug ripng show fla...
Page 230 - This command is used to enable the RIPng debugging state.; debug ripng state enable; Command: debug ripng state enable; debug show status; module
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 226 19-30 debug ripng state enable Description This command is used to enable the RIPng debugging state. Format debug ripng state enable Parameters None. Restrictions Only Administrator-level users can issue this co...
Page 232 - To display the ND Snooping binding state of entries:; IP Address MAC Address S Time Port
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 228 DGS-3420-28SC: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, ...
Page 234 - - Specifies the VLAN ID used to enabled DHCP local relay.; - Enable or disable DHCP local relay for a specified VLAN.; - Enable DHCP local relay for a specified VLAN.; - Disable DHCP local relay for a specified VLAN.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 230 DGS-3420-28SC:admin# 20-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 vlan...
Page 236 - To display the local DHCP relay status:; DHCP/BOOTP Local Relay Status : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 232 Parameters None. Restrictions None. Example To display the local DHCP relay status: DGS-3420-28SC:admin#show dhcp_local_relay Command: show dhcp_local_relay DHCP/BOOTP Local Relay Status : Disabled DHCP/BOOTP Lo...
Page 237 - config dhcp_relay add ipif; but not allow input from the console screen, and these BOOTP relay; command is performed.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 233 Chapter 21 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 1...
Page 238 - hops; The range is 1 to 16. The default value is 4.; time; To configure the DHCP relay:; Command: config dhcp_relay hops 4 time 2
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 234 Parameters hops - Specify the maximum number of router hops that the DHCP/BOOTP packets can cross. The range is 1 to 16. The default value is 4. <int 1-16> - Specify the maximum number of router hops that ...
Page 239 - To add an IP destination address to the switch’s DHCP relay table:; config dhcp_relay delete ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 235 Example To add an IP destination address to the switch’s DHCP relay table: DGS-3420-28SC:admin#config dhcp_relay add ipif System 10.43.21.12 Command: config dhcp_relay add ipif System 10.43.21.12 Success. DGS-34...
Page 240 - To configure DHCP Option 60 to decide to relay which DHCP server:; relay; - Specify the mode to relay or drop packets.; relay; - The packet will be relayed based on the relay rules.; drop; - Specify to drop the packet that has no matching Option 60 rules.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 236 Parameters <multiword 255> - Specify a string. relay - Specify a relay server IP address. <ipaddr> - Enter the IP address here. exact-match - The Option 60 string in the packet must fully match the s...
Page 241 - To configure a DHCP Option 60 default drop action:; string; - The string value can be up to 255 characters long.; address specified by the user.; - Delete the default relay IP address that is specified by the user.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 237 Example To configure a DHCP Option 60 default drop action: DGS-3420-28SC:admin#config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-3420-28SC:admin# 2...
Page 242 - To configure the DHCP Option 60 state:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 238 21-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...
Page 243 - client-ID string can be up to 255 characters long.; - Specify to relay the packet to an IP address.; To configure DHCP Option 61 to decide how to process DHCP packets:; - Specify to drop the packet that have no Option 61 matching rules.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 239 <macaddr> - Specify the client’s client-ID, which is the MAC address of the client. string - Specify the client’s client-ID, which is specified by administrator. <desc_long 255> - Specify the client’...
Page 245 - To configure the state of DHCP relay Option 61:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 241 Format config dhcp_relay option_61 state [enable | disable] Parameters enable - Specify to enable the DHCP relay function to use option 61 rules to relay DHCP packets. disable - Specify to disable the DHCP relay...
Page 246 - replace; - Replace the existing option 82 field in the packet.; To configure the policy of DHCP relay agent information Option 82:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 242 Success. DGS-3420-28SC:admin# 21-13 config dhcp_relay option_82 policy Description This option takes effect only when the check status is disabled. The relay agent does this operation because the packet cannot c...
Page 247 - - Use the switch’s system MAC address as remote ID.; without further check and processing of the packet.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 243 Parameters default - Use the switch’s system MAC address as remote ID. user_define - Use the user-defined string as remote ID. Space characters are allowed in the string. <desc 32> - The user-defined strin...
Page 248 - To enable the DHCP relay function:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 244 Success. DGS-3420-28SC:admin# 21-16 enable dhcp_relay Description This command is used to enable the DHCP relay function on the switch. Format enable dhcp _relay Parameters None. Restrictions Only Administrator,...
Page 249 - To disable the DHCP relay function:; - Specify the IP interface name. The IP interface name can be up to 12
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 245 Example To disable the DHCP relay function: DGS-3420-28SC:admin#disable dhcp_relay Command: disable dhcp_relay Success. DGS-3420-28SC:admin# 21-18 show dhcp_relay Description This command is used to display the ...
Page 250 - This command is used to display the DHCP relay option 60 entries.; - The string can be up to 255 characters long.; To display the DHCP option 60 entries:; Default Processing Mode: Drop
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 246 System 10.1.1.1 192.168.0.1 DGS-3420-28SC:admin# 21-19 show dhcp_relay option_60 Description This command is used to display the DHCP relay option 60 entries. Format show dhcp_relay option_60 {[string <multiw...
Page 251 - This command is used to display all the DHCP relay option 61 rules.; To display the DHCP option 61 entries:; Default Relay Rule:Drop
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 247 DGS-3420-28SC:admin# 21-20 show dhcp_relay option_61 Description This command is used to display all the DHCP relay option 61 rules. Format show dhcp_relay option_61 Parameters None. Restrictions None. Example T...
Page 252 - create dhcp excluded_address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 248 Chapter 22 DHCP Server Commands create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all] s...
Page 253 - delete dhcp excluded_address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 249 Format create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> Parameters begin_address - Specify the starting address of the IP address range. <ipaddr> - Specify the starting ...
Page 254 - To delete a DHCP server exclude address:; show dhcp excluded_address; To display the DHCP server excluded addresses:; Index Begin Address End Address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 250 Example To delete a DHCP server exclude address: DGS-3420-28SC:admin#delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 Command: delete dhcp excluded_address begin_address 10.10.10.1 e...
Page 255 - create dhcp pool; To create a DHCP pool:; Command: create dhcp pool nyknicks; delete dhcp pool; This command is used to delete a DHCP pool.; - Specify to delete all the DHCP pools.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 251 22-4 create dhcp pool Description This command is used to create a DHCP pool by specifying a name. After creating a DHCP pool, use other DHCP pool configuration commands to configure parameters for the pool. For...
Page 256 - Command: delete dhcp pool nyknicks; config dhcp pool network_addr; - Specify the IP address that the DHCP server may assign to clients.; config dhcp pool domain_name
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 252 DGS-3420-28SC:admin#delete dhcp pool nyknicks Command: delete dhcp pool nyknicks Success. DGS-3420-28SC:admin# 22-6 config dhcp pool network_addr Description This command is used to specify the network for the D...
Page 257 - To configure the domain name option of the DHCP pool:; config dhcp pool dns_server; specified on one command line.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 253 Format config dhcp pool domain_name <pool_name 12> {<domain_name 64>} Parameters <pool_name 12> - Specify the DHCP pool name. <domain_name 64> - (Optional) Specify the domain name of the ...
Page 259 - - Specify the NetBIOS node type for Microsoft DHCP clients as mixed.; hybrid; To configure the NetBIOS node type:; config dhcp pool default_router; be specified on one command line.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 255 Format config dhcp pool netbios_node_type <pool_name 12> [broadcast | peer_to_peer | mixed | hybrid] Parameters <pool_name 12> - Specify the DHCP pool name. broadcast - Specify the NetBIOS node type ...
Page 260 - config dhcp pool lease; Command: config dhcp pool lease nyknicks infinite
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 256 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the default router: DGS-3420-28SC:admin#config dhcp pool default_router nyknicks 10.10.10.1 Comma...
Page 261 - config dhcp pool boot_file; To configure the boot file:; config dhcp pool next_server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 257 22-13 config dhcp pool boot_file Description This command is used to specify the name of the file that is used as a boot image. The boot file is used to store the boot image for the client. The boot image is gen...
Page 262 - To configure the next server:; config dhcp pool class; add; - Enter the DHCP class’s name used here. This name can be up to 12
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 258 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the next server: DGS-3420-28SC:admin#config dhcp pool next_server engineering 192.168.0.1 Command...
Page 263 - config dhcp pool option_43; - Specifies the DHCP Option 43 string used.; delete; - Specifies to delete the DHCP Option 43.; enable dhcp class
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 259 DGS-3420-28SC:admin#config dhcp pool class pool1 add class1 begin_address 192.168.69.10 end_address 192.168.69.20 Command: config dhcp pool class pool1 add class1 begin_address 192.168.69.10 end_address 192.168....
Page 264 - Command: enable dhcp class; disable dhcp class; To enable the DHCP class function:; Command: disable dhcp class
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 260 Format enable dhcp class Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the DHCP class function: DGS-3420-28SC:admin#enable dhcp c...
Page 265 - create dhcp class; Command: create dhcp class class2; config dhcp class; class
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 261 22-19 create dhcp class Description This command is used to create a DHCP class. Administrators can create a DHCP class with a name that is a symbolic string, like "class1”. Format create dhcp class <clas...
Page 266 - Command: config dhcp class class1 add option 60 hex 4d5346*; delete dhcp class
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 262 string - Specifies the character string used with the DHCP class options. <multiword 255> - Enter the character string used here. This string can be up to 255 characters long. hex - Specifies the hexadecim...
Page 267 - - Enter the DHCP class name used here. This name can be up to 12; Command: delete dhcp class class2; show dhcp class; to 12 characters long.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 263 Format delete dhcp class <class_name 12> Parameters class - Specifies the DHCP class name used. <class_name 12> - Enter the DHCP class name used here. This name can be up to 12 characters long. Restr...
Page 268 - config dhcp ping_packets; To configure ping packets:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 264 DGS-3420-28SC:admin#show dhcp class Command: show dhcp class DHCP Class Status : Disabled DHCP Class Name : class1 Option Type Value --------- ------------ ------------------ 60 hex 4d5346* 82 string 01060004000...
Page 269 - config dhcp ping_timeout; - Specify the amount of time the DHCP server must wait before timing; create dhcp pool manual_binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 265 22-24 config dhcp ping_timeout Description This command is used to specify the amount of time the DHCP server must wait before timing out a ping packet. By default, the DHCP server waits 100 milliseconds before ...
Page 270 - To configure manual bindings:; delete dhcp pool manual_binding; This command is used to delete DHCP server manual binding.; To delete DHCP server manual binding:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 266 Parameters <pool_name 12> - Specify the DHCP pool name. <ipaddr> - Specify the IP address which will be assigned to a specified client. hardware_address - Specify the hardware MAC address. <macadd...
Page 271 - clear dhcp binding; - Specify to clear all IP addresses for the specified pool.; - Specify to clear all binding entries in all pools; show dhcp binding; This command is used to display dynamic binding entries.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 267 Success. DGS-3420-28SC:admin# 22-27 clear dhcp binding Description This command is used to clear a binding entry or all binding entries in a pool or clears all binding entries in all pools. Note that this comman...
Page 272 - To display dynamic binding entries for “engineering”:; Command: show dhcp binding engineering; show dhcp pool; To display the current DHCP pool information for “engineering”:; Command: show dhcp pool engineering
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 268 Restrictions None. Example To display dynamic binding entries for “engineering”: DGS-3420-28SC:admin#show dhcp binding engineering Command: show dhcp binding engineering Pool Name IP Addresss Hardware Address Ty...
Page 273 - show dhcp pool manual_binding; To display the configured manual binding entries:; Pool Name IP Address Hardware Address Type
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 269 DNS Server :10.10.10.1 NetBIOS Name Server :10.10.10.1 NetBIOS Node Type :Broadcast Default Router :10.10.10.1 Pool Lease :10 Days, 0 Hours, 0 Minutes Boot File :boot.bin Next Server :10.10.10.2 Option 43 : DHCP...
Page 275 - DHCP Server Global State: Disabled; clear dhcp conflict_ip
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 271 Example To disable the Switch’s DHCP server: DGS-3420-28SC:admin#disable dhcp_server Command: disable dhcp_server Success. DGS-3420-28SC:admin# 22-33 show dhcp_server Description This command is used to display ...
Page 276 - - Specify the IP address to be cleared.; - Specify that all IP addresses will be cleared.; show dhcp conflict_ip; To display the entries in the DHCP conflict IP database:; IP Address Detection Method Detection Time
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 272 Parameters <ipaddr> - Specify the IP address to be cleared. all - Specify that all IP addresses will be cleared. Restrictions None. Example To clear an IP address 10.20.3.4 from the conflict database: DGS-...
Page 278 - config dhcpv6_relay ipif; To configure the DHCPv6 relay global state to enable:; disable dhcpv6_relay
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 274 Chapter 23 DHCPv6 Relay Command List enable dhcpv6_relay disable dhcpv6_relay config dhcpv6_relay hop_count <value 1-32> config dhcpv6_relay [add | delete] ipif <ipif_name 12> <ipv6addr> config...
Page 281 - Command: config dhcpv6_relay ipif System state enable; - Enter the IP interface name used here. This name can be up to 12
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 277 enable - Choose this parameter to enable the DHCPv6 relay state of the interface. disable - Choose this parameter to disable the DHCPv6 relay state of the interface. Restrictions Only Administrator, Operator and...
Page 282 - To show the DHCPv6 relay configuration of System interface:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 278 DGS-3420-28SC:admin# show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State : Disabled DHCPv6 Hops Count Limit : 4 --------------------------------------------------------------- IP Interface : n...
Page 283 - create dhcpv6 pool; This command is used to create a DHCPv6 pool for the DHCPv6 server.; - Specifies the pool to be created with this command.; To create a DHCPv6 pool pool1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 279 Chapter 24 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...
Page 284 - delete dhcpv6 pool; Command: delete dhcpv6 pool pool1; show dhcpv6 pool; pool
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 280 DGS-3420-28SC:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3420-28SC:admin# 24-2 delete dhcpv6 pool Description This command is used to delete one or all DHCPv6 pools. Format de...
Page 285 - can be up to 12 characters long.; To show the DHCPv6 pool by specifying the pool name pool1:; Command: show dhcpv6 pool pool1; config dhcpv6 pool ipv6network_addr
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 281 <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 ...
Page 286 - success; config dhcpv6 pool domain_name
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 282 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 ...
Page 287 - To configure the domain name for the DHCPv6 pool pool1:; config dhcpv6 pool dns_server; - Enter the DHCPv6 pool name used here. This name can be up to 12
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 283 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the domain name for the DHCPv6 pool pool1: DGS-3420-28SC:admin# config dhcpv6 pool domain_name po...
Page 288 - config dhcpv6 pool lifetime; Preferred lifetime; config dhcpv6 pool manual_binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 284 24-7 config dhcpv6 pool lifetime Description This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address within a DHCPv6 pool. Preferred lifetime - the length of time that a valid...
Page 289 - - Enter the IPv6 address used for the static bind here.; - Specifies to delete the manual binding entry.; To add a manual binding DHCPv6 entry:; show dhcpv6 manual_binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 285 Format config dhcpv6 pool manual_binding <pool_name 12> [add <ipv6addr> client_duid <string 28> | delete [<ipv6addr> | all]] Parameters <pool_name 12> - Enter the DHCPv6 pool name u...
Page 290 - To display the manual binding entries of the DHCPv6 pool:; Entry 1; show dhcpv6 binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 286 Restrictions None. Example To display the manual binding entries of the DHCPv6 pool: DGS-3420-28SC:admin# show dhcpv6 manual_binding Command: show dhcpv6 manual_binding Pool Name :net100 Entry 1 IPv6 Address: 30...
Page 291 - To display the DHCPv6 dynamic binding information on the Switch:; Command: show dhcpv6 binding; clear dhcpv6 binding; To clear the DHCPv6 dynamic binding information on the Switch:; Command: clear dhcpv6 binding; enable dhcpv6_server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 287 Example To display the DHCPv6 dynamic binding information on the Switch: DGS-3420-28SC:admin# show dhcpv6 binding Command: show dhcpv6 binding Pool Name: net90 IPv6 Address: 3000:90:1::7 DUID : 0003000600cd14517...
Page 292 - To configure the DHCPv6 server global state to enable:; disable dhcpv6_server; To configure the DHCPv6 server global state to disable:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 288 Format enable dhcpv6_server Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 server global state to enable: DGS-3420-2...
Page 293 - This command is used to display the DHCPv6 server setting.; To display the DHCPv6 server setting:; DHCPv6 Server Global State: Disabled; config dhcpv6 pool excluded_address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 289 DGS-3420-28SC:admin# disable dhcpv6_server Command: disable dhcpv6_server Success. DGS-3420-28SC:admin# 24-14 show dhcpv6_server Description This command is used to display the DHCPv6 server setting. Format show...
Page 294 - show dhcpv6 excluded_address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 290 Format config dhcpv6 pool excluded_address <pool_name 12> [add begin <ipv6addr> end <ipv6addr> | delete [begin <ipv6addr> end <ipv6addr> | all]] Parameters <pool_name 12> - En...
Page 295 - To display the excluded address information:; Range 1; config dhcpv6_server ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 291 Parameters <pool_name 12> - (Optional) Enter the DHCPv6 pool name used here. This name can be up to 12 characters long. Restrictions None. Example To display the excluded address information: DGS-3420-28SC...
Page 296 - - Specifies that all the IP interfaces will used.; - Specifies the DHCPv6 server state for the specified interface.; Command: config dhcpv6_server ipif System state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 292 Parameters ipif - Specifies the IP interface used. <ipif_name 12> - Enter the IP interface name used. This name can be up to 12 characters long. all - Specifies that all the IP interfaces will used. state ...
Page 297 - config dnsr; - Specify the IP address of the DNS nameserver.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 293 Chapter 25 Domain Name System (DNS) Relay Commands config dnsr [[primary | secondary] nameserver <ipaddr> | [add | delete] static <domain_name 32> <ipaddr>] enable dnsr {[cache | static]} disab...
Page 298 - enable dnsr; This command is used to enable DNS relay.; cache; - Specify to enable the cache lookup for the DNS relay on the switch.; To enable DNS relay:; Command: enable dnsr; To enable cache lookup for DNS relay:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 294 DGS-3420-28SC:admin# To add the entry “dns1” with IP address 10.24.22.5 to the DNS static table: DGS-3420-28SC:admin#config dnsr add static dns1 10.24.22.5 Command: config dnsr add static dns1 10.24.22.5 Success...
Page 299 - Command: enable dnsr cache; To enable static table lookup for DNS relay:; Command: enable dnsr static; disable dnsr; This command is used to disable DNS relay on the switch.; To disable the status of DNS relay:; Command: disable dnsr; To disable cache lookup for DNS relay:; Command: disable dnsr cache
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 295 DGS-3420-28SC:admin#enable dnsr cache Command: enable dnsr cache Success. DGS-3420-28SC:admin# To enable static table lookup for DNS relay: DGS-3420-28SC:admin#enable dnsr static Command: enable dnsr static Succ...
Page 300 - To disable static table lookup for DNS relay:; Command: disable dnsr static; show dnsr; omitted, the entire DNS relay table will be displayed.; To display the DNS relay status:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 296 DGS-3420-28SC:admin# To disable static table lookup for DNS relay: DGS-3420-28SC:admin#disable dnsr static Command: disable dnsr static Success. DGS-3420-28SC:admin# 25-4 show dnsr Description This command is us...
Page 302 - config name_server add; This command is used to add a DNS resolver name server to the Switch.; - Enter the DNS Resolver name server IP address used here.; primary; – (Optional) Specifies that the name server is a primary name server.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 298 Chapter 26 Domain Name System (DNS) Resolver Commands config name_server add <ipaddr> {primary} config name_server delete <ipaddr> {primary} config name_server timeout <sec 1-60> show name_serv...
Page 303 - config name_server delete; config name_server timeout; timeout; To configure DNS Resolver name server time out to 10 seconds:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 299 26-2 config name_server delete Description This command is used to delete a DNS resolver name server from the Switch. Format config name_server delete <ipaddr> {primary} Parameters <ipaddr> - Enter t...
Page 304 - Name Server Time Out: 3 seconds
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 300 DGS-3420-28SC:admin# config name_server timeout 10 Command: config name_server timeout 10 Success. DGS-3420-28SC:admin# 26-4 show name_server Description This command is used to display the current DNS Resolver ...
Page 305 - - Specifies that all the hostnames will be deleted.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 301 26-5 create host_name Description This command is used to create the static host name entry of the Switch. Format create host_name <name 255> <ipaddr> Parameters <name 255> - Enter the hostname...
Page 306 - This command is used to display the current host name.; – (Optional) Specifies to display the static host name entries.; dynamic; – (Optional) Specifies to display the dynamic host name entries.; To display the static and dynamic host name entries:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 302 DGS-3420-28SC:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3420-28SC:admin# 26-7 show host_name Description This command is used to display the current host name...
Page 307 - disable dns_resolver; To configure the DNS Resolver state to disabled:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 303 26-8 enable dns_resolver Description This command is used to enable the DNS Resolver state of the Switch. Format enable dns_resolver Parameters None. Restrictions Only Administrator, Operator and Power-User leve...
Page 310 - config dos_prevention log; - Specifies to enable the DoS prevention log state.; - Specifies to disable the DoS prevention log state.; Command: config dos_prevention log enable; config dos_prevention trap
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 306 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure land attack and blat attack prevention, the action is drop: DGS-3420-28SC:admin#config dos_preven...
Page 311 - Command: config dos_prevention trap disable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 307 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 Adminis...
Page 312 - To display DoS prevention information:; To display DoS prevention information of Land Attack:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 308 Restrictions None. Example To display DoS prevention information: DGS-3420-28SC:admin#show dos_prevention Command: show dos_prevention Trap:Disabled Log:Enabled Function Version : 1.01 DoS Type State Action Fram...
Page 314 - config duld ports; - Enter the list of ports used for this configuration here.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 310 Chapter 28 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 por...
Page 315 - To enable unidirectional link detection on port 1:; show duld ports; - Enter the list of ports to be displayed here.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 311 Example To enable unidirectional link detection on port 1: DGS-3420-28SC:admin# config duld ports 1 state enable Commands: config duld ports 1 state enable Success DGS-3420-28SC:admin# 28-2 show duld ports Descr...
Page 316 - enable erps; The Ring port is a tagged member port of the R-APS VLAN.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 312 Chapter 29 Ethernet Ring Protection Switching (ERPS) Commands enable erps disable erps create erps raps_vlan <vlanid> delete erps raps_vlan <vlanid> config erps raps_vlan <vlanid> [state [enabl...
Page 317 - Command: enable erps; This command is used to disable the ERPS function on the switch.; disable erps; Command: disable erps; create erps raps_vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 313 Example To enable ERPS: DGS-3420-28SC:admin#enable erps Command: enable erps Success. DGS-3420-28SC:admin# 29-2 disable erps Description This command is used to disable the ERPS function on the switch. Format di...
Page 318 - To create an ERPS RAPS VLAN:; delete erps raps_vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 314 Parameters <vlanid> - Specify the VLAN which will be the R-APS VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an ERPS RAPS VLAN: DGS-34...
Page 319 - config erps raps_vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 315 29-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....
Page 322 - To set the R-APS protected VLAN parameter:; config erps log; This command is used to configure the ERPS log state.; To set the log state:; Command: config erps log enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 318 Success. DGS-3420-28SC:admin# To set the R-APS protected VLAN parameter: DGS-3420-28SC:admin#config erps raps_vlan 4094 protected_vlan add vlanid 10-20 Command: config erps raps_vlan 4094 protected_vlan add vlan...
Page 323 - config erps trap; Command: config erps trap enable; show erps
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 319 29-7 config erps trap Description This command is used to configure trap state of ERPS events. Format config erps trap [enable | disable] Parameters trap - Specifies to enable or disable the ERPS trap state. ena...
Page 324 - The RPL port is not virtual channel.; To display ERPS information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 320 3. The RPL port is not virtual channel. 4. The Ring port is the master port if it belongs to a link aggregation group. The save function will record the operational value if the operational value is different fo...
Page 326 - config external_alarm; unit; - Specifies which channel is selected to configure.; message; To configure the alarm message for channel 1 of unit 2:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 322 Chapter 30 External Alarm Commands config external_alarm {unit <unit_id>} channel <value 1-2> message <sentence 1-128> show external_alarm {unit <unitlist>} 30-1 config external_alarm Des...
Page 327 - This command is used to display the status of the external alarm.; To display the real-time status of the external alarm:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 323 30-2 show external_alarm Description This command is used to display the status of the external alarm. Format show external_alarm {unit <unitlist>} Parameters unit - (Optional) Specifies the unit ID to be ...
Page 328 - FDB Commands; create fdb; - Specify the MAC address to be added to the static forwarding table.; To create an unicast MAC forwarding:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 324 Chapter 31 FDB Commands create fdb <vlan_name 32> <macaddr> [port <port> | drop] create fdb vlanid <vidlist> <macaddr> [port <port> | drop] create multicast_fdb <vlan_name ...
Page 329 - create fdb vlanid; port; - Specify to have the switch drop traffic.; create multicast_fdb; - Specify the name of the VLAN on which the MAC address resides. The
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 325 31-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> [p...
Page 330 - To create multicast MAC forwarding:; config multicast_fdb; - Specifies a range of ports to be configured.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 326 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create multicast MAC forwarding: DGS-3420-28SC:admin# create multicast_fdb default 01-00-00-00-01-01 Comman...
Page 331 - config fdb aging_time; To configure MAC address aging time:; This is the default.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 327 31-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...
Page 332 - To configure the multicast packet filtering mode for all VLANs:; delete fdb; This command is used to delete a permanent FDB entry.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 328 filter_unregistered_groups - Specify the filtering mode as filter_unregistered_groups. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the multic...
Page 333 - clear fdb; - Specify the name of the VLAN on which the MAC address resides.; To clear all FDB dynamic entries:; Command: clear fdb all; – (Optional) Specifies the VLAN ID on which the MAC address resides.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 329 31-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 ] Paramet...
Page 334 - To display multicast MAC address table:; VLAN Name : default; show fdb; - Specify to display the entries by VLAN ID list.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 330 Note: If no parameter is specified, all multicast FDB entries will be displayed. Restrictions None. Example To display multicast MAC address table: DGS-3420-28SC:admin#show multicast_fdb Command: show multicast_...
Page 335 - To display unicast MAC address table:; Unicast MAC Address Aging Time = 300; To show multicast filtering mode for ports:; VLAN ID/VLAN Name Multicast Filter Mode
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 331 Restrictions None. Example To display unicast MAC address table: DGS-3420-28SC:admin#show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VID VLAN Name MAC Address Port Type Status ---- --------------...
Page 337 - This command is used to display storage media information.; To display storage media information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 333 Chapter 32 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>} <pa...
Page 338 - This command is used to create a directory.; To create a directory:; rd
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 334 DGS-3420-28SC:admin#show storage_media_info Command: show storage_media_info Unit Drive Media Type Size Label FS Type Version ---- ----- ---------- -------- ----------- ------- ------- 1 c: Flash 123 MB FFS Ver2...
Page 339 - To delete an empty directory:; To change a work directory:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 335 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> - Specifies the drive ID. If not s...
Page 340 - dir; To list a directory:; Idx Info Attr Size Update Time Name; To list a system directory:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 336 Current work directory: “c:/d1” DGS-3420-28SC:admin# 32-5 dir Description This command is used to list all of the files located in a directory of a drive. If a path name is not specified, then all of the files i...
Page 341 - System reserved directory. Used space 89KB.; rename; To rename a file or directory:; erase
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 337 DGS-3420-28SC:admin#dir c:/system Command: dir c:/system System reserved directory. Used space 89KB. DGS-3420-28SC:admin# 32-6 rename Description This command is used to rename a file in the file system. The pat...
Page 342 - related to the current directory.; format; This command is used to format a specific drive.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 338 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> - Specifies the drive ID. If not s...
Page 343 - del; then it is related to the current directory.; recursive; To delete a a directory with the parameter “recursive”:; Command: del d1 recursive
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 339 DGS-3420-28SC:admin#format d: fat32 Command: format d: fat32 Formatting........................... Done! DGS-3420-28SC:admin# 32-9 del Description This command is used to delete a file. It is also used to delete...
Page 344 - move; To move a file or directory:; copy
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 340 32-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>} ...
Page 345 - related to the current directory; change drive; This command is used to change the current drive.; To display the storage media’s information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 341 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> - Specifies the drive ID. If not s...
Page 347 - Filter Commands; config filter dhcp_server; - Specify the IP address of the DHCP server to be permitted.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 343 Chapter 33 Filter Commands config filter dhcp_server [add permit server_ip <ipaddr> {client_mac <macaddr>} ports [<portlist> | all] | delete permit server_ip <ipaddr> {client_mac <maca...
Page 348 - config filter dhcp_server log
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 344 ports - Specify the ports. <portlist> - Specify the range of ports to be configured. all - Specify to configure all ports. state - Specify the port status. enable - Enable the state. disable - Disable the ...
Page 349 - To enable the log for a DHCP server filter event:; Command: config filter dhcp_server log enable; config filter dhcp_server trap; – Specifies to enable the trap for a DHCP server filter event.; – Specifies to disable the trap for a DHCP server filter event.; Command: config filter dhcp_server trap enable; show filter dhcp_server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 345 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the log for a DHCP server filter event: DGS-3420-28SC:admin#config filter dhcp_server log enable Com...
Page 350 - Illegal Server Log Suppress Duration:1 minutes; config filter extensive_netbios; - Specify the port or range of ports to configure.; - Enable the filter to block the NetBIOS packets over 802.3 frames.; - Disable the filter to block the NetBIOS packets over 802.3 frames.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 346 Format show filter dhcp_server Parameters None. Restrictions None. Example To display the DHCP server/client filter list created on the switch: DGS-3420-28SC:admin#show filter dhcp_server Command: show filter dh...
Page 351 - To configure the extensive NetBIOS filter state on ports 1 to 10:; show filter extensive_netbios; To display the extensive NetBIOS filter state on the switch:; config filter netbios
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 347 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the extensive NetBIOS filter state on ports 1 to 10: DGS-3420-28SC:admin#config filter extensive_...
Page 352 - Command: config filter netbios 1-10 state enable; show filter netbios; Command: show filter netbios
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 348 Format config filter netbios [<portlist> | all] state [enable | disable] Parameters <portlist> - Specify the port or range of ports to configure. all - Specify to configure all ports. state - Specify...
Page 354 - enable gratuitous_arp; - Specify the interface name. The maximum length is 12 characters.; Command: enable gratuitous_arp ipif System trap log; disable gratuitous_arp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 350 Chapter 34 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 | di...
Page 355 - Command: disable gratuitous_arp ipif System trap log; config gratuitous_arp learning
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 351 Format disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) Parameters ipif - (Optional) The interface name of the L3 interface. <ipif_name 12> - Specify the interface name. The maximum lengt...
Page 356 - Command: config gratuitous_arp learning enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 352 Command: config gratuitous_arp learning enable Success. DGS-3420-28SC:admin# 34-4 config gratuitous_arp send dup_ip_detected Description This command is used to enable or disable the sending of gratuitous ARP re...
Page 357 - config gratuitous_arp send periodically ipif; interval; - The periodically send gratuitous ARP interval time, in seconds.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 353 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 ...
Page 358 - This command is used to display gratuitous ARP configuration.; To display the gratuitous ARP log and trap state:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 354 Command: config gratuitous_arp send periodically ipif System interval 5 Success. DGS-3420-28SC:admin# 34-7 show gratuitous_arp Description This command is used to display gratuitous ARP configuration. Format sho...
Page 359 - This command is used to enable the IGMP proxy on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 355 Chapter 35 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 [<vl...
Page 362 - group; To display IGMP proxy information:; IGMP Proxy Global State : Enabled; To display the IGMP proxy’s group information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 358 Success. DGS-3420-28SC:admin# 35-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 determin...
Page 364 - config igmp_snooping querier; config igmp_snooping; This command is used to configure IGMP snooping on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 360 Chapter 36 IGMP Snooping Commands config igmp_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_leave [enable | disable] | proxy_reporting {state [enab...
Page 367 - - Specify the name of the VLAN on which the router port resides.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 363 DGS-3420-28SC:admin# 36-3 config router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router ...
Page 369 - To display the router ports on the default VLAN:; VLAN Name : default; This command allows you to enable IGMP snooping on the switch.; enable igmp_snooping; To enable IGMP snooping on the switch:; disable igmp_snooping
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 365 Example To display the router ports on the default VLAN: DGS-3420-28SC:admin#show router_ports vlan default Command: show router_ports vlan default VLAN Name : default Static Router Port : Dynamic Router Port : ...
Page 370 - To disable IGMP snooping:; - Specify the name of the VLAN. The maximum length is 32 characters.; To show IGMP snooping:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 366 Format disable igmp_snooping Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable IGMP snooping: DGS-3420-28SC:admin#disable igmp_snoop...
Page 371 - show igmp_snooping group; configuration information.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 367 DGS-3420-28SC:admin#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Disabled Data Driven Learning Max Entries : 120 VLAN Name : default Query Interval : 125 Max Response Time : 10 Rob...
Page 372 - snooping group configuration of the switch.; To display IGMP snooping groups:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 368 Note: If no parameter is specified, the system will display all of the current IGMP snooping group configuration of the switch. Restrictions None. Example To display IGMP snooping groups: DGS-3420-28SC:admin#sho...
Page 374 - To display the IGMP snooping rate limit for ports 1-2:; Port Rate Limit; - Specify the multicast group IP address.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 370 Example To display the IGMP snooping rate limit for ports 1-2: DGS-3420-28SC:admin#show igmp_snooping rate_limit ports 1-2 Command: show igmp_snooping rate_limit ports 1-2 Port Rate Limit -------- ------------ 1...
Page 375 - - Specify the name of the VLAN on which the static group resides.; - Specify the ID of the VLAN on which the static group resides.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 371 DGS-3420-28SC:admin# 36-13 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...
Page 377 - show igmp_snooping statistic counter; - Specify the VLAN name. The maximum length is 32 characters.; - Specify a list of VLANs to be displayed.; – Specify a list of ports to be displayed.; To display the IGMP snooping statistics counter for port 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 373 Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports --------------------------------------- -------------- -------------------- 1/Default 239.1.1.1 9-10 Total Entries : 1 DGS-342...
Page 378 - clear igmp_snooping statistics counter; To clear the IGMP snooping statistic counter:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 374 Dropped By Multicast VLAN : 0 Report & Leave IGMP v1 Report : 0 IGMP v2 Report : 0 IGMP v3 Report : 0 IGMP v2 Leave : 0 Total : 0 Dropped By Rate Limitation : 0 Dropped By Max Group Limitation : 0 Dropped By...
Page 379 - Command: clear igmp_snooping statistics counter; show igmp_snooping forwarding; forwarding table entries of the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 375 DGS-3420-28SC:admin#clear igmp_snooping statistics counter Command: clear igmp_snooping statistics counter Success. DGS-3420-28SC:admin# 36-18 show igmp_snooping forwarding Description This command is used to di...
Page 380 - - Enter the IP address of the data driven group to be cleared here.; - Specifies that all the IP addresses will be cleared.; To clear the IGMP snooping group learned by data driven:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 376 DGS-3420-28SC:admin#show igmp_snooping forwarding Command: show igmp_snooping forwarding VLAN Name : default Source IP : 10.90.90.114 Multicast Group: 225.0.0.0 Port Member : 2,7 VLAN Name : default Source IP : ...
Page 381 - - Specifies that all VLANs will be configured.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 377 36-20 config igmp_snooping data_driven_learning Description This command is used to enable or disable the data driven learning of an IGMP snooping group. When data-driven learning is enabled for a VLAN, when the...
Page 382 - here. This value must be between 1 and 960.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 378 DGS-3420-28SC:admin#config igmp_snooping data_driven_learning vlan_name default state enable Command: config igmp_snooping data_driven_learning vlan_name default state enable Success. DGS-3420-28SC:admin# 36-21 ...
Page 383 - To configure the IGMP snooping forward lookup mode to be MAC-based:; IGMP snooping forward lookup mode: MAC address.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 379 Parameters ip - Specifies that the multicast forwarding lookup will be based on the IP address. mac - Specifies that the multicast forwarding lookup will be based on the MAC address Restrictions Only Administrat...
Page 385 - is given a name that can be up to 32 characters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 381 Chapter 37 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_sn...
Page 386 - none; create
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 382 <value 0-7> - Specify the remap priority (0 to 7) to be associated with the data traffic to be forwarded on the multicast VLAN. none - If none is specified, the packet’s original priority will be used. The...
Page 388 - - Specify the multicast VLAN profile name. The maximum length is 32; - Specify a multicast address list. This can be a continuous single
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 384 Example To create an IGMP snooping multicast group profile with the name “Knicks”: DGS-3420-28SC:admin#create igmp_snooping multicast_vlan_group_profile Knicks Command: create igmp_snooping multicast_vlan_group_...
Page 389 - - The profile file can be up to 32 characters long.; To delete an IGMP snooping multicast group profile named “Knicks”:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 385 37-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 dele...
Page 390 - To display all IGMP snooping multicast VLAN profiles:; Profile Name Multicast Addresses; VLAN is given a name that can be up to 32 characters.; - Specify to associate a profile to a multicast VLAN.; - The profile name can be up to 32 characters long.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 386 Example To display all IGMP snooping multicast VLAN profiles: DGS-3420-28SC:admin#show igmp_snooping multicast_vlan_group_profile Command: show igmp_snooping multicast_vlan_group_profile Profile Name Multicast A...
Page 391 - This command is used to delete an IGMP snooping multicast VLAN.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 387 DGS-3420-28SC:admin#config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Command: config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Success. DGS-3420-28SC:admin# 37-8 sho...
Page 394 - - The packet will be flooded on the VLAN.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 390 DGS-3420-28SC:admin#show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan IGMP Multicast VLAN Global State : Disabled IGMP Multicast VLAN Forward Unmatched : Disabled IGMP Multicast VLAN A...
Page 395 - - Specifies to enable the auto assign VLAN function.; - Specifies to disable the auto assign VLAN function.; To enable the auto assign VLAN function of multicast VLAN:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 391 Success. DGS-3420-28SC:admin# 37-14 config igmp_snooping multicast_vlan auto_assign_vlan Description This command is used to enable or disable the assignment of IGMP control packets to the right ISM VLAN. If aut...
Page 396 - create iproute; - Specify the IP address for the next hop router.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 392 Chapter 38 IP Routing Commands create iproute [default | <network_address>] [<ipaddr> {<metric 1-65535>} {[primary | backup]} | null0 | ip_tunnel <tunnel_name 12>] delete iproute [default...
Page 397 - delete iproute; show iproute
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 393 Example To add a default route with a nexthop of 10.48.74.21: DGS-3420-28SC:admin#create iproute default 10.48.74.121 Command: create iproute default 10.48.74.121 Success. DGS-3420-28SC:admin# 38-2 delete iprout...
Page 398 - longest prefix matched route will be displayed.; To display the contents of the IP routing table:; Command: show iproute; create ipv6route; - Specify the destination network for the route.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 394 Format show iproute {[<network_address> | <ipaddr>]} {[static | rip | hardware]} Parameters <network_address> - (Optional) Specify the destination network address of the route want to be displa...
Page 399 - delete ipv6route
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 395 <ipv6addr> - Specify the next hop address for this route. <metric 1-65535> - (Optional) The default setting is 1. primary - (Optional) Specify the route as the primary route to the destination. backu...
Page 400 - To delete an IPv6 static route:; show ipv6route; - Enter the IPv6 destination network address of the route.; To display an IPv6 route:; Command: show ipv6route
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 396 Example To delete an IPv6 static route: DGS-3420-28SC:admin#delete ipv6route default System FEC0::5 Command: delete ipv6route default System FEC0::5 Success. DGS-3420-28SC:admin# 38-6 show ipv6route Description ...
Page 401 - config ip_tunnel manual; This command is used to create an IP tunnel interface.; To create an IP tunnel interface (with the tunnel name “tn2”):
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 397 Chapter 39 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 <ipad...
Page 403 - source; the source address for packets in the IPv6 tunnel.; destination; - Enter the IPv4 destination address used here.; config ip_tunnel 6to4
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 399 <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. &l...
Page 404 - - Enter the IPv4 source address used here.; config ip_tunnel isatap
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 400 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 configure...
Page 405 - - Enter the source IPv4 address used here.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 401 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 inter...
Page 406 - To show an IP tunnel interface’s information (Tunnel name is “tn2”):; Tunnel Interface : tn2; up to 12 characters long.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 402 Example To show an IP tunnel interface’s information (Tunnel name is “tn2”): DGS-3420-28SC:admin# show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface : tn2 Interface Admin State : Enabled Tunnel Mode...
Page 407 - config ip_tunnel gre
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 403 Format disable ip_tunnel {<tunnel_name 12>} Parameters <tunnel_name 12> - (Optional) Enter the IP tunnel interface name used here. This name can be up to 12 characters long. Restrictions Only Adminis...
Page 409 - To display the configuration of a GRE tunnel interface named “tn2”:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 405 DGS-3420-28SC:admin# show ip_tunnel tn1 Command: show ip_tunnel tn1 Tunnel Interface : tn1 Interface Admin State : Enabled Tunnel Mode : GRE Ipv4 Address : 2.0.0.1/8 IPv6 Global Unicast Address : 2001::1/64 Tunn...
Page 410 - create ipv6 neighbor_cache ipif; This command is used to add a static neighbor on an IPv6 interface.; - Specify the IPv6 address of the neighbor.; To add a static entry into the NDP table:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 406 Chapter 40 IPv6 NDP Commands create ipv6 neighbor_cache ipif <ipif_name 12> <ipv6addr> <macaddr> delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynami...
Page 411 - delete ipv6 neighbor_cache ipif; show ipv6 neighbor_cache ipif; - Specify all the IPv6 interface names.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 407 40-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. B...
Page 412 - Command: show ipv6 neighbor_cache ipif System all; config ipv6 nd ns ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 408 <ipv6addr> - Specify the IPv6 address static - Specify to display the IPv6 static neighbor cache entries. dynamic - Specify to display the IPv6 dynamic entries. all - Specify to display all IPv6 addresses,...
Page 413 - Command: config ipv6 nd ns ipif System retrans_time 400; config ipv6 nd ra ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 409 Example To configure the NS retransmit time of a specified interface: DGS-3420-28SC:admin#config ipv6 nd ns ipif System retrans_time 400 Command: config ipv6 nd ns ipif System retrans_time 400 Success. DGS-3420-...
Page 414 - config ipv6 nd ra prefix_option ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 410 multicast Router Advertisements from the interface, in seconds. It must be no less than 4 seconds and no greater than 1800 seconds. The default is 600 seconds. <sec 4-1800> - Specify the time between 4 and...
Page 415 - address configuration.; show ipv6 nd; Command: show ipv6 nd ipif System
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 411 address configuration. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the value of the preferred_life_time of prefix option to be 1000 seconds f...
Page 417 - This command is used to create an IP-MAC-Port binding entry.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 413 Chapter 41 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 <ipv...
Page 418 - To create address binding on the switch:; create address_binding ip_mac ipv6address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 414 Parameters <ipaddr> - Specify the IP address. mac_address - Specify the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist or all ports. <portlist> -...
Page 420 - - The stop learning threshold value must be between 0 and 500.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 416 Inspection. forward_dhcppkt - (Optional) By default, the DHCP packets with broadcast DA will be flooded. enable - This setting is effective when DHCP snooping is enabled because the DHCP packet which has been tr...
Page 421 - To configure an address binding entry:; config address_binding ip_mac ipv6address; This command is used to update an address binding entry using IPv6.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 417 Example To configure an address binding entry: DGS-3420-28SC:admin#config address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00-00-11 Command: config address_binding ip_mac ipaddress 10.1.1.1 mac_add...
Page 422 - delete address_binding blocked
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 418 41-6 delete address_binding blocked Description This command is used to delete a blocked entry. It specifies the address database that the system has automatically learned and blocked. Format delete address_bind...
Page 423 - show address_binding
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 419 ipv6address - Specifies the IPv6 address of the IMPB entry. <ipv6addr> - Enter the IPv6 address of the IMPB entry here. mac_address - Specifies the MAC address of the IMPB entry. <macaddr> - Enter th...
Page 424 - To display address binding information:; show address_binding blocked
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 420 Example To display address binding information: DGS-3420-28SC:admin#show address_binding Command: show address_binding Trap/Log : Disabled DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled ND Snoop : Disab...
Page 425 - blocked; To show the IMPB entries that are currently blocked:; Command: show address_binding blocked all
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 421 Parameters blocked - (Optional) Specify the address database that system auto learned and blocked. all - Specify to display all. vlan_name - Specify the VLAN name (the blocked MAC belongs to). <vlan_name> ...
Page 426 - To display all the IP-MAC address binding information:; IP Address MAC Address M ACL Ports; To display the IMPB entry by IP address and MAC address:; IP Address MAC Address
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 422 Parameters ip_mac - (Optional) Specify the database that a user creates for address binding. all - Specify to display all. ipaddress - Specify the IP address. <ipaddr> - Enter the IP address here. ipv6addr...
Page 428 - – (Optional) Specifies that the address used is an IPv6 address.; To enable the address binding DHCP snooping mode:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 424 DGS-3420-28SC:admin#disable address_binding trap_log Command: disable address_binding trap_log Success. DGS-3420-28SC:admin# 41-13 enable address_binding dhcp_snoop Description This command is used to enable the...
Page 429 - – Specifies that all IP addresses will be used.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 425 DGS-3420-28SC:admin#enable address_binding dhcp_snoop Command: enable address_binding dhcp_snoop Success. DGS-3420-28SC:admin# 41-14 disable address_binding dhcp_snoop Description This command is used to disable...
Page 431 - To display the DHCP snooping binding entries:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 427 Command: show address_binding dhcp_snoop max_entry ports 1-10 Port Max Entry Max IPv6 Entry ---- --------- -------------- 1 No Limit No Limit 2 10 No Limit 3 20 No Limit 4 No Limit No Limit 5 No Limit No Limit 6...
Page 432 - IP Address MAC Address S LT(sec) Port; - Specify the list of ports to configure maximum number of entries.; - Specify all the ports to configure maximum number of entries.; limit; - Specify a maximum limit between 1 and 50.; To set the maximum number of entries that ports 1 to 3 can learn to 10:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 428 DGS-3420-28SC:admin#show address_binding dhcp_snoop binding_entry Command: show address_binding dhcp_snoop binding_entry S (Status) - A: Active, I: Inactive Time - Left Time (sec) IP Address MAC Address S LT(sec...
Page 433 - config address_binding recover_learning ports; This command is used to recover port learning.; - Specify to recover learning for all ports.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 429 Success. DGS-3420-28SC:admin# 41-19 config address_binding recover_learning ports Description This command is used to recover port learning. Format config address_binding recover_learning ports [<portlist>...
Page 435 - ND Snoop : Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 431 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 co...
Page 436 - To show the ND snooping maximum entry information for ports 1-5:; Port Max Entry; - Enter the port number used for this display here.; To display the ND snooping binding entry:; IP Address MAC Address S LT(sec) Port
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 432 To show the ND snooping maximum entry information for ports 1-5: DGS-3420-28SC:admin#show address_binding nd_snoop ports 1:1-1:5 Command: show address_binding nd_snoop ports 1:1-1:5 Port Max Entry ---- ---------...
Page 437 - - Clear all ND snooping learned entries.; To clear ND snooping entry on ports 1-3:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 433 41-25 clear address_binding nd_snoop binding_entry ports Description This command is used to clear the ND snooping entries on specified ports. Format clear address_binding nd_snoop binding_entry ports [<portl...
Page 438 - based Access Control; enable jwac
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 434 Chapter 42 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_filterin...
Page 439 - Command: enable jwac; This command is used to disable JWAC.; disable jwac
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 435 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. For...
Page 440 - Command: disable jwac; enable jwac redirect; redirect quarantine_server; Command: enable jwac redirect; disable jwac redirect
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 436 DGS-3420-28SC:admin#disable jwac Command: disable jwac Success. DGS-3420-28SC:admin# 42-3 enable jwac redirect Description This command is used to enable JW AC redirect. W hen redirect quarantine_server is enabl...
Page 441 - To disable JW AC redirect:; Command: disable jwac redirect; enable jwac forcible_logout; To enable JW AC forcible logout:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 437 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JW AC redirect: DGS-3420-28SC:admin#disable jwac redirect Command: disable jwac re...
Page 442 - This command is used to disable JWAC forcible logout.; disable jwac forcible_logout; To disable JW AC forcible logout:; enable jwac udp_filtering
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 438 42-6 disable jwac forcible_logout Description This command is used to disable JWAC forcible logout. Format disable jwac forcible_logout Parameters None. Restrictions Only Administrator, Operator and Power-User l...
Page 443 - To enable JW AC UDP filtering:; This command is used to disable JWAC UDP filtering.; disable jwac udp_filtering; To disable JW AC UDP filtering:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 439 Example To enable JW AC UDP filtering: DGS-3420-28SC:admin#enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3420-28SC:admin# 42-8 disable jwac udp_filtering Description This command is u...
Page 445 - To set the quarantine server error timeout:; config jwac; be added to the static FDB correctly before it can work properly.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 441 42-11 config jwac quarantine_server_error_timeout Description This command is used to set the quarantine server error timeout. When the quarantine server monitor is enabled, the JWAC switch will periodically che...
Page 446 - config jwac redirect
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 442 Parameters quarantine_server_url - Specify the entire URL of the authentication page on the quarantine server. <string 128> - Specify the entire URL of the authentication page on the quarantine server. The...
Page 447 - config jwac virtual_ip; - Specify the IP address of the virtual IP.; url; config jwac update_server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 443 Example To configure JWAC redirect destination to JWAC login web page and a delay time of 5 seconds: DGS-3420-28SC:admin#config jwac redirect destination jwac_login_page delay_time 5 Command: config jwac redirec...
Page 448 - addresses can be added.; - Specify the network address to add or delete.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 444 need to be able to have access to accomplish authentication. Before the client passes authentication, it should be added to the Switch with its IP address. For example, the client may need to access update.micro...
Page 449 - config jwac ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 445 Parameters <tcp_port_number 1-65535> - Specify a TCP port which the JWAC switch listens to and uses to finish the authenticating process. http - (Optional) Specify the JWAC run HTTP protocol on this TCP po...
Page 450 - Command: config jwac ports 1-9 state enable; config jwac radius_protocol; To configure the RADIUS protocol used by JWAC:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 446 block_time - If a host fails to pass the authentication, it will be blocked for a period specified by the blocking time.The default value is 60 seconds. <sec 0-300> - Specify a blocking time value between ...
Page 451 - create jwac user; account to pass authentication.; config jwac user; This command configures a JWAC user.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 447 DGS-3420-28SC:admin# 42-19 create jwac user Description This command creates JWAC users in the local database. W hen “local” is chosen while configuring the JW AC RADIUS protocol, the local database will be used...
Page 452 - delete jwac; user
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 448 account to pass authentication. <vlanid 1-4094> - Specify the target VLAN ID for the authenticated host which uses this user account to pass authentication. The VLAN ID value must be between 1 and 4094. Re...
Page 453 - This command is used to display JW AC users in the local database.; show jwac user; To display the current JWAC local users:; Command: show jwac user; show jwac; show jwac
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 449 42-22 show jwac user Description This command is used to display JW AC users in the local database. Format show jwac user Parameters None. Restrictions None. Example To display the current JWAC local users: DGS-...
Page 454 - To display the current JWAC configuration:; show jwac auth_state ports; This command is used to display information for JWAC client hosts.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 450 Restrictions None. Example To display the current JWAC configuration: DGS-3420-28SC:admin#show jwac Command: show jwac State : Disabled Enabled Ports : Virtual IP/URL : 0.0.0.0/- Switch HTTP Port : 80 (HTTP) UDP...
Page 455 - To display JW AC authentication entries for ports 1 to 2:; This command is used to display the JW AC update server.; show jwac update_server; To display the JW AC update server:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 451 Example To display JW AC authentication entries for ports 1 to 2: DGS-3420-28SC:admin#show jwac auth_state ports 1-2 Command: show jwac auth_state ports 1-2 Pri:Priority. State – A:Authenticated. B:Bloacked. -:A...
Page 456 - show jwac ports; This command is used to display the port configuration of JWAC.; Port State Aging Time Idle Time Block Time Max; clear jwac auth_state; This command is used to clear authentication entries.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 452 3 172.18.0.0/21 TCP 3 Active DGS-3420-28SC:admin# 42-26 show jwac ports Description This command is used to display the port configuration of JWAC. Format show jwac ports {<portlist>} Parameters <portli...
Page 457 - Command: clear jwac auth_state ports all blocked; config jwac authenticate_page; Command: config jwac authenticate_page japanese
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 453 Parameters ports - Specify the port range to delete hosts on. all - Specify to delete all ports. <portlist> - Specify range of ports to delete. authenticated - (Optional) Specify the state of host to delet...
Page 458 - show jwac authenticate_page; 社内; config jwac authentication_page element
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 454 DGS-3420-28SC:admin# 42-29 show jwac authenticate_page Description This command is used to display the element mapping of the customized authenticate page. Format show jwac authenticate_page Parameters None. Res...
Page 459 - japanese; ディーリンクジャパン株式会社
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 455 Format config jwac authentication_page element [japanese | english] [default | page_title <desc 128> | login_window_title <desc 32> | user_name_title <desc 16> | password_title <desc 16> ...
Page 460 - config jwac authorization attributes
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 456 user_name_title ユーザ名 Command: config jwac authentication_page element japanese user_name_title ユーザ 名 Success. DGS-3420-28SC:admin# config jwac authentication_page element japanese password_title パスワード Command: c...
Page 461 - To disable the configuration authorized from the local database:; Command: config jwac authorization attributes local disable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 457 Example To disable the configuration authorized from the local database: DGS-3420-28SC:admin#config jwac authorization attributes local disable Command: config jwac authorization attributes local disable Success...
Page 462 - This command is used to enable support of Jumbo Frames.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 458 Chapter 43 Jumbo Frame Commands enable jumbo_frame disable jumbo_frame config jumbo_frame ports [<portlist> | all] state [enable | disable] show jumbo_frame {<portlist>} 43-1 enable jumbo_frame Descr...
Page 463 - To disable Jumbo Frames:; config jumbo_frame ports; - Specifies that all the ports will be used for this configuration.; - Specifies that the jumbo frame state will be enabled.; - Specifies that the jumbo frame state will be disabled.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 459 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable Jumbo Frames: DGS-3420-28SC:admin#disable jumbo_frame Command: disable jumbo_frame...
Page 464 - This command is used to display Jumbo Frames.; To display Jumbo Frames for port 1 to 5:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 460 43-4 show jumbo_frame Description This command is used to display Jumbo Frames. Format show jumbo_frame {<portlist>} Parameters <portlist> - (Optional) Enter the list of ports to be displayed here. R...
Page 465 - This command is used to configure per-port LACP mode.; mode; – Specify the port mode.; active; To configure port LACP mode for ports 1 to 3:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 461 Chapter 44 LACP Configuration Commands config lacp_port <portlist> mode [active | passive] show lacp_port {<portlist>} 44-1 config lacp_port Description This command is used to configure per-port LAC...
Page 466 - To display the current LACP mode for ports 1 to 3 on the switch:; Port Activity
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 462 Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display current LACP mode for all ports. Restrictions None. Example To displ...
Page 467 - config l2protocol_tunnel ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 463 Chapter 45 Layer 2 Protocol Tunneling (L2PT) Command List config l2protocol_tunnel ports [<portlist> | all] type [uni tunneled_protocol [{stp | gvrp | protocol_mac [01-00-0C-CC-CC-CC | 01-00-0C-CC-CC-CD]}(...
Page 468 - - Specify the port is NNI port; To configure the STP tunneling on ports 1-4:; show l2protocol_tunnel; uni; To show Layer 2 protocol tunneling information summary:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 464 threshold - (Optional) Specify the drop threshold for packets-per-second accepted on this UNI port. The port drops the PDU if the protocol’s threshold is exceeded. The range of the threshold value is 0 to 65535 ...
Page 469 - enable l2protocol_tunnel; Used to enable the Layer 2 protocol tunneling function.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 465 DGS-3420-28SC:admin# show l2protocol_tunnel Command: show l2protocol_tunnel Global State: Enabled UNI Ports: 1-2 NNI Ports: 3-4 DGS-3420-28SC:admin# To show Layer 2 protocol tunneling detail information on UNI p...
Page 470 - To enable the Layer 2 protocol tunneling function:; Used to disable the Layer 2 protocol tunneling function.; disable l2protocol_tunnel; To disable the Layer 2 protocol tunneling function:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 466 Format enable l2protocol_tunnel Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the Layer 2 protocol tunneling function: DGS-3420-2...
Page 472 - – Specifies the ID of the profile.; To create a multicast address profile named MOD:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 468 Chapter 46 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> ...
Page 476 - Profile ID Name Multicast Addresses
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 472 Example To display all the defined multicast address profiles: DGS-3420-28SC:admin#show mcast_filter_profile Command: show mcast_filter_profile Profile ID Name Multicast Addresses ---------- --------------------...
Page 477 - To add multicast address profile 2 to ports 1 and 3:; address filtering function.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 473 permit - Specify that the packets that match the addresses defined in the profiles will be permitted. deny - Specify that the packets that match the addresses defined in the profiles will be denied. Restrictions...
Page 478 - To display the limited multicast address range on ports 1 and 3:; Profile ID Name Multicast Addresses; - Specify a range of ports to configure the maximum multicast group.; - Specify the VLAN ID to configure the maximum multicast group.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 474 Access : Deny Profile ID Name Multicast Addresses ----------- ----------- ----------------------------- 1 customer 224.19.62.34 – 224.19.162.200 DGS-3420-28SC:admin# To display the limited multicast address rang...
Page 480 - To display the maximum number of multicast groups for ports 1-2:; Port Max Multicast Group Number Action
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 476 Example To display the maximum number of multicast groups for ports 1-2: DGS-3420-28SC:admin# show max_mcast_group ports 1-2 Command: show max_mcast_group ports 1-2 Port Max Multicast Group Number Action ----- -...
Page 481 - config link_aggregation algorithm; This command is used to create a link aggregation group.; allows up to 32 link aggregation groups to be configured.; type; default is the static type.; lacp; To create a link aggregation group:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 477 Chapter 47 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...
Page 482 - include the master port.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 478 47-2 delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id <value 1-32> Parameters <value 1-...
Page 484 - To configure the link aggregation algorithm to mac-source-dest:; show link_aggregation; algorithm; Type : LACP
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 480 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the link aggregation algorithm to mac-source-dest: DGS-3420-28SC:admin#config link_aggregation al...
Page 486 - LLDP Commands; enable lldp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 482 Chapter 48 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>]...
Page 487 - Command: enable lldp; disable lldp; Command: disable lldp; config lldp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 483 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable LLDP: DGS-3420-28SC:admin#enable lldp Command: enable lldp Success. DGS-3420-28SC:admin# 48-2 disabl...
Page 489 - To change the re-initialization delay interval to five seconds:; This command is used to display LLDP.; show lldp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 485 DGS-3420-28SC:admin#config lldp tx_delay 8 Command: config lldp tx_delay 8 Success. DGS-3420-28SC:admin# To change the re-initialization delay interval to five seconds: DGS-3420-28SC:admin#config lldp reinit_del...
Page 490 - config lldp forward_message; To enable LLDP forwarding messages:; Command: config lldp forward_message enable; config lldp notification_interval
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 486 Message TX Hold Multiplier: 4 ReInit Delay : 2 TX Delay : 2 Notification Interval : 5 DGS-3420-28SC:admin# 48-5 config lldp forward_message Description This command is used to configure LLDP forwarding messages....
Page 491 - setting is 5 seconds.; To change the notification interval to 10 seconds:; Command: config lldp notification_interval 10; config lldp ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 487 Parameters <sec 5-3600> - Specify the notification interval range is from 5 to 3600 seconds. The default setting is 5 seconds. Restrictions Only Administrator, Operator and Power-User level users can issue...
Page 494 - Command: config lldp ports 1-5 notification enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 490 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...
Page 495 - Command: config lldp ports all basic_tlvs system_name enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 491 Success. DGS-3420-28SC:admin# To exclude the system name TLV from the outbound LLDP advertisements for all ports: DGS-3420-28SC:admin#config lldp ports all basic_tlvs system_name enable Command: config lldp port...
Page 496 - show lldp ports; To display LLDP TLV option port 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 492 To exclude the MAC/PHY configuration/status TLV from the outbound LLDP advertisements for all ports: DGS-3420-28SC:admin#config lldp ports all dot3_tlvs mac_phy_configuration_status enable Command: config lldp p...
Page 497 - To configure a LLDP-MED fast start repeat count of 5:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 493 DGS-3420-28SC:admin#show lldp ports 1 Command: show lldp ports 1 Port ID : 1 -------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Disabled Advertised TLVs...
Page 498 - config lldp_med log state; This command is used to configure the log state of LLDP-MED events.; To enable the log state of LLDP-MED events:; Command: config lldp_med log state enable; config lldp_med notification topo_change ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 494 DGS-3420-28SC:admin#config lldp_med fast_start repeat_count 5 Command: config lldp_med fast_start repeat_count 5 Success. DGS-3420-28SC:admin# 48-10 config lldp_med log state Description This command is used to ...
Page 499 - config lldp_med ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 495 all - Specify to set all ports in the system. state - Enable or disable the SNMP trap notification of topology change detected state. enable - Enable the SNMP trap notification of topology change detected. disab...
Page 500 - Topology Change Notification Status : Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 496 Restrictions Only Administrator and Operator-level users can issue this command. Example To enable transmitting of all capabilities on ports 1 to 2: DGS-3420-28SC:admin#config lldp_med ports 1-2 med_transmit_cap...
Page 501 - To display the switch’s general LLDP-MED configuration status:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 497 DGS-3420-28SC:admin# 48-14 show lldp_med Description This command is used to display the switch’s general LLDP-MED configuration status. Format show lldp_med Parameters None. Restrictions None. Example To displa...
Page 503 - To display remote entry information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 499 Format show lldp_med remote_ ports {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: When a port list is not specified, information for all ports will be...
Page 504 - show lldp local_ports; information for all ports will be displayed.; - Specify to display the information in brief mode.; normal; - Specify to display the information in detailed mode.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 500 Unknown : True Tagged : Application Type : Softphone Voice VLAN ID : 200 Priority : 7 DSCP : 5 Unknown : False Tagged : True Location Identification: Location Subtype: CoordinateBased Location Information : Loca...
Page 506 - show lldp remote_ ports; To display LLDP information for remote ports 1 and 2:; Remote Entities Count : 0
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 502 DGS-3420-28SC:admin#show lldp mgt_addr Command: show lldp mgt_addr Address 1 : ------------------------------------------------------ Subtype : IPv4 Address : 10.19.72.38 IF Type : Unknown OID : 1.3.6.1.4.1.171....
Page 507 - show lldp statistics; To display LLDP statistics:; show lldp statistics ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 503 48-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...
Page 508 - To display LLDP statistic information for port 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 504 Restrictions None. Example To display LLDP statistic information for port 1: DGS-3420-28SC:admin#show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID : 1 -----------------------------------...
Page 509 - config loopdetect; how long to check if the loop status is gone. The default value is 60.; To set a recover time of 0 and an interval of 20 in VLAN-based mode:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 505 Chapter 49 Loopback Detection Commands config loopdetect {recover_timer [<value 0> | <sec 60-1000000>] | interval <sec 1-32767> | mode [port-based | vlan-based]}(1) config loopdetect ports [<...
Page 510 - config loopdetect ports; – Specify the status.; enabled; - Enable loop-detect for the ports specified in the port list.; disabled; Command: config loopdetect ports 1-5 state enable; enable loopdetect
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 506 DGS-3420-28SC:admin#config loopdetect recover_timer 0 interval 20 mode vlan-based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success. DGS-3420-28SC:admin# 49-2 config loopdetect ports...
Page 511 - To enable loop detection:; Command: enable loopdetect; disable loopdetect; To disable loop detection:; Command: disable loopdetect
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 507 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable loop detection: DGS-3420-28SC:admin#enable loopdetect Command: enable loopdetect Su...
Page 512 - show loopdetect; To display the switch’s current loop detection configuration:; show loopdetect ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 508 49-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 curr...
Page 513 - config loopdetect trap
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 509 Restrictions None. Example To display the loop detection state of ports 1 to 9 in port-based mode: DGS-3420-28SC:admin#show loopdetect ports 1-9 Command: show loopdetect ports 1-9 Port Loopdetect State Loop Stat...
Page 514 - Command: config loopdetect trap both; config loopdetect log state; Command: config loopdetect log state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 510 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 - ...
Page 516 - create loopback ipif; This command is used to create a loopback interface on the Switch.; config loopback ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 512 Chapter 50 Loopback Interface Commands create loopback ipif <ipif_name 12> {<network_address>} {state [enable | disable]} config loopback ipif <ipif_name 12> [{ipaddress <network_address>...
Page 517 - a host address and length of network mask.; - Specifies that the loopback interface state will be enabled.; - Specifies that the loopback interface state will be disabled.; show loopback ipif; name can be up to 12 characters long.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 513 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...
Page 518 - delete loopback ipif; This command is used to delete a loopback interface.; – Specifies that all the IP loopback interfaces will be deleted.; Command: delete loopback ipif loopback1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 514 Example To show the information of the loopback interface named loopback1: DGS-3420-28SC:admin# show loopback ipif loopback1 Command: show loopback ipif loopback1 Loopback Interface : loopback1 Interface Admin S...
Page 519 - config mac_notification ports; enable mac_notification; To enable the MAC notification function:; disable mac_notification
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 515 Chapter 51 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 ...
Page 520 - To disable the MAC notification function:; config mac_notification; - Specify the time interval in seconds to trigger the notification.; historysize
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 516 Format disable mac_notification Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the MAC notification function: DGS-3420-28SC:admin...
Page 521 - Command: config mac_notification interval 1 historysize 500; - Specifiy a range of ports to be configured.; - Specify to set all ports in the system.; - Specify to enable the port’s MAC address table notification.; - Specify to disable the port’s MAC address table notification.; Command: config mac_notification ports 7 enable; show mac_notification
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 517 DGS-3420-28SC:admin#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DGS-3420-28SC:admin# 51-4 config mac_notification ports Description Thi...
Page 522 - show mac_notification ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 518 Restrictions None. Example To show the switch’s MAC address table notification global settings: DGS-3420-28SC:admin#show mac_notification Command: show mac_notification Global MAC Notification Settings State : E...
Page 524 - Control Commands
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 520 Chapter 52 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 [lo...
Page 526 - password. The maximum length of the key is 16 characters.; - Specify to authenticate via local database.; radius; - Specify to authenticate via RADIUS server.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 522 Parameters <passwd 16> - In RADIUS mode, the switch communicates with the RADIUS server using this password. The maximum length of the key is 16 characters. Restrictions Only Administrator, Operator and Po...
Page 527 - VLAN if it’s MAC-based access control state is enable.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 523 52-5 config mac_based_access_control guest_vlan ports Description This command is used to put the specified port in guest VLAN mode. For those ports not contained in the port list, they are in non-guest VLAN mod...
Page 528 - - Specify to disable the MAC-based access control function.; - Specify the number of maximum users. The default value is 128 users.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 524 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_...
Page 530 - - Specify the port range to clear the authentication state.; - Specify to clear a specified host authentication state.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 526 Success. DGS-3420-28SC:admin# 52-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-authe...
Page 535 - To display MAC-based access control information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 531 DGS-3420-28SC:admin# show mac_based_access_control auth_state ports Command: show mac_based_access_control auth_state ports (P): Port-based Prio: Priority Port MAC Address Original State VID Prio Aging Time/ RX ...
Page 536 - To display MAC-based access control information for ports 1 to 4:; mac; - Specify the VLAN name up to 32 characters long.; - Specify the VLAN ID value between 1 and 4094.; To display MAC-based access control local data:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 532 Guest VLAN : Guest VLAN Member Ports: RADIUS Authorization : Enabled Local Authorization : Enabled Trap State : Enabled Log State : Enabled DGS-3420-28SC:admin# To display MAC-based access control information fo...
Page 537 - To display MAC-based access control local data by MAC address:; MAC Address VID; To display MAC-based access control local data by VLAN:; MAC Address VID
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 533 DGS-3420-28SC:admin#show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address VID ----------------- ------ 00-00-00-00-00-01 1 Total Entries:1 DGS-3420-28SC:admin# To display M...
Page 538 - To disable the log state for MAC-based Access Control:; To enable the trap state for MAC-based Access Control:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 534 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the log state for MAC-based Access Control: DGS-3420-28SC:admin# config mac_based_access_control lo...
Page 540 - Mirror Commands; create mirror group_id; Create mirror group 3:; config mirror port
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 536 Chapter 53 Mirror Commands create mirror group_id <value 1-4> config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]} config mirror group_id <value 1-4> {targe...
Page 541 - Command: config mirror port 6 add source ports 1-5 both; config mirror group_id; - Enter the target port number used here.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 537 Format config mirror port <port> {[add |delete] source ports <portlist> [rx | tx | both]} Parameters <port> - Specify the port that will receive the packets duplicated at the mirror port. add -...
Page 542 - delete mirror group_id
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 538 delete - (Optional) Specifies the mirror source ports to be delete source - (Optional) Specifies the source ports used. ports - (Optional) Specifies the list of ports used as source ports. <portlist> - Ent...
Page 543 - enable mirror; To enable mirroring configurations:; Command: enable mirror; disable mirror
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 539 DGS-3420-28SC:admin# delete mirror group_id 3 Command: delete mirror group_id 3 Success. DGS-3420-28SC:admin# 53-5 enable mirror Description This command, combined with the disable mirror command below, allows y...
Page 544 - To disable mirroring configurations:; Command: disable mirror; show mirror; To display mirroring configuration:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 540 Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable mirroring configurations: DGS-3420-28SC:admin#disable mirror Command: disable mirror Success. ...
Page 546 - This command is used to enable the MLD proxy on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 542 Chapter 54 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_na...
Page 549 - To display the MLD proxy’s information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 545 54-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 ins...
Page 551 - show mld_snooping statistic counter; This command is used to configure MLD snooping on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 547 Chapter 55 MLD Snooping Commands config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_done [enable | disable] | proxy_reporting {state [enable ...
Page 554 - - Specify the multicast group IPv6 address.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 550 55-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 po...
Page 556 - This command is used to display the MLD snooping static groups.; To display all the MLD snooping static groups:; VLAN ID/Name IP Address Static Member Ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 552 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an MLD snooping static group from the default VLAN, group FF1E::1: DGS-3420-28SC:admin#delete mld_sn...
Page 557 - To display the MLD snooping statistics counters on port 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 553 55-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 snoopin...
Page 558 - clear mld_snooping statistics counter
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 554 DGS-3420-28SC:admin#show mld_snooping statistic counter ports 1 Command: show mld_snooping statistic counter ports 1 Port # : 1 -------------------------------------------------- Group Number : 0 Receive Statist...
Page 559 - To clear the MLD snooping statistics counters:; Command: clear mld_snooping statistics counter; config mld_snooping querier; The default setting is 125 seconds.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 555 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the MLD snooping statistics counters: DGS-3420-28SC:admin#clear mld_snooping statist...
Page 562 - disable mld_snooping
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 558 DGS-3420-28SC:admin#config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Command: config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Success. DGS-3420-28SC:admin# 55-13 enable mld_sno...
Page 563 - To disable MLD snooping on the switch:; To display MLD snooping:; MLD Snooping Global State : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 559 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable MLD snooping on the switch: DGS-3420-28SC:admin#disable mld_snooping Command: disable mld_snooping ...
Page 564 - show mld_snooping group; - Specify the VLAN name. The maximum length is 32 characters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 560 Query Interval : 125 Max Response Time : 10 Robustness Value : 2 Last Listener Query Interval : 1 Querier State : Disabled Querier Role : Non-Querier Querier IP : :: Querier Expiry Time : 0 secs State : Disabled...
Page 566 - To display router ports:; VLAN Name : default; show mld_snooping forwarding; snooping forwarding entries.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 562 Note: If no parameter is specified, the system will display all router ports on the Switch. Restrictions None. Example To display router ports: DGS-3420-28SC:admin#show mld_snooping mrouter_ports all Command: sh...
Page 567 - - Enter the IPv6 address of the data driven group to be cleared here.; - Specifies that all the IPv6 addresses will be cleared.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 563 Example To display all MLD snooping forwarding entries located on the switch: DGS-3420-28SC:admin#show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP : 2001::1 Multic...
Page 569 - default setting is 120.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 565 Example To enable the data driven learning of an MLD snooping group on default VLAN: DGS-3420-28SC:admin#config mld_snooping data_driven_learning vlan_name default state enable Command: config mld_snooping data_...
Page 572 - state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 568 tag_member_port - Specify the tagged member port of the multicast VLAN. <portlist> - Specify a range of ports to be configured. state - Specify if the multicast VLAN for a chosen VLAN should be enabled or ...
Page 574 - be up to 32 characters long.; To delete an MLD snooping multicast group profile named “Knicks”:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 570 56-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...
Page 575 - To display all MLD snooping multicast VLAN profiles:; - Specify the multicast VLAN profile name. The profile name can be up
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 571 Example To display all MLD snooping multicast VLAN profiles: DGS-3420-28SC:admin#show mld_snooping multicast_vlan_group_profile Command: show mld_snooping multicast_vlan_group_profile Profile Name Multicast Addr...
Page 576 - This command is used to delete an MLD snooping multicast VLAN.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 572 profile_name channel_1 Command: config mld_snooping multicast_vlan_group v1 add profile_name channel_1 Success. DGS-3420-28SC:admin# 56-8 show mld_snooping multicast_vlan_group Description This command allows gr...
Page 580 - To enable the auto assign VLAN function:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 576 DGS-3420-28SC:admin#config mld_snooping multicast_vlan forward_unmatched enable Command: config mld_snooping multicast_vlan forward_unmatched enable Success. DGS-3420-28SC:admin# 56-14 config mld_snooping multic...
Page 581 - config greeting_message; This command is used to modify the login banner.; Greeting Messages Editor
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 577 Chapter 57 Modify Login Banner and Prompt Commands config greeting_message {default} show greeting_message config command_prompt [<string 16> | username | default] 57-1 config greeting_message Description ...
Page 582 - show greeting_message; To display the currently configured greeting message:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 578 =============================================================================== <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W Save and quit up/down Move cursor Ctrl+D Delet...
Page 583 - config command_prompt; username
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 579 DGS-3420-28SC:admin#show greeting_message Command: show greeting_message =============================================================================== DGS-3420-28SC Gigabit Ethernet Switch Command Line Interfa...
Page 584 - To edit the command prompt:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 580 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 Administra...
Page 585 - create nlb multicast_fdb; up to 32 characters long.; To create a NLB multicast FDB entry:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 581 Chapter 58 Network Load Balancing (NLB) Commands create nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] <macaddr> delete nlb multicast_fdb [<vlan_name 32> | vlanid <vlanid>] &l...
Page 586 - delete nlb multicast_fdb; This command is used to delete the Switch’s NLB multicast FDB entry.; To delete NLB multicast FDB entry:; config nlb multicast_fdb
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 582 DGS-3420-28SC:admin# create nlb multicast_fdb default 03-bf-01-01-01-01 Command: create nlb multicast_fdb default 03-bf-01-01-01-01 Success. DGS-3420-28SC:admin# 58-2 delete nlb multicast_fdb Description This co...
Page 587 - show nlb fdb
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 583 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> - Enter the VLAN ID used ...
Page 589 - enable snmp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 585 Chapter 59 Network Management Commands enable snmp disable snmp create trusted_host [<ipaddr> | <ipv6addr> | network <network_address> | ipv6_prefix <ipv6networkaddr>] {snmp | telnet | ss...
Page 590 - Command: enable snmp; disable snmp; Command: disable snmp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 586 Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP: DGS-3420-28SC:admin#enable snmp Command: enable snmp Success. DGS-3420-28SC:admin# 59-2 disable snmp Descr...
Page 593 - Management Stations
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 589 <network_address> - Specify the network address of the trusted network. The form of network address is xxx.xxx.xxx.xxx/y. ipv6_prefix - Specify the IPv6 network address of the trusted network. <ipv6netw...
Page 595 - To configure the switch location for “HQ 5F”:; Command: config snmp system_location HQ 5F; config snmp system_contact; To configure the switch contact to “; M I S D e p a r t m e n t I V; enable snmp traps; This command is used to enable SNMP trap support on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 591 Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the switch location for “HQ 5F”: DGS-3420-28SC:admin#config snmp system_location HQ 5F Command: config snmp s...
Page 596 - To enable SNMP trap support:; Command: enable snmp traps; This command is used to disable SNMP trap support on the switch.; disable snmp traps; To prevent SNMP traps from being sent from the switch:; Command: disable snmp traps
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 592 Format enable snmp traps Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP trap support: DGS-3420-28SC:admin#enable snmp traps Command: enab...
Page 597 - enable snmp authenticate_traps; To enable SNMP authentication trap support:; disable snmp authenticate_traps; To disable SNMP authentication trap support:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 593 59-12 enable snmp authenticate_traps Description This command is used to enable SNMP authentication failure trap support. Format enable snmp authenticate_traps Parameters None. Restrictions Only Administrator an...
Page 598 - Command: disable snmp authenticate_traps; This command is used to enable SNMP linkchange trap support.; enable snmp linkchange_traps; To enable SNMP linkchange trap support:; disable snmp linkchange_traps; disable snmp linkchange_traps
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 594 Command: disable snmp authenticate_traps Success. DGS-3420-28SC:admin# 59-14 enable snmp linkchange_traps Description This command is used to enable SNMP linkchange trap support. Format enable snmp linkchange_tr...
Page 599 - To disable SNMP linkchange trap support:; config snmp linkchange_traps ports; - Enable sending of the link change trap for this port.; - Disable sending of the link change trap for this port.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 595 Restrictions Only Administrator and Operator-level users can issue this command. Example To disable SNMP linkchange trap support: DGS-3420-28SC:admin#disable snmp linkchange_traps Command: disable snmp linkchang...
Page 600 - show snmp traps; This command is used to display the SNMP trap state.; Specify a port or port range.; To display SNMP traps:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 596 59-17 show snmp traps Description This command is used to display the SNMP trap state. Format show snmp traps {linkchange_traps {ports <portlist>}} Parameters linkchange_traps - (Optional) Specify to displ...
Page 601 - config snmp coldstart_traps; - Enable traps for coldstart events. The default state is enabled.; To enable traps for coldstart events:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 597 DGS-3420-28SC:admin#show snmp traps linkchange_traps Command: show snmp traps linkchange_traps Linkchange Traps : Enabled Port 1 : Enabled Port 2 : Enabled Port 3 : Enabled Port 4 : Enabled Port 5 : Enabled Port...
Page 602 - config snmp warmstart_traps; - Enable traps for warmstart events. The default state is enabled.; To enable traps for warmstart events:; Command: config snmp warmstart_traps enable; config trap source_ipif; - Specify to clear the configured source IP interface.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 598 Success. DGS-3420-28SC:admin# 59-19 config snmp warmstart_traps Description This command is used to configure the trap state for warmstart events. Format config snmp warmstart_traps [enable | disable] Parameters...
Page 603 - This command is used to display the trap source IP interface.; show trap source_ipif; To display the trap source IP interface:; Trap Source IP Interface Configuration:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 599 Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the trap source IP interface: DGS-3420-28SC:admin#config trap source_ipif inter4 Command: config trap source_...
Page 604 - config rmon trap; Command: config rmon trap rising_alarm disable; show rmon
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 600 IP Interface : ipif4 IPv4 Address : None IPv6 Address : 3000::52 DGS-3420-28SC:admin# 59-22 config rmon trap Description This command is used to configure the trap state for RMON events. Format config rmon trap ...
Page 605 - To display current RMON settings:; RMON Rising Alarm Trap : Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 601 Restrictions None. Example To display current RMON settings: DGS-3420-28SC:admin#show rmon Command: show rmon RMON Rising Alarm Trap : Enabled RMON Falling Alarm Trap : Enabled DGS-3420-28SC:admin#
Page 606 - show packet ports; - Specify a port or range of ports to be displayed.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 602 Chapter 60 Network Monitoring Commands show packet ports <portlist> show error ports <portlist> show utilization [ports | cpu] show utilization dram {unit <unit_id>} show utilization flash {uni...
Page 607 - To display the packets analysis for port 7:; show error ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 603 Example To display the packets analysis for port 7: DGS-3420-28SC:admin#show packet ports 7 Command: show packet ports 7 Port number : 7 Frame Size/Type Frame Counts Frames/sec --------------- ------------------...
Page 608 - To display the errors of port 3:; show utilization; To display port utilization:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 604 Restrictions None. Example To display the errors of port 3: DGS-3420-28SC:admin#show error ports 3 Command: show error ports 3 Port Number : 3 RX Frames TX Frames --------- --------- CRC Error 0 Excessive Deferr...
Page 609 - To display CPU utilization:; show utilization dram
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 605 2 0 0 0 22 0 0 0 3 0 0 0 23 0 0 0 4 0 0 0 24 0 0 0 5 0 0 0 25 0 0 0 6 0 0 0 26 0 0 0 7 0 0 0 27 0 0 0 8 0 0 0 28 0 0 0 9 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 ...
Page 610 - To display DRAM utilization:; show utilization flash; To display Flash utilization:; clear counters; This command is used to clear the switch’s statistics counters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 606 Example To display DRAM utilization: DGS-3420-28SC:admin# show utilization dram Command: show utilization dram DRAM utilization : Total DRAM : 262144 KB Used DRAM : 119586 KB Utilization : 45% CTRL+C ESC q Quit ...
Page 611 - clear log
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 607 Format clear counters {ports <portlist>} Parameters ports - Specify a range of ports to be configured. The beginning and end of the port list range are separated by a dash. <portlist> - Specify a ran...
Page 612 - show log; This command is used to display the switch history log.; index 1-5 will display the history log from 1 to 5.; To display the switch history log:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 608 Command: clear log Success DGS-3420-28SC:admin# 60-8 show log Description This command is used to display the switch history log. Format show log {[index <value_list> | severity {module <module_list>...
Page 613 - Index Date Time Level Log Text; This command is used to display the method to save log.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 609 Index Date Time Level Log Text ----- ---------- -------- ------- -------------------------------------------- 3 2000-03-01 00:26:51 INFO(6) Successful login through Console (Username: Anonymous) 2 2000-03-01 00:...
Page 614 - ERPS ERROR_LOG MSTP; This command is used to set the method to save log.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 610 Parameters None. Restrictions None. Example To display the protocols or applications that support the enhanced log: DGS-3420-28SC:admin#show log_software_module Command: show log_software_module CFM_EXT DHCPv6_C...
Page 615 - enable syslog; To enable syslog to send a message:; Command: enable syslog; disable syslog; disable syslog; To disable syslog sending a message:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 611 60-12 enable syslog Description This command is used to globally enable syslog to send log messages to a remote server. Format enable syslog Parameters None. Restrictions Only Administrator and Operator-level us...
Page 616 - This command is used to display the syslog protocol global state.; show syslog; To display the syslog protocol global state:; Command: show syslog; config syslog host; This command is used to configure the syslog host configuration.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 612 DGS-3420-28SC:admin#disable syslog Command: disable syslog Success DGS-3420-28SC:admin# 60-14 show syslog Description This command is used to display the syslog protocol global state. Format show syslog Paramete...
Page 617 - create syslog host
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 613 Parameters <index> - Specify the host index. all - Specify all hosts. severity - (Optional) Specify the severity level supported: emergency, alert, critical, error, warning, notice, informational, or debug...
Page 618 - - Specify the IPv4 address or IPv6 address of the host.; To create a new syslog host:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 614 Format create syslog host <index 1-4> ipaddress [<ipaddr> | <ipv6addr>] {severity [emergency | alert | critical | error | warning | notice | informational | debug | <level 0-7>] | facilit...
Page 619 - delete syslog host; To delete a syslog host:; Command: delete syslog host 4; show syslog host; This command is used to display syslog host configurations.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 615 DGS-3420-28SC:admin# 60-17 delete syslog host Description This command is used to delete syslog host(s). Format delete syslog host [<index 1-4> | all] Parameters <inex 1-4> - Specify the host index. ...
Page 620 - To display syslog host configurations:; config syslog source_ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 616 Restrictions None. Example To display syslog host configurations: DGS-3420-28SC:admin#show syslog host Command: show syslog host Syslog Global State: Disabled Host 1 IP Address : 10.1.1.2 Severity : Warning Faci...
Page 621 - To configure the syslog source IP interface:; Command: config syslog source_ipif System; To clear the configured source IP interface for syslog:; This command is used to display the syslog source IP interface.; show syslog source_ipif; To display the syslog source interface:; Syslog Source IP Interface Configuration:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 617 Example To configure the syslog source IP interface: DGS-3420-28SC:admin#config syslog source_ipif Sysetm Command: config syslog source_ipif System Success. DGS-3420-28SC:admin# To clear the configured source IP...
Page 622 - This command is used to display the switch’s attack log.; index; To display the switch’s attack log:; Index Date Time Level Log Text; This command is used to clear the switch’s attack log.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 618 DGS-3420-28SC:admin# 60-21 show attack_log Description This command is used to display the switch’s attack log. Format show attack_log {index <value_list>} Parameters index - (Optional) Specify the list of...
Page 623 - To clear the switch’s attack log:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 619 Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To clear the switch’s attack log: DGS-3420-28SC:admin#clear attack_log Command: clear attack_log Success....
Page 624 - OAM Commands; config ethernet_oam ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 620 Chapter 61 OAM Commands config ethernet_oam ports [<portlist> | all] [mode [active | passive] | state [enable | disable] | link_monitor [error_symbol {threshold <range 0-4294967295> | window <mill...
Page 626 - Command: config ethernet_oam ports 1 state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 622 critical_link_event –Specify critical link event. dying_gasp - An unrecoverable local failure condition has occurred. critical_event - An unspecified critical event has occurred. notify_state - Specify the event...
Page 628 - show ethernet_oam ports; The status information includes:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 624 Success. DGS-3420-28SC:admin# 61-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. Th...
Page 629 - status; - Specify to display the Ethernet OAM status.; configuration; - Specify to display the Ethernet OAM configuration.; statistics; - Specify to display Ethernet OAM statistics.; To display Ethernet OAM statistics information for port 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 625 Format show ethernet_oam ports {<portlist>} [status | configuration | statistics | event_log {index <value_list>}] Parameters <portlist> - (Optional) Specify the range of ports to display. stat...
Page 630 - clear ethernet_oam ports; Command: clear ethernet_oam ports 1 statistics
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 626 61-3 clear ethernet_oam ports Description This command is used to clear Ethernet OAM information. Format clear ethernet_oam ports [<portlist> | all] [event_log | statistics] Parameters <portlist> - S...
Page 631 - config traffic control
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 627 Chapter 62 Packet Storm Commands config traffic control [<portlist> | all] {broadcast [enable | disable] | multicast [enable | disable] | unicast [enable | disable] | action [drop | shutdown] | threshold &...
Page 632 - - Enter a value between 5 and 30 minutes.; Switch detects a storm, it will shutdown the port directly.; config traffic control auto_recover_time; To configure the auto recover time to 5 minutes:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 628 <min 3-30> - Enter a value between 5 and 30 minutes. disable – Specifies that when the action is shutdown and the countdown is disabled, when the Switch detects a storm, it will shutdown the port directly....
Page 633 - config traffic control log state; - Specifies the traffic control log state.; - Specifies that the traffic control state will be disabled.; Command: config traffic control log state enable; config traffic trap
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 629 DGS-3420-28SC:admin# config traffic control auto_recover_time 5 Command: config traffic control auto_recover_time 5 Success. DGS-3420-28SC:admin# 62-3 config traffic control log state Description This command is...
Page 634 - - A notification will be generated when a storm event is detected.; both; To configure a traffic control trap:; Command: config traffic trap both; show traffic control; This command is used to display current traffic control settings.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 630 Note: A traffic control trap is active only when the control action is configured as shutdown. If the control action is drop there will no traps issue while storm event is detected. Format config traffic trap [n...
Page 635 - To display the packet storm control setting for ports 1 to 3:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 631 Example To display the packet storm control setting for ports 1 to 3: DGS-3420-28SC:admin#show traffic control 1-3 Command: show traffic control 1-3 Traffic Control Trap : [None] Traffic Control Log : Enabled Tr...
Page 636 - enable password_recovery; disable password_recovery
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 632 Chapter 63 Password Recovery Commands enable password_recovery disable password_recovery show password_recovery 63-1 enable password_recovery Description This command is used to enable the password recovery mode...
Page 637 - show password_recovery
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 633 Format disable password_recovery Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the password recovery mode: DGS-3420-28SC:admin# disable password_recovery...
Page 638 - To display the password recovery state:; Running Configuration
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 634 Example To display the password recovery state: DGS-3420-28SC:admin# show password_recovery Command: show password_recovery Running Configuration : Disabled NV-RAM Configuration : Enabled DGS-3420-28SC:admin#
Page 639 - config port_security ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 635 Chapter 64 Port Security Commands config port_security ports [<portlist> | all] [{admin_state [enable | disable] | max_learning_addr <max_lock_no 0-3328> | lock_address_mode [permanent | deleteontime...
Page 641 - config port_security vlan; - Specify the VLAN by name. The maximum length is 32 characters.; - Specify the value between 0 and 3328.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 637 Format config port_security system max_learning_addr [<max_lock_no 1-3328> | no_limit] Parameters <max_lock_no 1-3328> - Specify the maximum number of MAC address entries that can be learned by the s...
Page 642 - - Specify the VLAN ID. This value must be between 1 and 4094.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 638 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of entries that can be learned at 64: DGS-3420-28SC:admin#config port_security...
Page 644 - To display a port security entry:; MAC Address VID Port Lock Mode; To display the global configuration of port security:; Port Security Trap State : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 640 Restrictions None. Example To display a port security entry: DGS-3420-28SC:admin#show port_security_entry Command: show port_security_entry MAC Address VID Port Lock Mode ----------------- --- ---- ---------- 00...
Page 645 - To display the port security information of switch ports 1 to 6:; config port_security log state; - Specifies to enable the port security log.; - Specifies to disable the port security log.; To enable the port security log:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 641 Port Security Log State : Disabled System Maximum Address : 512 VLAN Configuration (Only VLANs with limitation are displayed) VID VLAN Name Max. Learning Addr. ---- -------------------------------- -------------...
Page 646 - Command: config port_security log state enable; config port_security trap state; - Specifies to enable the port security trap.; - Specifies to disable the port security trap.; To enable the sending of port security traps:; Command: config port_security trap state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 642 DGS-3420-28SC:admin# config port_security log state enable Command: config port_security log state enable Success. DGS-3420-28SC:admin# 64-9 config port_security trap state Description This command is used to en...
Page 647 - Power over Ethernet; config poe ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 643 Chapter 65 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] | powe...
Page 648 - config poe system
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 644 power_limit - (Optional) Specifies the per-port power limit. If a port exceeds its power limit, it will be shut down. Based on the industry standard, 802.3af, there are 5 kinds of PD classes, class 0, class 1, c...
Page 649 - units; - Specifies that all the units will be used for this configuration.; - Specifies that the legacy PDs detection status will be enabled.; To configure the PoE system-wise setting:; show poe ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 645 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 ...
Page 650 - To display PoE port configurations on port 1 to 6:; show poe system
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 646 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 s...
Page 651 - To display the PoE system:; Command: show poe system units 1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 647 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...
Page 652 - Enable the power saving feature.; Disable the power saving feature.; Enable the length detection feature.; Disable the length detection feature.; To configure power saving:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 648 Chapter 66 Power Saving Commands config power_saving {state [enable | disable] | length_detection [enable | disable]} show power_saving 66-1 config power_saving Description This command is used to configure the ...
Page 653 - This command is used to display power saving information.; To display power saving information:; Power Saving State: Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 649 DGS-3420-28SC:admin# config power_saving state enable Command: config power_saving state enable Success DGS-3420-28SC:admin# 66-2 show power_saving Description This command is used to display power saving inform...
Page 654 - enable ptp; To enable the PTP function globally:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 650 Chapter 67 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_numb...
Page 655 - Command: enable ptp; disable ptp; To disable the PTP function globally:; Command: disable ptp; config ptp mode
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 651 DGS-3420-28SC:admin# enable ptp Command: enable ptp Success. DGS-3420-28SC:admin# 67-2 disable ptp Description This command is used to disable the PTP function globally. When the PTP function is disabled, all sw...
Page 656 - boundary; - Specifies the Switch as a Boundary Clock.; Command: config ptp mode p2p_transparent; config ptp transport protocol; - Specifies the transport protocol of PTP as IEEE802.3 Ethernet.; udp; - Specifies the transport protocol of PTP as UDP over IPv4.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 652 is receiving the PTP event messages. Ports on peer-to-peer transparent clocks use the peer delay mechanism to calculate the propagation delay between PTP ports. An End-to-End Transparent Clock supports the use o...
Page 657 - Command: config ptp transport protocol ethernet; config ptp clock domain_number; The default value is 0.; - Enter the unit ID used here. This value must be between 1 and 12.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 653 Example To specify the transport protocol of PTP as IEEE802.3 Ethernet frames: DGS-3420-28SC:admin# config ptp transport protocol ethernet Command: config ptp transport protocol ethernet Success. DGS-3420-28SC:a...
Page 658 - config ptp boundary; priority1; master clock algorithm. Lower values take precedence.; priority2; To configure the priority1 value of the boundary clock as 127:; Command: config ptp boundary priority1 127
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 654 To configure the domain number of the PTP clock as 1 and assign a domain name of internal_domain for the unit 1, when the stacking mode is enabled. DGS-3420-28SC:admin#config ptp clock domain_number 1 unit 1 dom...
Page 659 - config ptp ports; config ptp boundary ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 655 67-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: • The global PTP state is enabled. • The...
Page 660 - - Specifies the list of port used for this configuration.; announce; between 1 and 32 seconds.; The announce interval is automatically adjusted to 4.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 656 Parameters ports - Specifies the list of port used for this configuration. <portlist> - Enter the list of port used for this configuration here. all - Specifies that all the ports will be used for this con...
Page 662 - config ptp p2p_transparent ports; show ptp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 658 67-9 config ptp p2p_transparent ports Description This command is used to configure the pdelay_request message attribute for the message interval of the P2P transparent clock. Format config ptp p2p_transparent p...
Page 663 - To show the global PTP configuration:; PTP State Setting : Enabled; show ptp clock; To show the active attributes of the boundary clock:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 659 Example To show the global PTP configuration: DGS-3420-28SC:admin# show ptp Command: show ptp PTP State Setting : Enabled PTP Mode Setting : Boundary Clock PTP Transport Protocol Setting : UDP PTP Clock Domain N...
Page 664 - To show the properties of the Peer-to-Peer transparent clock:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 660 DGS-3420-28SC:admin# show ptp clock Command: show ptp clock PTP State : Enabled PTP Clock Mode : Boundary Clock PTP Transport Protocol : UDP PTP Clock Domain Number : 1 PTP Clock Domain Name : internal_domain PT...
Page 665 - show ptp clock parent; To show the active attributes of the boundary clock parent:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 661 PTP Steps Removed : 2 PTP Last Offset : +110 ns PTP Mean Path Delay : 120 second PTP Enabled Ports : 1:1-1:4, Box ID: 2 PTP State : Enabled PTP Clock Mode : Boundary Clock PTP Transport Protocol : UDP PTP Clock ...
Page 667 - show ptp ports; - Specifies the list of port used for this display.; - Specifies that all the ports will be used for this display.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 663 DGS-3420-28SC:admin# show ptp clock parent Command: show ptp clock parent Box ID: 1 PTP Parent Port Identity : ACDE4823456789AB PTP Parent Port Number : 3 PTP Grandmaster Identity : ACDE4823659789AD PTP Grandmas...
Page 668 - show ptp boundary
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 664 DGS-3420-28SC:admin# show ptp ports 1:1-1:4 Command: show ptp ports 1:1-1:4 The active attributes: DM : Delay Mechanism AI : Announce Interval ART : Announce Receipt Timeout SI : Synchronization Interval DRIM: D...
Page 669 - – (Optional) Specifies the list of port used for this display.; To show the configured attributes of the boundary clock:; show ptp p2p_transparent ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 665 Parameters ports – (Optional) Specifies the list of port used for this display. <portlist> - Enter the list of port used for this display here. all - Specifies that all the ports will be used for this disp...
Page 671 - FM Port Identity : The clock identity of the Foreign Master Port
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 667 Example To show the current records of the foreign master data set for special ports 1:1-1:3 of the boundary clock: DGS-3420-28SC:admin#show ptp foreign_master_records ports all Command: show ptp foreign_master_...
Page 672 - config port dot1v ports; - Specify the name of the protocol group.; To create a protocol group:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 668 Chapter 68 Protocol VLAN Commands create dot1v_protocol_group group_id <id> group_name <name 32> config dot1v_protocol_group [group_id <id> | group_name <name 32>] [add protocol [ethernet...
Page 673 - add protocol
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 669 68-2 config dot1v_protocol_group Description This command is used to add a protocol to a protocol group. The selection of a protocol can be a pre-defined protocol type or a user defined protocol. Format config d...
Page 675 - Protocol Protocol Frame Type Protocol
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 671 68-4 show dot1v_protocol_group Description This command is used to display the protocols defined in protocol groups. Format show dot1v_protocol_group {group_id <id> | group_name <name 32>} Parameters...
Page 676 - show port dot1v
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 672 Format config port dot1v ports [<portlist> | all] [add protocol_group [group_id <id>| group_name <name 32>] [vlan <vlan_name 32> | vlanid <id>] {priority <value 0-7>} | delete...
Page 677 - To display the protocol VLAN information for ports 1 to 2:; Protocol Group ID VLAN Name Protocol Priority
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 673 Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist> - Specify a range of ports to be displayed. Note: If no parameter is specified, information for all ports will be displaye...
Page 678 - QoS Commands; config bandwidth_control
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 674 Chapter 69 QoS Commands config bandwidth_control [<portlist> | all] {rx_rate [no_limit | <value 64-10240000>] | tx_rate [no_limit | <value 64-10240000>]}(1) show bandwidth_control {<portlist...
Page 679 - To configure port bandwidth:; show bandwidth_control; To display the port bandwidth control table for ports 1 to 2:; Bandwidth Control Table
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 675 Example To configure port bandwidth: DGS-3420-28SC:admin#config bandwidth_control 1-10 tx_rate 1024 Command: config bandwidth_control 1-10 tx_rate 1024 Success. DGS-3420-28SC:admin# 69-2 show bandwidth_control D...
Page 681 - config scheduling
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 677 DGS-3420-28SC:admin# 69-4 show per_queue bandwidth_control Description This command is used to display the bandwidth control setting of per egress queue for each port. Format show per_queue bandwidth_control {&l...
Page 682 - Command: config scheduling 0 weight 10; config scheduling_mechanism; - Specifies that all the ports will be used.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 678 Parameters ports - (Optional) Specifies the range of ports to be configured. <portlist> - Enter the list of ports here. all - Specifies that all the ports will be used. <class_id 0-7> - Specifies the...
Page 683 - To configure the traffic scheduling mechanism for each CoS queue:; Command: config scheduling_mechanism strict; show scheduling; To display the traffic scheduling parameters for each CoS queue:; Command: show scheduling
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 679 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the traffic scheduling mechanism for each CoS queue: DGS-3420-28SC:admin# config scheduling_mecha...
Page 684 - show scheduling_mechanism; This command is used to display the traffic scheduling mechanism.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 680 -------- ------ Class-0 1 Class-1 2 Class-2 3 Class-3 4 Class-4 5 Class-5 6 Class-6 7 Class-7 8 QOS Output Scheduling On Port: 2 Class ID Weight -------- ------ Class-0 1 Class-1 2 Class-2 3 Class-3 4 Class-4 5 ...
Page 685 - To display the scheduling mechanism for all ports:; To show the scheduling mechanism on ports 1-10:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 681 Parameters <portlist> - (Optional) Specifies a range of ports to be displayed. Restrictions None. Example To display the scheduling mechanism for all ports: DGS-3420-28SC:admin#show scheduling_mechanism Co...
Page 687 - This command is used to display 802.1p user priority.; QoS Class of Traffic
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 683 69-10 show 802.1p user_priority Description This command is used to display 802.1p user priority. Format show 802.1p user_priority {<portlist>} Parameters <portlist> - (Optional) Specifies the range ...
Page 688 - - Specify that the command applies to all ports on the switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 684 69-11 config 802.1p default_priority Description This command is used to specify default priority for untagged packets received on a port of the switch. Format config 802.1p default_priority [<portlist> | ...
Page 689 - To display 802.1p default priority for ports 1 to 4:; Port Priority Effective Priority; enable hol_prevention; To enable HOL prevention on the switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 685 Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display all ports with 802.1p default priority. Restrictions None. Example T...
Page 690 - disable hol_prevention; To disable HOL prevention on the switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 686 Success. DGS-3420-28SC:admin# 69-14 disable hol_prevention Description This command is used to disable head of line prevention on the switch. Format disable hol_prevention Parameters None. Restrictions Only Admi...
Page 691 - To display HOL prevention state on the switch:; Device HOL Prevention State: Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 687 Example To display HOL prevention state on the switch: DGS-3420-28SC:admin#show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-3420-28SC:admin#
Page 692 - enable qinq; Command: enable qinq
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 688 Chapter 70 Q-in-Q Command enable qinq disable qinq show qinq config qinq ports [<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex 0x1-0xffff> | use_inner_priority [e...
Page 693 - disable qinq; Command: disable qinq; show qinq
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 689 70-2 disable qinq Description This command is used to disable Q-in-Q. W hen Q-in-Q is disabled, all dynamic learned L2 addresses will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP wil...
Page 694 - QinQ Status : Enabled; config qinq ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 690 Example To display Q-in-Q: DGS-3420-28SC:admin#show qinq Command: show qinq QinQ Status : Enabled DGS-3420-28SC:admin# 70-4 config qinq ports Description This command is used to configure Q-in-Q port parameters ...
Page 695 - config qinq inner_tpid; To configure the inner TPID in the system to 0x9100:; This command is used to display the inner TPID of the system.; show qinq inner_tpid
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 691 Success. DGS-3420-28SC:admin# 70-5 config qinq inner_tpid Description The command is used to configure the inner TPID of the system. The inner TPID is used to decide if the ingress packet is c-tagged. Inner tag ...
Page 696 - To display the inner TPID of the system:; show qinq ports; This command is used to display the Q-in-Q configuration of ports.; Role: NNI
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 692 Restrictions None. Example To display the inner TPID of the system: DGS-3420-28SC:admin#show qinq inner_tpid Command: show qinq inner_tpid Inner TPID: 0x8100 DGS-3420-28SC:admin# 70-7 show qinq ports Description...
Page 697 - create vlan_translation ports; - Specify the CVID to be matched for incoming packets.; svid; - Specify the SVID of the S-tag to be added or replaced to the packets.; priority
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 693 --------------------------------------------------------- Role: NNI Miss Drop: Disabled Outer Tpid: 0x8100 Use Inner Priority: Disabled Add Inner Tag: Disabled DGS-3420-28SC:admin# 70-8 create vlan_translation p...
Page 698 - delete vlan_translation ports; all rules configured for the port will be deleted.; show vlan_translation
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 694 DGS-3420-28SC:admin# To add S-tag with SVID 300 and 802.1p priority 5, if incoming packet with CVID 30: DGS-3420-28SC:admin#create vlan_translation ports 1 add cvid 30 svid 300 priority 5 Command: create vlan_tr...
Page 699 - cvid; - Specify to display the rules for the specified CVIDs.; To display VLAN translation for ports 1 and 2:; Port CVID SVID Action Priority
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 695 Format show vlan_translation {[ports <portlist> | cvid <vidlist>]} Parameters ports - Specify to display the C-VLAN based VLAN translation rules of the ports. <portlist> - Specify a range of po...
Page 700 - config rip timers; enable rip; config rip
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 696 Chapter 71 Routing Information Protocol (RIP) Command List enable rip config rip [ipif <ipif_name 12> | all] {authentication [enable <password 16> | disable] | tx_mode [disable | v1_only | v1_compati...
Page 702 - before it is removed from routing table.; This command is used to disable RIP for the switch.; disable rip
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 698 Format config rip timers {update <sec 5-65535> | timeout <sec 5-65535> | garbage_collection <sec 5-65535>} Parameters update - (Optional) Specifies the value of the rate at which RIP updates ar...
Page 703 - Command: disable rip; show rip
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 699 Example To disable RIP: DGS-3420-28SC:admin# disable rip Command: disable rip Success. DGS-3420-28SC:admin# 71-5 show rip Description This command is used to display the RIP configuration for one or all the IP i...
Page 705 - RIPng Commands; config ripng; This command is used to enable RIPng globally for the Switch.; enable ripng; To enable RIPng globally:; Command: enable ripng; disable ripng; disable ripng
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 701 Chapter 72 RIPng Commands enable ripng disable ripng show ripng {ipif <ipif_name 12>} config ripng {method [no_horizon | split_horizon | poison_reverse] | update <sec 5-65535> | expire <sec 1-6553...
Page 706 - To disable RIPng globally:; Command: disable ripng; show ripng
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 702 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable RIPng globally: DGS-3420-28SC:admin# disable ripng Command: disable ripng Success....
Page 707 - This command is used to configure the RIPng algorithm and timer.; method; - Specifies to configure not use any horizon.; update; To configure the RIPng method as poison reverse:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 703 DGS-3420-28SC:admin#show ripng Command: show ripng Global State: Disabled Method: Split Horizon Update Time: 30 seconds Expire Time: 180 seconds Garbage Collection Time: 120 seconds Interface State Metric ------...
Page 708 - Command: config ripng method poison_reverse; config ripng ipif; To enable the RIPng interface state:; Command: config ripng ipif System state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 704 DGS-3420-28SC:admin# config ripng method poison_reverse Command: config ripng method poison_reverse Success. DGS-3420-28SC:admin# 72-5 config ripng ipif Description This command is used to specify the RIPng stat...
Page 709 - RSPAN Commands; delete rspan vlan; This command is used to enable RSPAN globally.; enable rspan; To enable RSPAN globally:; Command: enable rspan; disable rspan; disable rspan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 705 Chapter 73 RSPAN Commands enable rspan disable rspan create rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>] delete rspan vlan [vlan_name <vlan_name> | vlan_id <vlanid 1-4094>...
Page 710 - To disable the RSPAN globally:; Command: disable rspan; create rspan vlan; - Specify the VLAN ID between 1 and 4094.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 706 Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the RSPAN globally: DGS-3420-28SC:admin#disable rspan Command: disable rspan Success. DGS-3420...
Page 711 - To create an RSPAN VLAN entry by VLAN ID “3”:; This command is used to delete an RSPAN VLAN.; To delete an RSPAN VLAN entry by VLAN name “v2”:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 707 To create an RSPAN VLAN entry by VLAN ID “3”: DGS-3420-28SC:admin#create rspan vlan vlan_id 3 Command: create rspan vlan vlan_id 3 Success. DGS-3420-28SC:admin# 73-4 delete rspan vlan Description This command is...
Page 712 - config rspan vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 708 73-5 config rspan vlan Description This command is used by the source switch to configure the source setting for the RSPAN VLAN. The redirect command is used by the intermediate or last switch to configure the o...
Page 713 - To configure an RSPAN source entry without source target port:; Command: config rspan vlan vlan_name vlan2 source add ports 2-5 rx; To configure RSPAN redirect for “VLAN 2” to ports 18 and 19:; Command: config rspan vlan vlan_name vlan2 redirect add ports 18-19; show rspan; This command is used to display RSPAN configuration.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 709 Example To configure an RSPAN source entry without source target port: DGS-3420-28SC:admin#config rspan vlan vlan_name vlan2 source add ports 2-5 rx Command: config rspan vlan vlan_name vlan2 source add ports 2-...
Page 714 - To display specific RSPAN settings:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 710 Example To display specific RSPAN settings: DGS-3420-28SC:admin#show rspan vlan_id 63 Command: show rspan vlan_id 63 RSPAN : Enabled RSPAN VLAN ID : 63 -------------------- Mirror Group ID : 1 Target Port : 1 So...
Page 715 - config safeguard_engine; - Configure the safeguard engine state to enable.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 711 Chapter 74 Safeguard Engine Commands config safeguard_engine {state [enable | disable] | utilization {rising <value 20-100> | falling <value 20-100>}(1) | trap_log [enable | disable] | mode [strict |...
Page 716 - To configure the safeguard engine:; This command is used to display safeguard engine information.; show safeguard_engine; To display safeguard engine information:; Safeguard Engine State : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 712 Example To configure the safeguard engine: DGS-3420-28SC:admin#config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable Command: config safeguard_engine state enable utilization risi...
Page 717 - sFlow Commands; enable sflow; This command is used to enable the sFlow function.; To enable the sFlow function:; Command: enable sflow
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 713 Chapter 75 sFlow Commands enable sflow disable sflow show sflow create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0- 65535> | tx_rate <value 0-65...
Page 718 - This command is used to disable the sFlow function.; disable sflow; To disable the sFlow function:; Command: disable sflow; show sflow; show sflow
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 714 Success. DGS-3420-28SC:admin# 75-2 disable sflow Description This command is used to disable the sFlow function. Format disable sflow Parameters None. Restrictions Only Administrator and Operator-level users can...
Page 719 - create sflow flow_sampler ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 715 Example To display the sFlow information: DGS-3420-28SC:admin#show sflow Command: show sflow sFlow Version : V5 sFlow Address : 10.90.90.90 sFlow AddressV6: FE80::201:2FF:FE03:400 sFlow State : Enabled DGS-3420-...
Page 720 - config sflow flow_sampler ports; Command: config sflow flow_sampler ports all rate 1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 716 200 maxheadersize 120 Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 200 maxheadersize 120 Success. DGS-3420-28SC:admin# 75-5 config sflow flow_sampler ports Description This command is use...
Page 721 - delete sflow flow_sampler ports; create sflow analyzer_server; owner
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 717 75-6 delete sflow flow_sampler ports Description This command is used to delete the sFlow flow sampler. Format delete sflow flow_sampler ports [<portlist> | all] Parameters <portlist> - Specify the l...
Page 722 - Command: create sflow analyzer_server 1 owner monitor; delete sflow analyzer_server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 718 <sec 1-2000000> - Specify the time out value, in seconds, between 1 and 2000000. infinite - Specify to never time out. collectoraddress - (Optional) Specify the IP address of the analyzer server. <ipadd...
Page 723 - config sflow analyzer_server; - Specify the destination port for sending sflow datagrams. The; maxdatagramsize; a single sample datagram.; To configure the sFlow analyzer server information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 719 Success. DGS-3420-28SC:admin# 75-9 config sflow analyzer_server Description This command is used to configure the sFlow analyzer server information. More than one collector with the same IP address can be specif...
Page 724 - show sflow analyzer_server; To display sFlow analyzer server information:; create sflow counter_poller ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 720 75-10 show sflow analyzer_server Description This command is used to display sFlow analyzer server information. Format show sflow analyzer_server Parameters None. Restrictions Only Administrator, Operator and Po...
Page 725 - To create the sFlow counter poller:; config sflow counter_poller ports; counters. If set to disabled, the counter sample is disabled.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 721 Parameters <portlist> - Specify the ports to be configured. all - Specify to configure all ports. analyzer_server_id - Specify the ID of an analyzer server where the packet will be forwarded. <value 1-4...
Page 726 - Command: config sflow counter_poller ports 1 interval 50; delete sflow counter_poller ports; This command is used to delete the sFlow counter poller.; To delete the sFlow counter poller for port 1:; Command: delete sflow counter_poller ports 1; show sflow counter_poller
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 722 DGS-3420-28SC:admin#config sflow counter_poller ports 1 interval 50 Command: config sflow counter_poller ports 1 interval 50 Success. DGS-3420-28SC:admin# 75-13 delete sflow counter_poller ports Description This...
Page 727 - Port Analyzer Server ID Polling Interval (sec); show sflow flow_sampler; Port Analyzer Configured Configured Active Active Max Header
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 723 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display sFlow counter poller information for the ports that have been created: DGS-3420-28SC:admin#show sfl...
Page 728 - reconfig; enable sim; To enable single IP management:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 724 Chapter 76 Single IP Management Commands enable sim disable sim show sim {[candidates {<candidate_id 1-100>} | members {<member_id 1-32>} | group {commander_mac <macaddr>} | neighbor]} reconfig...
Page 729 - disable sim; Command: disable sim; show sim; candidates
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 725 76-2 disable sim Description This command is used to configure the single IP management on the switch as disabled. Format disable sim Parameters None. Restrictions Only Administrator-level users can issue this c...
Page 730 - To show the self information in detail:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 726 Restrictions None. Example To show the self information in detail: DGS-3420-28SC:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 1.00.024 Device Name : MAC Address : 00-01-02-03-04-00 ...
Page 732 - exit
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 728 DGS-3420-28SC:admin# 76-4 reconfig Description This command is used to re-Telnet to a member. Format reconfig [member_id <value 1-32> | exit] Parameters member_id - Specify the serial number of a member. &...
Page 733 - Success.; config sim; commander
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 729 Restrictions Only Administrator-level users can issue this command. Example To add a member: DGS-3420-28SC:admin#config sim_group add 2 Command: config sim_group add 2 Please wait for ACK !!! SIM Config Success ...
Page 734 - Command: config sim commander
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 730 <sec 100-255> - Specify the time in seconds the device holds the discovery result. Restrictions Only Administrator-level users can issue this command. Example To transfer to commander: DGS-3420-28SC:admin#...
Page 735 - members; ID MAC Address Result
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 731 DGS-3420-28SC:admin# 76-7 download sim_ms Description This command is used to download firmware or configuration from a TFTP server to indicated devices. Format download sim_ms [firmware_from_tftp | configuratio...
Page 738 - SMTP Commands; enable smtp; Command: enable smtp; disable smtp; This command is used to disable SMTP status.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 734 Chapter 77 SMTP Commands enable smtp disable smtp config smtp {server <ipaddr> | server_port <port_number 1-65535> | self_mail_addr <mail_addr 254> | [add mail_receiver <mail_addr 254> | ...
Page 739 - Command: disable smtp; config smtp; server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 735 Format disable smtp Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable SMTP status: DGS-3420-28SC:admin#disable smtp Command: disable smtp Success. DGS-3420-2...
Page 740 - Command: config smtp delete mail_receiver 2; show smtp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 736 Example To configure an SMTP server IP address: DGS-3420-28SC:admin# config smtp server 172.18.208.9 Command: config smtp server 172.18.208.9 Success. DGS-3420-28SC:admin# To configure an SMTP server port: DGS-3...
Page 741 - To display the current SMTP information:; SMTP Status : Disabled; This command is used to test whether the SMTP server can be reached.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 737 Format show smtp Parameters None. Restrictions None. Example To display the current SMTP information: DGS-3420-28SC:admin#show smtp Command: show smtp SMTP Status : Disabled SMTP Server Address : 0.0.0.0 SMTP Se...
Page 742 - To test whether the SMTP server can be reached:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 738 Restrictions Only Administrator-level users can issue this command. Example To test whether the SMTP server can be reached: DGS-3420-28SC:admin# smtp send_testmsg Command: smtp send_testmsg Subject: This is a te...
Page 743 - Commands; create snmp user; range is 1 to 32 characters.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 739 Chapter 78 SNMPv1/v2/v3 Commands create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5 <auth_password 8-16> | sha <auth_password 8-20>] priv [none | des <pri...
Page 744 - delete snmp user
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 740 to 32 characters. encrypted - (Optional) Specify whether the password appears in encrypted format. by_password auth - Indicate the input password for authentication sha - Specify the HMAC-SHA-96 authentication l...
Page 745 - Command: delete snmp user dlink; show snmp user; To display SNMP user information:; Command: show snmp user
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 741 Parameters <user_name 32> - Specify the name of the user on the host to be deleted. The range is 1 to 32 characters. Restrictions Only Administrator-level users can issue this command. Example To delete an...
Page 746 - show snmp groups; To display the names of the SNMP groups on the switch:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 742 Total Entries : 1 DGS-3420-28SC:admin# 78-4 show snmp groups Description This command is used to display the names of groups on the switch, and the security model, level, and the status of the different views. F...
Page 747 - create snmp view; - Specify the access type of of the MIB tree in this view.; included; delete snmp view; This command is used to remove a view record.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 743 Total Entries: 3 DGS-3420-28SC:admin# 78-5 create snmp view Description This command is used to assign views to community strings to limit which MIB objects an SNMP manager can access. Format create snmp view &l...
Page 748 - Command: delete snmp view dlinkview all; show snmp view; This command is used to display SNMP view records.; Command: show snmp view
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 744 all - Specify to view all records. <oid> - Specify the object-identified tree (the MIB tree). Restrictions Only Administrator-level users can issue this command. Example To remove a view record: DGS-3420-2...
Page 749 - create snmp community; - Specify the community string. The maximum string length is 32; view; delete snmp community; This command is used to remove a specific community string.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 745 CommunityView 1.3.6.1.6.3 Excluded CommunityView 1.3.6.1.6.3.1 Included Total Entries: 8 DGS-3420-28SC:admin# 78-8 create snmp community Description This command is used to create an SNMP community string. Use a...
Page 750 - Command: delete snmp community dlink; show snmp community; This command is used to display community string configurations.; Command: show snmp community
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 746 Format delete snmp community <community_string 32> Parameters <community_string 32> - Specify the community string that will be deleted. Restrictions Only Administrator-level users can issue this com...
Page 751 - create snmp community_masking view; switch’s SNMP agent.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 747 Community Name View Name Access Right ---------------------------- ------------------------ ------------ private CommunityView read_write public CommunityView read_only Total Entries : 2 DGS-3420-28SC:admin# 78-...
Page 752 - config snmp engineID; - Specify the identify for the SNMP engine on the switch.; show snmp engineID; To display the identification of an SNMP engine:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 748 78-12 config snmp engineID Description This command is used to configure an identifier for the SNMP engine on the switch. Associated with each SNMP entity is a unique engine ID. Format config snmp engineID <s...
Page 753 - Command: show snmp engineID; create snmp group
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 749 DGS-3420-28SC:admin#show snmp engineID Command: show snmp engineID SNMP Engine ID : 1023457890 DGS-3420-28SC:admin# 78-14 create snmp group Description This command is used to create a new SNMP group. Format cre...
Page 754 - host
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 750 78-15 delete snmp group Description This command is used to remove an SNMP group. Format delete snmp group <groupname 32> Parameters <groupname 32> - Specify the name of the group that will be delete...
Page 755 - delete snmp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 751 is specified, the auth_string presents the user name, and it must be one of the entries in the user table. Restrictions Only Administrator level users can issue this command. Example To create a recipient of an ...
Page 756 - show snmp host; If no parameter is specified, all SNMP hosts will be displayed.; Command: show snmp host; show snmp v6host
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 752 78-18 show snmp host Description This command is used to display the recipient for which the traps are targeted. Format show snmp host {<ipaddr>} Parameters <ipaddr> - (Optional) Specify the IP addre...
Page 757 - Command: show snmp v6host; enable community_encryption
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 753 Note: If no parameter is specified, all SNMP IPv6 hosts will be displayed. Restrictions None. Example To display the recipient for which the traps are targeted: DGS-3420-28SC:admin# show snmp v6host Command: sho...
Page 758 - disable community_encryption; To disable the encryption state on the SNMP community string:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 754 Success. DGS-3420-28SC:admin# When creating an SNMP community string after the encryption state has been enabled, the community string will be displayed as an encrypted string (six "*"), otherwise displa...
Page 759 - show community_encryption; To show the encryption state on the SNMP community string:; SNMP Community Encryption State : Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 755 78-22 show community_encryption Description This command is used to display the encryption state on the SNMP community string. Format show community_encryption Parameters None. Restrictions None. Example To show...
Page 760 - show stp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 756 Chapter 79 Spanning Tree Protocol (STP) commands show stp show stp instance {<value 0-64>} show stp ports {<portlist>} show stp mst_config_id create stp instance_id <value 1-64> delete stp inst...
Page 761 - show stp instance; To display STP instances:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 757 DGS-3420-28SC:admin#show stp Command: show stp STP Bridge Global Settings ----------------------------- STP Status : Enabled STP Version : MSTP Max Age : 20 Forward Delay : 15 Max Hops : 20 TX Hold Count : 6 For...
Page 762 - show stp ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 758 DGS-3420-28SC:admin#show stp instance Command: show stp instance STP Instance Settings --------------------------- Instance Type : CIST Instance Status : Enabled Instance Priority : 32768(Bridge Priority : 32768...
Page 763 - , that means they are in the same MST region.; Display the STP MST Config ID:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 759 MSTP Port Information Port Index : 1 , Hello Time : 2 /2 , Port STP : enabled External PathCost : Auto/200000 , Edge Port : No /No , P2P : False/No Port RestrictedRole : False, Port RestrictedTCN : False Port Fo...
Page 764 - create stp instance_id; delete stp instance_id; This value must be between 1 and 64.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 760 79-5 create stp instance_id Description This command is used to create a new MST instance independent from the default Instance: CIST (Instance 0). After creating the MST instance, a user needs to configure the ...
Page 765 - config stp instance_id
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761 Example To delete an MSTP instance: DGS-3420-28SC:admin#delete stp instance_id 2 Command: delete stp instance_id 2 Success. DGS-3420-28SC:admin# 79-7 config stp instance_id Description There are two different ac...
Page 766 - - Specify the name given for a specified MST region.; enable stp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 762 Success. DGS-3420-28SC:admin# 79-8 config stp mst_config_id Description This command is used to configure a configuration name or revision level in the MST configuration identification. The default configuration...
Page 767 - disable stp; Command: disable stp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 763 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable STP: DGS-3420-28SC:admin#enable stp Command: enable stp Success. DGS-3420-28SC:admi...
Page 768 - config stp version; mstp; - Specify to use Multiple Spanning Tree Protocol.; rstp; - Specify to use Rapid Spanning Tree Protocol. This is the default.; stp; - Specify to use Spanning Tree Protocol.; Command: config stp version mstp; config stp priority; One of the parameters used to select the Root Bridge.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 764 79-11 config stp version Description This command is used to enable STP globally. If the version is configured as STP or RSTP, all currently running MSTIs should be disabled. If the version is configured as MSTP...
Page 769 - Command: config stp priority 61440 instance_id 0; config stp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 765 Parameters <value 0-61440> - Specify the bridge priority value, which must be divisible by 4096. The default value is 32768. instance_id - Specify the identifier value, which is used to distinguish differe...
Page 770 - Command: config stp maxage 25; config stp ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 766 enable - Specify to enable FBPDU. disable - Specify to disable FBPDU. nni_bpdu_addr - Specify to determine the BPDU protocol address for STP in service provide site. It can use 802.1d STP address, 802.1ad servic...
Page 771 - Command: config stp ports 1 externalCost auto; config stp mst_ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 767 auto - The bridge will delay for a period to become edge port if no bridge BPDU is received. p2p - Decide if this port is in Full-Duplex or Half-Duplex mode. true - Specify full-duplex mode. false - Specify half...
Page 772 - To configure STP MST ports:; Command: config stp mst_ports 1 instance_id 0 internalCost auto
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 768 <value 1-200000000> - Specify a value between 1 and 200000000. priority - Specify the Port Priority. <value 0-240> - Specify a value between 0 and 240. Restrictions Only Administrator, Operator and P...
Page 773 - SSH Commands; config ssh algorithm
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 769 Chapter 80 SSH Commands config ssh algorithm [3DES | AES128 | AES192 | AES256 | arcfour | blowfish | cast128 | twofish128 | twofish192 | twofish256 | MD5 | SHA1 | RSA | DSA] [enable | disable] show ssh algorithm...
Page 774 - This command is used to display the SSH authentication algorithm.; show ssh algorithm; To show the SSH server algorithms:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 770 Command: config ssh algorithm DSA enable Success. DGS-3420-28SC:admin# 80-2 show ssh algorithm Description This command is used to display the SSH authentication algorithm. Format show ssh algorithm Parameters N...
Page 775 - DSA : Enabled; config ssh authmode; Command: config ssh authmode publickey enable; show ssh authmode
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 771 DSA : Enabled DGS-3420-28SC:admin# 80-3 config ssh authmode Description This command is used to update the user authentication for SSH configuration. Format config ssh authmode [password | publickey | hostbased]...
Page 776 - config ssh user; authmode
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 772 Restrictions None. Example To display the SSH user authentication method: DGS-3420-28SC:admin#show ssh authmode Command: show ssh authmode The SSH Authentication Method: Password : Enabled Public Key : Enabled H...
Page 777 - Command: config ssh user danilo authmode publickey; This command is used to display SSH user information.; show ssh user authmode; Command: show ssh user authmode; config ssh server; This command is used to configure SSH server general information.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 773 DGS-3420-28SC:admin#config ssh user danilo authmode publickey Command: config ssh user danilo authmode publickey Success. DGS-3420-28SC:admin# 80-6 show ssh user authmode Description This command is used to disp...
Page 778 - Command: config ssh server maxsession 3; enable ssh
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 774 Format config ssh server {maxsession <int 1-8> | contimeout <sec 120-600> | authfail <int 2-20> | rekey [10min | 30min | 60min | never] | port <tcp_port_number 1-65535>}(1) Parameters max...
Page 779 - This command is used to disable SSH server services.; disable ssh; Command: disable ssh; show ssh server; show ssh server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 775 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable SSH: DGS-3420-28SC:admin#enable ssh Command: enable ssh Success. DGS-3420-28SC:admin# 80-9 disable s...
Page 781 - SSL Commands; download ssl certificate; To download a certificate from a TFTP server:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 777 Chapter 81 SSL Commands download ssl certificate <ipaddr> certfilename <path_filename 64> keyfilename <path_filename 64> enable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SH...
Page 782 - enable ssl; ciphersuite; Note: Web will be disabled if SSL is enabled.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 778 pkey.der Success. DGS-3420-28SC:admin# 81-2 enable ssl Description This command is used to enable the SSL status and its individual cipher suites. Using the enable ssl command will enable the SSL feature, which ...
Page 783 - disable ssl; Command: disable ssl
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 779 DGS-3420-28SC:admin# 81-3 disable ssl Description This command is used to disable the SSL feature and supported ciphersuites. Format disable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | D...
Page 784 - show ssl; certificate; SSL Status Disabled; To display the SSL certificate:; Command: show ssl certificate; show ssl cachetimeout; library; dlktimer; library to remove this
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 780 81-4 show ssl Description This command is used to display the current SSL status and supported ciphersuites. Format show ssl {certificate} Parameters certificate - (Optional) Specify the certificate type. Restri...
Page 785 - To show the SSL cache timeout:; Commands: show ssl cachetimeout; config ssl cachetimeout; library to; cachetimeout; To configure an SSL cache timeout value of 60:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 781 Format show ssl cachetimeout Parameters None. Restrictions None. Example To show the SSL cache timeout: DGS-3420-28SC:admin# show ssl cachetimeout Commands: show ssl cachetimeout Cache timeout is 600 second(s) D...
Page 786 - Commands: config ssl cachetimeout 60
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 782 Commands: config ssl cachetimeout 60 Success. DGS-3420-28SC:admin#
Page 787 - Stacking Commands; config stacking log state; config stacking_mode; - Specifies that the Switch's stacking capability will be enabled.; - Specifies that the Switch's stacking capability will be disabled.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 783 Chapter 82 Stacking Commands config stacking_mode [disable | enable] config stacking force_master_role state [enable | disable] show stacking_mode show stack_information show stack_device config box_id current_b...
Page 788 - To enable stacking force master role state:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 784 stacking is stable, master’s priority will become zero. If stacking topology change again, Master will use priority zero and MAC address to determine who new primary master is. Format config stacking force_maste...
Page 789 - Stacking mode : Enabled; This command displays stacking information.; show stack_information; To display the stack information:; Stack topology status:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 785 DGS-3420-28SC:admin# show stacking_mode Command: show stacking_mode Stacking mode : Enabled DGS-3420-28SC:admin# 82-4 show stack_information Description This command displays stacking information. Format show st...
Page 790 - Box ID Box Type H/W Version Serial Number
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 786 7 - NOT_EXIST No 8 - NOT_EXIST No DGS-3420-28SC:admin# 82-5 show stack_device Description This command displays stack device information. Format show stack_device Parameters None. Restrictions None. Example To d...
Page 791 - - Specifies the new ID assigned to the box.; auto; box ID will take effect after the next boot.; To configure box priority:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 787 Parameters <value 1-12> - Enter the current box ID value used here. This value must be between 1 and 12. new_box_id - Specifies the new ID assigned to the box. auto - Specifies that the box ID to be assign...
Page 792 - Command: config stacking log state enable; config stacking trap state
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 788 82-8 config stacking log state Description This command is used to configure the log state for stacking. Format config stacking log state [enable | disable] Parameters enable - Specifies that the Switch’s stacki...
Page 793 - To enable the stacking trap state:; Command: config stacking trap state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 789 Example To enable the stacking trap state: DGS-3420-28SC:admin# config stacking trap state enable Command: config stacking trap state enable Success. DGS-3420-28SC:admin#
Page 794 - VLAN Commands; This command is used to create static MAC-based VLAN entries.; the priority is the default value 0.; To create a static MAC-based VLAN entry:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 790 Chapter 83 Static MAC-based VLAN Commands create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1- 4094>] {priority <value 0-7>} delete mac_based_vlan {mac_add...
Page 796 - MAC Address VLAN ID Status Type
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 792 vlan - (Optional) Specify the VLAN associated with the MAC address. <vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters. vlanid - (Optional) Specify the VLAN ID associated with the ...
Page 797 - up to 16 characters long.; To create an IP multicast VLAN replication entry named mr1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 793 Chapter 84 Static Replication Commands create ipmc_vlan_replication_entry <name 16> config ipmc_vlan_replication {[ttl [decrease | no_decrease] | src_mac [replace | no_replace]]}(1) config ipmc_vlan_replic...
Page 798 - - Specifies to decrease the time to live value of the packet.; - Specifies to replace the source MAC address of a packet.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 794 84-2 config ipmc_vlan_replication Description This command is used to configure the IP multicast VLAN replication global settings. Generally, when a multicast packet is forwarded across VLANs, the TTL will be de...
Page 800 - - Specify the multicast IP address list.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 796 add - Specify to add a group. delete - Specify to delete a group. mcast_ip - Specify the multicast IP address list. <mcast_address_list> - Enter the multicast IP address list here. source_ip - (Optional) S...
Page 801 - To enable static configuration of IP multicast VLAN replication:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 797 84-6 enable ipmc_vlan_replication Description This command is used to enable static configuration of IP multicast VLAN replication. Format enable ipmc_vlan_replication Parameters None. Restrictions Only Administ...
Page 803 - hardware; Name Src_v Group SIP Dest_v Portlist
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 799 displayed. hardware - (Optional) Specify to display the (S,G) groups which are in the chipset. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To display the ...
Page 804 - - Specify an IPv4 network address. The format is ipaddress/prefix
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 800 Chapter 85 Subnet VLAN Commands create subnet_vlan [network <network_address> | ipv6network <ipv6networkaddr>] [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] {priority <value 0-7>} ...
Page 805 - network
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 801 Example To create a subnet VLAN entry: DGS-3420-28SC:admin#create subnet_vlan network 172.168.1.1/24 vlan v2 priority 2 Command: create subnet_vlan network 172.168.1.1/24 vlan v2 priority 2 Success . DGS-3420-28...
Page 806 - To delete all subnet VLAN entries:; This command is used to display a subnet VLAN.; ipv6network; - Specify a VLAN name. The maximum length is 32 characters.; To display a specified subnet VLAN entry:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 802 DGS-3420-28SC:admin#delete subnet_vlan network 172.168.1.1/24 Command: delete subnet_vlan network 172.168.1.1/24 Success. DGS-3420-28SC:admin# To delete all subnet VLAN entries: DGS-3420-28SC:admin#delete subnet...
Page 807 - To display a specied IPv6 subnet VLAN entry:; IP Address/Subnet Mask VLAN Priority; To display all subnet VLAN entries:; IP Address/Subnet Mask VLAN Priority; config vlan_precedence ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 803 IP Address/Subnet Mask VLAN Priority ------------------------ ----- ---------- 172.168.1.1/255.255.255.0 10 2 DGS-3420-28SC:admin# To display a specied IPv6 subnet VLAN entry: DGS-3420-28SC:admin# show subnet_vl...
Page 808 - show vlan_precedence ports; To display VLAN classification precedence on ports 1-5:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 804 Parameters <portlist> - Enter a list of ports used for this configuration here. mac_based_vlan - Specifies that the MAC-based VLAN classification is precedence than subnet VLAN classification subnet_vlan -...
Page 810 - config ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 806 Chapter 86 Switch Port Commands config ports [<portlist> | all] {medium_type [fiber | copper]} {speed [auto {capability_advertised {10_half | 10_full | 100_half | 100_full | 1000_full}} | 10_half | 10_full...
Page 811 - show ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 807 offline - Specifies that a local device may indicate Offline prior to powering off, running transmitter tests, or removing the local device from the active configuration. If it is set and detected offline, it wi...
Page 812 - description; If no parameter is specified, all ports will be displayed.; To display the configuration of ports 1 to 4:; To display the description information of ports 1 to 4:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 808 Format show ports {<portlist>} {[description | err_disabled | auto_negotiation | details | media_type]} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. description - (Opt...
Page 813 - To display port error-disabled information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 809 Auto Description: 1:2 Enabled Auto/Disabled Link Down Enabled Auto Description: 1:3 Enabled Auto/Disabled Link Down Enabled Auto Description: 1:4 Enabled Auto/Disabled Link Down Enabled Auto Description: CTRL+C ...
Page 814 - config system_severity; Command: config system_severity trap information
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 810 Chapter 87 System Severity Commands config system_severity [trap | log | all] [emergency | alert | critical | error | warning | notice | information | debug | <level 0-7>] show system_severity 87-1 config ...
Page 815 - show system_severity; To show the severity level control for a system:; System Severity Trap : warning
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 811 87-2 show system_severity Description This command is used to show the severity level control for a system. Format show system_severity Parameters None. Restrictions None. Example To show the severity level cont...
Page 816 - To display technical support information:; # Technical Support Information
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 812 Chapter 88 Tech Support Commands show tech_support upload tech_support_toTFTP <ipaddr> <path_filename 64> 88-1 show tech_support Description This command is used to display technical support informat...
Page 817 - - Specify the IPv4 address of the TFTP server.; To upload technical support information:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 813 #----------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2000-2-29 22:41:48] Boot Time : 29 Feb 2000 17:54:29 RTC Tim...
Page 819 - config sntp; This command is used to change SNTP configurations.; - Specify the SNTP primary server IP address.; secondary; - Specify the SNTP secondary server IP address.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 815 Chapter 89 Time and SNTP Commands config sntp {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} (1) show sntp enable sntp disable sntp config time <date ddmthyyyy> &l...
Page 820 - show sntp; Current Time Scource : System Clock; enable sntp; enable sntp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 816 Success. DGS-3420-28SC:admin# 89-2 show sntp Description This command is used to display the current SNTP time source and configuration. Format show sntp Parameters None. Restrictions None. Example To show SNTP:...
Page 821 - Command: enable sntp; This command is used to turn off SNTP support.; disable sntp; Command: disable sntp; config time; This command is used to change the time settings.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 817 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable SNTP: DGS-3420-28SC:admin#enable sntp Command: enable sntp Success. DGS-3420-28SC:admin# 89-4 disabl...
Page 822 - This command is used to change time zone settings.; operator; - Specify the operator of the time zone.; hour; - Specify the hour of the time zone between 0 and 13.; min; - Specify the minute of the time zone between 0 and 59.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 818 Parameters <date ddmthyyyy> - Specify the system clock date. <time hh:mm:ss> - Specify the system clock time. Restrictions Only Administrator, Operator and Power-User level users can issue this comma...
Page 823 - config dst
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 819 DGS-3420-28SC:admin# 89-7 config dst Description This command is used to change Daylight Saving Time settings. Format config dst [disable | repeating {s_week <start_week 1-4,last> | s_day <start_day sun...
Page 824 - offset; show time
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 820 <end_mth 1-12> - Configure the end month number of DST. The values are 1 to 12. e_time - Configure the end time of DST. <end_time hh:mm> - Configure the end time in hh:mm of DST. offset - Specify the...
Page 826 - config traffic_segmentation; show traffic_segmentation
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 822 Chapter 90 Traffic Segmentation Commands config traffic_segmentation [<portlist> | all] forward_list [null | all | <portlist>] show traffic_segmentation {<portlist>} 90-1 config traffic_segment...
Page 827 - To display the traffic segmentation table for ports 1 to 3:; Traffic Segmentation Table
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 823 Format show traffic_segmentation {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display all current traf...
Page 828 - config udp_helper delete ipif; To enable the UDP Helper function:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 824 Chapter 91 UDP Helper Commands enable udp_helper disable udp_helper config udp_helper add ipif <ipif_name 12> <ipaddr> config udp_helper delete ipif <ipif_name 12> <ipaddr> config udp_hel...
Page 829 - To disable the UDP Helper function:; config udp_helper add ipif
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 825 Format disable udp_helper Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the UDP Helper function: DGS-3420-28SC:admin# disable ud...
Page 832 - To delete a UDP port:; UDP Helper Status : Enabled; To display the current UDP Helper all configured ports:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 828 Example To delete a UDP port: DGS-3420-28SC:admin# config udp_helper udp_port delete 55 Command: config udp_helper udp_port delete 55 Success. DGS-3420-28SC:admin# 91-7 show udp_helper Description This command i...
Page 833 - To display the current UDP Helper for System interface:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 829 DGS-3420-28SC:admin#show udp_helper udp_port Command: show udp_helper udp_port UDP Helper Status : Enabled Application UDP Port ------------ --------------- User App1 55 DGS-3420-28SC:admin# To display the curre...
Page 834 - Utility Commands
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 830 Chapter 92 Utility Commands download [firmware_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] src_file <path_filename 64> {[unit <unit_id> | all]} {dest_file <pathname>}...
Page 835 - download
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 831 92-1 download Description This command is used to download a new firmware or a switch configuration file. Format download [firmware_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] src_file...
Page 836 - download cfg_fromRCP
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 832 Example To download runtime firmware from a TFTP server: DGS-3420-28SC:admin#download firmware_fromTFTP 10.0.0.66 src_file dgs-3420.had dest_file runtime.had Command: download firmware_fromTFTP 10.0.0.66 src_fil...
Page 837 - download firmware_fromRCP
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 833 Example To download a configuration file from an RCP server: DGS-3420-28SC:admin#download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-3420.cfg Command: download cfg_fromRCP username rcp_user ...
Page 838 - upload
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 834 DGS-3420-28SC:admin#download firmware_fromRCP username rcp_user 10.90.90.90 src_file /home/DGS-3420.had Command: download firmware_fromRCP username rcp_user 10.90.90.90 src_file /home/DGS-3420.had Connecting to ...
Page 842 - upload firmware_toRCP
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 838 rcp: - Specify the path on the RCP server or local RCP client. Note: If a user specifies the relative file path, the path search strategy will depend on the server system. For some systems, the current user work...
Page 844 - config firmware image
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 840 current user working directory will be searched first, followed by the environment paths. <path_filename 64> - Specify the path name of the RCP server. rcp: - Specify the path name on the RCP server. <s...
Page 845 - config configuration; Command: config configuration 1 boot_up
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 841 <pathname> - Specify a firmware on the device file system. boot_up - Specify as a boot-up file. Restrictions Only Administrator-level users can issue this command. Example To configure a firmware file to b...
Page 846 - show config; # Configuration
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 842 92-11 show config Description This command is used to display configuration information. The output stream of the configuration data can be filtered by the expression specified at the end of the command. The exp...
Page 848 - config rcp server; Specify the IP address of the RCP server.; Specify the remote user name on the RCP server.; Command: config rcp server username travel; config rcp server clear; ipaddr; Clear the IP address of the RCP server.; Clear both the IP address and the username of the RCP server.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 844 92-13 config rcp server Description This command is used to configure Remote Copy Protocol (RCP) global server information. This global RCP server setting can be used when the server or remote user name is not s...
Page 849 - Command: config rcp server clear username; show rcp server; Command: show rcp server; ping
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 845 Restrictions Only Administrator-level users can issue this command. Example To clear the current username of the RCP global server: DGS-3420-28SC:admin#config rcp server clear username Command: config rcp server...
Page 850 - times; A value of 1 to 99 seconds can be specified. The default is 1 second.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 846 Format ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> | source_ip <ipaddr>} Parameters <ipaddr> - Specify the IP address of the host. <domain...
Page 851 - device. A value of 1 to 99 can be specified. The default is 1 second.; traceroute
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 847 Parameters <ipv6addr> - Specify the IPv6 address of the host. times - (Optional) Specify the number of individual ICMP echo messages to be sent. <value 1-255> - Specify the number of individual ICMP ...
Page 852 - - Specify the IP address of the destination end station.; ttl; - Specify the port number. The value range is from 30000 to 64900.; Specify the number of probes.; traceroute6
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 848 Parameters <ipaddr> - Specify the IP address of the destination end station. <domain_name 255> - Specify the domain name of the destination end station. ttl - (Optional) Specify the time to live valu...
Page 853 - - Specify the IPv6 address of the destination end station.; telnet; This command is used to login a Telnet server.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 849 Parameters <ipv6addr> - Specify the IPv6 address of the destination end station. ttl - (Optional) Specify the time to live value of the trace route request. <value 1-60> - Specify the time to live va...
Page 856 - To show broadcast ping reply state:; Broadcast Ping Reply State: Enabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 852 Parameters None. Restrictions None. Example To show broadcast ping reply state: DGS-3420-28SC:admin# show broadcast_ping_reply Command: show broadcast_ping_reply Broadcast Ping Reply State: Enabled DGS-3420-28SC...
Page 857 - config voice_vlan oui; The name must be an existing static VLAN name.; To enable voice VLAN named v2:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 853 Chapter 93 Voice VLAN Commands enable voice_vlan [<vlan_name 32> | vlanid <vlanid 1-4094>] disable voice_vlan config voice_vlan priority <int 0-7> config voice_vlan oui [add | delete] <macad...
Page 858 - To disable voice VLAN:; config voice_vlan priority
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 854 DGS-3420-28SC:admin#enable voice_vlan v2 Command: enable voice_vlan v2 Success . DGS-3420-28SC:admin# 93-2 disable voice_vlan Description This command is used to disable the voice VLAN function on a switch. When...
Page 860 - To add a user-defined OUI of a voice device:; config voice_vlan ports; - Specify to enable the voice VLAN function state on ports.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 856 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a user-defined OUI of a voice device: DGS-3420-28SC:admin#config voice_vlan oui add 00-0A-0B-00-00-00 F...
Page 861 - To set voice VLAN ports 4 to 6 to auto mode:; config voice_vlan log state; This command is used to configure the voice VLAN log state.; - Specify to enable the voice VLAN log state.; - Specify to disable the voice VLAN log state.; Command: config voice_vlan log state enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 857 DGS-3420-28SC:admin#config voice_vlan ports 4-6 state enable Command: config voice_vlan ports 4-6 state enable Success. DGS-3420-28SC:admin# To set voice VLAN ports 4 to 6 to auto mode: DGS-3420-28SC:admin#confi...
Page 863 - To display the voice devices that were discovered by LLDP-MED:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 859 DGS-3420-28SC:admin#show voice_vlan Command: show voice_vlan Voice VLAN State : Disabled Voice VLAN : Unassigned Priority : 5 Aging Time : 720 minutes Log State : Enabled DGS-3420-28SC:admin# 93-9 show voice_vla...
Page 864 - Remain Time : 120 Seconds; This command is used to display the OUI information for voice VLAN.; OUI Address Mask Description; show voice_vlan ports; This command is used to display port voice VLAN information.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 860 Remain Time : 120 Seconds Total Entries: 2 DGS-3420-28SC:admin# 93-10 show voice_vlan oui Description This command is used to display the OUI information for voice VLAN. Format show voice_vlan oui Parameters Non...
Page 865 - To display voice VLAN ports 1 to 3:; Ports Status Mode
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 861 Format show voice_vlan ports {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to display. Note: If no parameter is specified, all voice VLAN port information will be displayed...
Page 866 - To display voice VLAN device ports 1 to 2:; Ports Voice Device Start Time Last Active Time
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 862 Example To display voice VLAN device ports 1 to 2: DGS-3420-28SC:admin#show voice_vlan voice_device ports 1-2 Command: show voice_vlan voice_device ports 1-2 Ports Voice Device Start Time Last Active Time ----- ...
Page 867 - create vlan; - Specify the name of the VLAN to be created. The maximum length is 32
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 863 Chapter 94 VLAN Commands create vlan <vlan_name 32> tag <vlanid 2-4094> {type [1q_vlan | private_vlan]} {advertisement} create vlan vlanid <vidlist> {type [1q_vlan | private_vlan]} {advertiseme...
Page 868 - To create a VLAN with the name “v2” and VLAN ID 2:; Command: create vlan v2 tag 2 type 1q_vlan advertisement; To create a private VLAN with the name “v3” and VLAN ID 3:; Command: create vlan v3 tag 3 type private_vlan; create vlan vlanid; - Specify the VLAN ID of the VLAN to be created.; sources, notifying that they may join the existing VLAN.; Command: create vlan vlanid 2 type 1q_vlan advertisement
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 864 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a VLAN with the name “v2” and VLAN ID 2: DGS-3420-28SC:admin#create vlan v2 tag 2 type 1q_vlan adver...
Page 869 - To create a private VLAN with VLAN ID 3:; Command: create vlan vlanid 3 type private_vlan; delete vlan; Command: delete vlan v1; delete vlan vlanid
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 865 Success. DGS-3420-28SC:admin# To create a private VLAN with VLAN ID 3: DGS-3420-28SC:admin#create vlan vlanid 3 type private_vlan Command: create vlan vlanid 3 type private_vlan Success. DGS-3420-28SC:admin# 94-...
Page 870 - Command: delete vlan vlanid 2; config vlan
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 866 Format delete vlan vlanid <vidlist> Parameters <vidlist> - Specify a range of VLAN ID to be deleted. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Examp...
Page 871 - Command: config vlan default advertisement enable; config vlan vlanid
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 867 Example To add 4 through 8 as tagged ports to the VLAN v1: DGS-3420-28SC:admin#config vlan v1 add tagged 4-8 Command: config vlan v1 add tagged 4-8 Success. DGS-3420-28SC:admin# To delete ports 4 through 8 from ...
Page 872 - To add 4 through 8 as tagged ports to the VLAN 1:; Command: config vlan vlanid 1 add tagged 4-8; To delete ports 4 through 8 from VLAN 1:; Command: config vlan vlanid 1 delete 4-8; To enable the VLAN default advertisement:; Command: config vlan vlanid default advertisement enable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 868 enable - Specify to enable GVRP. disable - Specify to disable GVRP. name - Specify the VLAN name. <vlan_name 32> - The maximum length is 32 characters. Restrictions Only Administrator, Operator and Power-U...
Page 874 - To display 802.1q port settings for ports 1 to 3:; Port PVID GVRP Ingress Checking Acceptable Frame Type; config gvrp; This command is used to set the GVRP timer’s value.; timer; – Specify GVRP timer.; join; To set the Join time to 200 milliseconds:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 870 Restrictions None. Example To display 802.1q port settings for ports 1 to 3: DGS-3420-28SC:admin#show port_vlan 1-3 Command: show port_vlan 1-3 Port PVID GVRP Ingress Checking Acceptable Frame Type ------- ---- ...
Page 875 - Command: config gvrp timer join 200; enable gvrp; Command: enable gvrp; disable gvrp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 871 DGS-3420-28SC:admin#config gvrp timer join 200 Command: config gvrp timer join 200 Success. DGS-3420-28SC:admin# 94-10 enable gvrp Description This command is used to enable the Generic VLAN Registration Protoco...
Page 876 - Command: disable gvrp; show vlan; length is 32 characters.; VLAN Trunk State : Disabled
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 872 Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable Generic VLAN Registration Protocol (GVRP): DGS-3420-28SC:admin#disable gvrp Command: disable gvrp S...
Page 877 - show vlan vlanid; - Specify the VLAN ID number to be displayed.; To display VLAN settings for VLAN ID 1:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 873 VLAN Type : Static Advertisement : Enabled Member Ports : 1-28 Static Ports : 1-28 Current Tagged Ports : Current Untagged Ports: 1-28 Static Tagged Ports : Static Untagged Ports : 1-28 Forbidden Ports : Total S...
Page 878 - Forbidden Ports :; show vlan ports; beginning and end of the port list range are separated by a dash.; Port VID Untagged Tagged Dynamic Forbidden; This command is used to display the GVRP status for the switch.; show gvrp
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 874 Forbidden Ports : Total Entries : 1 DGS-3420-28SC:admin# 94-14 show vlan ports Description This command is used to display summary information about Tagged, Untagged, and Forbidden status for each port. Format s...
Page 879 - To display the GVRP status of the switch:; Global GVRP : Disabled; create vlan type private_vlan; . A secondary VLAN is created; create vlan type 1q_vlan; . A secondary VLAN cannot be associated with
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 875 Parameters None. Restrictions None. Example To display the GVRP status of the switch: DGS-3420-28SC:admin#show gvrp Command: show gvrp Global GVRP : Disabled Join Time : 200 Milliseconds Leave Time : 600 Millise...
Page 881 - enable pvid auto_assign
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 877 DGS-3420-28SC:admin#show private_vlan Command: show private_vlan Private VLAN 100 ------------------ Promiscuous Ports: 1 Trunk Ports : 2 Isolated Ports : 3-5 Isolated VLAN : 20 Community Ports : 6-8 Community V...
Page 882 - disable pvid auto_assign; show pvid auto_assign; show pvid auto_assign
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 878 Success. DGS-3420-28SC:admin# 94-19 disable pvid auto_assign Description The command is used to disable the auto-assignment of PVID. If auto-assign PVID is disabled, PVID can only be changed by PVID configuratio...
Page 883 - To display the PVID auto-assignment state:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 879 Restrictions None. Example To display the PVID auto-assignment state: DGS-3420-28SC:admin#show pvid auto_assign PVID Auto-assignment: Enabled. DGS-3420-28SC:admin#
Page 884 - To enable VLAN trunking:; This command is used to disable VLAN trunking.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 880 Chapter 95 VLAN Trunking Commands enable vlan_trunk disable vlan_trunk config vlan_trunk ports [<portlist> | all] state [enable | disable] show vlan_trunk 95-1 enable vlan_trunk Description This command is...
Page 885 - To disable VLAN trunking:; config vlan_trunk ports; - Specify the list of ports to be configured.; - Specify all ports will be configured.; - Specify the ports as VLAN trunking ports.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 881 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable VLAN trunking: DGS-3420-28SC:admin#disable vlan_trunk Command: disable vlan_trunk ...
Page 886 - To configure ports 1 to 5 as VLAN trunking ports:; Command: config vlan_trunk ports 7 state disable
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 882 Example To configure ports 1 to 5 as VLAN trunking ports: DGS-3420-28SC:admin#config vlan_trunk ports 1-5 state enable Command: config vlan_trunk ports 1-5 state enable Success. DGS-3420-28SC:admin# To configure...
Page 887 - This command is used to display VLAN trunking information.; To display the current VLAN trunking information:; VLAN Trunk Global Setting
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 883 DGS-3420-28SC:admin# config vlan_trunk ports 6-7 state disable Command: config vlan_trunk ports 6-7 state disable Success. DGS-3420-28SC:admin# 95-4 show vlan_trunk Description This command is used to display VL...
Page 888 - enable wac; This command is used to enable the WAC function.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 884 Chapter 96 Web-based Access Control (WAC) Commands enable wac disable wac config wac authorization attributes {radius [enable | disable] | local [enable | disable]}(1) config wac ports [<portlist> | all] {...
Page 889 - To enable the W AC function:; This command is used to disable the W AC function.; disable wac; To disable the W AC function:; Command: disable wac; config wac authorization attributes
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 885 Example To enable the W AC function: DGS-3420-28SC:admin#enable wac Command: enable wac Success. DGS-3420-28SC:admin# 96-2 disable wac Description This command is used to disable the W AC function. Format disabl...
Page 890 - Command: config wac authorization attributes local disable; config wac ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 886 Parameters radius - If specified to enable, the authorized data assigned by the RADUIS server will be accepted if the global authorization network is enabled. The default state is enabled. enable - Specify to en...
Page 891 - Command: config wac ports 1-8 state enable; config wac method
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 887 before it can be re-authenticated.The default value is 60 seconds. <sec 0-300> - Specify a block time between 0 and 300 seconds. Restrictions Only Administrator, Operator and Power-User level users can iss...
Page 892 - Command: config wac method radius; config wac default_redirpath; By default, the redirected path is cleared.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 888 DGS-3420-28SC:admin#config wac method radius Command: config wac method radius Success. DGS-3420-28SC:admin# 96-6 config wac default_redirpath Description This command is used to configure the W AC default redir...
Page 893 - To clear the WAC default redirect path:; config wac virtual_ip; - Specifies the IPv4 address of the virtual IP.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 889 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the WAC default redirect path: DGS-3420-28SC:admin#config wac clear_default_redirpat...
Page 894 - To configure a TCP port which the W AC switch listens to:; create wac user; - Specify the authentication VLAN name. The VLAN name can be up to 32
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 890 96-9 config wac switch_http_port Description This command is used to configure the TCP port which the W AC switch listens to. The TCP port for HTTP or HTTPs is used to identify the HTTP or HTTPs packets that wil...
Page 895 - Command: create wac user abc vlanid 123; delete wac; Command: delete wac user duhon
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 891 characters long. vlanid - (Optional) Specify the authentication VLAN ID number. <vlanid 1-4094> - Specify the authentication VLAN ID number. The VLAN ID must be between 1 and 4094. Restrictions Only Admini...
Page 896 - config wac user; Command: config wac user abc vlanid 100; show wac
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 892 96-12 config wac user Description This command is used to change the VLAN associated with a user. Format config wac user <username 15> [vlan <vlan_name 32> | vlanid <vlanid 1-4094> | clear_vlan...
Page 897 - show wac ports; This command is used to display W AC port information.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 893 Restrictions None. Example To show WAC: DGS-3420-28SC:admin# show wac Command: show wac Web-based Access Control ----------------------------- State : Enabled Method : RADIUS Redirect Path : http://www.dlink.com...
Page 898 - This command is used to display W AC user accounts.; show wac user; To show Web authentication user accounts:; show wac auth_state ports
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 894 DGS-3420-28SC:admin# show wac ports 1-3 Command: show wac ports 1-3 Port State Aging Time Idle Time Block Time (min) (min) (sec) ------- -------- ------------ ---------- ----------- 1 Disabled 1440 Infinite 60 2...
Page 899 - To display the WAC authentication status of ports:; Port MAC Address Original State VID Pri Aging Time/ Idle; clear wac auth_state; - Specify the list of ports whose WAC state will be cleared.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 895 Format show wac auth_state ports {<portlist>} Parameters <portlist> - (Optional) Specify the list of ports whose WAC authentication state will be displayed. Restrictions None. Example To display the ...
Page 900 - To clear the WAC authentication state of ports 1 to 5:; config wac authentication_page element; This command is used to customize the authenticate page elements.; - Specifies to reset the page elements to default.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 896 <macaddr> - Enter the MAC address here. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the WAC authentication state of ports 1 to 5: DGS-3420-...
Page 901 - To customize the authenticate page elements:; show wac authenticate_page
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 897 Example To customize the authenticate page elements: DGS-3420-28SC:admin# config wac authentication_page element notification_line 1 Copyright @ 2011 D-Link All Rights Reserved Command: config wac authentication...
Page 902 - How Address Resolution Protocol works; Figure 1 - ARP Request
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 898 Appendix A Mitigating ARP Spoofing Attacks Using Packet Content ACL How Address Resolution Protocol works Address Resolution Protocol (ARP) is the standard method for finding a host’s hardware address (MAC addre...
Page 905 - How ARP Spoofing Attacks a Network; Figure 10 – ARP Spoofing
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 901 How ARP Spoofing Attacks a Network ARP spoofing, also known as ARP poisoning, is a method to attack an Ethernet network which may allow an attacker to sniff data frames on a LAN, modify the traffic, or stop the ...
Page 906 - Figure 12 – Network Vulnerable; Prevent ARP Spoofing using Packet Content ACL
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 902 A common DoS attack today can be done by associating a nonexistent or any specified MAC address to the IP address of the network’s default gateway. The malicious attacker only needs to broadcast one Gratuitous A...
Page 907 - Figure 13 – Network with Packet Content ACL; Configuration; The configuration logic is as follows:
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 903 Figure 13 – Network with Packet Content ACL For the reason that basic ACL can only filter ARP packets based on packet type, VLAN ID, Source, and Destination MAC information, there is a need for further inspectio...
Page 908 - Table 1 - Chunk and Packet Offset; Figure 14 - A Completed ARP Packet Contained in an Ethernet Frame; Command; Configure access profile 1
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 904 Offset Chunk Offset Chunk16 Offset Chunk17 Offset Chunk18 Offset Chunk19 Offset Chunk20 Offset Chunk21 Offset Chunk22 Offset Chunk23 Offset Chunk24 Offset Chunk25 Offset Chunk26 Offset Chunk27 Offset Chunk28 Off...
Page 912 - Category
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 908 Appendix C System Log Entries The following table lists all possible entries and their corresponding meanings that will appear in the System Log of this Switch. Category Log Description Severity Note MAC-based A...
Page 931 - This table lists the trap logs found on the Switch.
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 927 Appendix D Trap Entries This table lists the trap logs found on the Switch. Category Trap Name Description OID MAC-based Access Control SwMacBasedAccessControlLogge dSuccess The trap is sent when a MAC-based Acc...
Page 935 - Ingress/Egress bandwidth by RADIUS Server
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 931 Appendix E RADIUS Attributes Assignment The RADIUS Attributes Assignment on the Switch is used in the following modules: 802.1X (Port-based and Host-based), Japanese W eb-based Access Control, Web-based Access C...