DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 1 Using the Command Line Interface The DGS-3620 Layer 3 stackable Gigabit Ethernet switch series are members of the D-Link xStack® family. Ranging from 10/100/1000Mbps edge switches to core gigabit switches, the ®...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Setting the Switch’s IP Address Each Switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch’s default IP address is 10.90.90.90.
Page 8
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ipif System ipaddress 10.24.22.100/255.0.0.0 Command: config ipif System ipaddress 10.24.22.100/8 Success. DGS-3620-28SC:admin# 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.
Page 9
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config account Command: config account Next possible completions: <username 15> DGS-3620-28SC:admin# In this case, the command config account was entered with the parameter <username>. The CLI will then prompt to enter the <username> with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide square brackets [ ] Encloses a required value or list of required arguments. Only one value or argument must be specified. For example, in the syntax create account [admin | operator | power_user | user] <username 15>...
Page 13
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Left Arrow Move cursor to left. Right Arrow Move cursor to right Help user to select appropriate token. The screen display pauses when the show command output reaches the end of the page.
Page 15
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide operator - Specifies the name of the operator account. power_user - Specifies a power user level account. The power user level is lower than the operator level and higher than the user level.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable password encryption Description The user account configuration information will be stored in the configuration file, and can be applied to the system later. If the password encryption is enabled, the password will be in encrypted form when it is stored in the configuration file.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To disable password encryption: DGS-3620-28SC:admin#disable password encryption Command: disable password encryption Success. DGS-3620-28SC:admin# config account Description When the password information is not specified in the command, the system will prompt the user to input the password interactively.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To configure the user password of the “administrator” account: DGS-3620-28SC:admin#config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Command: config account administrator encrypt sha_1 *@&NWoZK3kTsExUV00Ywo1G5jlUKKv+toYg Success. DGS-3620-28SC:admin# show account Description This command is used to display user accounts that have been created.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete account <username 15> Parameters <username 15> - Enter the name of the user who will be deleted. Restrictions Only Administrator-level users can issue this command. One active admin user must exist.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 1 CTRL+C ESC q Quit SPACE n Next Page Previous Page Refresh show switch Description This command is used to display the switch information. Format show switch Parameters None.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show environment Command: show environment Internal Power : Active External Power : Fail Current Temperature(Celsius) : High Warning Temperature Threshold(Celsius) : Low Warning Temperature Threshold(Celsius) CTRL+C ESC q...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2-11 config temperature threshold Description This command is used to configure the warning temperature high threshold or low threshold. When temperature is above the high threshold or below the low threshold, SW will send alarm traps or keep the logs.
Page 24
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the console port setting: DGS-3620-28SC:admin#show serial_port Command: show serial_port Baud Rate : 115200 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 mins...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config serial_port baud_rate 9600 Success. DGS-3620-28SC:admin# 2-14 enable clipaging Description This command is used to enable pausing of the screen display when show command output reaches the end of the page. The default setting is enabled.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable pausing of the screen display when show command output reaches the end of the page:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable telnet Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable Telnet: DGS-3620-28SC:admin#disable telnet Command: disable telnet Success. DGS-3620-28SC:admin# 2-18 enable web Description This command is used to enable Web UI and configure the port number.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 2-19 disable web Description This command is used to disable Web UI. Format disable web Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
Page 29
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To save the current configuration to the bootup configuration file: DGS-3620-28SC:admin#save Command: save Saving all configurations to NV-RAM..Done.
Page 30
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters force_agree – (Optional) Specify to immediately execute the reboot command without further confirmation. Restrictions Only Administrator-level users can issue this command. Example To restart the switch: DGS-3620-28SC:admin#reboot...
Page 31
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Are you sure to proceed with system reset except IP address?(y/n) Success. DGS-3620-28SC:admin# To reset the system configuration settings: DGS-3620-28SC:admin#reset config Command: reset config Are you sure to proceed with system reset?(y/n) Success.
Page 32
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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-3620-28SC:admin#logout Command: logout...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To clear the terminal screan: DGS-3620-28SC:admin#clear Command: clear 2-26 config terminal width Description This command is used to configure the terminal width. Format config terminal width [default | <value 80-200>] Parameters default - Specifies the default terminal width value.
Page 34
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show terminal width Parameters None. Restrictions None. Example To display the configuration of the current terminal width: DGS-3620-28SC:admin#show terminal width Command: show terminal width Global terminal width...
Page 35
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show device_status Command: show device_status Unit 1: Internal Power: Active External Power: Fail Left Fan : 1, 3 Fail Right Fan : 2 Fail Back Fan : OK...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 3 802.1X Commands enable 802.1x disable 802.1x create 802.1x user <username 15> delete 802.1x user <username 15> show 802.1x user config 802.1x auth_protocol [local | radius_eap] show 802.1x {[auth_state | auth_configuration] ports {<portlist>}} config 802.1x capability ports [<portlist>...
Page 37
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the 802.1X function: DGS-3620-28SC:admin#enable 802.1x Command: enable 802.1x Success. DGS-3620-28SC:admin# disable 802.1x Description This command is used to disable the 802.1X function.
Page 38
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide create 802.1x user Description This command is used to create an 802.1X user. Format create 802.1x user <username 15> Parameters <username 15> - Enter to add a user name.
Page 39
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete the user named “Tiberius”: DGS-3620-28SC:admin#delete 802.1x user Tiberius Command: delete 802.1x user Tiberius Success. DGS-3620-28SC:admin# show 802.1x user Description This command is used to display 802.1X local user account information.
Page 40
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config 802.1x auth_protocol [local | radius_eap] Parameters local - Specifiy the authentication protocol as local. radius_eap - Specifies the authentication protocol as RADIUS EAP. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 41
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Authentication Protocol : RADIUS_EAP Forward EAPOL PDU : Disabled Max User : 448 RADIUS Authorization : Enabled DGS-3620-28SC:admin# To display the 802.1x state for ports 1 to 5: DGS-3620-28SC:admin# show 802.1x auth_state ports 1-4...
Page 42
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide config 802.1x capability ports Description This command is used to configure port capability. Format config 802.1x capability ports [<portlist> | all] [authenticator | none] Parameters <portlist> - Enter a range of ports to be configured.
Page 43
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the 802.1X PDU forwarding state on ports 1 to 2: DGS-3620-28SC:admin#config 802.1x fwd_pdu ports 1-2 enable Command: config 802.1x fwd_pdu ports 1-2 enable...
Page 45
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the parameters that control the operation of the authenticator associated with a port: DGS-3620-28SC:admin# config 802.1x auth_parameter ports 1-20 direction both Command: config 802.1x auth_parameter ports 1-20 direction both Success.
Page 46
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config 802.1x init [port_based ports [<portlist> | all] | mac_based ports [<portlist> | all] {mac_address <macaddr>}] Parameters port_based ports - Used to configure authentication in port-based mode.
Page 47
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config 802.1x max_users 2 Command: config 802.1x max_users 2 Success. DGS-3620-28SC:admin# 3-15 config 802.1x reauth Description This command is used to reauthenticate the device connected with the port. During the reauthentication period, the port status remains authorized until failed reauthentication.
Page 48
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create 802.1x guest_vlan <vlan_name 32> Parameters <vlan_name 32> - Enter the static VLAN to be a guest VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 49
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 3-18 config 802.1x guest_vlan ports Description This command is used to configure a guest VLAN setting. Format config 802.1x guest_vlan ports [<portlist> | all] state [enable | disable] Parameters <portlist>...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <int 1-20> - The re-transmit value must be between 1 and 20. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add a new RADIUS server: DGS-3620-28SC:admin#config radius add 1 10.48.74.121 key dlink default...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 3-23 show radius Description This command is used to display RADIUS server configurations. Format show radius Parameters None. Restrictions None. Example To display RADIUS server configurations: DGS-3620-28SC:admin#show radius...
Page 54
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display authenticator statistics information for port 3: DGS-3620-28SC:admin# show auth_statistics ports 3 Command: show auth_statistics ports 3 Auth VID :100 MAC Address :00-00-00-00-00-03 Port number : 3...
Page 55
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show auth_diagnostics ports 3 Command: show auth_diagnostics ports 3 Auth VID MAC Address 00-00-00-00-00-03 Port number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating...
Page 56
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show auth_session_statistics ports 3 Auth VID : 100 MAC Address : 00-00-00-00-00-03 Port number : 3 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause...
Page 58
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radiusAuthClientAccessChallenges radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAuthenticators radiusAuthClientPendingRequests radiusAuthClientTimeouts radiusAuthClientUnknownTypes radiusAuthClientPacketsDropped DGS-3620-28SC:admin# 3-28 show acct_client Description This command is used to display account client information Format show acct_client Parameters None. Restrictions None.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The Switch also supports the RADIUS protocol for authentication using the Access Authentication Control commands. RADIUS or Remote Authentication Dial In User Server also uses a remote server for authentication and can be responsible for receiving user connection requests, authenticating the user and returning all configuration information necessary for the client to deliver service through the user.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide enable authentication mothod list to authenticate the enable password for promoting the user‘s privilege to Administrator level. Format enable authen_policy Parameters None. Restrictions Only Administrator-level users can issue this command.
Page 64
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#disable authen_policy Command: disable authen_policy Success. DGS-3620-28SC:admin# show authen_policy Description This command is used to display whether system access authentication policy is enabled or disabled. Format show authen_policy Parameters None.
Page 65
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To enable the authentication policy encryption: DGS-3620-28SC:admin#enable authen_policy_encryption Command: enable authen_policy_encryption Success. DGS-3620-28SC:admin# disable authen_policy_encryption Description This command is used to disable the authentication policy encryption. When disabled, TACACS+ and RADIUS key will be in the plain text form.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create authen_login method_list_name <string 15> Parameters <string 15> - Enter the user-defined method list name. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for user login:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide name can be up to 15 characters long. method - Choose the desired authentication method: tacacs - Specifies authentication by the built-in server group TACACS. xtacacs - Specifies authentication by the built-in server group XTACACS.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# show authen_login Description This command is used to display the method list of authentication methods for user login. Format show authen_login [default | method_list_name <string 15> | all] Parameters default –...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <string 15> - Enter the user-defined method list name. Restrictions Only Administrator-level users can issue this command. Example To create a user-defined method list for promoting a user's privilege to Admin level:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <string 15> - Enter authentication by the user-defined server group. The server group value can be up to 15 characters long. local_enable - Specifies authentication by local enable password in the device.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-13 show authen_enable Description This command is used to display the method list of authentication methods for promoting a user's privilege to Administrator level. Format show authen_enable [default | method_list_name <string 15> | all]...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the login and enable method list for all applications: DGS-3620-28SC:admin#show authen application Command: show authen application Application Login Method List Enable Method List ----------- -----------------...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-17 config authen server_group Description This command is used to add or remove an authentication server host to or from the specified server group. Built-in server group tacacs, xtacacs, tacacs+, and RADIUS accept the server host with the same protocol only, but user-defined server group can accept server hosts with different protocols.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete authen server_group <string 15> Parameters <string 15> - Enter the user-defined server group name. Restrictions Only Administrator-level users can issue this command. Example To delete a user-defined authentication server group:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide radius 10.1.1.224 RADIUS tacacs 10.1.1.225 TACACS tacacs+ 10.1.1.226 TACACS+ xtacacs 10.1.1.227 XTACACS Total Entries : 5 DGS-3620-28SC:admin# 4-20 create authen server_host Description This command is used to create an authentication server host. When an authentication server host is created, the IP address and protocol are the index.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. Example To create a TACACS+ authentication server host with a listening port number of 15555 and a timeout value of 10 seconds: DGS-3620-28SC:admin#create authen server_host 10.1.1.222 protocol tacacs+ port...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide seconds. <int 1-255> - Enter the time in seconds for waiting for a server reply. The default value is 5 seconds. The timeout value must be between 1 and 255 seconds.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 4-23 show authen server_host Description This command is used to display authentication server hosts. Format show authen server_host Parameters None. Restrictions Only Administrator-level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide is no time out. The default value is 30 seconds. Restrictions Only Administrator-level users can issue this command. Example To configure 60 seconds for user to input: DGS-3620-28SC:admin#config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-26 show authen parameter Description This command is used to display the authentication parameters. Format show authen parameter Parameters None. Restrictions Only Administrator-level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To enable administrator lever privilege: DGS-3620-28SC:admin# enable admin Password:******** DGS-3620-28SC:admin# 4-28 config admin local_enable Description This command is used to configure the local enable password for the enable command. When the user chooses the local_enable method to promote the privilege level, the enable password of the local device is needed.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-29 create aaa server_group Description This command is used to create a group of user-defined AAA servers. The maximum number of supported server groups, including the built-in server groups, is 8. Each group can have a maximum of 8 server hosts.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Add a server host to the server group. delete - Remove a server host to the server group. server_host - Specifies the server host. <ipaddr> - Enter the IP address of the server host.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display AAA global configuration: DGS-3620-28SC:admin#show aaa Command: show aaa Authentication Policy: Enabled Accounting Network Service State: AAA Method Accounting Network Service Method: acc_telnet...
Page 87
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show aaa server_group Command: show aaa server_group Group Name IP Address Protocol --------------- --------------------------------------- -------- mix_1 --------------------------------------- -------- radius --------------------------------------- -------- tacacs --------------------------------------- -------- tacacs+ --------------------------------------- -------- xtacacs...
Page 88
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-36 enable aaa_server_password_encryption Description This command is used to enable AAA server password encryption. Format enable aaa_server_password_encryption Parameters None. Restrictions Only Administrator level can issue this command. Example...
Page 89
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#disable aaa_server_password_encryption Command: disable aaa_server_password_encryption Success. DGS-3620-28SC:admin# 4-38 config accounting Description This command is used to configure a user-defined or default method list of accounting methods. Format config accounting [default | method_list_name <string 15>] method {tacacs+ | radius | server_group <string 15>...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-39 config accounting service Description This command is used to configure the state of the specified RADIUS accounting service. Format config accounting service [network | shell | system] state [enable {[radius_only | method_list_name <string 15>...
Page 91
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-40 config accounting service command Description This command is used to configure the state of the specified accounting service. Format config accounting service command {administrator | operator | power_user | user} [method_list_name <string>...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To create a user-defined accounting method list called “shell_acct”: DGS-3620-28SC:admin#create accounting method_list_name shell_acct Command: create accounting method_list_name shell_acct Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show accounting [default | method_list_name <string 15> | all] Parameters default - Displays the user-defined list of default accounting methods. method_list_name - Displays the user-defined list of specific accounting methods.
Page 94
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Accounting State ------------------- Network : Disabled Shell : Disabled System : Disabled DGS-3620-28SC:admin# 4-45 create radius server_host Description This command is used to create an RADIUS server host.
Page 95
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#create radius server_host 10.1.1.222 auth_port 15555 timeout 10 Command: create radius server_host 10.1.1.222 auth_port 15555 timeout 10 Key is empty for TACACS+ or RADIUS. Success. DGS-3620-28SC:admin# 4-46 config radius server_host Description This command is used to configure the RADIUS server host.
Page 96
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 4-47 config radius source_ipif Description This command is used to specify source interface for all outgoing RADIUS packets. Format config radius source_ipif [<ipif_name 12> {<ipaddr> | <ipv6addr>} | none] Parameters <ipif_name 12>...
Page 97
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display specified source interface for all outgoing RADIUS packets. DGS-3620-28SC:admin#show radius source_ipif Command: show radius source_ipif IP Interface : if_v200 IPv4 Address : None IPv6 Address...
Page 98
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config tacacs server_host <ipaddr> {port <int 1-65535> | timeout <int 1-255> | retransmit <int 1-20>} Parameters <ipaddr> - Enter the IP address of the server host. port - (Optional) The port number of the TACACS server host.
Page 99
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide algorithm is based on DES. <key_string 344> - Etner the string with maximum 344 characters. timeout - (Optional) Specify the time in second to wait for the server to reply.
Page 100
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config tacacs+ server_host 10.1.1.211 key "abcd123" Command: config tacacs+ server_host 10.1.1.211 key "abcd123" Success. DGS-3620-28SC:admin# 4-53 create xtacacs server_host Description This command is used to Format create xtacacs server_host <ipaddr> {port <int 1-65535> | timeout <int 1-255> | retransmit <int 1-20>}...
Page 101
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Enter the IP address of the server host. port - (Optional) The port number of the XTACACS server host. <int 1-65535> - Enter the value between 1 and 65535. The default value is 49.
Page 102
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config tacacs source_ipif if_v200 Command: config tacacs source_ipif if_v200 Success. DGS-3620-28SC:admin# 4-56 show tacacs source_ipif Description This command is used to display the specified source interface for all outgoing TACACS packets.
Page 106
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide packet_content_mask - A maximum of six offsets can be specified. Each offset defines one byte of data which is identified as a single UDF field. The offset reference is also configurable. It can be defined to start at the end of the tag, the end of the Ethernet type, or the end of the IP header.
Page 109
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ip - Specifies an IP access control list rule. vlan - Specifies the VLAN name. <vlan_name 32> -Specify the VLAN name. The maximum length is 32 characters. vlanid - Specifies the VLAN ID.
Page 110
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide offset_chunk_1 - Specifies the contents of the offset trunk 1 to be monitored. <hex 0x0-0xffffffff> - Enter the contents of the offset trunk 1 to be monitored here.
Page 111
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide to all ports and packets must belong to the configured VLAN. It can be specified by VLAN name or VLAN ID. vlan - Specifies the VLAN name. <vlan_name 32> - Enter the VLAN name. The maximum length is 32 characters.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show access_profile Description This command is used to display the current access list table. Format show access_profile {[profile_id <value 1-6> | profile_name <name 1-32>]} Parameters profile_id - (Optional) Specify the index of the access list profile.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Permit URPF State Check: Enabled (Replaced)Priority Replace ToS Precedence : 7 ============================================================================== DGS-3620-28SC:admin# config time_range Description This command is used to define a specific range of time to activate a function on the Switch by specifying which time range in a day and which days in a week are covered in the time range.
Page 116
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show time_range Description This command is used to display current time range settings. Format show time_range Parameters None. Restrictions None. Example To display current time range setting: DGS-3620-28SC:admin#show time_range...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the ACL part of the current configuration: DGS-3620-28SC:admin#show current_config access_profile Command: show current_config access_profile #----------------------------------------------------------------------------- # ACL create access_profile profile_id 1 profile_name EtherACL ethernet vlan 0xFFF 802.1p ethernet_type...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters profile_id - Specifies the index of the access list profile. <value 1-5> - Enter the value between 1 and 5. all - Specifies to delete all the access list profiles.
Page 119
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ip - Specifies an IP CPU access control list rule. vlan - Specifies a VLAN mask. source_ip_mask - Specifies an IP source submask. <netmask> - Enter an IP source submask.
Page 120
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ipv6 - Specifies the IPv6 mask. class - Specifies the IPv6 class mask. flowlabel - Specifies the IPv6 flow label mask. source_ipv6_mask - Specifies the IPv6 source IP mask.
Page 121
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide port [<portlist> | all] [permit | deny] {time_range <range_name 32>} | delete access_id <value 1-100>] Parameters <value 1-5> - Enter the index of the CPU access list profile.
Page 122
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-65535> - Enter the value between 0 and 65535. protocol_id - Specifies that the rule will apply to the value of IP protocol ID traffic. <value 0-255> - Enter the value between 0 and 255.
Page 123
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure access list entry: DGS-3620-28SC:admin#config cpu access_profile profile_id 1 add access_id 1 ethernet vlan default port 1-3 deny Command: config cpu access_profile profile_id 1 add access_id 1 ethernet vlan default port 1-3 deny Success.
Page 124
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Unused Rule Entries: 99 ------------------------------------------------------------------------------ Rule ID : 1 Ports: 1 Match on VLAN ID 802.1p Ethernet Type : 0xFFFF Action: Permit ============================================================================== ============================================================================== Profile ID: 2 Type: IPv4...
Page 125
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Class : 255 Flow Label : 0xFFFFF Action: Permit ============================================================================== ============================================================================== Profile ID: 4 Type: User Defined Mask on Offset 0-15 : 0x00000000 0x00000000 0x00000000 0x00000000 Offset 16-31 : 0x00000000 0x00000000 0x00000000 0x00000000...
Page 126
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable CPU interface filtering: DGS-3620-28SC:admin#enable cpu_interface_filtering Command: enable cpu_interface_filtering Success. DGS-3620-28SC:admin# 5-13 disable cpu_interface_filtering Description This command is used to disable CPU interface filtering.
Page 127
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide depending on the user configuration. For single rate three color mode, users need to specify the committed rate, in Kbps, the committed burst size, and the excess burst size. For the two rate three color mode, users need to specify the committed rate in Kbps, the committed burst size, the peak rate and the peak burst size.
Page 128
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide pbs - (Optional) Specify the Peak Burst Size. The unit is Kbyte. <value 0-131072> - Enter the value between 0 and 131072. color_blind - Specifies the meter mode as color-blind. The default is color-blind mode.
Page 129
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Disable the packet counter for the specified ACL entry in the green flow. exceed - This field denotes the yellow packet flow. Yellow packet flows may have excess packets permitted through or dropped.
Page 130
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 5-15 show flow_meter Description This command is used to display the flow meter table. Format show flow_meter {[profile_id <value 1-6> | profile_name <name 1-32>] {access_id <value 1- 256>}} Parameters profile_id - (Optional) Specify the profile ID.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete port_group [id <value 1-64> | name <name 16>] show port_group {id <value 1-64> | name <name 16>} create egress_access_profile Description This command is used to create an egress access list profile. For example, for some hardware, it may be invalid to specify destination IPv6 address and source IPv6 address at the same time.
Page 133
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide src_port_mask - Specifies the TCP source port mask. <hex 0x0-0xffff> - Enter the TCP source port mask value here. dst_port_mask - Specifies the TCP destination port mask. <hex 0x0-0xffff> - Enter the TCP source port mask value here.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete egress_access_profile Description Delete egress access profile command can only delete the profile which is created by egress ACL module. Format delete egress_access_profile [profile_id <value 1-4> | profile_name <name 1-32> | all] Parameters profile_id - Specifies the index of the egress access list profile.
Page 136
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide mask - Specifies the destination IP address used here. <netmask> - Enter the destination network mask here. dscp - (Optional) Specifies the value of DSCP. The DSCP value ranges from 0 to 63.
Page 137
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6mask> - Enter the IPv6 source address mask value here. destination_ipv6 - (Optional) Specifies the value of IPv6 destination address. <ipv6addr> - Enter the source IPv6 destination address here.
Page 138
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the “counter” is overridden. enable - Specifies that the ACL counter feature will be enabled. disable - Specifies that the ACL counter feature will be disabled. deny - Specifies the packets that match the egress access rule are filtered by the switch.
Page 139
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters profile_id - (Optional) Specifies the index of the egress access list profile. <value 1-4> - Enter the profile ID here. This value must be between 1 and 4.
Page 140
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Destination IP : 255.255.255.255 DSCP Available Hardware Entries : 126 ------------------------------------------------------------------------------- Rule ID : 1 (auto assign) Port group: 1 Match on Source IP : 10.0.0.2 Destination IP : 10.90.90.90...
Page 143
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-4> - Enter the profile ID used here. This value must be between 1 and 4. profile_name - Specifies the name of the profile. <name 1-32> - Enter the profile name used here. This name can be up to 32 characters long.
Page 144
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide permit - Permit the packet. replace_dscp - (Optional) Changes the DSCP of the packet. <value 0-63> - Enter the DSCP replace value here. This value must be between 0 and 63.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show egress_flow_meter Command: show egress_flow_meter Flow Meter Information: ------------------------ Profile ID : 1 Access ID : 1 Mode : trTcm / color-blind CIR:1000(Kbps) CBS:2000(Kbyte) PIR:2000(Kbps) PBS:2000(Kbyte) Actions:...
Page 147
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create port_group id 2 name group2 Command: create port_group id 2 name group2 Success. DGS-3620-28SC:admin# config port_group Description This command is used to add or delete a port list to a port group.
Page 148
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters id - Specifies the port group ID. <value 1-64> - Enter the port group ID used here. This value must be between 1 and 64. name - Specifies the port group name.
Page 149
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show port_group Command: show port_group Port Group Table Group ID Group Name Ports group1 1-2,5 group2 4,5,7,9,11,13 15,17,19-25 group3 Total Entries :3 DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete arpentry [<ipaddr> | all] Parameters <ipaddr> - The IP address of the end node or station. all - Delete all ARP entries Restrictions Only Administrator, Operator and Power-User level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config arp_aging time Description This command is used to set the maximum amount of time, in minutes, that an ARP entry can remain in the switch’s ARP table, without being accessed, before it is dropped from the table.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide static - Displays the static entries to the ARP table. mac_address - Displays the ARP entry by MAC address. <macaddr> - Enter the MAC address. Note: If no parameter is specified, all ARP entries will be displayed.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#clear arptable Command: clear arptable Success. DGS-3620-28SC:admin# show ipfdb Description This command is used to display the IP address forwarding table on the Switch. Format show ipfdb {[ip_address <ipaddr> | interface <ipif_name 12> | port <port>]} Parameters ip_address - (Optional) Specifies the IP address of the forwarding table.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 8 ARP Spoofing Prevention Commands config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist> | all] | delete gateway_ip <ipaddr>] show arp_spoofing_prevention config arp_spoofing_prevention Description The user can configure the spoofing prevention entry to prevent spoofing of MAC for the protected gateway.
Page 156
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide show arp_spoofing_prevention Description This command is used to display the ARP spoofing prevention status. Format show arp_spoofing_prevention Parameters None. Restrictions None. Example To display the ARP spoofing prevention status:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 9 Asymmetric VLAN Commands enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan enable asymmetric_vlan Description This command is used to enable the asymmetric VLAN function.. Format enable asymmetric_vlan Parameters None.
Page 158
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable asymmetric VLAN setting: DGS-3620-28SC:admin# disable asymmetric_vlan Command: disable asymmetric_vlan Success. DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 10 Auto Configuration Commands show autoconfig enable autoconfig disable autoconfig 10-1 show autoconfig Description This command is used to display the status of automatically getting configuration from a TFTP server.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable autoconfig Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To enable DHCP auto configuration status: DGS-3620-28SC:admin#enable autoconfig Command: enable autoconfig Success.
Page 163
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlan - (Optional) The name of the VLAN corresponding to the IP interface. <vlan_name 32> - Enter the VLAN name. The maximum length is 32 characters. state - Enable or disable the IP interface.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config ipif System vlan v1 Success. DGS-3620-28SC:admin# 11-2 create ipif Description This command is used to create an L3 interface. This interface can be configured with IPv4 or IPv6 addresses.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipif_name 12> - The name of the interface. all - All of the IP interfaces. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 11-6 show ipif Description This command is used to display IP interface settings. Format show ipif {<ipif_name 12>} Parameters <ipif_name 12> - (Optional) The name of the interface.
Page 168
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config out_band_ipif {ipaddress <network_address> | state [enable | disable] | gateway <ipaddr>} (1) Parameters ipaddress - Specifies the IP address of the interface. The parameter must include the mask.
Page 169
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the configuration of out-of-band management interfaces: DGS-3620-28SC:admin#show out_band_ipif Command: show out_band_ipif Status : Enable IP Address : 192.168.0.1 Subnet Mask : 255.255.255.0 Gateway : 0.0.0.0...
Page 170
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 11-10 disable ipif_ipv6_link_local_auto Description This command is used to disable the auto configuration of link local address when no IPv6 address is explicitly configured. Format disable ipif_ipv6_link_local_auto [<ipif_name 12> | all] Parameters <ipif_name 12>...
Page 171
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Disabled DGS-3620-28SC:admin#...
Page 174
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide parameter rises above this value, the action associated with the alarm is taken. <voltage> - Enter the high threshold alarm value used here. low_alarm - (Optional) Specify the low threshold for the alarm. When the operating parameter falls below this value, the action associated with the alarm is taken.
Page 175
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, and Operator level users can issue this command. Example To configure the port 21’s temperature threshold: DGS-3620-28SC:admin#config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Command: config ddm ports 1:21 temperature_threshold high_alarm 84.9555...
Page 177
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 12-4 show ddm ports Description This command is used to show the current operating DDM parameters and configuration values of the optic module of the specified ports. There are two types of thresholds: the administrative configuration and the operation configuration threshold.
Page 178
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ddm ports 1:21 configuration Command: show ddm ports 1:21 configuration Port: 1:21 -------------------------------------------- DDM State : Enabled Shutdown : Alarm Threshold Temperature Voltage Bias-Current TX-Power RX-Power (in Celsius)
Page 181
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To enable BGP protocol: DGS-3620-28SC:admin# enable bgp Command: enable bgp Success.
Page 182
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-3 create bgp Description This command is used to create a BGP process. It’s AS number must be set. When BGP protocol starts, it must belong to a single AS. The user must set the AS number before configuring any of the other attributes.
Page 183
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create a BGP process: DGS-3620-28SC:admin# delete bgp 100 Command: delete bgp 100 Success.
Page 184
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the BGP process’s router ID: DGS-3620-28SC:admin# config bgp router_id 10.10.10.1 Command: config bgp router_id 10.10.10.1 Success DGS-3620-28SC:admin# 13-6 config bgp synchronization Description This command is used to configure the BGP synchronization ability. Usually, a BGP speaker does not advertise a route to an external neighbor unless that route is local or exists in the IGP.
Page 185
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide When the setting is enabled, any updates received from an external neighbor, that does not have the neighbor’s configured Autonomous System (AS) at the beginning of the AS_PATH in the received update, will be denied.
Page 186
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create bgp aggregate_address <network_address> {summary_only | as_set} Parameters <network_address> - Specifies the IP network address aggregated. summary_only - (Optional) Specifies that more specific routes will not be advertised.
Page 187
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete bgp aggregate_address 10.0.0.0/8 Command: delete bgp aggregate_address 10.0.0.0/8 Success. DGS-3620-28SC:admin# 13-10 show bgp aggregate_address Description This command is used to show the aggregate entries in the Border Gateway Protocol (BGP) database.
Page 188
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <network_address> - Represents the local network that BGP will advertise. route_map - (Optional) Specifies the route map to be applied to the advertised networks. If not specified, all networks are advertised.
Page 189
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config bgp network 10.108.0.0/16 clear_routemap Command: config bgp network 10.108.0.0/16 clear_routemap Success. DGS-3620-28SC:admin# 13-13 delete bgp network Description This command is used to delete the networks advertised by the Border Gateway Protocol (BGP).
Page 190
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To show network 10.108.0.0/16 advertised in the BGP updates: DGS-3620-28SC:admin# show bgp network 10.108.0.0/16 Command: show bgp network 10.108.0.0/16 Network Address...
Page 191
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This command is used to configure the BGP hold and keepalive timer: DGS-3620-28SC:admin# config bgp timer holdtime 360 keepalive 120 Command: config bgp timer holdtime 360 keepalive 120 Success.
Page 193
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This command shows how to disable the comparison of the Multi Exit Discriminator (MED): DGS-3620-28SC:admin# config bgp always_compare_med disable Command: config bgp always_compare_med disable Success. DGS-3620-28SC:admin# 13-17 config bgp dampening...
Page 194
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that the BGP dampening function's state will be disabled. half_life - (Optional) Specifies the time (in minute) after which the penalty of the reachable routes will be down, by half.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide IP Address/Netmask Gateway Metric LocPrf Weight Path *> 20.0.0.0/8 0.0.0.0 32768 *> 221.221.2.0/24 0.0.0.0 32768 221.221.252.0/24 1.1.1.2 1 40 i 221.221.253.0/24 1.1.1.2 1 40 i Total Entries: 4...
Page 196
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-19 config bgp peer_group Description This command is used to configure the BGP peer group. The purpose of the neighbor peer group is to simplify the BGP neighbor configuration. The command is used to add an IP or to delete an IP from a BGP peer group.
Page 197
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide remote_as - The number of autonomous systems to which the peer group belongs to. <as_number 0-4294967295> - Enter the remote AS value here. This value must be between 0 and 4294967295.
Page 198
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide remote_as - The number of Autonomous Systems to which the neighbor belongs. <as_number 1-4294967295> - Enter the remote AS number here. This value must be between 1 and 4294967295.
Page 199
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete bgp neighbor 10.10.10.2 Command: delete bgp neighbor 10.10.10.2 Success. DGS-3620-28SC:admin# 13-22 config bgp neighbor Description This command is used to configure the BGP neighbor’s description or password attribute.
Page 200
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-23 config bgp neighbor session Description The command is used to configure the state or neighbor’s session activity for a BGP neighbor. If a neighbor is specified to be in the disabled state, it is equivalent to the case that the neighbor is deleted except when the neighbor configuration is kept.
Page 201
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-24 config bgp neighbor general Description This command is used to configure the BGP neighbor’s general setting. ebgp_multihop: This specifies the TTL of the BGP packet sent to the neighbor. If it is specified as 1, it will have a restriction that the neighbor must be directly connected to it.
Page 202
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters long. ebgp_multihop - (Optional) Specifies the TTL of BGP packet sent to the neighbor. For an EBGP neighbor the default setting is 1. This means only direct connected neighbors are allowed.
Page 203
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config bgp neighbor general 10.100.200.1 ebgp_multihop 2 Command: config bgp neighbor general 10.100.200.1 ebgp_multihop 2 Success. DGS-3620-28SC:admin# 13-25 config bgp neighbor timer Description This command is used to configure the BGP neighbor’s timer attribute.
Page 204
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide default - Specifies that the default AS original interval value will be used. connect - (Optional) Minimum interval BGP sends TCP connect requests to the peer after a TCP connection fail happens.
Page 205
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters long. state - The specified neighbor will become the router reflector client. By default, this state is disabled. enable - Specifies that the neighbor will become the router reflector client.
Page 206
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide out - Specifies the outgoing routes sent to the peer. add - Specifies that a route map will be added. delete - Specifies that a route map will be deleted.
Page 207
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specifies that a filter list will be added. delete - Specifies that a filter list will be deleted. <list_name 16> - Enter the filter list name here. This name can be up to 16 characters long.
Page 208
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example Show the information of the BGP peer group local1: DGS-3620-28SC:admin# create bgp neighbor peer_group local1 Command: create bgp neighbor peer_group local1 Success.
Page 209
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 13-30 config bgp route_reflector cluster_id Description This command is used to configure the BGP process’s global attribute. The route reflector and its clients together form a cluster. When a single route reflector is deployed in a cluster, the cluster is identified by the router ID of the route reflector.
Page 210
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-31 config bgp client_to_client_reflection Description This command is used to configure the BGP client to client reflection setting. If the reflection is disabled, then the router will not reflect routes from the route reflect client to other route reflect clients, but it will still send routes received from a non-reflecting client to a reflecting client.
Page 211
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <as_number 0-4294967295> - Autonomous System numbers which we use to specify a BGP confederation. If it is set to zero, the BGP confederation number is deleted. By default, this setting is zero.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config bgp confederation peers add 50000, 50001 Command: config bgp confederation peers add 50000, 50001 Success. DGS-3620-28SC:admin# 13-34 clear bgp Description This command is used to initiate a hard reset or a soft reset for a connection. If a soft reset is applied to the inbound session, the session will not be rebuilded but the local inbound routing table will be cleared and needs to be rebuilt.
Page 213
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# clear bgp all Command: clear bgp all Success. DGS-3620-28SC:admin# 13-35 clear bgp dampening Description This command clears the route dampening information stored in the routing table. If no parameters are specified, the dampening information for the entire routing table will be cleared.
Page 214
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters access_list - Specifies the AS path access list name. <list_name 16> - Enter the AS path access list name here. This name can be up to 16 characters long.
Page 215
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create bgp as_path access_list test Command: create bgp as_path access_list test Success. DGS-3620-28SC:admin# config bgp as_path access_list test add (_64[6-9][0-9][0- 9]_|_65[0-9][0-9][0-9]_) deny Command: config bgp as_path access_list test add (_64[6-9][0-9][0-9]_|_65[0- 9][0-9][0-9]_) deny Success.
Page 216
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-39 show bgp as_path access_list Description This command displays the Autonomous System path’s access list. If a specific access list is not specified, all AS path access lists will be displayed.
Page 217
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide be up to 16 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create a standard BGP community list:...
Page 218
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide be sent to peers in another sub AS in the same confederation and to the external peers. no_advertise - Routes with this community will not be advertised to any peer either internal or external.
Page 219
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters list_name - Specifies the name of the community list to be deleted. <list_name 16> - Enter the community list name here. This name can be up to 16 characters long.
Page 220
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3620-28SC:admin# config bgp community_list standard list1 add community_set 50000:10 permit Command: config bgp community_list standard list1 add community_set 50000:10 permit Success.
Page 221
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide no_advertise - (Optional) Do not advertise to any peer (well-known community). no_export - (Optional) Do not export to next AS (well-known community). internet - (Optional) Send to the Internet (well-known community>.
Page 222
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show bgp route community_list communitylist Command: show bgp route community_list ommunitylist BGP local router ID is 192.168.32.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show bgp route inconsistent_as Command: show bgp route inconsistent_as BGP local router ID is 172.16.72.24 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
Page 224
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide advertised_routes - (Optional) Displays the routes advertised to a BGP neighbor. received_routes - (Optional) Displays the routes received from this neighbor. routes - (Optional) Displays routes in the routing table learned from the neighbor.
Page 225
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide BGP local router ID is 172.16.232.181 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete...
Page 226
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-46 show bgp dampened_routes Description This command is used to display dampened entries in the Border Gateway Protocol (BGP) routing table. Format show bgp dampened_routes Parameters None. Restrictions None.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To show flap BGProutes information: DGS-3620-28SC:admin# show bgp flap_statistics Command:show bgp flap_statistics BGP local router ID is 172.29.232.182 Status codes: s suppressed, d damped, h history, * valid, > best, i –internal Origin codes: i - IGP, e - EGP, ? –...
Page 228
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Synchronization : Enabled Enforce First AS : Enabled Local AS number : 100 Scan Time : 60 Hold Time : 300 Seconds Keepalive Interval : 100 Seconds Dampening...
Page 229
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example This example displays the BGP reflection setting: DGS-3620-28SC:admin# show bgp reflection Command: show bgp reflection Client to Client Reflection State : Disabled Cluster ID : 0.0.0.0...
Page 230
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show bgp confederation Command: show bgp confederation BGP as number : 65501 Confederation identifier : 10 Confederation Peer : 65502,65503 Neighbor list: IP address Remote AS number...
Page 231
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 13-52 show bgp trap_state Description This command is used to show the BGP trap state. Format show bgp trap_state Parameters None. Restrictions None. (EI Mode Only Command) Example...
Page 232
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example configures the BGP scan timer to 30 seconds: DGS-3620-28SC:admin# config bgp scan_timer 30 Command: config bgp scan_timer 30 Success. DGS-3620-28SC:admin# 13-54 config bgp aggregate_next_hop_check Description This command is used to configure the BGP aggregated routes’...
Page 233
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters enable - To enable BGP fast external fallover flag. Default is enabled. disable - To disable BGP fast external fallover. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
Page 234
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example This example sets the maximum number of prefixes that will be accepted from the neighbor 192.168.1.1 to 5000, when 50 percent of the maximum prefix limit has been reached. This will...
Page 236
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config bpdu_protection ports 1 state enable mode drop Command: config bpdu_protection ports 1 state enable mode drop Success. DGS-3620-28SC:admin# 14-2 config bpdu_protection recovery_timer Description When a port enters the under attack state, it can be disabled or blocked based on the configuration.
Page 237
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters trap - Specifies the trap state. log - Specifies the log state. none - Specifies neither attack_detected nor attack_cleared is trapped or logged. attack_detected - Specifies events will be logged or trapped when the BPDU attacks is detected.
Page 238
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 14-5 disable bpdu_protection Description This command is used to disable BPDU protection globally for the entire switch. Format disable bpdu_protection Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 239
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display BPDU protection information for the entire switch: DGS-3620-28SC:admin#show bpdu_protection Command: show bpdu_protection BPDU Protection Global Settings --------------------------------------- BPDU Protection Status : Disabled BPDU Protection Recover Time...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 15 Cable Diagnostics Commands cable_diag ports [<portlist> | all] 15-1 cable_diag ports Description This command is used to test copper cabling. For 10/100Based-TX link speed RJ45 cables, two pairs of cables will be diagnosed.
Page 241
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide • Between 50m and 80m (50m~80m) • Between 80m and 100m (80m~100m) • Greater than 100m (>100m) Note: This test will consume a low number of packets. Since this test is for copper cable, the port with fiber cable will be skipped from the test.
Page 242
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# cable_diag ports 1:1-1:10,1:21 Command: cable_diag ports 1:1-1:10,1:21 Perform Cable Diagnostics ... Port Type Link Status Test Result Cable Length ------ ---------- ------------- ---------------------------- ------------ 1000BASE-T Link Up...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#create cfm md op_domain level 2 Command: create cfm md op_domain level 2 Success. DGS-3620-28SC:admin# 16-2 config cfm md Description This command is used to configure the parameters of a maintenance domain. The creation of MIPs on an MA is useful to trace the link, MIP by MIP.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 16-3 create cfm ma Description This command is used to create a maintenance association. Different MAs in a MD must have different MA Names. Different MAs in different MDs may have the same MA Name.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To configure the parameters of a maintenance association: DGS-3620-28SC:admin#config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec Command: config cfm ma op1 md op_domain vlanid 1 ccm_interval 1sec Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create an MEP: DGS-3620-28SC:admin#create cfm mep mep1 mepid 1 md op_domain ma op1 direction...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters. ma_index - Specifies the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. state - Specifies the MEP administrative state. The default is disable.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. md - Specifies the maintenance domain name. <string 22> - Enter the maintenance domain name. The maximum length is 22 characters.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: delete cfm md op_domain Success. DGS-3620-28SC:admin# 16-10 enable cfm Description This command is used to enable the CFM globally. Format enable cfm Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To disable the CFM globally: DGS-3620-28SC:admin#disable cfm Command: disable cfm Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 16-13 show cfm ports Description This command is used to display the CFM state of specified ports. Format show cfm ports <portlist> Parameters <portlist> - Enter the logical port list.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide md_index - Specifies the maintenance domain index. <uint 1-4294967295> - Enter the maintenance domain index value here. This value must be between 1 and 4294967295. ma - (Optional) Specify the maintenance association name.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters. ma_index - Specifies the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. Restrictions None. (EI Mode Only Command)
Page 258
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide MAC Address: 00-05-78-82-32-01 MD Name MA Name MEPID Level Direction ----------- ---------- ------- ------- --------- --- op_domain inward cust_domain cust1 inward serv_domain serv2 DGS-3620-28SC:admin# 16-17 cfm lock md Description This command is used to start/stop cfm management lock.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: cfm lock md op-domain ma op-ma mepid 1 remote_mepid 2 action start Success. DGS-3620-28SC:admin# 16-18 cfm loopback Description This command is used to start a CFM loopback test. Press Ctrl+C to exit the loopback test. The MAC address represents the destination MEP or MIP that can be reached by this MAC address.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To transmit a LTM: DGS-3620-28SC:admin#cfm linktrace 00-01-02-03-04-05 mepname mep1 Command: cfm linktrace 00-01-02-03-04-05 mepname mep1 Transaction ID: 26 Success. DGS-3620-28SC:admin# 16-20 show cfm linktrace Description This command is used to display the link trace responses.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show cfm linktrace mepname mep1 Command: show cfm linktrace mepname mep1 Trans ID Source MEP Destination -------- ------------- ------------------ mep1 XX-XX-XX-XX-XX-XX DGS-3620-28SC:admin# To display a CFM linktrace reply:...
Page 263
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To delete the CFM link trace reply: DGS-3620-28SC:admin#delete cfm linktrace mepname mep1 Command: delete cfm linktrace mepname mep1 Success. DGS-3620-28SC:admin# 16-22 config cfm mp_ltr_all Description This command is to enable or disable the "all MPs reply LTRs"...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 16-23 show cfm mipccm Description This command is used to display the MIP CCM database entries. All entries in the MIP CCM database will be displayed. An MIP CCM entry is similar to an FDB which keeps the forwarding port information of a MAC entry.
Page 265
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display the configuration of the all-MPs-reply-to-LTR function: DGS-3620-28SC:admin#show cfm mp_ltr_all Command: show cfm mp_ltr_all All MPs reply LTRs: Disabled DGS-3620-28SC:admin#...
Page 266
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide CFM TX Statistics ---------------------------------------------------------- Port AllPkt ----- -------- -------- -------- --------- ------ ------- DGS-3620-28SC:admin# 16-26 clear cfm pkt_cnt Description This command is used to clear the CFM packet’s RX/TX counters.
Page 267
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To clear the CFM packet CCM counters: DGS-3620-28SC:admin#clear cfm pkt_cnt ccm Command: clear cfm pkt_cnt ccm Success. DGS-3620-28SC:admin# 16-27 show cfm remote_mep Description This command is used to display CFM remote MEP information.
Page 268
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide MAC Address : 00-11-22-33-44-02 Status : OK : Yes Port State : Blocked Interface Name : Down Last CCM Serial Number : 1000 Send Chassis ID : 00-11-22-33-44-00 Sender Management Address: SNMP-UDP-IPv4 10.90.90.90:161...
Page 269
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the AIS function so that it is enabled and has a client level of 5: DGS-3620-28SC:admin# config cfm ais md op-domain ma op-ma mepid 1 state enable...
Page 270
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the LCK function state as enabled and specify a client level of 5: DGS-3620-28SC:admin# config cfm lock md op-domain ma op-ma mepid 1 state enable...
Page 271
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide messages and the percentile of the frame delay measurement test. To calculate the FDV, continuous received DMR frames are needed. Users can abort the frame delay measurement test by disable frame delay measurement function on the MEP.
Page 272
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#cfm dm 00-01-02-03-04-05 mepname mep1 period:interval 1sec:10sec percentile 75 pdu_priority 7 Command: cfm dm 00-01-02-03-04-05 mepname mep1 period:interval 1sec:10sec percentile 75 pdu_priority 7 Success. DGS-3620-28SC:admin# 16-32 cfm lm Description This command is used to start a frame loss measurement test.
Page 273
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To start a frame loss measurement test: DGS-3620-28SC:admin#cfm lm 00-01-02-03-04-05 mepname mep1 period 1s pdu_priority 7 Command: cfm lm 00-01-02-03-04-05 mepname mep1 period 1sec pdu_priority 7 Success.
Page 274
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#clear cfm dm mepname mep1 Command: clear cfm dm mepname mep1 Success. DGS-3620-28SC:admin# 16-34 clear cfm lm Description This command is used to clear the frame loss measurement information.
Page 275
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 16-35 config cfm dm Description This command is used to configure the parameters of frame delay measurement function. Format config cfm dm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22>...
Page 276
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config cfm lm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] state [enable | disable] Parameters mepname - Specifies the MEP name.
Page 277
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters mepname - Specifies the MEP name. <string 32> - Enter the MEP name. This name can be up to 32 characters long. mepid - Specifies the MEP ID.
Page 278
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show cfm lm [mepname <string 32> | mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>]] Parameters mepname - Specifies the MEP name.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 17 Command List History Commands ? {<Command>} show command_history config command_history <value 1-40> 17-1 Description This command is used to display all of the commands available, on the current login account level, through the Command Line Interface (CLI).
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable command logging Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the command logging: DGS-3620-28SC:admin# disable command logging Command: disable command logging Success.
Page 285
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ebgp - Configure the preference of BGP AS-external route. (EI Mode Only Parameter) ibgp - Configure the preference of BGP AS-internal route. (EI Mode Only Parameter) <value 1-999> - Enter the route preference value here. This value must be between 1 and 999.
Page 286
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show route preference Command: show route preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP DGS-3620-28SC:admin#...
Page 287
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add route redistribution to OSPF: DGS-3620-28SC:admin# create route redistribute dst ospf src rip Command: create route redistribute dst ospf src rip Success.
Page 290
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config route redistribute dst rip src ospf internal Command: config route redistribute dst rip src ospf internal Success. DGS-3620-28SC:admin# 19-7 delete route redistribute dst rip src Description This command is used to delete the route redistribute configuration on the Switch.
Page 291
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters local - To redistribute local routes to BGP. static - To redistribute static routes to BGP. rip - To redistribute RIP routes to BGP. ospf - To redistribute OSPF routes to BGP.
Page 292
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide rip - To redistribute RIP routes to BGP. ospf - To redistribute OSPF routes to BGP. all - To redistribute both OSPF AS-internal and OSPF AS-external routes to BGP.
Page 293
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display route redistributions: DGS-3620-28SC:admin#show route redistribute Command: show route redistribute Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------------ ------------ OSPF...
Page 295
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 19-13 delete route redistribute dst ospf src Description This command is used to delete the route redistribute configuration on the Switch. It specifies to not redistribute other routing protocols to OSPF.
Page 296
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display route redistributions: DGS-3620-28SC:admin#show route redistribute dst bgp Command: show route redistribute dst bgp Route Redistribution Settings Source Destination Type...
Page 299
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To assign a static VLAN to be a guest VLAN: DGS-3620-28SC:admin#create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3620-28SC:admin# 20-2 delete authentication guest_vlan Description This command is used to delete a guest VLAN setting, but not a static VLAN.
Page 300
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config authentication guest_vlan [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] [add | delete] ports [<portlist> | all ] Parameters vlan - Specifies the guest VLAN name. <vlan_name 32> - Enter the guest VLAN name. The VLAN name can be up to 32 characters long.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide hyphen - Specifies using the “-“ as delimiter, the format is: AA-BB-CC-DD-EE-FF colon - Specifies using the “:“ as delimiter, the format is: AA:BB:CC:DD:EE:FF dot - Specifies using the “.“ as delimiter, the format is: AA.BB.CC.DD.EE.FF none - Specifies not using any delimiter, the format is: AABBCCDDEEFF number - (Optional) Specifies the delimiter number used.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide then pass. dot1x_impb - Dot1x will be verified first, and then IMPB will be verified. Both authentications need to be passed. impb_jwac - JWAC will be verified first, and then IMPB will be verified. Both authentications need to be passed.
Page 303
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the global authentication configuration: DGS-3620-28SC:admin#show authentication Command: show authentication Authentication Server Failover: Block. DGS-3620-28SC:admin# 20-7 show authentication guest_vlan Description This command is used to display guest VLAN information.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the authentication MAC format setting: DGS-3620-28SC:admin#show authentication mac_format Command: show authentication mac_format Case : Uppercase Delimiter : None Delimiter Number DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the authorization global state: DGS-3620-28SC:admin#disable authorization attributes Command: disable authorization attributes Success.
Page 307
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide * Use the local database to authenticate the client. The switch will resort to using the local database to authenticate the client. If the client fails on local authentication, the client is regarded as un-authenticated, otherwise, it authenticated.
Page 309
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide debug bgp show peer_group debug bgp show network debug bgp show aggregate debug bgp show damp debug bgp show interface_info debug bgp show as_path_access_list debug bgp show bgp_timer...
Page 310
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide state - Specifies the state of the address binding debugging option. enable - Specifies that the address binding debugging option will be enabled. disable - Specifies that the address binding debugging option will be disabled.
Page 311
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-3 debug error_log Description Use this command to dump, clear or upload the software error log to a TFTP server. Format debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] Parameters dump - Display the debug message of the debug log.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide dump - Display the debug message in the debug buffer. clear - Clear the debug buffer. upload_toTFTP - Upload the debug buffer to a TFTP server specified by IP address.
Page 314
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the system memory pool resource may fail to execute command such as download and upload firmware, or save configuration. If you want to execute these commands successfully, please use the command “debug buffer clear”...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator level users can issue this command. Example To set the switch to not need a reboot when a fatal error occurs: DGS-3620-28SC:admin# debug config error_reboot disable Command: debug config error_reboot disable Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug show error_reboot state Parameters None. Restrictions Only Administrator level users can issue this command. Example To show the error reboot status: DGS-3620-28SC:admin#debug show error_reboot state Command: debug show error_reboot state...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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.
Page 320
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To show STP debug information: DGS-3620-28SC:admin# debug stp show information Command: debug stp show information Spanning Tree Debug Information:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-15 debug ospf Description This command is used to enable or disable OSPF debug flags. Format debug ospf [neighbor_state_change | interface_state_change {dr_bdr_selection} | lsa {all | originating | installing | receiving | flooding} (1) | packet {all | receiving | sending} (1) |...
Page 323
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf neighbor_state_change state enable Command: debug ospf neighbor_state_change state enable Success. DGS-3620-28SC:admin# To enable OSPF interface state change debug: DGS-3620-28SC:admin# debug ospf interface_state_change state enable Command: debug ospf interface_state_change state enable Success.
Page 324
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-16 debug ospf clear counter Description This command is used to reset the OSPF statistic counters. Format debug ospf clear counter {packet | neighbor | spf} Parameters packet - (Optional) Specifies to reset the OSPF packet counter.
Page 325
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable the OSPF debug log: DGS-3620-28SC:admin# debug ospf log state enable Command: debug ospf log state enable Success. DGS-3620-28SC:admin# 21-18 debug ospf show counter Description This command is used to display OSPF statistic counters.
Page 326
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide LSAck Neighbor State: Change : 0 SeqMismatch : 0 SPF Calculation: Intra Inter Extern : 0 DGS-3620-28SC:admin# 21-19 debug ospf show detail external_link Description This command is used to display all AS external LSAs with detail information.
Page 327
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ..0.. = MC: NOT Multicast Capable ..0... = N/P: NSSA Bit ...0 ..= EA: Not Support Rcv And Fwd EA_LSA ..0..= DC: Not Support Handling Of Demand Circuits .0..
Page 328
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide LS Age: 109 Seconds Options: 0x2 ..0 = 0 Bit Isn't Set ..1. = E: ExternalRoutingCapability ..0.. = MC: NOT Multicast Capable ..0... = N/P: NSSA Bit ...0 ..
Page 329
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Advertising Router: 1.1.1.1 LS Age: 10 Seconds Options: 0x2 ..0 = 0 Bit Isn't Set ..1. = E: ExternalRoutingCapability ..0.. = MC: NOT Multicast Capable ..
Page 330
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide =========== AREA 0.0.0.0: Summary LSA: Link-State ID: 20.1.1.0 Advertising Router: 10.90.90.91 LS Age: 10 Seconds Options: 0x2 ..0 = 0 Bit Isn't Set ..1. = E: ExternalRoutingCapability ..
Page 331
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide OSPF Phase2 NSSA-External Link: =========== AREA 0.0.0.1: NSSA-External LSA: Link-State ID: 0.0.0.0 Advertising Router: 10.90.90.91 LS Age: 855 Seconds Options: 0x2 ..0 = 0 Bit Isn't Set ..
Page 332
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the current OSPF debug flag setting: DGS-3620-28SC:admin# debug ospf show flag Command: debug ospf show flag Global State: Enabled Current OSPF Flags Setting: Neighbor State Change...
Page 333
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf show log state Command: debug ospf show log state OSPF Log State : Enabled DGS-3620-28SC:admin# 21-26 debug ospf show redistribution Description This command is used to display the current internal OSPF redistribute list.
Page 334
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug ospf show request_list Parameters None. Restrictions Only Administrator level users can issue this command. Example To display the current OSPF request list: DGS-3620-28SC:admin# debug ospf show request_list...
Page 335
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the current OSPF summary list: DGS-3620-28SC:admin# debug ospf show summary_list Command: debug ospf show summary_list OSPF Summary List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 1.1.1.1 RTID: 1.1.1.1...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug ospf state enable Command: debug ospf state enable Success. DGS-3620-28SC:admin# debug ospf show flag Command: debug ospf show flag Global State: Enabled Current OSPF Flags Setting:...
Page 337
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp vr_state_change state enable Command: debug vrrp vr_state_change state enable Success. DGS-3620-28SC:admin# To enable all VRRP packet debug flags: DGS-3620-28SC:admin# debug vrrp packet all state enable Command: debug vrrp packet all state enable Success.
Page 338
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug vrrp clear counter Parameters None. Restrictions Only Administrator level users can issue this command. Example To clear VRRP statistic counters: DGS-3620-28SC:admin# debug vrrp clear counter Command: debug vrrp clear counter...
Page 339
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp log state enable Command: debug vrrp log state enable Success. DGS-3620-28SC:admin# 21-33 debug vrrp show counter Description This command is used to display the VRRP debug statistic counters.
Page 340
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator level users can issue this command. Example To display VRRP debug flag settings: DGS-3620-28SC:admin#debug vrrp show flag Command: debug vrrp show flag Global State: Disabled...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug vrrp show log state Command: debug vrrp show log state VRRP Debug Log State: Disabled DGS-3620-28SC:admin# 21-36 debug vrrp state Description The command is used to enable or disable the VRRP debug state.
Page 342
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Show BGP debug flag: DGS-3620-28SC:admin# debug bgp show flag Command: debug bgp show flag Current BGP flags setting:...
Page 343
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure all BGP debug flags’ state to enable: DGS-3620-28SC:admin# debug bgp all flag enable Command: debug bgp all flag enable Success.
Page 344
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-40 debug bgp packet Description This command is used for setting the flag of debugging information about different type of BGP packets’ receiving and sending. Format debug bgp packet [{open | update | keepalive | notify | refresh | capability}(1) | all] [in | out]...
Page 346
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-42 debug bgp show global_info Description This command is used for displaying global information of current BGP instance. Format debug bgp show global_info Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command)
Page 347
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide BGP Trap : None DGS-3620-28SC:admin# 21-43 debug bgp show peer Description This command is used for displaying information of all peers in BGP protocol DB. Format debug bgp show peer Parameters None.
Page 348
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Remove Private AS: Disabled Allowas In: Disabled Graceful Restart : Disabled Address Family IPv4 Unicast IPv4 Unicast: None Soft Reconfiguration Inbound: Enabled Community Sent to this Neighbor: None...
Page 349
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# :5#debug bgp show peer_group Command: debug bgp show peer_group BGP Peer Group :tt ------------------------------------------------------- Session State : Enabled Session Activity : Enabled Members : None Remote AS : Not Set...
Page 350
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Configure BGP to show network information: DGS-3620-28SC:admin# debug bgp show network Command: debug bgp show network Network Route Map ------------- ----------- 192.168.0.0/8 NULL 172.16.0.0/16 map1 Total Entries :2...
Page 351
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-47 debug bgp show damp Description This command is used for displaying current dampening configuration and corresponding dynamic information in BGP protocol stack. Format debug bgp show damp Parameters None.
Page 352
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 0.940247 0.911722 0.884064 0.857244 0.831238 0.806021 0.781569 0.757858 Output truncated... DGS-3620-28SC:admin# 21-48 debug bgp show interface_info Description This command is used for displaying current interface information in BGP protocol stack.
Page 353
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format debug bgp show as_path_access_list Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure BGP to show current BGP as_path access_list information:...
Page 355
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-52 debug bgp show redist_info Description This command is used for displaying current BGP redistribution information. Format debug bgp show redist_info Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command)
Page 356
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters enable - Enable the route_map debug function. disable - Disable the route_map debug function. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command) Example Configure routemap debug flags’...
Page 357
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example Configure access list debug flags’ state to enable: DGS-3620-28SC:admin# debug bgp access_list enable Command: debug bgp access_list enable Success. DGS-3620-28SC:admin# Output Examples: After configure BGP to enable access list debug flag, it may print following information when access list applied.
Page 358
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Prefix_list:<list1>,apply bgp neighbor:<15.0.0.1> MATCH. 21-56 debug bgp state Description This command is used to set the global state of BGP debug function. Format debug bgp state [enable | disable] Parameters enable - Specifies to enable the debug function of BGP.
Page 359
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enabled DHCPv6 client debug function: DGS-3620-28SC:admin# debug dhcpv6_client state enable Command: debug dhcpv6_client state enable Success. DGS-3620-28SC:admin# 21-58 debug dhcpv6_client state disable Description This command is used to disable the DHCPv6 client Debug function.
Page 360
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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...
Page 361
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-61 debug dhcpv6_relay state enable Description This command is used to enable the DHCPv6 relay Debug function. Format debug dhcpv6_relay state enable Parameters None. Restrictions Only Administrator-level users can issue this command.
Page 362
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug dhcpv6_relay state disable Command: debug dhcpv6_relay state disable Success. DGS-3620-28SC:admin# 21-63 debug dhcpv6_relay hop_count state Description This command is used to enable or disable debug information flag about the hop count.
Page 363
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide console - Let the debug message output to console. Restrictions Only Administrator-level users can issue this command. Example To set debug information to output to console: DGS-3620-28SC:admin# debug dhcpv6_relay output console Command: debug dhcpv6_relay output console Success.
Page 364
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-66 debug dhcpv6_server packet Description This command is used to enable or disable the debug information flag of the DHCPv6 server packet, including packets receiving and sending. Format...
Page 365
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disabled the DHCPv6 server debug function: DGS-3620-28SC:admin# debug dhcpv6_server state disable Command: debug dhcpv6_server state disable Success. DGS-3620-28SC:admin# 21-68 debug dhcpv6_server state enable Description This command is used to enable the DHCPv6 server debug functions.
Page 366
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator-level users can issue this command. Example To enable the PIM-SSM debug function: DGS-3620-28SC:admin# debug pim ssm Command: debug pim ssm Success. DGS-3620-28SC:admin# Once the PIM-SSM debug enabled, the debug information maybe outputted.
Page 367
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# no debug pim ssm Command: no debug pim ssm Success. DGS-3620-28SC:admin# 21-71 debug ripng flag Description This command is used to enable or disable the RIPng debug flag.
Page 368
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 21-72 debug ripng show flag Description This command is used to display the RIPng debug flag setting. Format debug ripng show flag Parameters None. Restrictions Only Administrator-level users can issue this command. (EI Mode Only Command)
Page 369
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable RIPng debug globally: DGS-3620-28SC:admin# debug ripng state disable Command: debug ripng state disable Success. DGS-3620-28SC:admin# 21-74 debug ripng state enable Description This command is used to enable the RIPng debug state.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters prefix_list - Specifies to display prefix list debug information. access_list - Specifies to display access list debug information. route_map - Specifies to display route map debug information.
Page 371
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Prompt# debug show status module MSTP Command: debug show status module MSTP Debug Global State : Enable MSTP : Enable Prompt# To show the debug state: Prompt# debug show status...
Page 372
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# debug super_vlan state disable Command: debug super_vlan state disable Success. DGS-3620-28SC:admin# After enabling super VLAN debug, the following information may appear when receive an ARP packet form sub VLAN.
Page 373
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To display the ND Snooping binding state of entries: DGS-3620-28SC:admin# debug show address_binding binding_state_table nd_snooping Command: debug show address_binding binding_state_table nd_snooping S (State) - S: Start, Q: Query, B: Bound...
Page 374
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#debug show error ports box_id all sio1 Command: debug show error ports box_id all sio1 Box ID 1 SIO 1: RX Frames TX Frames --------- --------- CRC Error...
Page 375
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#debug show jwac auth_info Command: debug show jwac auth_info ACL Index Bitmap DB (jwac_db_acl_bmp): Internal TCP Port Number (jwac_internal_port_bitmap): Connection DB: No Host Current AUTH DB (_jwac_db_nodes): No Host...
Page 376
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Page 1: DGS-3620-28SC:admin#debug show packet ports box_id all sio1 Command: debug show packet ports box_id all sio1 Box ID 1 SIO 1: Frame Size/Type Frame Counts Frames/sec ---------------...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 22 DHCP Local Relay Commands config dhcp_local_relay vlan <vlan_name 32> state [enable | disable] config dhcp_local_relay vlan vlanid <vlan_id 1-4094> state [enable | disable] enable dhcp_local_relay disable dhcp_local_relay...
Page 378
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 22-2 config dhcp_local_relay vlan vlanid Description This command is used to enable or disable the DHCP local relay function for a specified VLAN ID. Format config dhcp_local_relay vlan vlanid <vlan_id 1-4094> state [enable | disable] Parameters vlanid - Specifies the VLAN ID used to enabled DHCP local relay.
Page 379
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3620-28SC:admin# 22-4 disable dhcp_local_relay Description This command is used to globally disable the DHCP local relay function on the switch. Format disable dhcp_local_relay Parameters None.
Page 380
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the local DHCP relay status: DGS-3620-28SC:admin#show dhcp_local_relay Command: show dhcp_local_relay DHCP/BOOTP Local Relay Status : Disabled DHCP/BOOTP Local Relay VID List : 1,3-4...
Page 382
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters hops - Specifies the maximum number of router hops that the DHCP/BOOTP packets can cross. The range is 1 to 16. The default value is 4. <int 1-16> - Enter the maximum number of router hops that the DHCP/BOOTP packets can cross.
Page 383
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp_relay add ipif System 10.43.21.12 Command: config dhcp_relay add ipif System 10.43.21.12 Success. DGS-3620-28SC:admin# 23-3 config dhcp_relay delete ipif Description This command is used to delete an IP destination address from the switch’s DHCP relay table.
Page 384
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <multiword 255> - Enter a string. relay - Specifies a relay server IP address. <ipaddr> - Enter the IP address here. exact-match - The Option 60 string in the packet must fully match the specified string.
Page 385
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure a DHCP Option 60 default drop action: DGS-3620-28SC:admin#config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-3620-28SC:admin# 23-6 config dhcp_relay option_60 delete Description This command is used to delete a DHCP Option 60 entry.
Page 386
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 23-7 config dhcp_relay option_60 state Description This command is used to decide whether DHCP relay will process the DHCP Option 60 or not. When Option 60 is enabled, if the packet does not have Option 60, then the relay servers cannot be determined based on Option 60.
Page 387
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <macaddr> - Enter the client’s client-ID, which is the MAC address of the client. string - Specifies the client’s client-ID, which is specified by administrator. <desc_long 255> - Enter the client’s client-ID, which is specified by administrator The client- ID string can be up to 255 characters long.
Page 388
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp_relay option_61 default drop Command: config dhcp_relay option_61 default drop Success. DGS-3620-28SC:admin# 23-10 config dhcp_relay option_61 delete Description This command is used to delete Option 61 rules.
Page 389
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp_relay option_61 state [enable | disable] Parameters enable - Specifies to enable the DHCP relay function to use option 61 rules to relay DHCP packets. disable - Specifies to disable the DHCP relay function to use option 61 rules to relay DHCP packets.
Page 390
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 23-13 config dhcp_relay option_82 policy Description This option takes effect only when the check status is disabled. The relay agent does this operation because the packet cannot contain two Option 82s. The default setting is replace.
Page 391
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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.
Page 392
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 23-16 enable dhcp_relay Description This command is used to enable the DHCP relay function on the switch. Format enable dhcp _relay Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 393
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the DHCP relay function: DGS-3620-28SC:admin#disable dhcp_relay Command: disable dhcp_relay Success. DGS-3620-28SC:admin# 23-18 show dhcp_relay Description This command is used to display the current DHCP relay configuration.
Page 394
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide System 10.1.1.1 192.168.0.1 DGS-3620-28SC:admin# 23-19 show dhcp_relay option_60 Description This command is used to display the DHCP relay option 60 entries. Format show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]} Parameters string - (Optional) Display the entry whose string equals the string specified.
Page 395
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 23-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...
Page 396
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Enter the list of ports, used for this configuration, here. all - Specifies that all the ports will be used for this configuration. state - Specifies the state of the DHCP relay function for each port.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 24 DHCP Server Commands create dhcp excluded_address begin_address <ipaddr> end_address <ipaddr> delete dhcp excluded_address [begin_address <ipaddr> end_address <ipaddr> | all] show dhcp excluded_address create dhcp pool <pool_name 12>...
Page 399
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters begin_address - Specifies the starting address of the IP address range. <ipaddr> - Enter the starting address of the IP address range. end_address - Specifies the ending address of the IP address range.
Page 400
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 Success. DGS-3620-28SC:admin# 24-3 show dhcp excluded_address Description This command is used to display the groups of IP addresses which are excluded from being a legal assigned IP address.
Page 401
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the name of the DHCP pool. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create a DHCP pool:...
Page 402
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-6 config dhcp pool network_addr Description This command is used to specify the network for the DHCP pool. The addresses in the network are free to be assigned to the DHCP client. The prefix length specifies the number of bits that comprise the address prefix.
Page 403
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the DHCP pool name. <domain_name 64> - (Optional) Specify the domain name of the client. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 404
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-9 config dhcp pool netbios_name_server Description This command is used to specify the NetBIOS WINS server that is available to a Microsoft DHCP client. Up to three IP addresses can be specified on one command line.
Page 405
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <pool_name 12> - Enter the DHCP pool name. broadcast - Specifies the NetBIOS node type for Microsoft DHCP clients as broadcast. peer_to_peer - Specifies the NetBIOS node type for Microsoft DHCP clients as peer_to_peer.
Page 406
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the default router: DGS-3620-28SC:admin#config dhcp pool default_router nyknicks 10.10.10.1 Command: config dhcp pool default_router nyknicks 10.10.10.1 Success. DGS-3620-28SC:admin# 24-12 config dhcp pool lease Description This command is used to specify the duration of the DHCP pool lease.
Page 407
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide second command will overwrite the first command. If the bootfile is not specified, the boot file information will not be provided to the client. Format config dhcp pool boot_file <pool_name 12> {<file_name 64>} Parameters <pool_name 12>...
Page 408
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config dhcp pool next_server engineering 192.168.0.1 Command: config dhcp pool next_server engineering 192.168.0.1 Success. DGS-3620-28SC:admin# 24-15 config dhcp ping_packets Description This command is used to specify the number of ping packets the DHCP server sends to an IP address before assigning this address to a requesting client.
Page 409
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp ping_timeout <millisecond 10-2000> Parameters <millisecond 10-2000> - Enter the amount of time the DHCP server must wait before timing out a ping packet. The default value is 100.
Page 410
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ieee802 -Specify IEEE802 type. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure manual bindings: DGS-3620-28SC:admin#create dhcp pool manual_binding engineering 10.10.10.1 hardware_address 00-80-C8-02-02-02 type ethernet Command: create dhcp pool manual_binding engineering 10.10.10.1...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-19 clear dhcp binding Description This command is used to clear a binding entry or all binding entries in a pool or clears all binding entries in all pools. Note that this command will not clear the dynamic binding entry which matches a manual binding entry.
Page 412
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display dynamic binding entries for “engineering”: DGS-3620-28SC:admin#show dhcp binding engineering Command: show dhcp binding engineering Pool Name IP Addresss Hardware Address Type Status Lifetime ------------ -------------- ------------------ --------...
Page 413
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Next Server : 10.10.10.2 DGS-3620-28SC:admin# 24-22 show dhcp pool manual_binding Description This command is used to display the configured manual binding entries. Format show dhcp pool manual_binding {<pool_name 12>} Parameters <pool_name 12>...
Page 414
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable DHCP server: DGS-3620-28SC:admin#enable dhcp_server Command: enable dhcp_server Success. DGS-3620-28SC:admin# 24-24 disable dhcp_server Description This command is used to disable the DHCP server function on the switch.
Page 415
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 24-25 show dhcp_server Description This command is used to display the current DHCP server configuration. Format show dhcp_server Parameters None. Restrictions None. Example To display the DHCP server status:...
Page 416
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To clear an IP address 10.20.3.4 from the conflict database: DGS-3620-28SC:admin#clear dhcp conflict_ip 10.20.3.4 Command: clear dhcp conflict_ip 10.20.3.4 Success. DGS-3620-28SC:admin# 24-27 show dhcp conflict_ip Description This command is used to display the IP address that has been identified as being in conflict.
Page 417
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create dhcp option_profile <profile_name 12> Parameters <profile_name 12> - Enter the DHCP option profile name here. This name can be up to 12 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 418
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add option 69 using HEX format: DGS-3620-28SC:admin#config dhcp option_profile profile1 add option 69 hex...
Page 419
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete a DHCP option profile. DGS-3620-28SC:admin#delete dhcp option_profile profile1 Command: delete dhcp option_profile profile1 Success. DGS-3620-28SC:admin# 24-31 show dhcp option_profile Description This command is used to display the current DHCP option profile configuration.
Page 420
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcp pool option_profile <pool_name 12> [add | delete] <profile_name 12> Parameters <pool_name 12> - Enter the DHCP pool name here. This name can be up to 12 characters long.
Page 422
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide client_mac - (Optional) Specify the MAC address of the DHCP client. <macaddr> - Enter the MAC address. ports - Specifies the ports. <portlist> - Enter the range of ports to be configured.
Page 423
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config filter dhcp_server log [enable | disable] Parameters enable – Specifies to enable the log for a DHCP server filter event. disable – Specifies to disable the log for a DHCP server filter event.
Page 424
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 25-4 show filter dhcp_server Description This command is used to display the DHCP server/client filter list created on the switch. Format show filter dhcp_server Parameters None. Restrictions None.
Page 425
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipv6addr> - Specifies the source address of the entry which will be created into the Filter DHCPv6 server forward list. ports - Specifies the list of ports used for this configuration.
Page 426
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 25-7 config filter dhcpv6_server ports Description This command is used to configure the state of filter DHCPv6 server packets on the switch. The filter DHCPv6 server function is used to filter the DHCPv6 server packets on the specific port(s) and receive the trust packets from the specific source.
Page 427
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the filter DHCPv6 server trap state: DGS-3620-28SC:admin#config filter dhcpv6_server trap enable Command: config filter dhcpv6_server trap enable Success.
Page 428
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 25-10 delete filter dhcpv6_server permit sip Description This command is used to delete a filter DHCPv6 server permit entry. Format delete filter dhcpv6_server permit sip <ipv6addr> Parameters <ipv6addr> - Enter the source IPv6 address of the entry here.
Page 429
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a filter ICMPv6 RA All-nodes permit entry on port 5: DGS-3620-28SC:admin#create filter icmpv6_ra_all_node permit sip 2200::5 ports Command: create filter icmpv6_ra_all_node permit sip 2200::5 ports 1:5 Success.
Page 430
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config filter icmpv6_ra_all_node ports [<portlist> | all] state [enable | disable] Parameters <portlist> - Enter the list of ports, used for this configuration, here. all - Specifies that all ports will be used for this configuration.
Page 431
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config filter icmpv6_ra_all_node trap enable Command: config filter icmpv6_ra_all_node trap enable Success. DGS-3620-28SC:admin# 25-15 show filter icmpv6_ra_all_node Description This command is used to display the filter ICMPv6 RA all-nodes information.
Page 432
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete filter icmpv6_ra_all_node permit sip <ipv6addr> Parameters <ipv6addr> - Enter the source IPv6 address of the entry which will be deleted in the filter ICMPv6 RA all-nodes forward list.
Page 434
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable dhcpv6_relay Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 relay global state to disable: DGS-3620-28SC:admin# disable dhcpv6_relay Command: disable dhcpv6_relay Success.
Page 435
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config dhcpv6_relay hop_count 4 Command: config dhcpv6_relay hop_count 4 Success. DGS-3620-28SC:admin# 26-4 config dhcpv6_relay Description The command could add/delete an IPv6 address which is a destination to forward (relay) DHCPv6 packets.
Page 436
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - Specifies the name of the IP interface. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 437
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State : Disabled DHCPv6 Hops Count Limit DHCPv6 Relay Information Option 37 State : Disabled DHCPv6 Relay Information Option 37 Check : Disabled...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 27 DHCPv6 Server Commands create dhcpv6 pool <pool_name 12> delete dhcpv6 pool [<pool_name 12> | all] show dhcpv6 pool {<pool_name 12>} config dhcpv6 pool ipv6network_addr <pool_name 12> begin <ipv6networkaddr> end <ipv6networkaddr>...
Page 441
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3620-28SC:admin# 27-2 delete dhcpv6 pool Description This command is used to delete one or all DHCPv6 pools.
Page 442
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <pool_name 12> - (Optional) Enter the DHCPv6 pool name to be displayed here. This name can be up to 12 characters long. If no parameters are specified, all the DHCPv6 pools will be displayed.
Page 443
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6 pool ipv6network_addr <pool_name 12> begin <ipv6networkaddr> end <ipv6networkaddr> Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long.
Page 444
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the domain name for the DHCPv6 pool pool1: DGS-3620-28SC:admin# config dhcpv6 pool domain_name pool1 dlink.com Command: config dhcpv6 pool domain_name pool1 dlink.com...
Page 445
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 27-7 config dhcpv6 pool lifetime Description This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address within a DHCPv6 pool. Preferred lifetime - the length of time that a valid address is preferred (i.e., the time until deprecation).
Page 446
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dhcpv6 pool manual_binding <pool_name 12> [add [<ipv6addr> | <ipv6networkaddr>] client_duid <string 28> | delete [<ipv6addr> | <ipv6networkaddr> | all]] Parameters <pool_name 12> - Enter the DHCPv6 pool name used here. This name can be up to 12 characters long.
Page 447
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6networkaddr> - Enter the IPv6 prefix assigned to the pool here. <value 1-128> - Enter the length of the prefix, in bits, assigned to the user from the pool here.
Page 448
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dhcpv6 manual_binding Command: show dhcpv6 manual_binding Pool Name :net100 Entry IPv6 Address: 3000:100:1::ABCD DUID : 00030006001572200700 Pool Name :net91 Entry IPv6 Address: 3000:91:1::100 DUID : 00030006aabbcc000000...
Page 449
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dhcpv6 binding Command: show dhcpv6 binding Pool Name: net90 IPv6 Address: 3000:90:1::7 DUID : 0003000600cd14517000 Preferred(s): 120 Valid(s): 240 Pool Name: net100-2 IPv6 Address: 3000:100:1::1 DUID...
Page 450
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable dhcpv6_server Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the DHCPv6 server global state to enable: DGS-3620-28SC:admin# enable dhcpv6_server Command: enable dhcpv6_server Success.
Page 451
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 27-15 show dhcpv6_server Description This command is used to display the DHCPv6 server setting. Format show dhcpv6_server {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the IP interface name to be displayed.
Page 452
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide characters long. add - Specifies to add an excluded address range for a specified pool. begin - Specifies the beginning IPv6 address of the range of IPv6 addresses to be excluded from the DHCPv6 pool.
Page 453
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the excluded address information: DGS-3620-28SC:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address Pool Name: net100 Range Begin Address: 3000:110:1::1 End Address : 3000:110:1::7 Range Begin Address: 3000:110:1::9...
Page 454
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config dhcpv6_server ipif System state enable Command: config dhcpv6_server ipif System state enable Success. DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that DVMRP of the specified IP interface will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
Page 457
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 28-3 disable dvmrp Description This command is used to disable the DVMRP global state on the Switch. Format disable dvmrp Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
Page 458
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display DVMRP configurations: DGS-3620-28SC:admin#show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout Probe Metric State ------------ ----------------- ---------------- ----- ------...
Page 459
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address Generation ID Expire Time --------------- ---------------- ------------- ----------- System 10.48.74.123 Total Entries : 1...
Page 460
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp nexthop Command: show dvmrp nexthop DVMRP Routing Next Hop Table Source Address/NetMask Interface Name Type ---------------------- --------------- ------ 10.0.0.0/8 Leaf 10.0.0.0/8 Leaf 20.0.0.0/8 System Leaf 20.0.0.0/8...
Page 461
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show dvmrp routing_table Command: show dvmrp routing_table DVMRP Routing Table Source Address/Netmask Upstream Neighbor Metric Learned Interface Expire ---------------------- ----------------- ------ ------- ---------- ------ 10.0.0.0/8 10.90.90.90 Local System 20.0.0.0/16...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 29 D-Link License Management System (DLMS) install dlms activation_code <string 25> {unit <unit_id>} show dlms license 29-1 install dlms activation_code Description This command is used to install an activation code. The activation code is a set of codes which activates/ unlocks functions on the switch.
Page 463
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 29-2 show dlms license Description This command will display the license information. Format show dlms license {unit <unit_id>} Parameters unit - Specifies the unit to display. <unit_id> Specifies the switch in the switch stack.
Page 465
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To add the entry “dns1” with IP address 10.24.22.5 to the DNS static table: DGS-3620-28SC:admin#config dnsr add static dns1 10.24.22.5 Command: config dnsr add static dns1 10.24.22.5 Success.
Page 466
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To enable cache lookup for DNS relay: DGS-3620-28SC:admin#enable dnsr cache Command: enable dnsr cache Success. DGS-3620-28SC:admin# To enable static table lookup for DNS relay: DGS-3620-28SC:admin#enable dnsr static Command: enable dnsr static Success.
Page 467
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To disable static table lookup for DNS relay: DGS-3620-28SC:admin#disable dnsr static Command: disable dnsr static Success. DGS-3620-28SC:admin# 30-4 show dnsr Description This command is used to display the current DNS relay configuration and static entries.
Page 468
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show dnsr Command: show dnsr DNSR Status : Disabled Primary Name Server : 0.0.0.0 Secondary Name Server : 0.0.0.0 DNSR Cache Status : Disabled DNSR Static Table Status : Disabled...
Page 470
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 31-2 config name_server delete Description This command is used to delete a DNS resolver name server from the Switch. Format config name_server delete [<ipaddr> | <ipv6addr>] {primary} Parameters <ipaddr>...
Page 471
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure DNS Resolver name server time out to 10 seconds: DGS-3620-28SC:admin# config name_server timeout 10 Command: config name_server timeout 10 Success. DGS-3620-28SC:admin# 31-4 show name_server Description This command is used to display the current DNS Resolver name servers and name server time out on the Switch.
Page 472
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 31-5 create host_name Description This command is used to create the static host name entry of the Switch. Format create host_name <name 255> [<ipaddr> | <ipv6addr>] Parameters <name 255> - Enter the hostname used here. This name can be up to 255 characters long.
Page 473
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3620-28SC:admin# 31-7 show host_name Description This command is used to display the current host name. Format show host_name {static | dynamic} Parameters static –...
Page 474
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Dynamic Entries: 0 DGS-3620-28SC:admin# 31-8 enable dns_resolver Description This command is used to enable the DNS Resolver state of the Switch. Format enable dns_resolver Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 475
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the DNS Resolver state to disabled: DGS-3620-28SC:admin# disable dns_resolver Command: disable dns_resolver Success. DGS-3620-28SC:admin#...
Page 477
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure land attack and blat attack prevention, the action is drop: DGS-3620-28SC:admin#config dos_prevention dos_type land_attack blat_attack...
Page 478
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config dos_prevention trap [enable | disable] Parameters enable - Specifies to enable the DoS prevention trap state. disable - Specifies to disable the DoS prevention trap state.
Page 479
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display DoS prevention information: DGS-3620-28SC:admin#show dos_prevention Command: show dos_prevention Trap:Disabled Log:Enabled Function Version : 1.01 DoS Type State Action Frame Counts -------------------------- -------- ----------------...
Page 481
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable unidirectional link detection on port 1: DGS-3620-28SC:admin# config duld ports 1 state enable Commands: config duld ports 1 state enable Success DGS-3620-28SC:admin# 33-2 show duld ports Description This command is used to show unidirectional link detection information.
Page 483
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable ERPS: DGS-3620-28SC:admin#enable erps Command: enable erps Success. DGS-3620-28SC:admin# 34-2 disable erps Description This command is used to disable the ERPS function on the switch.
Page 484
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create erps raps_vlan <vlanid 1-4094> Parameters <vlanid 1-4094> - Enter the VLAN which will be the R-APS VLAN. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 485
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 34-5 config erps raps_vlan Description This command is used to set the R-APS VLAN parameters. The ring_mel command is used to configure the ring MEL for an R-APS VLAN. The ring MEL is one field in the R-APS PDU. Note that if CFM (Connectivity Fault Management) and ERPS are used at the same time, R-APS PDU is one of a suite of Ethernet OAM PDU.
Page 486
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Holdoff timer - Hold-off timer is used to filter out intermittent link faults when link failure occurs. This timer is used during the protection switching process when link failure occurs. When a ring node detects a link’s failure, it will start the hold off timer.
Page 487
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - Specifies a VLAN ID list. <vidlist> - Enter a range of VLAN IDs. sub_ring - Specifies the sub-ring configuration. raps_vlan - Specifies the R-APS VLAN. <vlanid> - Enter the R-APS VLAN ID used here.
Page 489
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the log state: DGS-3620-28SC:admin#config erps log enable Command: config erps log enable Success. DGS-3620-28SC:admin# 34-7 config erps trap Description This command is used to configure trap state of ERPS events.
Page 490
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show erps {raps_vlan <vlanid 1-4094> {sub_ring}} Parameters raps_vlan - (Optional) Specifies the R-APS VLAN. <vlanid 1-4094> - Enter the R-APS VLAN ID used here. sub_ring - (Optional) Display the sub-ring configuration information.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 35 Energy Efficient Ethernet (EEE) Commands config eee ports [<portlist> | all] state [enable | disable] show eee ports {<portlist>} Note: This feature is only available on hardware version B1 and later.
Page 492
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show eee ports {<portlist>} Parameters <portlist> - (Optional) Specify a list of ports to be displayed. Restrictions None. Example To display the EEE state: DGS-3620-28SC:admin#show eee ports 1:1-1:6,1:9...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 36 External Alarm Commands config external_alarm {unit <unit_id>} channel <value 1-4> message <sentence 1-128> show external_alarm {unit <unitlist>} 36-1 config external_alarm Description This command is used to configure external alarm message for a channel.
Page 494
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 36-2 show external_alarm Description This command is used to display the real-time status of external alarm. Format show external_alarm {unit <unitlist>} Parameters unit - Specifies the unit(s) to display.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-2 create fdb vlanid Description This command is used to create an entry into the switch’s unicast MAC address forwarding database using the VLAN ID. Format create fdb vlanid <vidlist> <macaddr> [port <port> | drop] Parameters <vidlist>...
Page 497
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create multicast MAC forwarding: DGS-3620-28SC:admin# create multicast_fdb default 01-00-00-00-01-01 Command: create multicast_fdb default 01-00-00-00-01-01 Success.
Page 498
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-5 config fdb aging_time Description This command is used to set the age-out timer for the switch’s dynamic unicast MAC address forwarding tables. Format config fdb aging_time <sec 10-1000000>...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide filter_unregistered_groups - Specifies the filtering mode as filter_unregistered_groups. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the the multicast packet filtering mode for all VLANs:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 37-8 clear fdb Description This command is used to clear the switch’s forwarding database of all dynamically learned MAC addresses. Format clear fdb [vlan <vlan_name 32> | port <port> | all ] Parameters vlan - Specifies the name of the VLAN on which the MAC address resides.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, all multicast FDB entries will be displayed. Restrictions None. Example To display multicast MAC address table: DGS-3620-28SC:admin#show multicast_fdb Command: show multicast_fdb VLAN Name...
Page 502
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display unicast MAC address table: DGS-3620-28SC:admin#show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type Status...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 38 File System Management Commands show storage_media_info {[unit <unit_id> | all]} md {{unit <unit_id>} <drive_id>} <pathname> rd {{unit <unit_id>} <drive_id>} <pathname> cd {<pathname>} dir {{unit <unit_id>} <drive_id>} {<pathname>} rename {{unit <unit_id>} <drive_id>} <pathname>...
Page 505
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show storage_media_info Command: show storage_media_info Unit Drive Media Type Size Label FS Type Version ---- ----- ---------- -------- ----------- ------- ------- Flash 123 MB DGS-3620-28SC:admin# 38-2 Description This command is used to create a directory.
Page 506
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here.
Page 507
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Current work directory: “c:/d1” DGS-3620-28SC:admin# 38-5 Description This command is used to list all of the files located in a directory of a drive. If a path name is not specified, then all of the files in the specified drive will be displayed.
Page 508
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#dir c:/system Command: dir c:/system System reserved directory. Used space 89KB. DGS-3620-28SC:admin# 38-6 rename Description This command is used to rename a file in the file system. The pathname specifies the file (in path form) to be renamed and the file name specifies the new file name.
Page 509
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here.
Page 510
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#format d: fat32 Command: format d: fat32 Formatting......Done! DGS-3620-28SC:admin# 38-9 Description This command is used to delete a file. It is also used to delete a directory and its contents. The system will prompt if the target file is a bootup image/configuration or the last image.
Page 511
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 38-10 move Description This command is used to move a file around the file system. Note that when a file is moved, it can be specified whether to be renamed at the same time.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters unit - Specifies the unit ID in the stacking system. If not specified, it refers to the master unit. <unit_id> - Enter the unit ID value here.
Page 513
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# change drive unit 3 c: Command: change drive unit 3 c: Current work directory: "/unit3:/c:". DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 39 Filter Commands config filter extensive_netbios [<portlist> | all] state [enable | disable] show filter extensive_netbios config filter netbios [<portlist> | all] state [enable | disable] show filter netbios...
Page 515
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show filter extensive_netbios Parameters None. Restrictions None. Example To display the extensive NetBIOS filter state on the switch: DGS-3620-28SC:admin#show filter extensive_netbios Command: show filter extensive_netbios Enabled Ports: 1-3...
Page 516
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config filter netbios 1-10 state enable Success. DGS-3620-28SC:admin# 39-4 show filter netbios Description This command is used to display the NetBIOS filter state on the switch. Format...
Page 518
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) Parameters ipif - (Optional) The interface name of the L3 interface. <ipif_name 12> - Enter the interface name. The maximum length is 12 characters.
Page 519
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config gratuitous_arp learning enable Success. DGS-3620-28SC:admin# 40-4 config gratuitous_arp send dup_ip_detected Description This command is used to enable or disable the sending of gratuitous ARP requests when a duplicate IP address is detected.
Page 520
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config gratuitous_arp send ipif_status_up [enable | disable] Parameters enable - Enable the sending of gratuitous ARP requests when the IPIF status becomes up. disable - Disable the sending of gratuitous ARP requests when the IPIF status becomes up.
Page 521
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config gratuitous_arp send periodically ipif System interval 5 Success. DGS-3620-28SC:admin# 40-7 show gratuitous_arp Description This command is used to display gratuitous ARP configuration. Format show gratuitous_arp {ipif <ipif_name 12>} Parameters ipif - (Optional) The interface name of the L3 interface.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 1-25> - Enter the last member query interval value here. This value must be between 1 and 25. The default value is 1. state - (Optional) Specifies the IGMP state on a router interface.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the IGMP configuration for all interfaces: DGS-3620-28SC:admin#show igmp Command: show igmp IGMP Interface Configurations Interface IP Address/Netmask Ver- Query Maximum Robust- Last State sion Response ness...
Page 525
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide System 224.0.1.41 10.1.43.252 10.48.74.122 System 224.0.1.149 10.20.63.11 10.48.74.122 Total Entries : 3 DGS-3620-28SC:admin# 41-4 config igmp check_subscriber_source_network Description This command is used to configure the flag that determines whether or not to check the subscriber source IP when an IGMP report or leave message is received.
Page 526
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 41-5 show igmp check_subscriber_source_network Description This command is used to display the status of the IGMP report/leave message source IP check. Format show igmp check_subscriber_source_network {ipif <ipif_name 12>} Parameters ipif –...
Page 527
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 41-6 create igmp static_group Description This command is used to create an IGMP static group on the Switch. Format create igmp static_group ipif <ipif_name 12> group <ipaddr>...
Page 528
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all – Specifies that all the multicast IP addresses will be deleted. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete the IGMP static group, with the multicast IP address 225.0.0.2 on the IP interface “System”.
Page 529
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show igmp static_group ipif n20 Command: show igmp static_group ipif n20 Interface Multicast Group ------------ --------------- 239.0.0.3 Total Entries: 1 DGS-3620-28SC:admin# To display all IGMP static groups on all interfaces:...
Page 531
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the IGMP proxy: DGS-3620-28SC:admin#disable igmp_proxy Command: disable igmp_proxy Success. DGS-3620-28SC:admin# 42-3...
Page 532
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config igmp_proxy downstream_if add vlan vlanid 2-7 Success. DGS-3620-28SC:admin# 42-4 config igmp_proxy upstream_if Description This command is used to configure the setting for the IGMP proxy’s upstream interface. The IGMP proxy plays the host role on the upstream interface.
Page 533
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 42-5 show igmp_proxy Description This command displays IGMP proxy configuration information or group information on the switch. The display status item means group entry is determined by whether or not the chip is inserted.
Page 534
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Dest-V : The destination VLAN. : Active : Inactive Dest IP Source IP Dest-V Member Ports Status ----------- ------------- ------ ---------------- --------- 224.2.2.2 NULL 227.3.1.5 NULL 2,5,8 5,7,9...
Page 536
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - Specifies the VLAN ID list. <vlanid_list> - Enter the VLAN ID list. all - Specifies to configure all VLANs. state - Enable or disable IGMP snooping for the chosen VLAN.
Page 537
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <sec 1-65535> - Enter the amount of time in seconds between general query transmissions. The default setting is 125 seconds. max_response_time - Specifies the maximum time in seconds to wait for reports from members.
Page 538
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 43-3 config router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol.
Page 539
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specifies to add the router ports. delete - Specifies to delete the router ports. <portlist> - Enter a range of ports to be configured. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 540
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 43-6 disable igmp_snooping Description This command is used to disable IGMP snooping on the switch. IGMP snooping can be disabled only if IP multicast routing is not being used. Disabling IGMP snooping allows all IGMP and IP multicast traffic to flood within a given IP interface.
Page 541
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To show IGMP snooping: DGS-3620-28SC:admin#show igmp_snooping Command: show igmp_snooping IGMP Snooping Global State : Disabled VLAN Name : default Query Interval : 125 Max Response Time...
Page 542
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Enter a range of ports to be configured. <ipaddr> - (Optional) Specify the group IP address for which to view IGMP snooping group information. Note: If no parameter is specified, the system will display all of the current IGMP snooping group configuration of the switch.
Page 543
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] [<value 1-1000> | no_limit] Parameters ports - Specifies a range of ports to be configured. <portlist> - Enter a range of ports to be configured.
Page 544
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the IGMP snooping rate limit for ports 1-2: DGS-3620-28SC:admin#show igmp_snooping rate_limit ports 1-2 Command: show igmp_snooping rate_limit ports 1-2 Port Rate Limit -------- ------------ No Limit...
Page 545
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 43-12 config igmp_snooping static_group Description This command is used to configure an IGMP snooping static group on the switch. When a port is configured as a static member port, the IGMP protocol will not operate on this port. Therefore, suppose that a port is a dynamic member port learned by IGMP.
Page 546
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete igmp_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipaddr> Parameters vlan - Specifies the name of the VLAN on which the router port resides. <vlan_name 32> - Enter the VLAN name. The maximum length is 32 characters.
Page 547
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports --------------------------------------- -------------- -------------------- 1/default 239.1.1.1 9-10 Total Entries : 1 DGS-3620-28SC:admin# 43-15 show igmp_snooping statistic counter Description This command is used to display the IGMP snooping statistics counter for IGMP protocol packets that are transmitted or received by the switch since IGMP snooping was enabled.
Page 548
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Dropped By Multicast VLAN Report & Leave IGMP v1 Report IGMP v2 Report IGMP v3 Report IGMP v2 Leave Total Dropped By Rate Limitation Dropped By Max Group Limitation...
Page 549
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#clear igmp_snooping statistics counter Command: clear igmp_snooping statistics counter Success. DGS-3620-28SC:admin# 43-17 show igmp_snooping forwarding Description This command is used to display the switch’s current IGMP snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group comes from in terms of specific sources.
Page 550
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 43-18 show router_ports Description This command is used to display the current router ports on the switch. Format show router_ports [vlan <vlan_name 32> | vlanid <vlanid_list> | all] {[static | dynamic |...
Page 551
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 43-19 config igmp access_authentication ports Description This command is used to enable or disable the IGMP Access Control function for the specified ports. If the IGMP Access Control function is enabled and the Switch receives an IGMP JOIN message, the Switch will send the access request to the RADIUS server for authentication.
Page 552
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters all - Specifies all ports to be displayed. <portlist> - Enter a range of ports to be displayed. Restrictions None. Example To display the IGMP Access Control status for ports 1-4:...
Page 555
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-7> - Enter 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 default setting is none.
Page 556
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide tag_member_port - Specifies the tagged member port of the multicast VLAN. <portlist> - Enter a range of ports to be configured. state - (Optional) Specify if the multicast VLAN for a chosen VLAN should be enabled or disabled.
Page 557
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an IGMP snooping multicast group profile with the name “Knicks”: DGS-3620-28SC:admin#create igmp_snooping multicast_vlan_group_profile Knicks Command: create igmp_snooping multicast_vlan_group_profile Knicks Success.
Page 558
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 44-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.
Page 559
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, the system will display all multicast VLAN group profiles. Restrictions None. Example To display all IGMP snooping multicast VLAN profiles: DGS-3620-28SC:admin#show igmp_snooping multicast_vlan_group_profile...
Page 560
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To add an IGMP snooping profile to a multicast VLAN group with the name “v1”:...
Page 561
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 44-9 delete igmp_snooping multicast_vlan Description This command is used to delete an IGMP snooping multicast VLAN. Format delete igmp_snooping multicast_vlan <vlan_name 32> Parameters <vlan_name 32> - Enter the name of the multicast VLAN to be deleted.
Page 562
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable IGMP snooping multicast VLAN: DGS-3620-28SC:admin#enable igmp_snooping multicast_vlan Command: enable igmp_snooping multicast_vlan Success. DGS-3620-28SC:admin# 44-11 disable igmp_snooping multicast_vlan Description This command is used to disable the IGMP snooping multicast VLAN function. By default, the multicast VLAN is disabled.
Page 563
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <vlan_name 32> - (Optional) Specify the name of the multicast VLAN to be displayed. If no parameter is specified, the system will display all multicast VLANs. Restrictions None.
Page 564
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - The packet will be dropped. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the forwarding mode for IGMP snooping multicast VLAN unmatched packets:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 45 IP Multicasting Commands show ipmc {ipif <ipif_name 12> | protocol [inactive | dvmrp | pim]} show ipmc cache {group <group>} {ipaddress <network_address>} 45-1 show ipmc Description This command is used to display the IP Multicast interface table.
Page 567
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ipmc Command: show ipmc Interface Name IP Address Multicast Routing --------------- --------------- ----------------- System 10.90.90.90 INACT 1.3.2.3 PIM-SM 2.3.2.3 PIM-SM-DM 3.3.2.3 PIM-DM 4.3.2.3 DVMRP Total Entries : 5...
Page 568
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show ipmc cache Command: show ipmc cache IP Multicast Forwarding Table Multicast Source Upstream Expire Routing Group Address/Netmask Neighbor Time Protocol --------------- ---------------------- --------------- ------ --------- 224.1.1.1 10.48.74.121/8 10.48.75.63...
Page 570
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create ip prefix_list 1 Command: create ip prefix_list 1 Success. DGS-3620-28SC:admin# 46-2 config ip prefix_list Description This command defines the rule entry for an IP route prefix list.
Page 571
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <network_address> - Specifies the network address used. ge - (Optional) Specifies the minimum prefix length to be matched. <value 1-32> - Enter the 'ge' value used here. This value must be between 1 and 32.
Page 572
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete ip prefix_list list_name list1 Command: delete ip prefix_list list_name list1 Success. DGS-3620-28SC:admin# 46-4 show ip prefix_list Description This command is used to show an IP prefix list.
Page 573
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - Enter the name of the access list used here. This name can be up to 16 characters long. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 574
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ip standard access_list List1 add 10.10.10.0/24 permit Command: config ip standard access_list List1 add 10.10.10.0/24 permit Success. DGS-3620-28SC:admin# 46-7 delete ip standard access_list Description This command is used to delete an access list used from the route filters.
Page 575
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <list_name 16> - (Optional) Enter the name of the access list used here. This name can be up to 16 characters long. If no parameter is specified, all access lists on the Switch will be displayed.
Page 576
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# clear ip prefix_list counter list_name 192.168.10.0/24 Command: clear ip prefix_list counter list_name 192.168.10.0/24 Success. DGS-3620-28SC:admin# 46-10 create route_map Description This command is used to create a route map.
Page 578
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipaddr> - Specifies the IP address to set. peer_address - This will take effect for both the ingress and egress directions. When set to next_hop to peer address, for ingress direction, the next hop will be set to the neighbor peer address.
Page 579
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure a route map named “map1” and add one sequence ID of 20 to the route map:...
Page 580
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete the route map named “map1”: DGS-3620-28SC:admin# delete route_map map_name map1 Command: delete route_map map_name map1 Success. DGS-3620-28SC:admin# 46-13 show route_map Description This command is used to display the route map configuration.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide system. The first created is the primary, the second created is the backup. weight - (Optional) Specifies the weight value of the IP route. <value 1-4> - Enter the weight value used here. This value must be between 1 and 4.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: delete iproute default 10.48.74.121 Success. DGS-3620-28SC:admin# 47-3 show iproute Description This command is used to display the Switch’s current IP routing table. Format show iproute {[<network_address> | <ipaddr>]} {[static | rip | ospf | bgp | hardware]} Parameters <network_address>...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 47-4 create ipv6route Description This command is used to create an IPv6 static route in the Switch’s IP routing table. If the next hop is a global address, it is not necessary to indicate the interface name. If the next hop is a link local address, then the interface name must be specified.
Page 586
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display IPv6 route(s): DGS-3620-28SC:admin#show ipv6route Command: show ipv6route IPv6 Prefix: ::/0 Protocol: Static Metric: 1 Next Hop : FEC0::5 IPIF : System Total Entries: 1 DGS-3620-28SC:admin#...
Page 587
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable ecmp ospf Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the OSPF ECMP function: DGS-3620-28SC:admin# disable ecmp ospf Command: disable ecmp ospf Success.
Page 588
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the ECMP hash algorithm: DGS-3620-28SC:admin# config ecmp algorithm ip_destination ip_source Command: config ecmp algorithm ip_destination ip_source Success. DGS-3620-28SC:admin# 47-10 show ecmp algorithm Description This command is used to display the ECMP related settings.
Page 589
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create ipv6route redistribute dst ripng src [local | static | ospfv3] {metric <value 0-16>} Parameters local - Redistribute local routes into RIPng. static - Redistribute static routes into RIPng.
Page 590
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To configure the RIPng route redistribution: DGS-3620-28SC:admin#config ipv6route redistribute dst ripng src local metric 6 Command: config ipv6route redistribute dst ripng src local metric 6 Success.
Page 591
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 47-14 create ipv6route redistribute dst ospfv3 src Description This command is used to create a new IPv6 route redistribution to import route of other protocol into OSPFv3. Format create ipv6route redistribute dst ospfv3 src [local | static | ripng] {mettype [1 | 2] | metric <value 1-16777214>}...
Page 592
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ipv6route redistribute dst ospfv3 src [local | static | ripng] {mettype [1 | 2] | metric <value 1-16777214>} Parameters src - Specifies the source protocol. local - Specifies to redistribute local routes into OSPFv3.
Page 593
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide ripng - Specifies to stop redistributing RIPng routes into OSPFv3. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To remove OSPFv3 route redistribution:...
Page 595
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 48-2 delete ip_tunnel Description This command is used to delete an IP tunnel interface. Format delete ip_tunnel <tunnel_name 12> Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long.
Page 596
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide configured. The IPv6 address is not connected with the tunnel source or the destination IPv4 address. <ipv6networkaddr> - Enter the IPv6 address used here. source - (Optional) Specifies the source IPv4 address of the IPv6 tunnel interface. It is used as the source address for packets in the IPv6 tunnel.
Page 597
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long. ipv6address - (Optional) Specifies the IPv6 address assigned to this IPv6 tunnel interface. IPv6 processing will be enabled on this IPv6 tunnel interface as soon as its IPv6 address is configured.
Page 598
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ip_tunnel isatap <tunnel_name 12> {ipv6address <ipv6networkaddr> | source <ipaddr>}(1) Parameters <tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12 characters long.
Page 599
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tunnel_name 12> - (Optional) Enter the IP tunnel interface name used here. This name can be up to 12 characters long. Restrictions None. (EI Mode Only Command) Example To show an IP tunnel interface’s information (Tunnel name is “tn2”):...
Page 600
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# enable ip_tunnel tn2 Command: enable ip_tunnel tn2 Success. DGS-3620-28SC:admin# 48-8 disable ip_tunnel Description This command is used to disable a single specified IP tunnel or all IP tunnels on the Switch.
Page 601
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide When a user wants to configure a GRE IPv6/IPv4-in-IPv6 tunnel, both the source and destination address must be IPv6 addresses because the delivery protocol is the IPv6 protocol. If the source and destination address type are not consistent then the GRE tunnel will not work.
Page 602
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ip_tunnel gre tn1 source 1.0.0.1 destination 1.0.0.2 Command: config ip_tunnel gre tn1 source 1.0.0.1 destination 1.0.0.2 Success. DGS-3620-28SC:admin# config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2001::1/64 Command: config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2001::1/64...
Page 603
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface : tn2 Interface Admin State : Enabled Tunnel Mode : GRE Ipv4 Address : 3.0.0.1/8 IPv6 Address : 3001::1/64...
Page 605
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 49-2 delete ipv6 neighbor_cache ipif Description This command is used to delete a neighbor cache entry or static neighbor cache entries from the address cache or all address cache entries on this IP interface. Both static and dynamic entries can be deleted.
Page 606
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipv6addr> - Enter the IPv6 address static - Specifies to display the IPv6 static neighbor cache entries. dynamic - Specifies to display the IPv6 dynamic entries. all - Specifies to display all IPv6 addresses, static and dynamic.
Page 607
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the NS retransmit time of a specified interface: DGS-3620-28SC:admin#config ipv6 nd ns ipif System retrans_time 400 Command: config ipv6 nd ns ipif System retrans_time 400 Success.
Page 608
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide max_rtr_adv_interval - Specifies the maximum time allowed between sending unsolicited 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.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - When set to disable, the specified prefix will not be used to create an autonomous address configuration. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 610
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide NS Retransmit Time : 400 (ms) Router Advertisement : Disabled RA Max Router AdvInterval : 600 (sec) RA Min Router AdvInterval : 198 (sec) RA Router Life Time...
Page 612
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 50-1 create address_binding ip_mac ipaddress Description This command is used to create an IP-MAC-Port binding entry. Format create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr> {ports[<portlist>| all ]} Parameters <ipaddr>...
Page 613
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Enter a range of ports to be configured. all - Specifies to apply to all the ports. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 614
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide loose - Specifies that in this mode, all packets are forwarded by default until an illegal ARP or broadcast IP packet is detected. disable - Disable the ARP inspection function. The default value is disable.
Page 615
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <ipaddr> - Enter the IP address. mac_address - Specifies the MAC address. <macaddr> - Enter the MAC address here. ports - (Optional) Configure the portlist to apply, if ports are not configured, then it will apply to all ports.
Page 616
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure a static IPv6 IMPB entry so that that IPv6 address fe80::240:5ff:fe00:28 is bound to the MAC address 00-00-00-00-00-11: DGS-3620-28SC:admin# config address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11...
Page 617
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete address_binding ip_mac [all | ipaddress <ipaddr> mac_address <macaddr> | ipv6address <ipv6addr> mac_address <macaddr>] Parameters all - Specifies that all the MAC addresses will be used. vlan_name - Specifies the name of the VLAN that the MAC address belongs to.
Page 618
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show address_binding {ports {<portlist>}} Parameters ports – (Optional) Specify to display the state of IP MAC port binding for all ports. <portlist> - Enter the list of ports for the display here.
Page 619
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 50-9 show address_binding blocked Description This command is used to display address binding information for blocked entries. Format show address_binding blocked [all | vlan_name <vlan_name> mac_address <macaddr>] Parameters blocked - (Optional) Specify the address database that system auto learned and blocked.
Page 620
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 50-10 show address_binding ip_mac Description This command is used to display the user created database of address binding information. Format show address_binding ip_mac [all | [[ipaddress <ipaddr> | ipv6address <ipv6addr>] {mac_address <macaddr>} | mac_address <macaddr>]]...
Page 622
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable address_binding trap_log Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the address binding trap and log: DGS-3620-28SC:admin#disable address_binding trap_log Command: disable address_binding trap_log Success.
Page 623
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable address_binding dhcp_snoop {[ipv6 | all]} Parameters ipv6 – (Optional) Specifies that the address used is an IPv6 address. all – (Optional) Specifies that all IP addresses will be used.
Page 624
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 50-15 clear address_binding dhcp_snoop binding_entry ports Description This command is used to clear the address binding entries learned for the specified ports. Format clear address_binding dhcp_snoop binding_entry ports [<portlist> | all] {[ipv6 | all]} Parameters <portlist>...
Page 625
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display address binding DHCP snooping: DGS-3620-28SC:admin#show address_binding dhcp_snoop Command: show address_binding dhcp_snoop DHCP Snoop(IPv4) : Disabled DHCP Snoop(IPv6) : Disabled DGS-3620-28SC:admin# To display the address binding DHCP snooping maximum entries on port 1 to 10:...
Page 626
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the DHCP snooping binding entries: DGS-3620-28SC:admin#show address_binding dhcp_snoop binding_entry Command: show address_binding dhcp_snoop binding_entry S (Status) - A: Active, I: Inactive Time - Left Time (sec)
Page 627
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config address_binding dhcp_snoop max_entry ports 1-3 limit 10 Success. DGS-3620-28SC:admin# 50-19 config address_binding recover_learning ports Description This command is used to recover port learning. Format config address_binding recover_learning ports [<portlist> | all] Parameters <portlist>...
Page 628
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the ND snooping function on the Switch: DGS-3620-28SC:admin# enable address_binding nd_snoop Command: enable address_binding nd_snoop Success.
Page 629
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config address_binding nd_snoop ports [<portlist> | all] max_entry [<value 1-50> | no_limit] Parameters ports - Specifies the list of ports used for this configuration. <portlist> - Enter the list of ports used for this configuration here.
Page 630
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show address_binding nd_snoop Command: show address_binding nd_snoop ND Snoop : Enabled DGS-3620-28SC:admin# To show the ND snooping maximum entry information for ports 1-5: DGS-3620-28SC:admin#show address_binding nd_snoop ports 1:1-1:5...
Page 631
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show address_binding nd_snoop binding_entry Command: show address_binding nd_snoop binding_entry S (Status) - A: Active, I: Inactive Time - Left Time (sec) IP Address MAC Address LT(sec) Port...
Page 632
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: This feature is only supported on devices that support external memory (e.g. SD card). Format config address_binding dhcp_snoop_entry filename <path_filename 64> {autosave [enable | disable]} Parameters <path_filename 64> - Enter the pathname, on the device's file system, to autosave the DHCPv4 Snooping binding entries.
Page 633
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable IMPB roaming: DGS-3620-28SC:admin#enable address_binding roaming Command: enable address_binding roaming Success. DGS-3620-28SC:admin# 50-28 disable address_binding roaming Description This command is used to disable IMPB roaming. When disabled, all dynamic entries learned through DHCP/ND snooping on a specific port will not have chance to change to the learning port, even if the switch detects that the client already changed ports.
Page 634
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format download address_binding snoop_entry_fromTFTP [<ipaddr> | <ipv6addr> | <domain_name 255>] filename <path_filename 64> Parameters <ipaddr> - Enter the IPv4 address of the TFTP server here. <ipv6addr> - Enter the IPv6 address of the TFTP server here.
Page 635
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To upload the DHCP snooping binding table: DGS-3620-28SC:admin#upload address_binding snoop_entry_toTFTP 10.90.90.6 filename impb.cfg Command: upload address_binding snoop_entry_toTFTP 10.90.90.6 filename impb.cfg Connecting to server....
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 51 Japanese Web- based Access Control (JWAC) Commands enable jwac disable jwac enable jwac redirect disable jwac redirect enable jwac forcible_logout disable jwac forcible_logout enable jwac udp_filtering...
Page 637
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Using the JWAC function, PC users need to pass two stages of authentication. The first stage is to do the authentication with the quarantine server and the second stage is the authentication with the switch.
Page 638
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#disable jwac Command: disable jwac Success. DGS-3620-28SC:admin# 51-3 enable jwac redirect Description This command is used to enable JWAC redirect. When redirect quarantine_server is enabled, the unauthenticated host will be redirected to a quarantine server when it tries to access a random URL.
Page 639
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable JWAC redirect: DGS-3620-28SC:admin#disable jwac redirect Command: disable jwac redirect Success. DGS-3620-28SC:admin#...
Page 640
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 51-6 disable jwac forcible_logout Description This command is used to disable JWAC forcible logout. Format disable jwac forcible_logout Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 641
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable JWAC UDP filtering: DGS-3620-28SC:admin#enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3620-28SC:admin# 51-8 disable jwac udp_filtering Description This command is used to disable JWAC UDP filtering.
Page 642
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable JWAC quarantine server monitoring: DGS-3620-28SC:admin#enable jwac quarantine_server_monitor Command: enable jwac quarantine_server_monitor Success.
Page 643
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 51-11 config jwac quarantine_server_error_timeout Description This command is used to set the quarantine server error timeout. When the quarantine server monitor is enabled, the JWAC switch will periodically check if the quarantine works okay. If the switch does not receive any response from quarantine server during the configured error timeout, the switch then regards it as not working properly.
Page 644
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters quarantine_server_url - Specifies the entire URL of the authentication page on the quarantine server. <string 128> - Enter the entire URL of the authentication page on the quarantine server. The quarantine server URL can be up to 128 characters long.
Page 645
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure JWAC redirect destination to JWAC login web page and a delay time of 5 seconds: DGS-3620-28SC:admin#config jwac redirect destination jwac_login_page delay_time Command: config jwac redirect_ destination jwac_login_page delay_time 5 Success.
Page 646
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide need to be able to have access to accomplish authentication. Before the client passes authentication, it should be added to the Switch with its IP address. For example, the client may need to access update.microsoft.com or some sites of the Anti-Virus software companies to check...
Page 647
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <tcp_port_number 1-65535> - Enter a TCP port which the JWAC switch listens to and uses to finish the authenticating process. http - (Optional) Specify the JWAC run HTTP protocol on this TCP port.
Page 648
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide block_time - If a host fails to pass the authentication, it will be blocked for a period specified by the blocking time.The default value is 60 seconds. <sec 0-300> - Enter a blocking time value between 0 and 300.
Page 649
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 51-19 create jwac user Description This command creates JWAC users in the local database. When “local” is chosen while configuring the JWAC RADIUS protocol, the local database will be used.
Page 650
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide account to pass authentication. <vlanid 1-4094> - Enter 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.
Page 651
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 51-22 show jwac user Description This command is used to display JWAC users in the local database. Format show jwac user Parameters None. Restrictions None. Example To display the current JWAC local users:...
Page 652
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the current JWAC configuration: DGS-3620-28SC:admin#show jwac Command: show jwac State : Disabled Enabled Ports Virtual IP/URL : 0.0.0.0/- Switch HTTP Port : 80 (HTTP)
Page 653
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display JWAC authentication entries for ports 1 to 2: DGS-3620-28SC:admin#show jwac auth_state ports 1-2 Command: show jwac auth_state ports 1-2 Pri:Priority. State – A:Authenticated. B:Bloacked. -:Authenticating Time –...
Page 654
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 172.18.0.0/21 Active DGS-3620-28SC:admin# 51-26 show jwac ports Description This command is used to display the port configuration of JWAC. Format show jwac ports {<portlist>} Parameters <portlist> - (Optional) Specify a port range to show the configuration of JWAC.
Page 655
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - Specifies the port range to delete hosts on. all - Specifies to delete all ports. <portlist> - Enter range of ports to delete. authenticated - (Optional) Specify the state of host to delete.
Page 656
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 51-29 show jwac authenticate_page Description This command is used to display the element mapping of the customized authenticate page. Format show jwac authenticate_page Parameters None. Restrictions None.
Page 657
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config jwac authentication_page element [japanese | english] [default | page_title <desc 128> | login_window_title <desc 32> | user_name_title <desc 16> | password_title <desc 16> | logout_window_title <desc 32> | notification_line <value 1-5> <desc 128>] Parameters japanese - Specifies to change to the Japanese page.
Page 658
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide user_name_title ユーザ名 Command: config jwac authentication_page element japanese user_name_title ユーザ 名 Success. DGS-3620-28SC:admin# config jwac authentication_page element japanese password_title パスワード Command: config jwac authentication_page element japanese password_title パスワー...
Page 659
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable the configuration authorized from the local database: DGS-3620-28SC:admin#config jwac authorization attributes local disable Command: config jwac authorization attributes local disable Success. DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 52 Jumbo Frame Commands enable jumbo_frame disable jumbo_frame config jumbo_frame ports [<portlist> | all] state [enable | disable] show jumbo_frame {<portlist>} 52-1 enable jumbo_frame Description This command is used to enable support of Jumbo Frames.
Page 661
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable Jumbo Frames: DGS-3620-28SC:admin#disable jumbo_frame Command: disable jumbo_frame Success. DGS-3620-28SC:admin# 52-3 config jumbo_frame ports Description This command is used to configure the jumbo frame state on specified ports.
Page 662
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 52-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.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 53 LACP Configuration Commands config lacp_port <portlist> {mode [active | passive] | lacp_timeout [short | long]} show lacp_port {<portlist>} 53-1 config lacp_port Description This command is used to configure per-port LACP mode.
Page 664
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 53-2 show lacp_port Description This command is used to display per-port LACP mode. Format show lacp_port {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed.
Page 666
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide threshold - (Optional) Specify the drop threshold for packets-per-second accepted on this UNI port. The port drops the PDU if the protocol’s threshold is exceeded. The range of the threshold value is 0 to 65535 (packet/second).
Page 667
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show l2protocol_tunnel Command: show l2protocol_tunnel Global State: Enabled UNI Ports: 1-2 NNI Ports: 3-4 DGS-3620-28SC:admin# To show Layer 2 protocol tunneling detail information on UNI ports: DGS-3620-28SC:admin# show l2protocol_tunnel uni...
Page 668
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable l2protocol_tunnel Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the Layer 2 protocol tunneling function: DGS-3620-28SC:admin# enable l2protocol_tunnel Command: enable l2protocol_tunnel Success.
Page 671
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 55-2 config mcast_filter_profile Description This command is used to modify the profile name, add or delete a range of previously defined multicast IP addresses to or from the profile.
Page 672
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mcast_filter_profile ipv6 [profile_id <value 1-60> | profile_name <name 32>] {profile_name <name 32> | [add | delete] <mcastv6_address_list>}(1) Parameters profile_id - Specifies the ID of the profile.
Page 673
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - All multicast address profiles will be deleted. profile_name - Specifies a profile based on the profile name. <name 32> - The profile name can be up to 32 characters long.
Page 674
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all the defined multicast address profiles: DGS-3620-28SC:admin#show mcast_filter_profile Command: show mcast_filter_profile Profile ID Name Multicast Addresses ---------- --------------------------- ----------------------------- 234.1.1.1 – 238.244.244.244 234.1.1.1 – 238.244.244.244 customer 224.19.62.34 –...
Page 675
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <name 32> - The profile name can be up to 32 characters long. access - (Optional) Specify whether the access is permit or deny. permit - Specifies that the packets that match the addresses defined in the profiles will be permitted.
Page 676
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN Access : Deny Profile ID Name Multicast Addresses ----------- ----------- ----------------------------- customer 224.19.62.34 – 224.19.162.200 DGS-3620-28SC:admin# To display the limited multicast address range on ports 1 and 3:...
Page 677
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - Specifies the VLAN ID to configure the maximum multicast group. <vlanid_list> - Enter the VLAN ID of the VLAN here. ipv4 - (Optional) Specify that the maximum number of IPv4 learned addresses should be limited.
Page 678
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show max_mcast_group ports 1-2 Command: show max_mcast_group ports 1-2 Port Max Multicast Group Number Action ----- --------------------------- --------- Infinite Drop Infinite Drop Total Entries : 2 DGS-3620-28SC:admin#...
Page 680
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 56-2 delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id <value 1-32> Parameters <value 1-32> - Enter the group ID.
Page 681
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the group type is LACP, the ports’ state machine will start. enable - Enable the specified link aggregation group. disable - Disable the specified link aggregation group. trap - Specifies the trap status for a link aggregation group.
Page 682
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide l4_src_port - Indicate that the switch should examine the Layer 4 source port. l4_dest_port - Indicate that the switch should examine the Layer 4 destination port. l4_src_dest_port - Indicate that the switch should examine the Layer 4 source and destination port.
Page 683
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Group ID Type : LACP Master Port : 1:5 Member Port : 1:5-1:8 Active Port Status : Enabled Flooding Port : Trap : Enabled Total Entries : 1...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable LLDP: DGS-3620-28SC:admin#enable lldp Command: enable lldp Success. DGS-3620-28SC:admin# 57-2 disable lldp Description This command is used to disable LLDP. The switch will stop the sending and receiving of LLDP advertisement packets.
Page 686
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The TTL will be carried in the LLDPDU packet. The lifetime will be the minimum of 65535 and (message_tx_interval * message_tx_hold_multiplier). On the partner switch, when the time-to-live for a given advertisement expires, the advertised data is deleted from the neighbor switch’s MIB.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config lldp tx_delay 8 Command: config lldp tx_delay 8 Success. DGS-3620-28SC:admin# To change the re-initialization delay interval to five seconds: DGS-3620-28SC:admin#config lldp reinit_delay 5 Command: config lldp reinit_delay 5 Success.
Page 688
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Message TX Hold Multiplier: 4 ReInit Delay TX Delay Notification Interval DGS-3620-28SC:admin# 57-5 config lldp forward_message Description This command is used to configure LLDP forwarding messages. When LLDP is disabled and LLDP forward message is enabled, the received LLDPDU packet will be forwarded.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <sec 5-3600> - Enter the notification interval range is from 5 to 3600 seconds. The default setting is 5 seconds. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 690
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Configure an individual port or group of ports to exclude one or more of IEEE 802.1 Organizationally protocol identity TLV data types from outbound LLDP advertisements. This TLV optional data type indicates whether the corresponding Local System's Protocol Identity instance will be transmitted on the port.
Page 691
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide agent should transmit “System Description TLV.” The default state is disabled. system_capabilities - (Optional) This TLV optional data type includes indicates that LLDP agent should transmit “System Capabilities TLV.” The system capability will indicate whether the device provides repeater, bridge, or router function, and whether the provided functions are currently enabled.
Page 692
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide advertisements. dot3_tlvs - An individual port or group of ports to exclude one or more of IEEE 802.3 Organizationally Specific TLV data types from outbound LLDP advertisements. all – (Optional) Configure all of the TLV optional data types below.
Page 693
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To exclude the system name TLV from the outbound LLDP advertisements for all ports: DGS-3620-28SC:admin#config lldp ports all basic_tlvs system_name enable Command: config lldp ports all basic_tlvs system_name enable Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To exclude the MAC/PHY configuration/status TLV from the outbound LLDP advertisements for all ports: DGS-3620-28SC:admin#config lldp ports all dot3_tlvs mac_phy_configuration_status enable Command: config lldp ports all dot3_tlvs mac_phy_configuration_status enable Success.
Page 695
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show lldp ports 1 Command: show lldp ports 1 Port ID -------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Disabled Advertised TLVs Option Port Description Disabled System Name...
Page 696
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config lldp_med fast_start repeat_count 5 Command: config lldp_med fast_start repeat_count 5 Success. DGS-3620-28SC:admin# 57-10 config lldp_med log state Description This command is used to configure the log state of LLDP-MED events.
Page 697
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies to set all ports in the system. state - Enable or disable the SNMP trap notification of topology change detected state. enable - Enable the SNMP trap notification of topology change detected.
Page 698
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable transmitting of all capabilities on ports 1 to 2: DGS-3620-28SC:admin#config lldp_med ports 1-2 med_transmit_capabilities all...
Page 699
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 57-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 display the switch’s general LLDP-MED configuration status:...
Page 700
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 57-15 show lldp_med local_ports Description This command is used to display the per-port LLDP-MED information currently available for populating outbound LLDP-MED advertisements. Format show lldp_med local_ports {<portlist>} Parameters <portlist>...
Page 701
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show lldp_med remote_ ports {<portlist>} Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: When a port list is not specified, information for all ports will be displayed.
Page 703
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display LLDP local port information for port 1: DGS-3620-28SC:admin#show lldp local_ports Command: show lldp local_ports 1 Port ID : 1 ----------------------------------------------------------------------------- Port ID Subtype...
Page 704
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show lldp mgt_addr Command: show lldp mgt_addr Address 1 : ------------------------------------------------------ Subtype : IPv4 Address : 10.19.72.38 IF Type : Unknown : 1.3.6.1.4.1.171.10.114.1.1 Advertising Ports Total Entries : 1...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 57-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.
Page 706
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display LLDP statistic information for port 1: DGS-3620-28SC:admin#show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID : 1 --------------------------------------------- LLDPStatsTXPortFramesTotal...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config loopdetect recover_timer 0 interval 20 mode vlan- based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success. DGS-3620-28SC:admin# 58-2 config loopdetect ports Description This command is used to set up the loop-back detection function for the ports on the switch.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable loop detection: DGS-3620-28SC:admin#enable loopdetect Command: enable loopdetect Success. DGS-3620-28SC:admin# 58-4 disable loopdetect Description This command allows the loop detection function to be globally disabled on the switch.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 58-5 show loopdetect Description This command is used to display the switch’s current loop detection configuration. Format show loopdetect Parameters None. Restrictions None. Example To display the switch’s current loop detection configuration:...
Page 711
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the loop detection state of ports 1 to 9 in port-based mode: DGS-3620-28SC:admin#show loopdetect ports 1-9 Command: show loopdetect ports 1-9 Port Loopdetect State...
Page 712
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config loopdetect trap [none | loop_detected | loop_cleared | both] Parameters none - Trap will not be sent for both cases. loop_detected - Trap is sent when the loop condition is detected loop_cleared - Trap is sent when the loop condition is cleared.
Page 713
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 58-1 config loopdetect vlan Description This command is used to setup the loop-back detection function for the VLANs on VLAN-based mode. Format config loopdetect vlan [<vid_list> | all] state [enable | disable] Parameters vlan - Specifies the VLAN(s).
Page 715
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config loopback ipif <ipif_name 12> [{ipaddress <network_address> | state [enable | disable]}(1)] Parameters <ipif_name 12> - Enter the IP interface name used for this configuration here. This name can be up to 12 characters long.
Page 716
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the information of the loopback interface named loopback1: DGS-3620-28SC:admin#show loopback ipif loopback1 Command: show loopback ipif loopback1 Loopback Interface : loopback1 Interface Admin State : Enabled IPv4 Address : 192.168.69.1/24 (Manual)
Page 718
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable mac_notification Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the MAC notification function: DGS-3620-28SC:admin#disable mac_notification Command: disable mac_notification Success.
Page 719
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config mac_notification interval 1 historysize 500 Command: config mac_notification interval 1 historysize 500 Success. DGS-3620-28SC:admin# 60-4 config mac_notification ports Description This command is used to configure the port’s MAC address table notification status settings.
Page 720
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To show the switch’s MAC address table notification global settings: DGS-3620-28SC:admin#show mac_notification Command: show mac_notification Global MAC Notification Settings State : Enabled Interval History Size : 500...
Page 721
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ------ ------------------------------------ Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled DGS-3620-28SC:admin#...
Page 723
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable MAC-based access control: DGS-3620-28SC:admin#enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3620-28SC:admin# 61-2 disable mac_based_access_control Description This command is used to disable the MAC-based access control function.
Page 724
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <passwd 16> - In RADIUS mode, the switch communicates with the RADIUS server using this password. The maximum length of the key is 16 characters. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 725
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 61-5 config mac_based_access_control guest_vlan ports Description This command is used to put the specified port in guest VLAN mode. For those ports not contained in the port list, they are in non-guest VLAN mode.For detailed information about the operation of guest VLAN mode, please see the description for configuring the MAC-based access control port command.
Page 727
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters guest_vlan - Specifies the name of the guest VLAN. <vlan_name 32> - Enter the name of the guest VLAN. The guest VLAN name can be up to 32 characters long.
Page 728
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 61-9 clear mac_based_access_control auth_state Description This command is used to clear the authentication state of a user (or port). The port (or the user) will return to un-authenticated state. All the timers associated with the port (or the user) will be reset.
Page 729
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <macaddr> - Enter the MAC address that access accepts by local mode. vlan - (Optional) If the MAC address is authorized, the port will be assigned to this VLAN.
Page 730
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Success. DGS-3620-28SC:admin# 61-12 config mac_based_access_control max_users Description This command is used to configure the MAC-based access control maximum number of authorized users.
Page 731
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters radius - Specifies to enable or disable the authorized attributes assigned by the RADIUS server that will be accepted. enable - If specified to enable, the authorized attributes (for example VLAN, 802.1p default priority, and ACL) assigned by the RADIUS server will be accepted if the global authorization status is enabled.
Page 732
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a MAC-based access control local by MAC address: DGS-3620-28SC:admin#delete mac_based_access_control_local mac 00-00-00-00-00-01 Command: delete mac_based_access_control_local mac 00-00-00-00-00-01 Success.
Page 733
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show mac_based_access_control auth_state ports Command: show mac_based_access_control auth_state ports (P): Port-based Prio: Priority Port MAC Address Original State Prio Aging Time/ RX VID Block Time ------ -------------------- ---- -------------- ---- ---- -----------...
Page 734
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Guest VLAN Guest VLAN Member Ports: RADIUS Authorization : Enabled Local Authorization : Enabled Trap State : Enabled Log State : Enabled DGS-3620-28SC:admin# To display MAC-based access control information for ports 1 to 4:...
Page 735
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address ----------------- ------ 00-00-00-00-00-01 Total Entries:1 DGS-3620-28SC:admin# To display MAC-based access control local data by MAC address: DGS-3620-28SC:admin#show mac_based_access_control_local mac 00-00-00-00-00-01 Command: show mac_based_access_control_local mac 00-00-00-00-00-01...
Page 736
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the log state for MAC-based Access Control: DGS-3620-28SC:admin# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success.
Page 737
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mac_based_access_control password_type [manual_string | client_mac_address] Parameters manual_string - Specifies to use the same string as password for all clients do RADIUS authentication, the string can be configured by using the command “config mac_based_access_control password”.
Page 739
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create md5 key <key_id 1-255> <password 16> Parameters key - Specifies that the MD5 key will be created. <key_id 1-255> - Enter the MD5 key used here. This key must be between 1 and 255.
Page 740
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete md5 key 1 Command: delete md5 key 1 Success. DGS-3620-28SC:admin# 62-4 show md5 Description This command is used to display the MD5 key table. Format show md5 {key <key_id 1-255>} Parameters key - (Optional) Specifies that the MD5 key will be displayed.
Page 742
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mirror port <port> {[add |delete] source ports <portlist> [rx | tx | both]} Parameters <port> - Enter the port that will receive the packets duplicated at the mirror port.
Page 743
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide delete - (Optional) Specifies the mirror source ports to be delete source - (Optional) Specifies the source ports used. ports - (Optional) Specifies the list of ports used as source ports.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# delete mirror group_id 3 Command: delete mirror group_id 3 Success. DGS-3620-28SC:admin# 63-5 enable mirror Description This command, combined with the disable mirror command below, allows you to enable or disable mirror function without having to modify the mirror session configuration.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example To disable mirroring configurations: DGS-3620-28SC:admin#disable mirror Command: disable mirror Success. DGS-3620-28SC:admin# 63-7 show mirror Description This command is used to display the current port mirroring configuration on the switch.
Page 746
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mirror Command: show mirror Mirror Global State: Disabled Group State Target Port Source Ports ------- ---------- ------------- --------------------------------------------- Enabled RX: 2-3 TX: 2-3 DGS-3620-28SC:admin#...
Page 748
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable the MLD proxy: DGS-3620-28SC:admin#disable mld_proxy Command: disable mld_proxy Success. DGS-3620-28SC:admin# 64-3...
Page 749
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 64-4 config mld_proxy upstream_if Description This command is used to configure the setting for the MLD proxy’s upstream interface. The MLD proxy plays the host role on the upstream interface. It will send MLD report packets to the router port.
Page 750
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 64-5 show mld_proxy Description This command is used to display the MLD proxy’s configuration or group information. The display status item means group entry is determined by whether or not the chip has been inserted.
Page 751
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Source : FF80::200 Group : FF1E::0202 Downstream VLAN Member Ports : 2,5,8 Status : Inactive Total Entries: 2 DGS-3620-28SC:admin#...
Page 753
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide vlanid - Specifies the VLAN ID list. <vlanid_list> - Enter the VLAN ID list. all - Specifies to configure all VLANs. state - Enable or disable MLD snooping for the chosen VLAN.
Page 754
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MLD snooping packet rate limit on port 1 for 100: DGS-3620-28SC:admin#config mld_snooping rate_limit ports 1 100 Command: config mld_snooping rate_limit ports 1 100 Success.
Page 755
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 65-4 create mld_snooping static_group Description This command is used to create an MLD snooping multicast static group. Member ports can be added to the static group. The static member and the dynamic member port form the member ports of a group.
Page 756
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config mld_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipv6addr> [add | delete] <portlist> Parameters vlan - Specifies the name of the VLAN on which the static group resides.
Page 757
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an MLD snooping static group from the default VLAN, group FF1E::1: DGS-3620-28SC:admin#delete mld_snooping static_group vlan default FF1E::1 Command: delete mld_snooping static_group vlan default FF1E::1 Success.
Page 758
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 65-8 show mld_snooping statistic counter Description This command is used to display the MLD snooping statistics counters for MLD protocol packets that are transmitted or received by the switch since MLD snooping was enabled.
Page 759
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show mld_snooping statistic counter ports 1 Command: show mld_snooping statistic counter ports 1 Port # -------------------------------------------------- Group Number Receive Statistics Query MLD v1 Query MLD v2 Query Total...
Page 760
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To clear the MLD snooping statistics counters: DGS-3620-28SC:admin#clear mld_snooping statistics counter Command: clear mld_snooping statistics counter Success.
Page 761
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 2. Other querier present interval—Amount of time that must pass before a multicast router decides that there is no longer another multicast router that is the querier. This interval is calculated as follows: (robustness variable x query interval) + (0.5 x query response...
Page 762
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters vlan - Specifies the name of the VLAN on which the router port resides. <vlan_name 32> - Enter the name of the VLAN on which the router port resides. The maximum length is 32 characters.
Page 763
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set up ports as forbidden router port: DGS-3620-28SC:admin#config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Command: config mld_snooping mrouter_ports_forbidden vlan default add 1-10 Success. DGS-3620-28SC:admin# 65-13 enable mld_snooping Description This command is used to enable MLD snooping on the switch.
Page 764
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To disable MLD snooping on the switch: DGS-3620-28SC:admin#disable mld_snooping Command: disable mld_snooping Success.
Page 765
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN Name : default Query Interval : 125 Max Response Time : 10 Robustness Value Last Listener Query Interval Querier State : Disabled Querier Role : Non-Querier Querier IP...
Page 766
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the MLD snooping group: DGS-3620-28SC:admin#show mld_snooping group Command: show mld_snooping group Source/Group : 2001::1/FE1E::1 VLAN Name/VID :default/1 Member Ports : 1-2 UP Time : 26...
Page 767
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Note: If no parameter is specified, the system will display all router ports on the Switch. Restrictions None. Example To display router ports: DGS-3620-28SC:admin#show mld_snooping mrouter_ports all Command: show mld_snooping mrouter_ports all...
Page 768
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display all MLD snooping forwarding entries located on the switch: DGS-3620-28SC:admin#show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP : 2001::1 Multicast Group: FE1E::1...
Page 770
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide forwarded on the multicast VLAN. none - If none is specified, the packet’s original priority will be used. The default setting is none. replace_priority - (Optional) Specify that the packet’s priority will be changed by the switch, based on the remap priority.
Page 771
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Enter a range of ports to be configured. state - Specifies if the multicast VLAN for a chosen VLAN should be enabled or disabled. enable - Enable multicast VLAN for the chosen VLAN.
Page 772
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an MLD snooping multicast group profile with the name “Knicks”: DGS-3620-28SC:admin#create mld_snooping multicast_vlan_group_profile Knicks Command: create mld_snooping multicast_vlan_group_profile Knicks Success. DGS-3620-28SC:admin# 66-4 config mld_snooping multicast_vlan_group_profile Description This command is used to configure an MLD snooping multicast group profile on the switch.
Page 773
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 66-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.
Page 774
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display all MLD snooping multicast VLAN profiles: DGS-3620-28SC:admin#show mld_snooping multicast_vlan_group_profile Command: show mld_snooping multicast_vlan_group_profile Profile Name Multicast Addresses ----------------------- -------------------------------- rock FF1E::1 FF1E::10-FF1E::20 Total Entries : 1...
Page 775
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add an MLD snooping profile to a multicast VLAN group with the name “v1”: DGS-3620-28SC:admin#config mld_snooping multicast_vlan_group v1 add profile_name channel_1 Command: config mld_snooping multicast_vlan_group v1 add profile_name channel_1 Success.
Page 776
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 66-9 delete mld_snooping multicast_vlan Description This command is used to delete an MLD snooping multicast VLAN. Format delete mld_snooping multicast_vlan <vlan_name 32> Parameters <vlan_name 32> - Enter the name of the multicast VLAN to be deleted.
Page 777
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable mld_snooping multicast_vlan Command: enable mld_snooping multicast_vlan Success. DGS-3620-28SC:admin# 66-11 disable mld_snooping multicast_vlan Description This command is used to disable the MLD snooping multicast VLAN function. By default, the multicast VLAN is disabled.
Page 778
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide If no parameter is specified, the system will display all multicast VLANs on the switch. Restrictions None. Example To display all MLD snooping multicast VLANs: DGS-3620-28SC:admin#show mld_snooping multicast_vlan...
Page 779
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the forwarding mode for MLD snooping multicast VLAN unmatched packets: DGS-3620-28SC:admin#config mld_snooping multicast_vlan forward_unmatched enable Command: config mld_snooping multicast_vlan forward_unmatched enable Success.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 67 Modify Login Banner and Prompt Commands config greeting_message {default} show greeting_message config command_prompt [<string 16> | username | default] 67-1 config greeting_message Description This command is used to modify the login banner.
Page 781
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide =============================================================================== <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W Save and quit up/down Move cursor Ctrl+D Delete line Ctrl+X Erase all setting Ctrl+L Reload original setting...
Page 782
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show greeting_message Command: show greeting_message =============================================================================== DGS-3620-28SC Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.50.014 Copyright(C) 2013 D-Link Corporation. All rights reserved. =============================================================================== DGS-3620-28SC:admin# 67-3 config command_prompt Description This command is used to modify the command prompt.
Page 783
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions When users issue the “reset” command, the current command prompt will remain in tact. Issuing the “reset system” will return the command prompt to its original factory default value.
Page 785
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide disable - Specifies that the MLD state for the specified interface will be disabled. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MLD on the IP interface “System”:...
Page 786
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display the MLD configurations on all interfaces: DGS-3620-28SC:admin# show mld Command: show mld MLD Interface Configurations MRT = Maximum Response Time, LLQI = Last Listener Query Interval...
Page 787
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 68-3 show mld group Description This command is used to display the MLD group member table. Format show mld group {ipif <ipif_name 12> | group <ipv6addr>} Parameters ipif – (Optional) Specifies the IP interface name used for this configuration.
Page 788
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show mld group ipif n10 Command: show mld group ipif n10 Interface Multicast Group Expiry ------------ ------------------ ----- FF1E::1001:1234 FF1E::5A3D:11:23C1 Total Entries : 2 DGS-3620-28SC:admin# To display the group source address list for interface “n10” with the group address “FF1E::100:0:20”, the “Expiry”...
Page 789
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show mld group group FF1E::1001:1234 Command: show mld group group FF1E::1001:1234 Interface Multicast Group Expiry ------------ ------------------ ----- FF1E::1001:1234 FF1E::1001:1234 FF1E::1001:1234 Total Entries : 3 DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <vlan_name 32> - Enter the VLAN name of the NLB multicast FDB entry here. This name can be up to 32 characters long. vlanid - Specifies the VLAN ID used.
Page 793
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show nlb fdb Command: show nlb fdb MAC Address VLAN ID Egress Ports ----------------- ---------- ---------------------------------- 02-bf-01-01-01-01 1:1-1:5,1:26,2:26 02-bf-01-01-01-02 1:1-1:5,1:26,2:26 03-bf-01-01-01-01 1:1-1:5,1:26,2:26 03-bf-01-01-01-01 1:1-1:5,1:26,2:26 Total Entries : 4...
Page 794
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config nlb unicast_fdb <macaddr> [add | delete] <portlist> Parameters <macaddr> - Enter the MAC address of the NLB unicast FDB entry to be configured. add - Specifies to add the ports.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP: DGS-3620-28SC:admin#enable snmp Command: enable snmp Success. DGS-3620-28SC:admin# 70-2 disable snmp Description This command is used to disable the SNMP function. When SNMP function is disabled, the network manager will not be able to access SNMP MIB objects.
Page 798
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show snmp Parameters None. Restrictions None. Example To display SNMP: DGS-3620-28SC:admin#show snmp Command: show snmp System Name System Location System Contact SNMP Trap : Enabled SNMP State...
Page 799
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide snmp - (Optional) Specify the trusted host for SNMP. telnet - (Optional) Specify the trusted host for Telnet. ssh - (Optional) Specify the trusted host for SSH. http - (Optional) Specify the trusted host for HTTP.
Page 800
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide all - Specifies the trusted host for all applications. Restrictions Only Administrator and Operator-level users can issue this command. Example To configure the trusted host: DGS-3620-28SC:admin#config trusted_host 10.48.74.121 add ssh telnet Command: config trusted_host 10.48.74.121 add ssh telnet...
Page 801
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 70-7 show trusted_host Description This command is used to display the trusted hosts. Format show trusted_host Parameters None. Restrictions None. Example To display trusted hosts: DGS-3620-28SC:admin#show trusted_host...
Page 802
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <sw_name> - Enter an SNMP system name for the switch. A maximum of 255 characters is allowed. Restrictions Only Administrator and Operator-level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 70-10 config snmp system_contact Description This command is used to enter the name and/or other information to identify an SNMP system contact person who is responsible for the switch. A maximum of 255 characters can be used.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#enable snmp traps Command: enable snmp traps Success. DGS-3620-28SC:admin# 70-12 disable snmp traps Description This command is used to disable SNMP trap support on the switch. Format disable snmp traps Parameters None.
Page 805
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To enable SNMP authentication trap support: DGS-3620-28SC:admin#enable snmp authenticate_traps Command: enable snmp authenticate_traps Success. DGS-3620-28SC:admin# 70-14 disable snmp authenticate_traps Description This command is used to disable SNMP authentication failure trap support.
Page 806
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.. Example To enable SNMP linkchange trap support: DGS-3620-28SC:admin#enable snmp linkchange_traps Command: enable snmp linkchange_traps Success. DGS-3620-28SC:admin#...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 70-17 config snmp linkchange_traps ports Description This command is used to configure the sending of linkchange traps and per port control for sending of change traps. Format config snmp linkchange_traps ports [all | <portlist>] [enable | disable] Parameters all - Specifies all ports.
Page 809
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters enable - Enable traps for coldstart events. The default state is enabled. disable - Disable traps for coldstart events. Restrictions Only Administrator and Operator-level users can issue this command.
Page 810
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 70-21 config trap source_ipif Description This command is used to force change the ipif information in trap messages. By default, trap messages will carry the information of the ipif they belong to.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the trap source IP interface: DGS-3620-28SC:admin#show trap source_ipif Command: show trap source_ipif Trap Source IP Interface Configuration: IP Interface : ipif4...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 70-24 show rmon Description This command is used to display RMON related settings. Format show rmon Parameters None. Restrictions None. Example To display current RMON settings:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Enter a port or range of ports to be displayed. Restrictions None. Example To display the packets analysis for port 1:7: DGS-3620-28SC:admin#show packet ports 1:7...
Page 815
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - Enter a port or range of ports to be displayed. Restrictions None. Example To display the errors of port 1:3: DGS-3620-28SC:admin#show error ports 1:3 Command: show error ports 1:3...
Page 816
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide cpu - Specifies to display real-time CPU statistics. Restrictions None. Example To display port utilization: DGS-3620-28SC:admin#show utilization ports Command: show utilization ports Port TX/sec RX/sec Util Port TX/sec...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 71-4 show utilization dram Description This command is used to display real-time DRAM utilization statistics. Format show utilization dram {unit <unit_id>} Parameters unit - Specifies which unit on the stacking system. If it is not specified, it refers to the master unit.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 71-7 clear log Description This command is used to clear the switch’s history log. Format clear log Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
Page 821
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the method to save log: DGS-3620-28SC:admin#show log_save_timing Command: show log_save_timing Saving Log Method: On_demand DGS-3620-28SC:admin# 71-10 show log_software_module Description This command is used to display the protocols or applications that support the enhanced log.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters time_interval - Specifies to save log to Flash every xxx minutes. If no log occurs in this period, nothing will be saved. <min 1-65535> - Enter the time between 1 and 65535 minutes.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 71-13 disable syslog Description This command is used to disable syslog from sending a message. Format disable syslog Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide across networks to host. This option enables or disables the host to receive such messages. enable - Enable the host to receive messages. disable - Disable the host to receive messages.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success DGS-3620-28SC:admin# 71-18 show syslog host Description This command is used to display syslog host configurations. Format show syslog host {<index 1-4>} Parameters <index 1-4> - (Optional) Specify the host index.
Page 828
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show syslog host Command: show syslog host Syslog Global State: Disabled Host 1 IP Address : 10.1.1.2 Severity : Warning Facility : Local10 UDP port : 514 Status...
Page 829
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To clear the configured source IP interface for syslog: DGS-3620-28SC:admin#config syslog source_ipif none Command: config syslog source_ipif none Success. DGS-3620-28SC:admin# 71-20 show syslog source_ipif Description This command is used to display the syslog source IP interface.
Page 830
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show attack_log {index <value_list>} Parameters index - (Optional) Specify the list of index of the entries that need to be displayed. <value_list> - Enter the list of index of the entries that need to be displayed. For example, show attack_log index 1-5 will display the attack log messages from 1 to 5.
Page 831
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To clear the switch’s attack log: DGS-3620-28SC:admin#clear attack_log Command: clear attack_log Success. DGS-3620-28SC:admin# 71-23 show cpu port Description This command is use to show statistics for Layer 2 or Layer 3 control packets that are trapped to the CPU.
Page 832
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide dvmrp - Specifies to display packet type DVMRP. (EI Mode Only Parameter) reserved_ipv4_ipmc - Specifies to display packet type reserved IPv4 IPMC. reserved_ipv6_ipmc - Specifies to display packet type reserved IPv6 IPMC.
Page 833
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Telnet UDP-Helper VRRP DGS-3620-28SC:admin# To display statistics of all Layer 3 multicast routing control packets: DGS-3620-28SC:admin#show cpu port l3 multicast Command: show cpu port l3 multicast Type Total...
Page 834
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To clear all counters for all packets: DGS-3620-28SC:admin#clear cpu port Command: clear cpu port Success. DGS-3620-28SC:admin#...
Page 837
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide critical_link_event –Specify critical link event. dying_gasp - An unrecoverable local failure condition has occurred. critical_event - An unspecified critical event has occurred. notify_state - Specifies the event notification status. The default state is enable.
Page 838
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# To configure the error frame seconds threshold to 2 and period to 10000 ms for port 1: DGS-3620-28SC:admin#config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2 window 10000 notify_state enable...
Page 839
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 72-2 show ethernet_oam ports Description This command is used to display Ethernet OAM information, including status, configuration, statistics, and event log, on specified ports. The status information includes: (1) OAM administration status: enabled or disabled.
Page 840
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide The event log displays Ethernet OAM event log information. The switch can buffer 1000 event logs. The event log is different from sys-log as it provides more detailed information than sys-log. Each OAM event will be recorded in both OAM event log and syslog.
Page 841
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 72-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> - Enter a range of Ethernet OAM ports to be cleared.
Page 844
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide point-to-point - Specifies to set the network type of designated interfaces to point_to_point. broadcast - Specifies to set the network type of designated interfaces to broadcast. This is the default option.
Page 845
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create OSPF area aggregation settings: DGS-3620-28SC:admin# create ospf aggregation 10.1.1.1 192.168.0.0/16 lsdb_type summary Command: create ospf aggresgation 10.1.1.1 192.168.0.0/16 lsdb_type summary Success. DGS-3620-28SC:admin# 73-3 config ospf aggregation Description This command is used to configure the OSPF area aggregation settings.
Page 846
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-4 delete ospf aggregation Description This command is used to delete an OSPF area aggregation configuration. Format delete ospf aggregation <area_id> <network_address> lsdb_type [summary | nssa_ext] Parameters <area_id> - A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
Page 847
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPF aggregation settings: DGS-3620-28SC:admin#show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 0.0.0.0...
Page 848
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 65535. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To create an OSPF area: DGS-3620-28SC:admin# create ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Command: create ospf area 10.48.74.122 type stub stub_summary enabled metric 1...
Page 849
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure an OSPF area’s settings: DGS-3620-28SC:admin# config ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Command: config ospf area 10.48.74.122 type stub stub_summary enabled metric 1 Success.
Page 850
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - (Optional) Enter the OSPF area ID used here. Restrictions None. Example To display OSPF area’s configuration: DGS-3620-28SC:admin# show ospf area Command: show ospf area OSPF Area Settings...
Page 851
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create an OSPF host route: DGS-3620-28SC:admin# create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3620-28SC:admin# 73-11 config ospf host_route Description This command is used to configure an OSPF host route.
Page 852
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete ospf host_route <ipaddr> Parameters <ipaddr> - Enter the host’s IP address used here. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete an OSPF host route: DGS-3620-28SC:admin# delete ospf host_route 10.48.74.122...
Page 853
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ospf host_route Command: show ospf host_route OSPF Host Route Settings Host Address Metric Area ID --------------- ------ --------------- 10.48.73.21 10.1.1.1 10.48.74.122 10.1.1.1 Total Entries : 2...
Page 854
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format create ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]} Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
Page 855
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospf virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8> | md5 <key_id 1- 255>]} (1) Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
Page 856
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete ospf virtual_link <area_id> <neighbor_id> Parameters <area_id> - Specifies a 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the OSPF domain.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the current OSPF virtual interface configuration: DGS-3620-28SC:admin#show ospf virtual_link Command: show ospf virtual_link Virtual Interface Configuration Transit Virtual Hello Dead Authentication Link Area ID Neighbor Router Interval Interval...
Page 858
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ospf {[ipif <ipif_name 12> | all]} Parameters ipif - (Optional) Specifies the IP interface name. <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
Page 859
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries : 1 OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- --------- 10.0.0.2 10.0.0.0/8 Summary Enabled Total Entries : 1...
Page 860
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-22 show ospf lsdb Description This command is used to display the OSPF Link State Database (LSDB). Format show ospf lsdb {area <area_id> | advertise_router <ipaddr> | type [rtrlink | netlink |...
Page 861
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 73-23 show ospf neighbor Description This command is used to display the OSPF-neighbor information on a per-interface basis. Format show ospf neighbor {<ipaddr>} Parameters <ipaddr> - (Optional) Specifies the IP address of the neighbor router.
Page 862
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display OSPF virtual-link neighbor information: DGS-3620-28SC:admin# show ospf virtual_neighbor Command: show ospf virtual_neighbor Transit Router ID of IP Address of Virtual Neighbor Area ID...
Page 863
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To set the status of originating the OSPF default external route: DGS-3620-28SC:admin#config ospf default-information originate always Command: config ospf default-information originate always Success. DGS-3620-28SC:admin#...
Page 865
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable OSPFv3: DGS-3620-28SC:admin# enable ospfv3 Command: enable ospfv3 Success. DGS-3620-28SC:admin# 74-2 disable ospfv3 Description This command is used to disable OSPFv3 on the Switch. Format disable ospfv3 Parameters None.
Page 866
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the OSPFv3 IP interface name used. <ipif_name 12> - Enter the OSPFv3 IP interface name used here. This name can be up to 12 characters long.
Page 867
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 0 DGS-3620-28SC:admin# show ospfv3 all Command: show ospfv3 all Interface Name: System Link Local Address: FE80::201:2FF:FE03:400 (Link Up) Network Medium Type: Broadcast Metric: 10 Area ID: 0.0.0.0...
Page 868
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To set OSPFv3 router ID: DGS-3620-28SC:admin# config ospfv3 router_id 1.1.1.1 Command: config ospfv3 router_id 1.1.1.1 Success.
Page 869
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# create ospfv3 area 1.1.1.1 type normal Command: create ospfv3 area 1.1.1.1 type normal Success. DGS-3620-28SC:admin# create ospfv3 area 2.2.2.2 type stub stub_summary enable Command: create ospfv3 area 2.2.2.2 type stub stub_summary enable Success.
Page 870
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospfv3 area <area_id> type [normal | stub {stub_summary [enable | disable] | metric <value 0-65535>}] Parameters <area_id> - Specifies the OSPFv3 area’s ID. It is a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain.
Page 871
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 areas: DGS-3620-28SC:admin# show ospfv3 area Command: show ospfv3 area OSPFv3 Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost --------------- ------ ----------------------- ----------------- 0.0.0.0...
Page 872
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) Example To create an OSPFv3 area aggregation: DGS-3620-28SC:admin# create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable Command: create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable...
Page 873
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ospfv3 aggregation <area_id> <ipv6networkaddr> advertise [enable | disable] Parameters <area_id> - Specifies the OSPFv3 area’s ID. It is a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain.
Page 874
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display OSPFv3 area aggregations: DGS-3620-28SC:admin# show ospfv3 aggregation Command: show ospfv3 aggregation OSPFv3 Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------------------------------- -------- --------- 1.1.1.1...
Page 875
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide intra_area_prefix - Specifies that the Intra-Area-Prefix LSA will be displayed. Restrictions None. (EI Mode Only Command) Example To display OSPFv3 Link-State Database: DGS-3620-28SC:admin# show ospfv3 lsdb Command: show ospfv3 lsdb Router LSA (Area 0.0.0.0)
Page 876
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <neighbor_id> - (Optional) Specifies the ID of the neighbor. ipif - (Optional) Specifies the IP interface where the neighbor is built. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 877
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To display OSPFv3 virtual neighbor: DGS-3620-28SC:admin# show ospfv3 virtual_neighbor Command: show ospfv3 virtual_neighbor Transit Router ID Of Virtual Neighbor Area ID...
Page 878
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide hello_interval - (Optional) Specifies to allow the specification of the interval between the transmission of OSPFv3 Hello packets, in seconds. The Hello Interval and Dead Interval should be the same for all routers on the same link.
Page 879
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <area_id> - Specifies a 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is built.
Page 880
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide the OSPFv3 virtual neighbor in the OSPFv3 domain. hello_interval - (Optional) Specifies to allow the specification of the interval between the transmission of OSPFv3 Hello packets. The Hello Interval and Dead Interval should be the same for all routers on the same link.
Page 881
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To delete an OSPFv3 virtual link: DGS-3620-28SC:admin# delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Command: delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 Success. DGS-3620-28SC:admin# 74-20 show ospfv3 virtual_link Description This command is used to display OSPFv3 virtual link configurations. If no parameters are set, all the virtual links will be displayed.
Page 884
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-255000> - Enter the value between 0 and 255000. broadcast_threshold - Specifies the upper threshold, at which point the specified storm control is triggered. The value is the number of broadcast packets per second received by the switch that will trigger the storm traffic control measure.
Page 885
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config traffic control auto_recover_time [<min 0> | <min 1-65535>] Parameters <min 0> - Enter the automatic recovery time used here. This value will specifies the time to be 0 otherwise known as 'no recovery mode'.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the traffic log state on the Switch: DGS-3620-28SC:admin# config traffic control log state enable Command: config traffic control log state enable Success. DGS-3620-28SC:admin# 75-4 config traffic trap...
Page 887
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show traffic control {<portlist>} {[broadcast | multicast | unicast]} Parameters <portlist> - (Optional) Specify a range of ports to be shown. broadcast - (Optional) Displays the information about traffic control for broadcast packets.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 76 Password Recovery Commands enable password_recovery disable password_recovery show password_recovery 76-1 enable password_recovery Description This command is used to enable the password recovery mode. Note: The configuration does not take effect until saved.
Page 890
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format disable password_recovery Parameters None. Restrictions Only Administrator-level users can issue this command. Example To disable the password recovery mode: DGS-3620-28SC:admin# disable password_recovery Command: disable password_recovery Success. DGS-3620-28SC:admin#...
Page 891
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display the password recovery state: DGS-3620-28SC:admin# show password_recovery Command: show password_recovery Running Configuration : Disabled NV-RAM Configuration : Enabled DGS-3620-28SC:admin#...
Page 893
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long. all - Specifies that all the IP interfaces will be used.
Page 894
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format enable pim Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable PIM: DGS-3620-28SC:admin# enable pim Command: enable pim Success.
Page 895
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 77-4 show pim neighbor Description This command is used to display the current PIM neighbor router table. Format show pim neighbor {ipif <ipif_name 12> | ipaddress <network_address>}...
Page 896
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the name of the IP interface used to display the PIM configuration. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 897
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 255. hash_masklen - Enter a hash mask length, which will be used with the IP address of the candidate RP and the multicast group address, to calculate the hash algorithm used by the router to determine which CRP on the PIM-SM enabled network will be the RP.
Page 898
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide C-BSR Hash Mask Len : 30 C-BSR Bootstrap Period : 60 Interface IP Address Priority ------------ ------------------ ------------- System 11.52.33.3/8 -1 (Disabled) Total Entries: 1 DGS-3620-28SC:admin# 77-8 config pim crp Description This command is used to set the candidate rendezvous point (RP) related parameters.
Page 899
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 77-9 create pim crp group Description This command is used to add a multicast group range into a C-RP serve list for PIM-SM. Format create pim crp group <network_address> rp <ipif_name 12>...
Page 900
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a multicast group range from the C-RP server list: DGS-3620-28SC:admin# delete pim crp group 224.1.2.3/32 Command: delete pim crp group 224.1.2.3/32...
Page 901
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 77-12 config pim last_hop_spt_switchover Description This command is used by the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree. When the switchover mode is set to be never, the last hop router will always receive the multicast data from the shared tree.
Page 902
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To list all the entries of multicast routing: DGS-3620-28SC:admin# show pim ipmroute Command: show pim ipmroute PIM IP Multicast Route Table UA = Upstream AssertTimer...
Page 903
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To create a static RP: DGS-3620-28SC:admin# create pim static_rp group 239.1.1.0/24 rp 10.52.33.18 Command: create pim static_rp group 239.1.1.0/24 rp 10.52.33.18 Success. DGS-3620-28SC:admin# 77-15 delete pim static_rp group Description This command is used to delete a static RP.
Page 904
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To list all the static RP settings: DGS-3620-28SC:admin# show pim static_rp Command: show pim static_rp PIM Static RP Table Group RP Address ------------------ ------------------ 224.1.2.0/24...
Page 905
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Bootstrap Router: 10.54.71.9 Group Address RP Address Holdtime Expired Time Type --------------- ---------- -------- ------------ ---- 224.0.0.0/4 10.20.6.36 Dynamic 224.0.0.0/4 10.54.71.9 Static Total Entries: 2 DGS-3620-28SC:admin# 77-18 create pim register_checksum_include_data rp_address...
Page 906
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 77-19 delete pim register_checksum_include_data rp_address Description This command is used to delete the register checksum including the data for the specific RP address. Format delete pim register_checksum_include_data rp_address <ipaddr>...
Page 907
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To list all the RPs of the registered checksum, including the data: DGS-3620-28SC:admin# show pim register_checksum_include_data_rp_list Command: show pim register_checksum_include_data_rp_list PIM Register Checksum Include Data RP Address ------------------ 24.0.0.0...
Page 908
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 77-22 show pim-ssm Description This command is used to list all PIM-SSM protocol related information. Format show pim-ssm Parameters None. Restrictions None. Example To display PIM-SSM state and group range:...
Page 909
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show pim passive Command: show pim passive Interface Passive ------------ -------- System Disabled Total Entries: 1 DGS-3620-28SC:admin#...
Page 911
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide routers. A value of zero represents an ‘infinite’ interval, and indicates that periodic PIM6 Hello message should not be sent on this interface. <sec 0-18000> - Enter the hello packet interval value here. This value must be between 0 and 18000 seconds.
Page 912
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 78-2 show pim6 Description This command is used to display the PIM6 configurations. Format show pim6 {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the IP interface to be displayed.
Page 913
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide To show the detailed info of the PIM6 protocol concerned parameters on the interface “System”: DGS-3620-28SC:admin# show pim6 ipif System Command: show pim6 ipif System Interface Name : System...
Page 914
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <value 0-128> - Enter the length of the mask value here. This value must be between 0 and 128. The default value is 126. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
Page 915
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 78-5 config pim6 crp Description This command is used to set the candidate rendezvous point (RP) related parameters. Format config pim6 crp [rp <ipif_name 12> | all] {priority <value 0-255> | interval <sec 1-16383>} (1) Parameters rp - Specifies the RP IP interface used.
Page 916
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters group - Specifies the IPv6 group address range served by the RP. <ipv6networkaddr> - Enter the IPv6 network address used here. rp - Specifies the interface that will act as the C-RP.
Page 917
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 78-8 enable pim6 Description This command is used to enable the PIM global state for IPv6 network. Format enable pim6 Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only...
Page 918
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To disable PIM-SM for IPv6 network: DGS-3620-28SC:admin# disable pim6 Command: disable pim6 Success. DGS-3620-28SC:admin# 78-10 config pim6 last_hop_spt_switchover Description This command is used on the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree.
Page 919
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ipif - (Optional) Specifies the IP interface used. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 920
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show pim6 mroute {group <ipv6addr> {source <ipv6addr>}} Parameters group - (Optional) Specifies the IPv6 multicast group address. <ipv6addr> - Enter the IPv6 multicast group address used here.
Page 921
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show pim6 mroute group FF13::100 Command: show pim6 mroute group FF13::100 (*, G) Entry for group FF13::100 --------------------------------------------- RP Address : 3FFE:10:10::153 Upstream : n1 Upstream State : Joined...
Page 922
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Upstream : n1 Upstream State : RPT not joined RPF Neighbor : FE80::68FE Override Timer : 3 sec Pruned : n10 Outgoing Total Entries: 2 DGS-3620-28SC:admin# 78-13 create pim6 static_rp group Description This command is used to create a static RP.
Page 923
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format delete pim6 static_rp group <ipv6networkaddr> Parameters group - Specifies the multicast group network address which will be removed from the static RP. <ipv6networkaddr> - Enter the IPv6 network address used here.
Page 924
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 78-16 show pim6 crp Description This command is used to list all candidate rendezvous point (RP) related information. Format show pim6 crp Parameters None. Restrictions None. (EI Mode Only Command)
Page 925
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. (EI Mode Only Command) Example To show the static RP: DGS-3620-28SC:admin# show pim6 static_rp Command: show pim6 static_rp PIM6 Static RP Table --------------------------------------------- Group : FF1E:9B::/64...
Page 926
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PIM6 RP-Set Table ----------------------------------------- Group : FF3D::/64 RP Address : 2008::10F2 Hold Time : 210 sec Expired Time : 196 sec Type : Dynamic Group : FF3D::/64 RP Address...
Page 927
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 78-20 config pim6 register_probe_time Description This command is used to configure the PIM6-SM register probe time. Format config pim6 register_probe_time <sec 1-127> Parameters register_probe_time - Specifies the time before the Register-Stop Timer (RST) expires when a DR may send a Null-Register to the RP to cause it to resend a Register-Stop message.
Page 928
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Register-encapsulated data to the RP after receiving a Register-Stop message. <sec 3-65535> - Enter the register suppression time value here. This value must be between 3 and 65535 seconds. The default value is 60 seconds.
Page 929
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# 78-23 show pim6 mroute s_g Description This command is used to display the multicast routing information for (S, G) or (S, G, rpt) entries generated by PIM6.
Page 930
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Total Entries: 4 DGS-3620-28SC:admin# Check the detailed information for a specific multicasting route entry by specifying the options in the command. To show the detailed information of the multicast route entries of the specific group and source address.
Page 931
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# To show the whole IPv6 multicast routing table of (S, G, rpt) generated on the switch: DGS-3620-28SC:admin# show pim6 mroute s_g rpt Command: show pim6 mroute s_g rpt...
Page 932
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Group Address : FF13::100 Source Address : 2001::1111 Interface Name : n20 Uptime : 150 sec Have Local Membership : False Join Prune State : Prune Prune Pending Timer...
Page 933
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Group : FF13::102 Upstream : n2 RP Address : 3FFE:10:10::153 Total Entries: 3 DGS-3620-28SC:admin# Check the detailed information for a specific multicasting routing entry by specifying the options in the command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 79 Policy Route Commands create policy_route name <policyroute_name 32> delete policy_route name <policyroute_name 32> config policy_route name <policyroute_name 32> acl profile_id <value 1-6> access_id <value 1- 256> nexthop <ipaddr> state [enable | disable] {route_preference [default | pbr]}...
Page 935
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <policyroute_name 32> - The policy route name. The maximum length is 32 characters. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To delete a policy route named “duhon”:...
Page 936
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide route_preference - (Optional) Specifies the priority of this policy route. By default, the policy route has higher priority than the routing table, including local, default, static, and dynamic routes.
Page 937
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show policy_route Command: show policy_route Policy Routing Table --------------------- Name Pro- Access Next Hop State Route file Pre- ference -------------------------------- ----- ------ --------------- -------- ------- route 192.168.69.1 Enabled...
Page 939
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide VLAN of the entry is removed or the port are removed from the VLAN, or port security is disabled on the port where the address resides. deleteontimeout - The locked addresses can be aged out after aging timer expires.
Page 940
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config port_security system max_learning_addr [<max_lock_no 1-3328> | no_limit] Parameters <max_lock_no 1-3328> - Enter the maximum number of MAC address entries that can be learned by the system. If the setting is smaller than the number of current learned entries on all enabled ports, the command will be rejected.
Page 941
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the maximum number of entries that can be learned at 64: DGS-3620-28SC:admin#config port_security vlan vlanid 1 max_learning_addr 64 Command: config port_security vlan vlanid 1 max_learning_addr 64 Success.
Page 942
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 80-5 clear port_security_entry Description This command is used to clear the MAC entries learned from the specified port(s) or VLAN(s) for the port security function. Format clear port_security_entry {ports [<portlist> | all] | {[vlan <vlan_name 32> | vlanid <vidlist>]}} Parameters ports - (Optional) The port-security entries learned on the specified port will be cleared.
Page 943
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions None. Example To display a port security entry: DGS-3620-28SC:admin#show port_security_entry Command: show port_security_entry MAC Address Port Lock Mode ----------------- ---- ---------- 00-00-00-00-00-01 DeleteOnTimeout Total Entry Number: 1...
Page 944
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Port Security Log State : Disabled System Maximum Address : No Limit VLAN Configuration (Only VLANs with limitation are displayed) VLAN Name Max. Learning Addr. ---- -------------------------------- ------------------...
Page 945
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config port_security log state enable Command: config port_security log state enable Success. DGS-3620-28SC:admin# 80-9 config port_security trap state Description This command is used to enable or disable the port security trap.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide power_limit - (Optional) Specifies the per-port power limit. If a port exceeds its power limit, it will be shut down. Based on the industry standard, 802.3af, there are 4 kinds of PD classes, class 0, class 1, class 2, and class 3.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide power_limit - (Optional) Specifies the power budget of the PoE system. <value 37-760> - Enter the power budger limit value here. This value must be between 37 and 760.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide <portlist> - Enter the list of ports, used for the display, here. If no parameter is specified, the system will display the status for all the ports. Restrictions None.
Page 950
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters units - (Optional) Specifies the unit list, that will be displayed, here. <unitlist> - Enter the unit list, used for this display, here. If no parameter is specified, the system will display the status of all the supported PoE units in the system.
Page 952
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide link_detection - (Optional) Specify the link detection state. Led - (Optional) Specify to configure the power saving state of port LED. port - (Optional) Specify to configure the power saving state of port.
Page 953
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#config power_saving hibernation add time_range range_1 Command: config power_saving hibernation add time_range range_1 Success. DGS-3620-28SC:admin# 82-3 config power_saving led Description This command is used to add or delete the power saving schedule on the LED of all ports. When any schedule is up, all port’s LED will be turned off even device’s LED working on PoE mode.
Page 954
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config power_saving port [<portlist> | all] [[add | delete] time_range <range_name 32> | clear_time_range] Parameters <portlist> - Enter a range of ports. all - Specifies all ports.
Page 955
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide led - (Optional) Display the port LED configuration of power saving. port - (Optional) Display the port configuration of power saving. hibernation - (Optional) Display the system hibernation configuration of power saving.
Page 956
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator and Operator-level users can issue this command. Example To disable the LED admin state: DGS-3620-28SC:admin#config led state disable Command: config led state disable Success. DGS-3620-28SC:admin#...
Page 958
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To enable the PTP function globally: DGS-3620-28SC:admin# enable ptp Command: enable ptp Success. DGS-3620-28SC:admin# 83-2...
Page 959
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide A Boundry Clock: • Has multiple Precision Time Protocol (PTP) ports in a domain and maintains the timescale used in the domain. • Can serve as the time source and can synchronize with another clock.
Page 960
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ethernet - Specifies the transport protocol of PTP as IEEE802.3 Ethernet. udp - Specifies the transport protocol of PTP as UDP over IPv4. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
Page 961
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To configure the domain number of the PTP clock as 1 and assign a domain name of internal_domain on the local unit, when the stacking mode is disabled:...
Page 962
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ptp boundary priority1 127 Command: config ptp boundary priority1 127 Success. DGS-3620-28SC:admin# 83-7 config ptp ports Description This command is used to configure the per port state of the PTP clock.
Page 963
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format config ptp boundary ports [<portlist> | all] {announce [interval <sec 1-16> | timeout <value 2-10>] | sync_interval [half_second | <sec 1-2>] | delay_req_interval <value 0-5> | pdelay_req_interval <sec 1-32> | delay_mechanism [e2e | p2p]}(1) Parameters ports - Specifies the list of port used for this configuration.
Page 965
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# config ptp boundary ports all delay_mechanism p2p Command: config ptp boundary ports all delay_mechanism p2p Success. DGS-3620-28SC:admin# 83-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.
Page 966
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To show the global PTP configuration: DGS-3620-28SC:admin# show ptp Command: show ptp PTP State Setting : Enabled PTP Mode Setting Boundary Clock PTP Transport Protocol Setting...
Page 967
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock Command: show ptp clock PTP State : Enabled PTP Clock Mode Boundary Clock PTP Transport Protocol PTP Clock Domain Number PTP Clock Domain Name...
Page 968
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide PTP Steps Removed PTP Last Offset +110 ns PTP Mean Path Delay 120 second PTP Enabled Ports : 1:1-1:4 Box ID: 2 PTP State : Enabled PTP Clock Mode...
Page 969
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock parent Command: show ptp clock parent PTP Parent Port Identity ACDE48FFFE6789AB PTP Parent Port Number PTP Grandmaster Identity ACDE48FFFE9789AD PTP Grandmaster Clock Class PTP Grandmaster Clock Accuracy...
Page 970
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp clock parent Command: show ptp clock parent Box ID: 1 PTP Parent Port Identity ACDE4823456789AB PTP Parent Port Number PTP Grandmaster Identity ACDE4823659789AD PTP Grandmaster Clock Class...
Page 971
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin# show ptp ports 1:1-1:4 Command: show ptp ports 1:1-1:4 The active attributes: : Delay Mechanism : Announce Interval ART : Announce Receipt Timeout : Synchronization Interval DRIM: Delay_Request Interval-Master...
Page 972
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports – (Optional) Specifies the list of port used for this display. <portlist> - Enter the list of port used for this display here. all - Specifies that all the ports will be used for this display.
Page 973
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Format show ptp p2p_transparent ports [<portlist> | all] Parameters ports - Specifies the list of port used for this display. <portlist> - Enter the list of port used for this display here.
Page 974
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To show the current records of the foreign master data set for special ports 1:1-1:3 of the boundary clock: DGS-3620-28SC:admin#show ptp foreign_master_records ports all Command: show ptp foreign_master_records ports all...
Page 976
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 84-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.
Page 977
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add a protocol IPv6 to protocol group 4: DGS-3620-28SC:admin# config dot1v_protocol_group group_id 4 add protocol ethernet_2 86dd Command: config dot1v_protocol_group group_id 4 add protocol ethernet_2 86dd Success.
Page 978
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 84-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 <int 1-16> | group_name <name 32>]} Parameters group_id - (Optional) Specify the group ID to be displayed.
Page 980
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specify a range of ports to be displayed. <portlist> - Enter a range of ports to be displayed. Note: If no parameter is specified, information for all ports will be displayed.
Page 982
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure port bandwidth: DGS-3620-28SC:admin#config bandwidth_control 1-10 tx_rate 1024 Command: config bandwidth_control 1-10 tx_rate 1024 Success.
Page 983
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit DGS-3620-28SC:admin# 85-3 config per_queue bandwidth_control Description This command is used to set the bandwidth control for each specific egress queue on specified ports.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 85-4 show per_queue bandwidth_control Description This command is used to display the bandwidth control setting of per egress queue for each port. Format show per_queue bandwidth_control {<portlist>} Parameters <portlist>...
Page 985
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters ports - (Optional) Specifies the range of ports to be configured. <portlist> - Enter the list of ports here. all - Specifies that all the ports will be used.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide wrr - Specifies that each queue will operate based on their weight settings. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the traffic scheduling mechanism for each CoS queue:...
Page 987
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Class ID Weight -------- ------ Class-0 Class-1 Class-2 Class-3 Class-4 Class-5 Class-6 Class-7 QOS Output Scheduling On Port: 2 Class ID Weight -------- ------ Class-0 Class-1 Class-2 Class-3...
Page 988
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - (Optional) Specifies a range of ports to be displayed. Restrictions None. Example To display the scheduling mechanism for all ports: DGS-3620-28SC:admin#show scheduling_mechanism Command: show scheduling_mechanism...
Page 989
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 85-9 config 802.1p user_priority Description This command is used to configure the way by which the switch will map an incoming packet, based on its 802.1p user priority, to one of the eight available hardware priority queues on the switch.
Page 990
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 85-10 show 802.1p user_priority Description This command is used to display 802.1p user priority. Format show 802.1p user_priority {<portlist>} Parameters <portlist> - (Optional) Specifies the range of ports to be configured.
Page 991
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 85-11 config 802.1p default_priority Description This command is used to specify default priority for untagged packets received on a port of the switch. Format config 802.1p default_priority [<portlist> | all ] <priority 0-7>...
Page 992
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - (Optional) Specify a range of ports to be displayed. Note: If no parameter is specified, the system will display all ports with 802.1p default priority.
Page 993
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Success. DGS-3620-28SC:admin# 85-14 disable hol_prevention Description This command is used to disable head of line prevention on the switch. Format disable hol_prevention Parameters None. Restrictions Only Administrator, Operator and Power-User level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To display HOL prevention state on the switch: DGS-3620-28SC:admin#show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-3620-28SC:admin# 85-16 config dscp trust Description This command is used to enable or disable the DSCP trust state on specified ports.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters <portlist> - A range of ports to display. If not specifying any ports, the DSCP trust status for all ports on the switch will be displayed. Restrictions Only Administrator, Operator level users can issue this command.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Restrictions Only Administrator, Operator level users can issue this command. Example In the case of a product supporting per-port DSCP mapping configuration, to configure the mapping of DSCP priority 1 to priority 1:...
Page 997
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example In the case of a product supporting per port configuration.,To show the DSCP map configuration on port 1:1. DGS-3620-28SC:admin#show dscp map 1 dscp_priority Command: show dscp map 1 dscp_priority DSCP to 802.1p Priority Mapping:...
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To enable Q-in-Q: DGS-3620-28SC:admin#enable qinq Command: enable qinq Success. DGS-3620-28SC:admin# 86-2 disable qinq Description This command is used to disable Q-in-Q. When Q-in-Q is disabled, all dynamic learned L2 addresses will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Parameters None. Restrictions None. Example To display Q-in-Q: DGS-3620-28SC:admin#show qinq Command: show qinq QinQ Status : Enabled DGS-3620-28SC:admin# 86-4 config qinq ports Description This command is used to configure Q-in-Q port parameters on this Switch.
Page 1001
DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide add - Specifies to add a VLAN translation profile. delete - Specifies to delete a VLAN translation profile. vlan_translation_profile - Specifies the VLAN translation profile ID. <profile_id> - Enter the VLAN translation profile ID.
Need help?
Do you have a question about the xStack and is the answer not in the manual?
Questions and answers