CLI Reference Guide Product Model: xStack ® DGS-3600 Series Layer 3 Managed Gigabit Ethernet Switch Release 2.
TABLE OF CONTENTS INTRODUCTION .................................................................................................................................................................... 1 USING THE CONSOLE CLI................................................................................................................................................... 3 COMMAND SYNTAX ................................................................................................................................
INTERNET GROUP MANAGEMENT PROTOCOL (IGMP) COMMANDS .......................................................................329 IP DIRECTED BROADCAST COMMANDS ......................................................................................................................334 IP MULTICASTING COMMANDS......................................................................................................................................336 IP ROUTE FILTER COMMANDS...............................................
STACKING COMMANDS ..................................................................................................................................................643 STATIC MAC-BASED VLAN COMMANDS ......................................................................................................................648 STATIC MULTICAST ROUTE COMMANDS .....................................................................................................................650 SUBNET VLAN COMMANDS..................
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 1 INTRODUCTION The Switch can be managed through the Switch’s serial port, Telnet, or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces. The DGS-3600 Layer 3 stackable Gigabit Ethernet switch series are members of the D-Link xStack® family.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found on the initial boot console screen – shown below. Boot Procedure 1.10-B09 ----------------------------------------------------------------------------Power On Self Test ...................................... 100 % MAC Address H/W Version : 00-19-5B-F5-26-C0 : 1A1G Please wait, loading V2.80.B31 Runtime image .....
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 2 USING THE CONSOLE CLI The Switch supports a console management interface that allows the user to connect to the Switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP Telnet protocol. The console program can be used to configure the Switch to use SNMPbased network management software over the network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ? Command: ? ..
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual In the above example, the command config account was entered without the required parameter , the CLI returned the Next possible completions: prompt. The up arrow cursor control key was pressed to reenter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed. All commands in the CLI function in this way.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 3 COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax. NOTE: All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that changes text case.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual {braces} Syntax reset {[config | system]} Description In the above syntax example, users have the option to specify config or system. It is not necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified. Therefore, with this example there are three possible outcomes of performing a system reset.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 4 BASIC SWITCH COMMANDS The basic switch commands in the Command Line Interface (CLI) are listed (with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create account Purpose Used to create user accounts. Syntax create account [admin | operator | user] Description The create account command is used to create user accounts that consist of a username of 1 to 15 characters and a password of 0 to 15 characters. Up to eight user accounts can be created.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config account Purpose Used to configure user accounts. Syntax config account {encrypt [plain_text| sha_1] } Description The config account command configures a user account that has been created using the create account command. Parameters – Enter a name between 1 and 15 alphanumeric characters to define the administrator account to configure here.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete account Purpose Used to delete an existing user account. Syntax delete account {} Description The delete account command deletes a user account that has been created using the create account command. Parameters – Enter an alphanumeric string of up to 15 characters to define the username. Restrictions Only Administrator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show switch Purpose Used to display general information about the Switch. Syntax show switch Description This command displays information about the Switch. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show serial_port Command: show serial_port Baud Rate Data Bits Parity Bits Stop Bits Auto-Logout : : : : : 115200 8 None 1 10 mins DGS-3627:admin# config serial_port Purpose Used to configure the serial port.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable clipaging Command: enable clipaging Success. DGS-3627:admin# disable clipaging Purpose Used to disable the pausing of the console screen scrolling at the end of each page when the show command displays more than one screen of information.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable telnet Purpose Used to disable the Telnet protocol on the Switch. Syntax disable telnet Description This command is used to disable the Telnet protocol on the Switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the Telnet protocol on the Switch: DGS-3627:admin# disable telnet Command: disable telnet Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable web Purpose Used to enable the HTTP-based management software on the Switch. Syntax enable web {} Description This command is used to enable the Web-based management software on the Switch. The user can specify the TCP port number the Switch will use to listen for Telnet requests. Parameters {} − The TCP port number. TCP ports are numbered between 1 and 65535.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual save Purpose Used to save changes in the Switch’s configuration to non-volatile RAM. Syntax save {[config {} | log | all]} Description This command is used to enter the current switch configuration or log file into non-volatile RAM. The saved switch configuration will be loaded into the Switch’s memory each time the Switch is restarted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual reset Purpose Used to reset the Switch to the factory default settings. Syntax reset {[config |system]} {} Description This command is used to restore the Switch’s configuration to the default settings assigned from the factory. Parameters config − If the keyword ‘config’ is specified, all of the factory default settings are restored on the Switch including the IP address, user accounts, and the switch history log.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual logout Purpose Used to log out a user from the Switch’s console. Syntax logout Description This command terminates the current user’s session on the Switch’s console. Parameters None. Restrictions None. Example usage: To terminate the current user’s console session: DGS-3627:admin# logout show device_status Purpose Used to display the current status of the hardware of the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual username configured on the Switch. Parameters – Enter an alphanumeric string of no more than 16 characters to define the command prompt for the CLI interface. username – Entering this parameter will replace the current CLI command prompt with the login username configured on the Switch. default – Entering this parameter will return the command prompt to its original factory default setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config greeting_message Command: config greeting_message Greeting Messages Editor =============================================================================== DGS-3627 Gigabit Ethernet Switch Command Line Interface Firmware: Build 2.80.B31 Copyright(C) 2010 D-Link Corporation. All rights reserved.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 5 BASIC IP COMMANDS The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ipif address located in the same interface, the system will check this setting to determine whether to reply. Default: Disabled. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create an interface Intface_1 on vlan vlan_1. DGS-3627:admin# create ipif Intface_1 vlan_1 Command: create ipif Intface_1 vlan_1 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipif enable - Enabled the IP directed-broadcast state of the interface. disable - Disabled the IP directed-broadcast state of the interface. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure an interface’s IPv4 network address: DGS-3627:admin# config ipif Intface_1 ipaddress 10.0.0.1/8 Command: config ipif Intface_1 ipaddress 10.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ipif Intface_1 Command: disable ipif Intface_1 Success DGS-3627:admin# enable ipif_ipv6_link_local_auto Purpose Enable the auto configuration of link local address when no IPv6 address is configured. Syntax enable ipif_ipv6_link_local_auto [ | all] Description Enable the auto configuration of link local address when there are no IPv6 addresses explicitly configured.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipif Purpose This command is used to display the interface’s information. Syntax show ipif {} Description To show an interface’s information. Configuration for both IPv4 and IPv6’ addresses will be displayed. Parameters ipif_name - Specifies the name of the IP interface used. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipif Syntax delete ipif [ {ipv6address } | all] Description Delete an interface or all the interfaces. Note that the system interface can not be deleted. By using this command, a IPv6 address can be deleted from the ipif. Parameters ipif_name - Specifies the name of the IP interface. all - All ipif except the System IP interface will be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 6 BPDU TUNNELING COMMANDS The BPDU Tunneling commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config bpdu_tunnel ports [ | all] type [tunnel {stp | gvrp} (1) | uplink | none] show bpdu_tunnel enable bpdu_tunnel disable bpdu_tunnel Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bpdu_tunnel Purpose Used to show BPDU Tunneling global state, tunnel destination MAC address and ports state. Syntax show bpdu_tunnel Description This command is used to show BPDU Tunneling global state, tunnel destination MAC address and ports state. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable bpdu_tunnel Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the BPDU Tunneling function: DGS-3627:admin# disable bpdu_tunnel Command: disable bpdu_tunnel Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 7 802.1X COMMANDS The Switch implements the server-side of the IEEE 802.1X Port-based and MAC-based Network Access Control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each port on the Switch that a user or network device must meet before allowing that port to forward or receive frames. The 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable 802.1x disable 802.1x create 802.1x user < username 15 > delete 802.1x user < username 15 > show 802.1x user config 802.1x auth_protocol [ local | radius_eap ] config 802.1x fwd_pdu system [ enable | disable ] config 802.1x fwd_pdu ports [ < portlilst > | all ] [ enable | disable ] config 802.1x authorization network radius [ enable | disable ] show 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. enable 802.1x Purpose Used to enable the 802.1X function. Syntax enable 802.1x Description The enable 802.1x command enables 802.1X function. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Used to enable the 802.1X function: DGS-3627:admin#enable 802.1x Command: enable 802.1x Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create an 802.1x user “test”: DGS-3627:admin# create 802.1x user test Command: create 802.1x user test Enter a case-sensitive new password: Enter the new password again for confirmation: Success. DGS-3627:admin# delete 802.1x user Purpose Used to delete an 802.1X user. Syntax delete 802.1x user < username 15 > Description The delete 802.1x user command delete an 802.1X user.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show 802.1x user Command: show 802.1x user Username ---------user1 Password ---------abcds Total Entries : 1 DGS-3627:admin# config 802.1x auth_protocol Purpose Used to configure the 802.1X auth protocol. Syntax config 802.1x auth_protocol [ local | radius_eap ] Description The config 802.1x auth_protocol command configures the 802.1X authentication protocol.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-3627:admin# config 802.1x fwd_pdu ports Purpose Used to configure if the port will flood EAPOL PDU when 802.1X functionality is disabled. Syntax config 802.1x fwd_pdu ports [ < portlilst > | all ] [ enable | disable ] Description This is a per port setting to control the forwarding of EAPOL PDU. When 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x authorization attributes radius disable Command: config 802.1x authorization attributes radius disable Success. DGS-3627:admin# show 802.1x Purpose Used to display the 802.1X state or configurations. Syntax show 802.1x { [ auth_state | auth_configuration ] ports { < portlist > } } Description The show 802.1x command displays the 802.1X state or configurations.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the 802.1X port level configurations: DGS-3627:admin# show 802.1x auth_configuration ports 1:1 Command: show 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x max_users Parameters max_users - Specifies the maximum number of users. The range is 1 to 4000. By default, there is no limit on the maximum users. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure 802.1X number of users to be limited to 200: DGS-3627:admin# config 802.1x max_users 200 Command: config 802.1x max_users 200 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x auth_parameter enable_reauth - You can enable or disable the re-authentication mechanism for a specific port. max_users - Specifies per port maximum number of users. The range is 1 to 128. The default value is 16. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1x init Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To initialize the authentication state machine of some or all: DGS-3627:admin# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success. DGS-3627:admin# config 802.1x reauth Purpose Used to re-authenticate the device connected to the port. Syntax config 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create a VLAN named “guestVLAN” as 802.1X guest VLAN: DGS-3627:admin# create 802.1x guest_vlan guestVLAN Command: create 802.1x guest_vlan guestVLAN Success. DGS-3627:admin# delete 802.1x guest_vlan Purpose Used to delete guest VLAN configuration. Syntax delete 802.1x guest_vlan { < vlan_name 32 > } Description The delete 802.1x guest_vlan command will delete guest VLAN setting, but not delete the static VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config 802.1x guest_vlan ports 1-8 state enable Command: config 802.1x guest_vlan ports 1-8 state enable Warning! GVRP of the ports were disabled! Success. DGS-3627:admin# show 802.1x guest_vlan Purpose Used to show guest VLAN setting. Syntax show 802.1x guest_vlan Description The show guest_vlan command allows you to show the information of guest VLANs. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config radius add Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add a new RADIUS server: DGS-3627:admin# config radius add 1 10.48.74.121 key dlink default Command: config radius add 1 10.48.74.121 key dlink default Success. DGS-3627:admin# config radius delete Purpose Used to delete a RADIUS server.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config radius is 1813. timeout - The time in second for waiting server reply. Default value is 5 seconds. retransmit - The count for re-transmitting. Default value is 2. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure a radius server: DGS-3627:admin# config radius server 1 auth_port 60 Command: config radius server 1 auth_port 60 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show radius Command: show radius Time Out : 5 seconds Retransmit : 2 Server 1 IP Address Auth-Port Acct-Port Timeout Retransmit Key : : : : : : fe80:fec0:56ab:34b0:20b2:6aff:fecf:7ec6 1812 5 2 3 adfdslkfjefiefdkgjdassdwtgjk6y1w Server 2 IP Address Auth-Port Acct-Port Retransmit Key : : : : : 172.18.211.71 1812 1813 2 1234567 Server 3 IP Address Auth-Port Acct-Port Retransmit Key : : : : : 172.18.211.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_statistics ports 1 Command: show auth_statistics ports 1 Port number : 1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx EapLengthErrorFramesRx LastEapolFrameVersion LastEapolFrameSource 0 6 0 6 0 0 0 0 0 0 0 00-00-00-00-00-00 DGS-3627:admin# show auth_diagnostics Purpose Used to display in
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_diagnostics ports 1 Command: show auth_diagnostics ports 1 Port number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses Backend
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show auth_session_statistics ports 1 Command: show auth_session_statistics ports 1 Port number : 1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod SessionTime SessionTerminateCause SessionUserName 0 0 0 0 0 Remote Authentication Server 0 SupplicantLogoff DGS-3627:admin# show auth_client Purpose Use to display information of RADIUS authentication client.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show acct_client Purpose Used to display information of RADIUS accounting client. Syntax show acct_client Description The show acct_client command displays information of RADIUS accounting client. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config accounting service shell state enable Command: config accounting service shell state enable Success. DGS-3627:admin# show accounting service Purpose Used to show the status of RADIUS accounting services. Syntax show accounting service Description The show accounting service command displays the state for RADIUS accounting service. Parameters portlist - Specifies a range of ports to be configured.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 8 ACCESS AUTHENTICATION CONTROL COMMANDS The TACACS / XTACACS / TACACS+ / RADIUS commands allow users to secure access to the Switch using the TACACS / XTACACS / TACACS+ / RADIUS protocols. When a user logs in to the Switch or tries to access the administrator level privilege, he or she is prompted for a password.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Please note that user granted access to the Switch will be granted normal user privileges on the Switch. To gain access to admin level privileges, the user must enter the enable admin command and then enter a password, which was previously configured by the administrator of the Switch. NOTE: TACACS, XTACACS and TACACS+ are separate entities and are not compatible.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable password encryption disable password encryption create account [admin | operator | user] config account {encrypt [plain_text | sha_1] } show account delete account enable authen_policy disable authen_policy show authen_policy create authen_login method_list_name config authen_login [default | method_list_name ] method {tacacs
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config admin local_enable Each command is listed, in detail, in the following sections. enable password encryption Purpose This command is used to enable password encryption. Syntax enable password encryption Description The user account configuration information will be stored in the configuration file, and can be applied to the system later.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable password encryption Command: disable password encryption DGS-3627:admin# create account Purpose This command is used to create user accounts. Syntax create account [admin | operator | user] Description The create account command is used to create user accounts. A username can be between 1 and 15 characters. The password is between 0 and 15 characters and is case sensitive.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the user password of the “alpha” account: DGS-3627:admin# config account alpha Command: config account alpha Enter an old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:**** Success. DGS-3627:admin# show account Purpose This command is used to display the user accounts that have been created on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete account System Command: delete account System Success. DGS-3627:admin# enable authen_policy Purpose This command is used to enable the system access authentication policy.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show authen_policy Purpose This command is used to display if the system access authentication policy is enabled or disabled. Syntax show authen_policy Description Displays if the system access authentication policy is enabled or disabled. Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config authen_login hosts in the tacacs+ group are missing, the authentication request will be sent to the first server host in the tacacs group. If all server hosts in the tacacs group are missing, the local account database in the device will be used to authenticate the user.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-3627:admin# show authen_login Purpose This command is used to display the method list of authentication methods that will be used for users attempting to log in to the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create authen_enable method_list_name enable_list_1 Command: create authen_enable method_list_name enable_list_1 Success. DGS-3627:admin# config authen_enable Purpose This command is used to configure a user-defined or default method list of authentication methods for promoting a user's privilege to Admin level.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete authen_enable method_list_name Description Deletes a user-defined method list of authentication methods for promoting a user's privilege to Admin level. Parameters - The user-defined method list name Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config authen application Purpose This command is used to configure login or enable method lists for all or the specified applications. Syntax config authen application [console | telnet | ssh | http | all] [login | enable] [default | method_list_name ] Description Configures login or enable method lists for all or the specified applications. Parameters console - Application: Console.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create authen server_group Purpose This command is used to create a user-defined authentication server group. Syntax create authen server_group Description Creates a user-defined authentication server group. 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..
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ Command: config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ Success. DGS-3627:admin# delete authen server_group Purpose This command is used to delete a user-defined authentication server group. Syntax delete authen server_group Description Deletes a user-defined authentication server group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authen server_group Command: show authen server_group Server Group : mix_1 Group Name --------------mix_1 radius tacacs tacacs+ xtacacs IP Address --------------10.1.1.222 10.1.1.223 10.1.1.224 10.1.1.225 10.1.1.226 10.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 Command: create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 Success. DGS-3627:admin# config authen server_host Purpose This command is used to configure an authentication server host.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete authen server_host protocol xtacacs - Specify that the server host’s authentication protocol is XTACACS. protocol tacacs+ - Specify that the server host’s authentication protocol is TACACS+. protocol radius - Specify that the server host’s authentication protocol is RADIUS. Restrictions Only Administrator level users can issue this command. Example usage: To delete an authentication server host, with an IP address of 10.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the amount of time the Switch will wait for a user to authenticate through a console, Telnet, or SSH application to 60 seconds: DGS-3627:admin# config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authen parameter Command: show authen parameter Response timeout : 60 seconds User attempts : 9 DGS-3627:admin# enable admin Purpose This command is used to enter the administrator level privilege Syntax enable admin Description Promote the "user" privilege level to "admin" level.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config admin local_enable Command: config admin local_enable Enter the old password: Enter the case-sensitive new password:****** Enter the new password again for confirmation:****** Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 9 ACCESS CONTROL LIST (ACL) COMMANDS The Switch implements Access Control Lists that enable the Switch to deny network access to specific devices or device groups based on IP settings and MAC address. Access profiles allow you to establish criteria to determine whether or not the Switch will forward packets based on the information contained in each packet’s header. These criteria can be specified on a VLAN-by-VLAN basis.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Access Control List (ACL) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters create access_profile [ethernet {vlan | source_mac | destination_mac | 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create access_profile Purpose Used to create access list rules. Syntax create access_profile [ethernet {vlan | source_mac | destination_mac | 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create access_profile Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create an Ethernet access profile: DGS-3627:admin# create access_profile ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type profile_id 1 Command: create access_profile ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config access_profile Syntax config access_profile profile_id [add access_id [auto_assign | ] [ethernet {vlan | source_mac | destination_mac | 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config access_profile dst_port - Specifies the range of tcp destination port mask protocod_id - Specifies that the rule applies to the value of ip protocol id traffic user_define - Specifies that the rule applies to the ip protocol id and the mask options behind the IP header length is 20 bytes. packet_content - Specifies the packet content for the user defined mask. ipv6 - Specifies the rule applies to ipv6 fields .
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config access_profile profile_id 5 add access_id auto_assign packet_content offset_chunk_1 0xAAAAAAAA offset_chunk_2 0xBBBBBBBB offset_chunk_3 0xFFFFFFFF offset_chunk_4 0xEEEEEEEE port all permit Command: config access_profile profile_id 5 add access_id auto_assign packet_content offset_chunk_1 0xAAAAAAAA offset_chunk_2 0xBBBBBBBB offset_chunk_3 0xFFFFFFFF offset_chunk_4 0xEEEEEEEE port all permit Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id Purpose To configure packet flow-based metering based on an access profile and rule.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id The unit is Kbytes. The max set value is 16*1024. conform - Specify the action when packet is in “green color”. permit - Permit the packet. replace_dscp - Change the dscp of packet. exceed - Specify the action when packet is in “yellow color”. permit - Permit the packet. replace_dscp - Change the dscp of packet. drop - Drop the packet. violate - Specify the action when packet is in “red color”.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show flow_meter Command: show flow_meter Flow Meter Information --------------------------------Profile ID:4 Access ID:1 Mode : trTCM CIR:1000(64Kbps) CBS:200(Kbyte) PIR:2000(64Kbps) PBS:200(Kbyte) Action: Conform : Permit Counter: Disabled Exceed : Permit Replace DSCP: 21 Counter: Disabled Violate : Drop Counter: Disabled Total Entries: 1 DGS-3627:admin# config time_range Purpose Used to configure the range of ti
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show time_range Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 10 ACL FLOW METERING COMMANDS Before configuring the ACL Flow Meter, here is a list of acronyms and terms users will need to know. trTCM – Two Rate Three Color Marker. This, along with the srTCM, are two methods available on the switch for metering and marking packet flow. The trTCM meters and IP flow and marks it as a color based on the flow’s surpassing of two rates, the CIR and the PIR. • CIR – Committed Information Rate.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config flow_meter profile_id access_id [ [ tr_tcm cir {cbs } pir {pbs } | sr_tcm cir cbs ebs ] {conform [permit |replace_dscp ] {counter [enable |disable]}} exceed [permit | replace_dscp | drop] {counter [enable |disable]} violate [permit | replace
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id Purpose Used to configure the flow metering function for ACL..
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config flow_meter profile_id field rewritten using this parameter and entering the DSCP value to replace. • drop – Enter this parameter to drop packets that are in the yellow flow. • counter [enable | disable] – Use this parameter to enable or disable the packet counter for the specified ACL entry in the yellow flow. violate − This field denotes the red packet flow.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show flow_meter profile_id 1 access_id 1 Command: show flow_meter profile_id 1 access_id 1 Profile ID : 1 CIR: 1000(64kbps) Action: Conform : Permit Exceed : Permit Violate : Drop Access ID : 1 CBS: 200(Kbyte) Replace DSCP: 21 Mode: trTCM PIR: 2000(64kbps) Counter : Disabled Counter : Disabled Counter : Disabled Total Entries : 1 DGS-3627:admin# 88 PBS : 200(Kbyte)
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 11 ADDRESS RESOLUTION PROTOCOL (ARP) COMMANDS The Address Resolution Protocol (ARP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete an entry of IP address 10.48.74.121 from the ARP table: DGS-3627:admin# delete arpentry 10.48.74.121 Command: create arpentry 10.48.74.121 Success. DGS-3627:admin# config arpentry Purpose Used to configure a static entry’s MAC address in the ARP table. Syntax config arpentry Description This command configures a static entry’s MAC address in the ARP table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear arptable Purpose Used to clear all the dynamic ARP entries from the ARP table. Syntax clear arptable Description This command is used to clear all the dynamic entries from ARP table. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To clear the ARP table: DGS-3627:admin# clear arptable Command: clear arptable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show arpentry Command: show arpentry ARP Aging Time : 20 Interface ------------System System System System System System IP Address --------------10.0.0.0 10.1.1.1 10.1.1.2 10.1.1.3 10.90.90.90 10.255.255.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 12 ARP SPOOFING PREVENTION COMMANDS The ARP Spoofing Prevention commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config arp_spoofing_prevention [add gateway_ip gateway_mac ports [ | all] | delete gateway_ip ] show arp_spoofing_prevention Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show arp_spoofing_prevention Purpose This command is used to show the ARP spoofing prevention entry. Syntax show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 13 BORDER GATEWAY PROTOCOL (BGP) DEBUG COMMANDS BGP is a UNICAST Routing protocol. It can be used on any Layer 3 Ethernet switch supporting the IP routing function. The Border Gateway Protocol (BGP) debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug error_log The “error_log” here refers to the software error log stored in NVRAM. For more information on this command, please refer to the UIS-Debug topic Parameters dump - Displays debug messages occurring in the debug log. clear - Clears the debug log. upload_toTFTP - Uploads the debug log to the TFTP server that is specified by its IP address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug buffer buffer to the TFTP server. The “buffer” here refers to the module debug messages stored in the RAM. For more information on this command, please refer to the UIS-Debug topic Parameters utilization - Displays the debug buffer’s state dump - Displays the debug messages in the debug buffer.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show flag Purpose This command is used to display the current BGP debugging flags’ setting Syntax debug bgp show flag Description This command is used to display the current BGP debugging flags’ setting Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp all flag enable Command: debug bgp all flag enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp packet Direction of packet: in out enable - Enable the BGP debug function disable - Disable the BGP debug function Restrictions Only Administrator level users can issue this command. Example usage: Configure BGP to display debugging information after it received update packets: DGS-3627:admin# debug bgp packet all in enable Command: debug bgp packet all in enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual After configuring BGP to enable the error debug flag, it may print following information when an error happens: BGP: 10.1.1.1-10.2.2.2, NHop Validate: Invalid NHop address 250.3.0.0/8 received. BGP: Hold-Timer: Invalid Peer. debug bgp show global_info Purpose This command is used to display global information of the current BGP instance.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show peer Purpose This command is used to display information of all the peers in the BGP protocol database. Syntax debug bgp show peer Description This command is used to display information of all the peers in the BGP protocol database. Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show peer Command: debug bgp show peer BGP neighbor: 10.10.10.2 (Internal Peer) ----------------------------------------------Session State: Enabled Session Activity: Enabled Peer Group: NULL Remote AS: 1 Local AS:10 Remote Router ID:192.168.252.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show peer group Parameters None. Restrictions Only Administrator level users can issue this command. Example usage: Configure BGP to show the peer group’s configuration: DGS-3627:admin# :5#debug bgp show peer_group Command: debug bgp show peer_group BGP Peer Group :local1 ----------------------------------------------------------------------Session State : Enabled Session Activity : Enabled Members : 192.168.6.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show network Command: debug bgp show network Network ------------192.168.0.0/8 172.16.0.0/16 Route Map ----------NULL map1 Total Entries :2 DGS-3627:admin# debug bgp show aggregate Purpose This command is used to display the current aggregate’s configuration in the BGP protocol stack.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show damp Command: debug bgp show damp Route Map Reach Half Life Time is Reuse Value Suppress Value Max Suppress Time Unreach Half Life Time is Reuse Index Size Reuse List Size Reuse Offset : : : : : : : : : NULL 900 seconds 750 2000 3600 seconds 900 seconds 1024 512 0 Current dampened routes: Damp Reuse List Info: reuse_index index ptr penalty evt flap start_time show BGP Damp no reuse list info: 0
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show interface_info Command: debug bgp show interface_info Interface Information: Name ---System Index ----0001 Network ------------30.30.30.30/8 Flags ----0 Status -----Up DGS-3627:admin# debug bgp show bgp_timer Purpose This command is used to display the current BGP timer chain information in the BGP protocol stack.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug bgp show redist_list Command: debug bgp show redist_list Last redistribution count summary: Type Route_count_rib total_count ------ ---------------- --------------OSPF 0 0 RIP 0 0 STATIC 0 0 LOCAL 0 0 Redistributed routes summary: Network Type Route_map -----------------Total entry: 0 Time(msec) --------0 0 0 0 Metric ------ Next_hop ------------- Redist list information: No redist list exist! DGS-3627:adm
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug bgp show community_list Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Configure the access list debug flags’ state to be enabled: DGS-3627:admin# debug bgp access_list enable Command: debug bgp access_list enable Success. After configuring BGP to enable the access list debug flag, it may print following information when the access list is applied: access_list:,apply bgp neighbor:<19.0.0.1> MATCH.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 14 BORDER GATEWAY PROTOCOL (BGP) COMMANDS The Border Gateway Protocol (BGP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor general [ | peer_group ] { ebgp_multihop | weight [| default ] | update_source [add | delete] ipif | send_community [standard | none] | next_hop_self [enable | disable] | soft_reconfiguration_inbound [enable | disable] | remove_private_as [enable | disable] | allowas_in [enable {}| disable] | default_originate [enable {route_map
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp confederation config bgp trap [peer_established | peer_idle | all ] [enable | disable] show bgp trap_state config bgp scan_timer [ | default] config bgp aggregate_next_hop_check [enable | disable] config bgp fast_external_fallover [enable | disable] config bgp neighbor maximum_prefix [ | peer_group ] {} {warning_only} clear bgp flap_statistics {[<
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable bgp Command: disable bgp Success. DGS-3627:admin# create bgp Purpose This command is used to create a BGP process. It’s AS number must be set. Syntax create bgp Description When the BGP protocol starts, it must belong to a single AS. The user must set the AS number before configuring any of the other attributes. Parameters - Specifies the BGP AS number.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp router_id Description The address of a loopback interface is preferred to an IP address on a physical interface because the loopback interface is more effective than a fixed interface as an identifier because there is no physical link to go down. The user must specify a unique router ID within the network. This command will reset all active BGP peering sessions.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp enforce_first_as Purpose This command is used to enforce the neighbor’s AS as the first AS in the AS list. Syntax config bgp enforce_first_as [enable | disable] Description This command is used to enforce the neighbor’s AS as the first AS in the AS list.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp aggregate_address 10.0.0.0/8 summary_only Command: create bgp aggregate_address 10.0.0.0/8 summary_only Success. DGS-3627:admin# delete bgp aggregate_address Purpose This command is used to delete an aggregate entry in a Border Gateway Protocol (BGP) database.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create bgp network Purpose This command is used to specify the network advertised by the Border Gateway Protocol (BGP). Syntax create bgp network {route_map } Description BGP networks can be learned from connected routes, from dynamic routing, and from static route sources. Parameters - Represents the local network that BGP will advertise.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete bgp network Parameters - Represents the local network that BGP will advertise. all - Deletes all BGP networks. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete network 10.108.0.0/16 to be advertised in the BGP updates: DGS-3627:admin# delete bgp network 10.108.0.0/16 Command: delete bgp network 10.108.0.0/16 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp timer The default value is 180 seconds. If the holdtime is set to zero, then the holdtime will never expire. If the two routers that build a BGP connection have a different hold time, then the smaller hold time will be used. If the timer is specified for specific neighbors, then the neighbor specific timer will take effect. The hold time needs to be at least three times that of the keepalive timer.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp bestpath If the routes have the same weight, use the route with the highest local preference. If the routes have the same local preference, prefer the route that was originated by BGP on this router. Originated from network command > from redistribute command> from aggregate command. If no route was originated, prefer the route with the shortest AS path.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp dampening Purpose This command is used to configure BGP process’s dampening configurations Syntax config bgp dampening [ route_map | clear_routemap | { state [enable | disable] | half_life | reuse | suppress | max_suppress_time | un_reachability_half_life }(1)] Description The purpose of this command is to eliminate the dampening of rout
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3427:5#config bgp dampening state disable Command: config bgp dampening state disable Success. DGS-3627:admin# show bgp dampening Purpose This command is used to show the BGP dampening configurations. Syntax show bgp dampening Description The purpose of this command is to show the BGP dampening configurations. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp peer_group from the peer group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp peer_group local delete 10.2.2.2 Command: config bgp peer_group local delete 10.2.2.2 Success. DGS-3627:admin# config bgp peer_group remote_as Purpose This command is used to configure the BGP peer group’s remote AS number. Syntax config bgp peer_group remote_as Description The command is used to configure the AS number of a BGP peer group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create a neighbor peer whose address is 10.10.10.2: DGS-3627:admin# create bgp neighbor 10.10.10.2 remote_as 10 Command: create bgp neighbor 10.10.10.2 remote_as 10 Success. DGS-3627:admin# delete bgp neighbor Purpose This command is used to delete the BGP neighbor. Syntax delete bgp neighbor [ | peer_group | all] Description The command is used to delete a BGP neighbor.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor 10.10.10.2 description EBGP-neighbor Command: config bgp neighbor 10.10.10.2 description EBGP-neighbor Success. DGS-3627:admin# config bgp neighbor session Purpose This command is used to configure the BGP neighbor’s session attribute.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor session 10.1.1.1 activity disable Command: config bgp neighbor session 10.1.1.1 activity disable Success. DGS-3627:admin# config bgp neighbor general Purpose This command is used to configure the BGP neighbor’s general setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor general Parameters - Specifies the IP address of the neighbor to be configured. - Specifies the peer group to be configured. ebgp_multihop - Specifies the TTL of the BGP packet sent to the neighbor. For an EBGP neighbor the default setting is 1. This means only direct connected neighbors are allowed. weight - The valid range is from 0 to 65535.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor timer messages to its peer. The valid value is from 0 to 65535. If this value is set to zero, the update or withdrawn message will be sent immediately. The default value for IBGP peers is 5 seconds and for EBGP peers it is 30 seconds. When specified to default, the neighbor specific advertisement interval setting will be returned to the default setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor route_reflector_client neighbor command. When the router is in reflection mode, the router will exchange information with client neighbors in the reflection way and with the remaining neighbors in the ordinary way. When the router is in non-reflection mode, the router will exchange information with all the neighbors in the non-reflection way.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Command: config bgp neighbor map peer_group Campus unsuppress_map add Profile1 Success. DGS-3627:admin# config bgp neighbor filter Purpose This command is used to configure the BGP neighbor’s filter related setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp peer_group Syntax show bgp peer_group {} Description To display the BGP peer group’s information. Parameters - The name of the BGP peer group. The length is up to 16 bytes. This means to display all the BGP peer groups’ information that doesn’t specify the peer group name. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp neighbor peer_group local1 Command:4#create bgp neighbor peer_group local1 Success. DGS-3627:admin# create bgp neighbor 10.2.2.2 remote_as 10 Command:4#create bgp neighbor 10.2.2.2 remote_as 10 Success. DGS-3627:admin# config bgp peer_group local1 add 10.2.2.2 Command:4#config bgp peer_group local1 add 10.2.2.2 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp route_reflector cluster_id Description 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. When the cluster ID is 0.0.0.0, the cluster is identified by the router ID. Otherwise, the cluster is identified by the cluster ID.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp confederation identifier Syntax config bgp confederation identifier Description A confederation, which is represented by an AS, is a group of the sub AS. A confederation can be used to reduce the internal BGP (iBGP) mesh by dividing a large single AS into multihop sub AS. External peers interact with the confederation as if it is a single AS.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear bgp Purpose This command is used to reset the Border Gateway Protocol (BGP) connections using hard or soft reconfigurations. Syntax clear bgp [all | ipaddr | as | peer_group | external ] {soft {[ in { prefix_filter} | out ]}} Description This command is used to initiate a hard reset or a soft reset for a connection.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 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. Parameters - Specifies an IPv4 address to clear the dampening information. - Specifies an IPv4 network to clear the dampening information.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp as_path access_list - Regular expression that defines the as_path filter. permit - Permits advertisement based on matching conditions. deny - Denies advertisement based on matching conditions. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 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. Parameters - AS path access list name. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp community_list Multiple rules can be defined for a community list. Each rule is either in the permit form or in the deny form. Each rule in the standard community list contains one community. A community string, which contains multiple communities, can be defined for a rule. A Route can be associated with a community string. To match a rule, two community strings must exactly match.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3627: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. DGS-3627:admin# delete bgp community_list Purpose This command is used to delete a BGP community list.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create bgp community_list standard list1 Command: create bgp community_list standard list1 Success. DGS-3627: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.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show bgp route no_advertise - Do not advertise to any peer (well-known community) no_export - Do not export to next AS (well-known community) exact_match - If specified, communities need to match exactly. If not specified, then there are two cases: If internet is contained in the community list, then all routes will match. If not, then the community needs to be a subset of route’s community to match.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route Command: show bgp route BGP local router ID is 10.0.40.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? – incomplete IP Address/Netmask ----------------*> 10.10.10.0/24 *> 10.10.20.0/24 * 10.20.10.0/24 *dh 30.10.1.1/24 Gateway ----------172.16.10.1 172.16.10.1 172.16.10.1 172.3.3.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route filter_list filter_list_one Command: show bgp route filter_list filter_list_one 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, ? – incomplete IP Address/Netmask --------------* 172.16.0.0 * 172.16.1.0 * 172.16.11.0 * 172.16.14.0 * 172.16.15.0 * 172.16.16.0 Gateway ----------172.16.72.30 172.16.72.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp route network 2.2.2.0/24 Command: show bgp route network 2.2.2.0/24 BGP routing table entry for 2.2.2.0/24 Paths:(1 available, best #1, table: Default_IP_Routing_Table, not advertised to any peer.) Not advertised to any peer. AS path is: Local Next hop is: 0.0.0.0 ,from 0.0.0.0 (local router_id is:192.168.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp neighbors 10.10.10.2 Command: show bgp neighbors 10.10.10.2 BGP neighbor: 10.10.10.2 (Internal Peer) ----------------------------------------------Session State : Enabled Session Activity : Enabled Remote AS : 1 Remote Router ID :192.168.252.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp neighbors 172.16.232.178 received_routes Command: show bgp neighbors 172.16.232.178 received_routes 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 IP Address/Netmask Gateway Metric LocPrf Weight Path ------------------- --------------- ------- ------ ------ -----*>i10.0.0.0 172.16.232.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp dampened_routes Command: show bgp dampened_routes BGP local router ID is 172.29.232.182 Status codes: s suppressed, d damped, h history, * valid, > best, i -internal Origin codes: i - IGP, e - EGP, ? - incomplete Network From Reuse Path -------------- ----------------- --------- ------------*d 10.0.0.0/8 172.16.232.177 00:18:4 100 ? *d 10.2.0.0/16 172.16.232.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp Command: show bgp BGP Global State Version BGP Router Identifier Synchronization Enforce First AS Local AS number Scan Time Hold Time Keep Alive Time Dampening Always Compare MED Deterministics MED Med Confed Default Local Preference AS Path Ignore Compare Router ID MED Missing as Worst Compare Confederation Path Fast External Fallover Aggregate Next Hop Check BGP Trap : Enabled : 4 : 172.16.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bgp reflection Command: show bgp reflection Client to Client Reflection State : Disabled Cluster ID : 0.0.0.0 Router Reflector Client: 10.1.1.20 10.1.1.30 DGS-3627:admin# show bgp confederation Purpose This command is used to display the confederation configuration of BGP. Syntax show bgp confederation Description This command displays the BGP confederation configuration. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable the BGP peer idle trap state: DGS-3627:admin# config bgp trap peer_idle disable Command: config bgp trap peer_idle disable Success. DGS-3627:admin# show bgp trap Purpose This command is used to show the BGP trap state. Syntax show bgp trap_state Description This command displays the BGP trap state. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp aggregate_next_hop_check Purpose This command is used to configure the BGP aggregated routes’ next hop check. Only the routes with the same next hop attribute can be aggregated if the BGP aggregate next hop check is enabled. Syntax config bgp aggregate_next_hop_check [enable | disable] Description This command configures the BGP aggregate next hop check state. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bgp neighbor maximum_prefix The default is 12000. - An integer specifying at what percentage the maximum prefix limit on the router starts to generate a warning message. The range is from 1 to 100. The default is 75. warning_only - Allows the router to generate a log message when the maximum prefix limit is exceeded, instead of terminating the peering session.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 15 BPDU ATTACK PROTECTION COMMANDS In a network, customers do not want all the ports of the device to receive STP packets, because some ports that receive STP BPDU packets will waste system resources. If the ports are not expected to receive BPDU packets, BPDU attack protection will prevent some ports from receiving them.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bpdu_protection ports shutdown - Shut down the port when the port enters under_attack state. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To set the port state enable and drop mode: DGS-3627:admin# config bpdu_protection ports 1 state enable mode drop Commands: config bpdu_protection ports 1 state enable mode drop Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bpdu_protection attack_cleared - Events will be logged or trapped when the BPDU attacks is cleared. both - The events of attack_detected and attack_cleared shall be trapped or logged. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable bpdu_protection Commands: disable bpdu_protection Success. DGS-3627:admin# show bpdu_protection Purpose Used to show bpdu_protection status. Syntax show bpdu_protection {ports { }} Description The show bpdu_protection command is used to display bpdu_protection global configuration or per port configuration and current status.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 16 CABLE DIAGNOSTICS COMMAND LIST The Cable Diagnostics commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters cable_diag ports [ | all] Each command is listed, in detail, in the following sections. cable_diag ports Purpose This command is used to configure the cable diagnostics.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# cable_diag ports 1-2 Command: cable_diag ports 1-2 Perform Cable Diagnostics ...
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 17 COMMAND HISTORY LIST The switch history commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters ? {} config command_history show command_history Each command is listed, in detail, in the following sections. ? Purpose Used to display all commands in the Command Line Interface (CLI).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ? .. ? cd clear clear address_binding dhcp_snoop binding_entry ports clear arptable clear attack_log clear counters clear dhcp_binding clear fdb clear log clear mac_based_access_control auth_mac clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config command_history 20 Command: config command_history 20 Success. DGS-3627:admin# show command_history Purpose Used to display the command history. Syntax show command_history Description This command will display the command history. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 18 COMMAND LOGGING COMMANDS The command logging function is used to log the commands that have successfully been configured to the switch via the command line interface. The requirement is to log the command itself, along with information about the user account that entered the command into the system log and the informational severity level.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable command logging Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the command logging function: DGS-3627:admin# disable command logging Command: disable command logging Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 19 COMPOUND AUTHENTICATION COMMANDS The Compound Authentication UI specification describes the Common feature for access control functionalities and specifications. The Compound Authentication commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an authentication guest VLAN: DGS-3627:admin# create authentication guest_vlan vlan guestVLAN Command: create authentication guest_vlan vlan guestVLAN Success. DGS-3627:admin# delete authentication guest_vlan Purpose Used to delete guest VLAN configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authentication guest_vlan vlan gv add ports all Command: config authentication guest_vlan vlan gv add ports all Success. DGS-3627:admin# config authentication ports Purpose Used to configure security port(s).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config authentication ports all auth_mode host_based vlanid 1-3 state enable Command: config authentication ports all auth_mode host_based vlanid 1-3 state enable Success. DGS-3627:admin# show authentication guest_vlan Purpose Used to show guest VLAN setting. Syntax show authentication guest_vlan Description The show guest VLAN command allows you to show the information of guest VLAN. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show authentication ports Command: show authentication ports Port --------1 2 3 4 5 6 7 8 9 Methods ---------------None Auth Mode ---------------Host based Any 802.1X_IMPB None IMPB_JWAC None None 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: This example sets authorization global state disabled: DGS-3627:admin# disable authorization attributes Command: disable authorization attributes Success. DGS-3627:admin# show authorization Purpose Used to show authorization status. Syntax show authorization Description Used to show authorization status. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Set authentication server auth fail over state: DGS-3627:admin# config authentication server failover local Command: config authentication server failover local Success. DGS-3627:admin# show authentication Purpose Used to show authentication global configuration. Syntax show authentication Description Used to show authentication global configuration. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 20 CONFIGURATION COMMANDS Configuration function is used to conserve several configuration files in switch. With configuration function, user could conserve several same configurations in switch, one for currently use, other for back up, and user could conserve several different configurations in switch for different condition use.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To download the configuration file “desxxxx.cfg” from TFTP server at IP address 10.54.71.1: DGS-3627:admin# download cfg_fromTFTP 10.54.71.1 src_file desxxxx.cfg Command: download cfg_fromTFTP 10.54.71.1 src_file desxxxx.cfg Connecting to server................... Done. Download configuration................. Done. DGS-3627:admin# To download configuration file from TFTP server tftp.cfgmgmt.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP - Specify the drive ID here. src_file - The pathname specifies an absolute pathname on the device file system. If pathname is not specified, it refers to the boot up configuration file. filter_string - A filter string is enclosed by symbol ". Thus, the filter string itself cannot contain the “character. The filter string is case sensitive.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show config For example, if the following expression is specified, Include “stp” exclude “port” The result of the above example is all lines that include the “stp” string but exclude the “port” string. Parameters active – Specify to display the active configuration. boot_up – Specify to display the boot-up configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual save config Purpose Used to save the current configuration to a file. Syntax save config {} Description Used to save the current configuration to a file. This command is required to be supported regardless of whether file system is supported or whether multiple configuration files are supported. The configuration will only save to the master unit. Parameters - Specify the drive ID here.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 21 COUNTER COMMANDS The Counter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show packet ports show error ports show utilization ports clear counters {ports } Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show packet ports 2:7 Command: show packet ports 2:7 Port number : 2:7 Frame Size/Type --------------64 65-127 128-255 256-511 512-1023 1024-1518 1519-1522 1519-2047 2048-4095 4096-9216 Unicast RX Multicast RX Broadcast RX Frame Type --------------RX Bytes RX Frames TX Bytes TX Frames Frame Counts ---------------------30284 5998 11985 1004 1363 15 0 0 0 0 1 0 5 Total ---------------------384 6 5619310 50673 Frames
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show utilization Purpose Use to show real-time port utilization statistics. Syntax show utilization ports {} Description The show utilization command displays real-time port utilization statistics. Parameters portlist - Specifies a range of ports to be displayed. (Unit ID: port number). Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear counter If no parameter is specified, system will counter all of the ports. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To clear the switch’s statistics counters: DGS-3627:admin# clear counters ports 2:7-2:9 Command: clear counters ports 2:7-2:9 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 22 DEBUG COMMANDS Software Debug is used to define the common behavior of each module’s debug function and collect and save basic OS information when exceptions happen. The Debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To dump the error log: DGS-3627:admin# debug error_log dump Command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2010/03/11 13:00:00 ====================== SOFTWARE FATAL ERROR ======================= Invalid mutex handle : 806D6480 Current TASK : bcmARL.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug buffer Purpose Use this command to show the debug buffer’s state, or dump, clear, or upload the debug buffer to a TFTP server. Syntax debug buffer [utilization | dump | clear | upload_toTFTP ] Description Show the debug buffer’s state or dump, clear or upload the debug buffer to TFTP server. The “buffer” here refers to the module debug message stored in RAM.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug output Description Set specified module’s debug message output to debug buffer or local console. Parameters - The module list. all - Control output method of all modules. buffer - Direct the debug message of the module output to debug buffer(default). console - Direct the debug message of the module output to local console. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug config error_reboot disable - Do not need reboot switch when fatal error happens, system will hang-up for debug and enter the debug shell mode for debug.. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To set the switch to not need a reboot when a fatal error occurs: DGS-3627:admin# debug config error_reboot disable Command: debug config error_reboot disable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug config state Purpose Use the command to set the state of the debug. Syntax debug config state [enable | disable] Description Use the command to set the state of the debug. Parameters enable - Enable the debug state. disable - Disable the debug state. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 23 DHCP LOCAL RELAY COMMANDS The DHCP Local Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters config dhcp_local_relay vlan state [enable | disable] enable dhcp_local_relay disable dhcp_local_relay show dhcp_local_relay Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the DHCP local relay function: DGS-3627:admin# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-3627:admin# disable dhcp_local_relay Purpose Used to disable the DHCP local relay function on the switch. Syntax disable dhcp_local_relay Description The disable dhcp_local _relay command globally disables the DHCP local relay function on the switch. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 24 DHCP RELAY COMMANDS The DHCP Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success. DGS-3627:admin# config dhcp_relay add Purpose Used to add an IP destination address to the switch’s DHCP relay table. Used to configure a DHCP server for relay of packets.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp_relay delete ipif System 10.43.21.12 Command: config dhcp_relay delete ipif System 10.43.21.12 Success. DGS-3627:admin# config dhcp_relay option_82 Purpose Used to configurethe processing of DHCP 82 option for the DHCP relay function.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_relay Purpose Used to enable the DHCP relay function on the switch. Syntax enable dhcp_relay Description The enable dhcp_relay command enables the DHCP relay function on the switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the DHCP relay function: DGS-3627:admin# enable dhcp_relay Command: enable dhcp_relay Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_relay ipif System Command: show dhcp_relay ipif System DHCP/BOOTP Relay Status : Disabled DHCP/BOOTP Hops Count Limit : 4 DHCP/BOOTP Relay Time Threshold : 0 second(s) DHCP Vendor Class Identifier Option 60 State: Disabled DHCP Client Identifier Option 61 State: Disabled DHCP Relay Agent Information Option 82 State : Disabled DHCP Relay Agent Information Option 82 Check : Disabled DHCP Relay Agent Informat
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 add The system will relay the packet to all the matching servers. Parameters string - The specified string. relay - Specify a relay server IP address. exact-match - The option 60 string in the packet must full match with the specified string. partial-match - The option 60 string in the packet only need partial match with the specified string.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_60 delete Purpose This command is used to delete the DHCP Relay option 60 entry. Syntax config dhcp_relay option_60 delete [string {relay } | ipaddress | all | default {< ipaddr>}] Description This can delete the entry by user specified. When all is specified, all rules excluding the default rules are deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_relay option_60 Command: show dhcp_relay option_60 Default processing Mode: drop Default Servers: 10.90.90.100 10.90.90.101 10.90.90.102 Matching Rules: String --------abc abcde abcdefg Match Type ----------exact match partial match exact match Total Entries IP Address ---------10.90.90.1 10.90.90.2 10.90.90.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 add Description This command adds a rule to determine the relay server based on option 61. The match rule can base on either MAC address or a user-specified string.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp_relay option_61 delete Description This command is used to delete an option 61 rule. Parameters mac_address - The entry with the specified MAC address will be deleted. string - The entry with the specified string will be deleted. all - All rules excluding the default rule will be deleted. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 25 DHCP SERVER SCREENING COMMANDS The DHCP Server Screening Commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config filter dhcp_server Restrictions state – To Enable/disable the filter DHCP server state. portlist – The port list of filter DHCP server. Only Administrator and Operator level users can issue this command. Enabling the DHCP filter will create one access profile and create one access rule per port (UDP port 67).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show filter dhcp_server Command: show filter dhcp_server Filter DHCP Server Trap_Log State: Disabled Enabled Ports: 1:1-1:3 Illegal Server Log Suppress Duration:5 minutes Filter DHCP Server/Client Table Server IP Address Client MAC Address Port ----------------- ------------------ -------------------10.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config filter dhcp_server illegal_server_log_suppress_duration 30min Command: config filter dhcp_server illegal_server_log_suppress_duration 30min Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 26 DHCP SERVER COMMANDS For this release, the Switch now has the capability to act as a DHCP server to devices within its locally attached network. DHCP, or Dynamic Host Configuration Protocol, allows the switch to delegate IP addresses, subnet masks, default gateways and other IP parameters to devices that request this information. This occurs when a DHCP enabled device is booted on or attached to the locally attached network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters create dhcp pool delete dhcp pool [ | all] create dhcp pool manual_binding hardware_address {type [Ethernet | IEEE802]} delete dhcp pool manual_binding [ | all] show dhcp pool manual_binding {} show dhcp_binding {} clear dhcp_binding {} config dhcp ping_packets
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create dhcp pool Purpose Used to create a DHCP pool. Syntax create dhcp pool Description This command will create a DCHP pool for the DHCP server. Once created, this pool may be modified for accepting DHCP clients into this pool. Parameters − Enter an name of up to 12 alphanumeric characters to identify the pool to be created with this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create dhcp pool manual_binding Purpose Used to create a DHCP pool manual binding entry. Syntax create dhcp pool manual_binding hardware_address {type [Ethernet | IEEE802]} Description This command will create a DHCP manual pool binding entry for a previously created pool.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete dhcp pool manual_binding Floor2 10.10.10.1 Command: delete dhcp pool manual_binding Floor2 10.10.10.1 Success. DGS-3627:admin# show dhcp pool manual_binding Purpose Used to display the manual binding settings for a DHCP pool. Syntax show dhcp pool manual_binding {} Description This command will display the manual binding entries for the selected DHCP pool.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcp_binding Command:show dhcp_binding Pool Name ----------engineering IP Address ----------192.168.0.1 Hardware Address -------------------01-22-b7-35-ce-99 Type --------Ethernet Status Life Time (secs) --------- ---------------Manual 864000 Total Entries : 1 DGS-3627:admin# clear dhcp_binding Purpose Used to clear the DHCP binding information.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcp ping_packets 2 Command: config dhcp ping_packets 2 Success. DGS-3627:admin# config dhcp ping_timeout Purpose Used to set the time the Switch will wait before timing out a ping packet. Syntax config dhcp ping_timeout Description This command is used set the time the Switch will wait before timing out a ping packet.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool default_router Purpose Used to configure the default router for the DHCP client. Syntax config dhcp pool default_router {} {} Description This command is used to configure the default router for DHCP clients requesting DHCP information for the switch. Users may add up to three IP addresses to identify the router, but must specify at least one.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool domain_name Purpose Used to configure the domain name for the DHCP pool of the Switch. Syntax config dhcp pool domain_name Description This command is used to configure the domain name for the DHCP pool of the Switch. This domain name represents a general group of networks that collectively make up the domain.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool netbios_name_server Purpose Used to configure the IP address(es) for the Net BIOS name server, Syntax config dhcp pool netbios_name_server {} {} Description This command is used to enter the IP address of a Net BIOS Name Server that will be available to a Microsoft DHCP Client.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcp pool network_addr Purpose Used to configure the network address and corresponding subnet mask for the DHCP pool. Syntax config dhcp pool network_addr Description This command will allow users to enter the IP address pool to be assigned to requesting DHCP Clients.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcp_server Purpose Used to enable the DHCP function on the switch. Syntax enable dhcp_server Description This command, along with the disable dhcp_server will enable and disable the DHCP server function without affecting configurations. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display the DHCP server settings: DGS-3627:admin# show dhcp_server Command:show dhcp_server DHCP Server Global State: Disable Ping Packet Number : 2 Ping Timeout : 500 ms DGS-3627:admin# create dhcp excluded_address begin_address Purpose Used to configure IP addresses that will be excluded from the DHCP Server pool of addresses.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete dhcp excluded_address Purpose Used to delete IP addresses that have been configured as excluded from the DHCP Server pool of addresses.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dhcp pool Purpose Used to show the DHCP pool information. Syntax show dhcp pool {} Description This command is used to display the DHCP pool information. Entering the command without the pool name will display all DHCP pool information on the switch. Parameters – Enter the name of the DHCP pool for which to view DHCP pool information. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 27 DHCPV6 CLIENT COMMANDS The DHCPv6 Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DHCPv6 client state of the System interface to enabled: DGS-3627:admin# config ipif System dhcpv6_client state enable Command : config ipif System dhcpv6_client state enable success DGS-3627:admin# To display IP interface settings: DGS-3627:admin# show ipif System Command: show ipif System IP Interface VLAN Name Interface Admin state DHCPv6 Client State IPv4 Address Proxy ARP IPv6 Link-Local Address
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_client output Description Set message output to buffer or console. Parameters buffer - Let the debug message output to buffer. console - Let the debug message output to console. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 28 DHCPV6 RELAY COMMANDS The DHCPv6 Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6_relay Description This command can add or delete an IPv6 destination address to forward (relay) DHCPv6 packets. Parameters add - Add an IPv6 destination to the DHCPv6 relay table. delete - Delete an IPv6 destination from the DHCPv6 relay table ipif_name - The name of the IP interface in which DHCPv6 relay is to be enabled. ipv6addr - The DHCPv6 server IP address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dhcpv6_relay Parameters ipif_name - The name of the IP interface that will be displayed in the current DHCPv6 relay configuration. If no IP interface is specified, all configured DHCPv6 relay interfaces will be displayed. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable dhcpv6_relay Syntax enable dhcpv6_relay Description This command is used to enable the DHCPv6 relay global state on the Switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the DHCPv6 relay global state to enable: DGS-3627:admin# enable dhcpv6_relay Command: enable dhcpv6_relay Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug dhcpv6_relay state enable Command: debug dhcpv6_relay state enable Success. DGS-3627:admin# debug dhcpv6_relay output Purpose This command is used to set the debug message to output to a buffer or a console. Syntax debug dhcpv6_relay output [buffer | console] Description This command is used to set the debug message to output to a buffer or a console.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug dhcpv6_relay packet sending state enable Command: debug dhcpv6_relay packet sending state enable Success. DGS-3627:admin# debug dhcpv6_relay hop_count state Purpose This command is used to enable or disable debug information flag about the hop count.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 29 DHCPV6 SERVER COMMANDS The DHCPv6 Server commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create a DHCPv6 pool pool1: DGS-3627:admin# create dhcpv6 pool pool1 Command : create dhcpv6 pool pool1 success DGS-3627:admin# delete dhcpv6 pool Purpose This command is used to delete one or all DHCPv6 pools. Syntax delete dhcpv6 pool [ | all] Description This command will delete a DHCPv6 pool that was created with the create dhcpv6 pool command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 pool pool1 Command: show dhcpv6 pool pool1 Pool Name Begin Network Address End Network Address Domain Name DNS Server Address Preferred Lifetime Valid Lifetime : : : : : : : : pool1 2000::1/64 2000::200/64 domain.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64 Command: config dhcpv6 pool ipv6networkaddr pool1 begin 2000::1/64 end 2000::32/64 success DGS-3627:admin# config dhcpv6 pool domain_name Purpose This command is used to configure the domain name for the DHCPv6 pool of the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure the DNS server address for a DHCPv6 pool: DGS-3627:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201 Command: config dhcpv6 pool dns_server pool1 2000::200 2000::201 Success. DGS-3627:admin# config dhcpv6 pool lifetime Purpose This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address within a DHCPv6 pool.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool manual_binding add - Enter the IPv6 address to be statically bound to a device. client_duid - Enter the DUID of the device to be statically bound to the IPv6 address entered in the previous field. The DUID string must be '0--9', 'a--f' or ' A--F'. delete - To delete the manual binding entry. - Enter the IPv6 address of the manual binding entry to be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 manual_binding Command: show dhcpv6 manual_binding Pool Name: pool1 Entry 1 IPv6 Address : 3000::21 DUID : 00010006124dd584002191454d33 Entry 2 IPv6 Address : 3000::28 DUID : 000300060022d7e50900 Pool Name: pool2 Entry 1 IPv6 Address : 8000:1000:1000:1000:1000:1000:1000:2000 DUID : 00010006124dd584002191454d37 Total Entries: 3 DGS-3627:admin# show dhcpv6 binding Purpose This command is used to show the
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear dhcpv6 binding Purpose This command is used to clear the DHCPv6 dynamic binding information. Syntax clear dhcpv6 binding {} Description This command is used to clear the DHCPv6 dynamic binding information, not including manual binding information. Users could use command (4-1-8) to delete the manual binding information.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DHCPv6 server global state to disable: DGS-3627:admin# disable dhcpv6_server Command: disable dhcpv6_server Success. DGS-3627:admin# show dhcpv6_server Purpose This command is used to display the DHCPv6 server setting. Syntax show dhcpv6_server Description This command will display the DHCPv6 server settings. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dhcpv6 pool excluded_address all - Delete all excluded address ranges of a specified pool. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dhcpv6 excluded_address Command: show dhcpv6 excluded_address Pool name: Pool1 Range 1 Begin Address: 2000::2 End Address : 2000::5 Range 2 Begin Address: 2000::8 End Address : 2000::8 Pool name: Pool2 Range 1 Begin Address: 3000::2 End Address : 3000::5 Range 2 Begin Address: 3000::8 End Address : 3000::8 Range 3 Begin Address: 3000::18 End Address : 3000::20 Total Entries : 5 DGS-3627:admin# config dhcpv6_se
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug dhcpv6_server state Parameters state - See below: enable - Enable the DHCPv6 server debug function disable - Disable the DHCPv6 server debug function Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enabled the DHCPv6 server debug function: DGS-3627:admin# debug dhcpv6_server state enable Command: debug dhcpv6_server state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 30 D-LINK SINGLE IP MANAGEMENT COMMANDS Simply put, D-Link Single IP Management is a concept that will stack switches together over Ethernet instead of using stacking ports or modules. Switches using D-Link Single IP Management (labeled here as SIM) must conform to the following rules: SIM is an optional feature on the Switch and can easily be enabled or disabled.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 6. The CaS can be configured through the CS to become a MS. ® After configuring one switch to operate as the CS of a SIM group, additional xStack DGS-3600 series switches may join the group by either an automatic method or by manually configuring the Switch to be a MS. The CS will then serve as the in band entry point for access to the MS.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable sim disable sim show sim {[candidates {} | members {} | group {commander_mac } | neighbor]} reconfig {member_id | exit} config sim_group [add {} | delete ] config sim [[commander {group_name } | candidate] | dp_interval | hold_time ] download sim_ms [fir
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable sim Command: disable sim Success. DGS-3627:admin# show sim Purpose Used to view the current information regarding the SIM group on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sim Command: show sim SIM Version Firmware Version Device Name MAC Address Capabilities Platform SIM State Role State Discovery Interval Holdtime : : : : : : : : : : VER-1.61 2.80.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sim group Command: show sim group SIM Group Name : default ID MAC Address --- ---------------*1 00-01-02-03-04-00 Platform / Hold Capability Time ------------------ ----DGS-3627 L3 Switch 40 Firmware Version --------2.80.B31 Device Name Platform / Hold Capability Time ----------------- ----DGS-3627 L3 Switch 40 Firmware Version --------2.80.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# reconfig member_id 2 Command: reconfig member_id 2 DGS-3627:admin# Login: config sim_group Purpose Used to add candidates and delete members from the SIM group. Syntax config sim [add {} | delete ] Description This command is used to add candidates and delete members from the SIM group by ID number.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config sim • group_name – Used to update the name of the group. Enter an alphanumeric string of up to 64 characters to rename the SIM group. • dp_interval <30-90> – The user may set the discovery protocol interval, in seconds that the Switch will send out discovery packets. Returning information to the CS will include information about other switches connected to it. (Ex. MS, CaS).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config sim commander Command: config sim commander Success. DGS-3627:admin# To update the name of a group: DGS-3627:admin# config sim commander group_name Demetrius Command: config sim commander group_name Demetrius Success. DGS-3627:admin# download sim_ms Purpose Used to download firmware or configuration file to an indicated device.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3627.had all Command: download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3627.had all This device is updating firmware. Please wait...
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To upload configuration files to a TFTP server: DGS-3627:admin# upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Command: upload sim_ms configuration 10.55.47.1 D:\configuration.txt 1 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 31 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS The unidirectional link detection referred in this document provides a mechanism that can be used to detect unidirectional link for Ethernet switches. This function is established based on OAM, so OAM should be enabled before starting detection.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show duld Purpose Used to show unidirectional link detection information Syntax show duld ports {} Description The command used to show ports unidirectional link information including: Admin state: port’s unidirectional link detection configuration state. Discovery Time: the neighbor discovery timer. Link Status: port’s link detection result.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 32 DOMAIN NAME SERVER (DNS)RELAY COMMANDS The Domain Name Server (DNS) relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config dnsr add static dns1 10.43.21.12 Command: config dnsr add static dns1 10.43.21.12 Success. DGS-3627:admin# Example usage: To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table. DGS-3627:admin# config dnsr delete static dns1 10.43.21.12 Command: config dnsr delete static dns1 10.43.21.12 Success. DGS-3627:admin# enable dnsr Purpose Used to enable DNS relay.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable static table lookup for DNS relay. DGS-3627:admin# enable dnsr static Command: enable dnsr static Success. DGS-3627:admin# disable dnsr Purpose Used to disable DNS relay on the Switch. Syntax disable dnsr {[cache | static]} Description This command is used, in combination with the enable dnsr command above, to enable and disable DNS Relay on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dnsr Purpose Used to display the current DNS relay status. Syntax show dnsr {static} Description This command is used to display the current DNS relay status. Parameters static − Allows the display of only the static entries into the DNS relay table. If this parameter is omitted, the entire DNS relay table will be displayed. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 33 DOMAIN NAME SYSTEM (DNS) RESOLVER COMMANDS The DNS Resolver provides a solution to translate the domain name to IP address for the application on the switch itself. The Domain Name System (DNS) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config name_server add 10.10.10.10 primary Command: config name_server add 10.10.10.10 primary Success. DGS-3627:admin# To delete DNS Resolver name server 10.10.10.1: DGS-3627:admin# config name_server delete 10.10.10.10 Command: config name_server delete 10.10.10.10 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show name_server Command: show name_server Name Server Timeout: 3 seconds Static Name Server Table: Server IP Address Priority ---------------------- -------------20.20.20.20 Secondary 10.1.1.1 Primary Dynamic Name Server Table: Server IP Address Priority ---------------------- -------------10.48.74.122 Primary DGS-3627:admin# create host_name Purpose Used to create the static host name entry of the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To delete the static host name entry “www.example.com”: DGS-3627:admin# delete host_name www.example.com Command: delete host_name www.example.com Success. DGS-3627:admin# show host_name Purpose Used to display the current host name. Syntax show host_name {static | dynamic} Description The show host_name command is used to display the current host name entries.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the DNS Resolver state to enabled: DGS-3627:admin# enable dns_resolver Command: enable dns_resolver Success. DGS-3627:admin# disable dns_resolver Purpose Used to configure the DNS Resolver state of the switch to disabled. Syntax disable dns_resolver Description The disable dns_resolver command is used to configure the switch’s DNS Resolver state to disabled. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 34 DVMRP COMMANDS The DVMRP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. DVMRP is a distance-vector multicast routing protocol designed to support the forwarding of multicast datagrams through an inter-network. DVMRP can be summarized as a "broadcast & prune" multicast routing protocol.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dvmrp Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure DVMRP configurations of IP interface “System”: DGS-3627:admin# config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Command: config dvmrp ipif System neighbor_timeout 30 metric 1 probe 5 Success DGS-3627:admin# enable dvmrp Purpose Used to enable DVMRP.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable dvmrp Command: disable dvmrp Success. DGS-3627:admin# show dvmrp routing_table Purpose Used to display the current DVMRP routing table. Syntax show dvmrp routing table {ipaddress } Description The command is used to display the current DVMRP routing table. Parameters ipaddress − The IP address and netmask of the destination.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show dvmrp neighbor Command: show dvmrp neighbor DVMRP Neighbor Address Table Interface Neighbor Address --------------- ----------------System 10.2.1.123 Generation ID -------------2 Expire Time --------35 Total Entries: 1 DGS-3627:admin# show dvmrp nexthop Purpose Used to display the current DVMRP routing next hop table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show dvmrp Restrictions None. Example usage: To show DVMRP configurations: DGS-3627:admin# show dvmrp Command: show dvmrp DVMRP Global State : Disabled Interface IP Address Neighbor Timeout ---------- ----------- --------------System 10.90.90.90/8 35 Zira 12.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 35 ETHERNET RING PROTECTION SWITCHING (ERPS) COMMANDS ITU-T G.8032 Ethernet Ring protection switching (ERPS) is used to provide a reliable mechanism of malfunction recovery in an Ethernet ring topology network. The Ethernet Ring Protection Switching (ERPS) Resolver commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable erps The default state is disabled. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable ERPS: DGS-3627:admin# enable erps Command: enable erps Success. DGS-3627:admin# disable erps Purpose Used to disable the global ERPS function on a switch. Syntax disable erps Description This command is used to disable the global ERPS function on a switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create erps raps_vlan 4094 Command: create erps raps_vlan 4094 Success. DGS-3627:admin# delete erps raps_vlan Purpose Used to delete an R-APS VLAN on a switch. Syntax delete erps raps_vlan Description This command is used to delete an R-APS VLAN on a switch. When an R-APS VLAN is deleted, all parameters related to this R-APS VLAN will also be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan ring_port Purpose Used to configure the ports of the ERPS ring for a specific R-APS VLAN. Syntax config erps raps_vlan ring_port [west [ | virtual_channel] | east [ | virtual_channel]] Description This command is used to configure the port that participates in the ERPS ring. Restrictions apply for ports that are included in a link aggregation group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the RPL port or the RPL owner for a specific R-APS VLAN: DGS-3627:admin# config erps raps_vlan 4094 rpl port west owner enable Command: config erps raps_vlan 4094 rpl port west owner enable Success. DGS-3627:admin# config erps raps_vlan protected_vlan Purpose Used to configure the protected VLAN for a specific R-APS VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan timer an intermittent defect. This timer is used during the protection switching process when a link failure recovers. It is only used by the RPL owner. When the RPL owner in protection state receives R-APS PDU with an NR flag, it will start the WTR timer.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show erps failure is detected on the port and traffic is blocked by ERPS. The RPL owner administrative state could be configured to "Enabled" or "Disabled". But the RPL owner operational state may be different from the RPL owner administrative state, for example, the RPL owner conflict occurs. "Active" is used to indicate that the RPL owner administrative state is enabled and the device is operated as the active RPL owner.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show erps Command: show erps ERPS Information Global Status : Enabled Log Status : Disabled Trap Status : Disabled -----------------------R-APS VLAN : 4092 Ring Status : Enabled West Port : 5 (Blocking) East Port : 7 (Forwarding) RPL Port : West Port RPL Owner : Enabled (Active) Protected VLANs : 100-300, 4093, 4094 Ring MEL : 2 Holdoff Time : 0 milliseconds Guard Time : 500 milliseconds WTR Time : 5 minutes Current
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps trap Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the trap state of the ERPS: DGS-3627:admin# config erps trap enable Command: config erps trap enable Success. DGS-3627:admin# config erps raps_vlan state Purpose Used to configure the state of the specified ring.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config erps raps_vlan sub_ring Description This command is used to configure a sub-ring connected to another ring. This command is applied on the interconnection node. Parameters raps_vlan - Specifies the R-APS VLAN. add - Connect the sub-ring to another ring. delete - Disconnect the sub-ring from the connected ring. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 36 FILTER DATABASE (FDB) COMMANDS This section describes the Filter Database functionality and specifications based on IEEE 802.1d 2001 standard and IEEE 802.1Q-2003 standard. Functions of this software module apply on L2 and L3 Ethernet switches. The Filter Database (FDB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create fdb default 00-00-00-00-01-02 port 2:5 Command: create fdb default 00-00-00-00-01-02 port 2:5 Success. DGS-3627:admin# create multicast_fdb Purpose Used to create a static entry in the multicast MAC address forwarding table (database).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Command: config multicast_fdb default 01-00-00-00-00-01 add 1:1-1:5 Success. DGS-3627:admin# config fdb aging_time Purpose Used to configure the switch’s MAC address aging time.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config multicast filtering_mode 200 forward_all_groups Command: config multicast filtering_mode 200 forward_all_groups Success. DGS-3627:admin# delete fdb Purpose Used to delete an entry from the switch’s forwarding database. Syntax delete fdb Description The delete fdb deletes a permanent FDB entry. Parameters vlan_name - The name of the VLAN on which the MAC address resides.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast_fdb Purpose Used to display the contents of the switch’s multicast forwarding database. Syntax show multicast_fdb {[ vlan | vlanid < vidlist > ]| mac_address } Description The show multicast_fdb command displays the entries of the switch’s multicast forwarding database. Parameters vlan_name - The name of the VLAN on which the MAC address resides. The maximum length is 32 characters.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VID VLAN Name ---- -------------------------------1 default 1 default 1 default 1 default 1 default 1 default Total Entries: 6 MAC Address ----------------00-00-00-00-00-01 00-00-00-00-00-02 00-00-00-00-00-03 00-00-00-00-00-04 00-00-00-00-00-0A 00-00-00-00-00-06 Port -----1:25 1:25 T1 T1 CPU - Type ------Dynamic Dynamic Static Static Self Static DGS
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast filtering_mode Parameters vlanid - Specifies a list of VLANs to be configured. vlan – Specifies the VLAN name to be configured. If no parameter is specified, the device will show all multicast filtering settings in the device. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 37 FLASH FILE SYSTEM (FFS) COMMANDS The Flash File System (FFS) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual cd Purpose This command is used to change the current directory. Syntax cd {} Description This command is used to change the current directory. The current directory is changed under the current drive. If you want to change the working directory to the directory in another drive, then you need to change the current drive to the desired drive, and then change the current directory.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#dir C:\ Command: dir C:\ ---------------------------------------------------------------Current Unit ID: 1 Current Directory: C:\ File Name Size(byte) Update Time ---------------------------------------------------612.CFG 19915 bytes 2010/06/12 14:52 LOG.TXT 1835008 bytes 2010/05/11 17:06 R250B51.HAD 3548272 bytes 2010/04/29 15:51 RUN.HAD (*) 4672664 bytes 2010/06/17 10:38 STARTUP.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Total Files Total Size Free Space '*' means boot up section 5 10094939 bytes 4063232 bytes DGS-3627:admin# rename Purpose This command is used to rename a file. Syntax rename {{unit } } Description This command is used to rename a file. Note that for standalone device, the unit argument is not needed. This command is used to rename a file in the file system.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To erase a file: DGS-3627:admin#dir C:\ Command: dir C:\ ---------------------------------------------------------------Current Unit ID: 1 Current Directory: C:\ File Name Size(byte) Update Time ---------------------------------------------------612 19915 bytes 2010/06/12 14:52 LOG.TXT 1835008 bytes 2010/05/11 17:06 R250B51.HAD 3548272 bytes 2010/04/29 15:51 RUN.HAD (*) 4672664 bytes 2010/06/17 10:38 STARTUP.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To copy a file: DGS-3627:admin#copy C:\ config C:\ test.cfg Command: copy C:\ config C:\ test.cfg Please wait, do not power off! Process ......................Done. Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 38 GRATUITOUS ARP COMMANDS The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp send duplicate_ip_detected Description The command is used to enable/disable sending of gratuitous ARP request packet while duplicate IP is detected. By default, the state is disabled. For this command, the duplicate IP detected means that the system received an ARP request packet that is sent by an IP address that match the system’s own IP address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config gratuitous_arp periodical_send Description The command is used to configure the interval for periodical sending of gratuitous ARP request packet. By default, the interval is 0. Parameters ipif - Interface name of L3 interface. interval - Periodically send gratuitous ARP interval time in seconds.0 means not send gratuitous ARP periodically.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable system interface’s gratuitous ARP log and trap: DGS-3627:admin# disable gratuitous_arp ipif System trap log Command: disable gratuitous_arp ipif System trap log Success. DGS-3627:admin# show gratuitous_arp Purpose Used to display gratuitous ARP configuration. Syntax show gratuitous_arp {ipif } Description The show gratuitous_arp command is used to display gratuitous ARP configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 39 IEEE 802.1Q VLAN COMMANDS Along with normal VLAN configurations, this Switch now incorporate Double VLANs. Better known as Q-IN-Q VLANs, Double VLANs allow network providers to expand their VLAN configurations to place VLANs within a larger inclusive VLAN, which adds a new layer to the VLAN configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create vlan Purpose Used to create a VLAN on the Switch. Syntax create vlan {tag | type 1q_vlan | advertisement} Description This command allows the creation of a VLAN on the Switch. Parameters − The name of the VLAN to be created. tag − The VLAN ID of the VLAN to be created.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vlan Purpose Used to add additional ports to a previously configured VLAN. Syntax config vlan {[add [ tagged | untagged | forbidden] | delete] | advertisement [enable | disable]} Description This command is used to add ports to the port list of a previously configured VLAN. Additional ports may be specified as tagging, untagging, or forbidden. The default is to assign the ports as untagging.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the ingress checking status, the sending and receiving GVRP information : DGS-3627:admin# config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Command: config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To disable the Generic VLAN Registration Protocol (GVRP): DGS-3627:admin# disable gvrp Command: disable gvrp Success. DGS-3627:admin# show vlan Purpose Used to display the current VLAN configuration on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show gvrp Purpose Used to display the GVRP status for a port list on the Switch. Syntax show gvrp {} Description This command displays the GVRP status for a port list on the Switch. Parameters − Specifies a range of ports for which the GVRP status is to be displayed. The beginning and end of the port list range are separated by a dash. Non-contiguous portlist entries are separated by a comma.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the Double VLAN feature on the Switch, thus disabling normal VLANs and GVRP. DGS-3627:admin# enable double_vlan Command: enable double_vlan Current Double VLAN mode : Disabled Enable Double VLAN need to reset system config. Are you sure ?(y/n)y Success. DGS-3627:admin# disable double_vlan Purpose Used to disable the Double VLAN feature on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create a Double VLAN on the Switch DGS-3627:admin# create double_vlan RG spvid 2 tpid 0x9100 Command: create double_vlan RG spvid 2 tpid 0x9100 Success. DGS-3627:admin# config double_vlan Purpose Used to config the parameters for a previously created Double VLAN on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config double_vlan Drazen delete 1:4-1:8 Command: config double_vlan Drazen delete 1:4-1:8 Success. DGS-3627:admin# show double_vlan Purpose Used to display the Double VLAN settings on the Switch. Syntax show double_vlan {} Description This command will display the current double VLAN parameters configured on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable pvid auto_assign Command: enable pvid auto_assign Success. DGS-3627:admin# disable pvid auto_assign Purpose Used to disable auto assignment of PVID. Syntax disable pvid auto_assign Description If “auto-assign PVID” is disabled, PVID can only be changed by PVID configuration (user changes explicitly). The VLAN configuration will not automatically change PVID. The default setting is enabled.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 40 IEEE 802.1QINQ COMMANDS QinQ, also known as VLAN stacking, is a powerful, yet simple and cost-effective solution that allows Service Providers to offer IP-based Services, including Metro-Ethernet in scalable implementations. QinQ can also be used to provide multiple virtual connections and access to multiple services available over the Metro (ISPs, ASPs, storage services, etc.) The IEEE 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#enable qinq Command: enable qinq Success. DGS-3627:admin# disable qinq Purpose Used to disable the QinQ. Syntax disable qinq Description When QinQ is disabled, all dynamic learned L2 address will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled. If need to run GVRP on the switch, administrator should enable GVRP manually. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config qinq ports Purpose Used to configure QinQ ports parameters. Syntax config qinq ports [ | all] {role [nni | uni] | missdrop [enable | disable] | [outer_ tpid | tpid] | use_inner_priority [enable | disable]}(1) Description The command used to configure QinQ port parameters, include: Role of a port. Missdrop of a port. Outer-TPID of a port. Use inner-priority of a port.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show qinq ports 1:1-1:4 Command: show qinq ports 1:1-1:4 Port ----1:1 1:2 1:3 1:4 Role -----Normal Normal Normal Normal Missdrop -------Disabled Disabled Disabled Disabled TPID ----------0x8100 0x8100 0x8100 0x8100 Use Inner Priority -----------------Disabled Disabled Disabled Disabled DGS-3627:admin# delete vlan_translation ports Purpose Used to delete existed VLAN translation rules.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show vlan_translation Commands: show vlan_translation Port CVID SVID Action Priority ------ ----- ----- ------ -------1 10 100 Add 4 1 20 100 Add 5 1 30 200 Add 6 2 10 100 Add 7 2 20 100 Add 1 Total Entries: 5 DGS-3627:admin# create vlan_translation ports Purpose Use this command to create the CVID VLAN translation rules.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 41 IGMP AND MLD SNOOPING COMMANDS The Internet Group Management Protocol (IGMP) is a Layer 4 protocol used to manage the membership of Internet Protocol multicast groups. IGMP is used by IP hosts and adjacent multicast routers to establish multicast group memberships.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The IGMP and MLD Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping Syntax config igmp_snooping [vlan_name | all] {host_timeout | router_timeout | leave_timer | state [enable | disable] | fast_leave [enable | disable] | report_suppression [enable | disable]}(1) Description The config igmp_snooping command configures IGMP snooping on the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config igmp_snooping querier The default setting is 10 seconds. robustness_variable - Provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the following IGMP message intervals: Group member interval - Amount of time that must pass before a multicast router decides there are no more members of a group on a network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config router_ports Parameters vlan - Specify the name of the VLAN on which the router port resides. add | delete - Specify to add or delete the router ports. portlist - Specify a range of ports to be configured. (UnitID:port number) Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable igmp_snooping identification of the multicast routing protocol packet and IGMP control packet. If not specified, the switch will learn the router port based on identification of the unicast routing protocol packet, the multicast routing protocol packet, and the IGMP control packet.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable igmp_snooping Command: disable igmp_snooping Success. DGS-3627:admin# create igmp_snooping static_group Purpose Used to configure an IGMP snooping multicast static group. Syntax create igmp_snooping static_group [vlan | vlanid ] < ipaddr > Description This command allows you to create an IGMP snooping static group. Member ports can be added to the static group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete an IGMP snooping static group for VLAN 1, group 239.1.1.1: DGS-3627:admin# delete igmp_snooping static_group vlan vlan1 239.1.1.1 Command: delete igmp_snooping static_group vlan vlan1 239.1.1.1 Success. DGS-3627:admin# config igmp_snooping static_group Purpose Used to configure an IGMP snooping multicast group static member port.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display all the IGMP snooping static groups: DGS-3627:admin# show igmp_snooping static_group Command: show igmp_snooping static_group VLAN ID/Name -------------1 / Default IP Address -----------------239.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping group Command: show igmp_snooping group Source/Group VLAN Name/VID Port Memer Mode : 10.0.0.2/225.0.0.2 :default/1 : 1-2 : INCLUDE Source/Group VLAN Name/VID Port Memer Mode : : : : 10.0.0.2/225.0.0.3 default/1 3 EXCLUDE Source/Group VLAN Name/VID Port Memer Mode : : : : NULL/225.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping forwarding Command: show igmp_snooping forwarding VLAN Name : Source IP : Multicast Group: Port Member : default 10.90.90.114 225.0.0.0 2,7 VLAN Name : Source IP : Multicast Group: Port Member : default 10.90.90.10 225.0.0.1 2,5 VLAN Name : Source IP : Multicast Group: Port Member : default 10.90.90.20 225.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show router_ports Command: show router_ports VLAN Name Static Router Port Dynamic Router Port Forbidden router port : default : 1-10 : : VLAN Name Static router port Dynamic router port Forbidden router port : vlan2 : : : Total Entries : 2 DGS-3627:admin# config mld_snooping Purpose Used to configure MLD snooping on the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping querier guarantees MLD snooping.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mld_snooping mrouter_ports Syntax config mld_snooping mrouter_ports vlan [add | delete] Description This command allows you to designate a range of ports as being connected to multicastenabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable mld_snooping forward_mcrouter_only command will enable the MLD snooping function and the forward multicast router only function. If forward multicast router only is enabled, the switch will forward all multicast traffic to the multicast router, only. Otherwise, the switch forwards all multicast traffic to any IP router.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable mld_snooping Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable MLD snooping on the switch: DGS-3627:admin# disable mld_snooping Command: disable mld_snooping Success. DGS-3627:admin# show mld_snooping Purpose Used to show the current status of MLD snooping on the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping Command: show mld_snooping MLD Snooping Global State Multicast router Only : Disabled : Disabled VLAN Name : default Query Interval : 125 Max Response Time : 10 Robustness Value : 2 Last Listener Query Interval : 1 Node Timeout : 260 Router Timeout : 260 Done Timer : 2 Querier State : Disabled Querier Router Behavior : Non-Querier State : Enabled Fast Done : Disabled Version : 2 VLAN Name Query
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping group Command: show mld_snooping group Source/Group VLAN Name/VID Port Member Mode : 2001::1/FE1E::1 :default/1 : 1-2 : INCLUDE Source/Group VLAN Name/VID: Port Member Mode : : : : 2002::2/FE1E::1 default/1 3 EXCLUDE Source/Group VLAN Name/VID Port Member Mode : : : : NULL/FE1E::2 default/1 4-5 EXCLUDE Total Entries : 3 DGS-3627:admin# show mld_snooping forwarding Purpose This command dis
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : Source IP : Multicast Group: Port Member : default 2001::1 FE1E::1 2,7 VLAN Name : Source IP : Multicast Group: Port Member : default 2001::2 FF1E::1 5 Total Entries : 2 DGS-3627:admin# show mld_snooping mrouter_ports Purpose Used to display the currently configured router ports on the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 42 INTERNET GROUP MANAGEMENT PROTOCOL (IGMP) COMMANDS IGMP or Internet Group Management Protocol is a protocol implemented by systems utilizing IPv4 to collect the membership information needed by the multicast routing protocol through various query messages sent out from the router or switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Internet Group Management Protocol (IGMP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config igmp all version 2 Command: config igmp all version 2 Success. DGS-3627:admin# show igmp Purpose This command is used to display the IGMP configurations. Syntax show igmp {ipif } Description The show igmp command displays the IGMP configurations. Parameters ipif_name - IP interface name. If no parameter specified, the system will display all IGMP configurations. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp group Command: show igmp group Interface -----------System System System System System Multicast Group --------------224.0.0.2 224.0.0.9 224.0.1.24 224.0.1.41 224.0.1.149 Last Reporter --------------10.42.73.111 10.20.53.1 10.18.1.3 10.1.43.252 10.20.63.11 IP Querier ----------------10.48.74.122 10.48.74.122 10.48.74.122 10.48.74.122 10.48.74.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show igmp check_subscriber_source_network state on interface “n20”: DGS-3627:admin# show igmp check_subscriber_source_network ipif n20 Command: show igmp check_subscriber_source_network ipif n20 Interface IP Address/Netmask ------------ -----------------n20 20.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 43 IP DIRECTED BROADCAST COMMANDS The IP Directed Broadcast commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipif System Command: show ipif System IP Interface VLAN Name Interface Admin State DHCPv6 Client State IPv4 Address Proxy ARP IP Directed Broadcast IP MTU : : : : : : : : System default Enabled Disabled 10.90.90.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 44 IP MULTICASTING COMMANDS The IP multicasting commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show ipmc cache {group } {ipaddress } show ipmc {ipif | protocol [inactive | dvmrp | pim]} Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipmc interface table for. protocol − Allows the user to specify whether or not to use one of the available protocols to display the IP multicast interface table. For example, if DVMRP is specified, the table will display only those entries that are related to the DVMRP protocol. Restrictions • inactive – Specifying this parameter will display entries that are currently inactive.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 45 IP ROUTE FILTER COMMANDS The IP Route Filter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: The following example creates one IP prefix list named 1: DGS-3627:admin# create ip prefix_list 1 Command: create ip prefix_list 1 Success. DGS-3627:admin# config ip prefix_list Purpose Used to configure a prefix list by adding/deleting a prefix list entry or adding/deleting the description of a prefix_list.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ip prefix_list Purpose Used to delete the IP prefix list Syntax delete ip prefix_list [list_name | all] Description The command is used to delete an IP prefix list. Parameters - The name of the prefix list that will be deleted. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ip standard access_list Syntax create ip standard access_list Description This command is used to create an access list. Parameters - The name of the access list. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete ip standard access_list list_name List1 Command: delete ip standard access_list list_name List1 Success. DGS-3627:admin# show ip standard access_list Purpose This command is used to show the information of access list. Syntax show ip standard access_list {} Description This command is used to show the information of an access list. Parameters - The name of the access list.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear ip prefix_list counter first_list 192.168.10.0/24 Command: clear ip prefix_list counter first_list 192.168.10.0/24 Success. DGS-3627:admin# create route_map Purpose This command is used to create a route map or add and delete sequences to a route map. Syntax create route_map Description A route map can have multiple rule entries, each with a different sequence number.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete route_map map_name map1 Command: delete route_map map_name map1 Success. DGS-3627:admin# show route_map Purpose This command is used o show a route map configuration. Syntax show route_map {} Description This command is used to show a route map configuration. Parameters - Route map name. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure a route map named “map1” and add one sequence ID of 20 to the route map: DGS-3627:admin# config route_map map1 add sequence 20 Command:4# config route_map map1 add sequence 20 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence match ip next_hop - Specify to match the next hop of the route according to the access list. match ip next_hop prefix_list - Specify to match the next hop of the route according to the prefix list. match metric - Specify to match the metric of the route. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence set Parameters - The route map name. - Specifies the sequence number for the rule. This is the number that indicates the position a new route map will have in the list of route maps already configured with the same name. Default: 10. set next_hop - Set the next hop attribute. This will take effect for both the ingress and egress direction.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route_map sequence set or incomplete. dampening - The dampening timer and parameter. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 46 IP-MAC-PORT BINDING (IMPB) COMMANDS The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address types together allows the transmission of data between the layers. The primary purpose of IP-MAC-Port binding (IMPB) is to restrict the access to a switch to a number of authorized users.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The IP-MAC-Port Binding (IMPB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac ports cannot be enabled. When the binding check state is enabled for IP packets and ARP packets received by this port, the switch will check whether the IP address and MAC address matches the binding entry. If the packet does not match it will be dropped. For this function, the switch can operate in ACL mode or ARP mode. In ARP mode, only ARP packets are checked for binding.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config address_binding ip_mac ports 1 state enable Command: config address_binding ip_mac ports 1 state enable Success. DGS-3627:admin# create address_binding ip_mac Purpose Used to create an IMPB entry. Syntax create address_binding ip_mac [ipaddress < ipaddr > | ipv6address ] mac_address < macaddr > { ports [ portlist | all]} Description Use this command to create an IMPB entry.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete address_binding Parameters ip_mac - Specify the user created IMPB database. blocked - Specify the address database that the system has automatically learned and blocked. ipaddr - Specify the learned IP address of the entry in the database. ipv6addr - Specify the learned IPv6 address of the entry in the database. macaddr - Specify the MAC address of the entry or the blocked MAC address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding ip_mac Parameters ipaddr - Specify the IP address of the entry being updated. ipv6addr - Specify the IPv6 address of the entry being updated. macaddr - Specify the MAC address of the entry being updated ports - Specify which ports are used for the IMPB entry being updated. If not specified, then it is applied to all ports. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding Command: show address_binding Trap/Log DHCP Snoop(IPv4) DHCP Snoop(IPv6) ND Snoop : : : : Enabled Disabled Enabled Disabled DGS-3627:admin# To show the IMPB ports: DGS-3627:admin#show address_binding ports Command: show address_binding ports Port -------1 2 3 4 5 6 7 8 9 10 11 12 IPv4 State -------Loose Strict Disabled Strict Disabled Strict Disabled Strict Disabled Strict Disabled Strict
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding blocked Command: show address_binding blocked VID VLAN Name MAC Address Port ---- -------------------------------- ---------1 default 00-01-02-03-29-38 7 1 default 00-0C-6E-5C-67-F4 7 1 default 00-0C-F8-20-90-01 7 1 default 00-0E-35-C7-FA-3F 7 1 default 00-0E-A6-8F-72-EA 7 1 default 00-0E-A6-C3-34-BE 7 1 default 00-11-2F-6D-F3-AC 7 1 default 00-50-8D-36-89-48 7 1 default 00-50-BA-00-05-9E 7 1 de
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable address_binding dhcp_snoop Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable DHCP IPv4 snooping mode: DGS-3627:admin# enable address_binding dhcp_snoop Command: enable address_binding dhcp_snoop Success. DGS-3627:admin# To enable DHCP IPv6 snooping mode: DGS-3627:admin# enable address_binding dhcp_snoop ipv6 Command: enable address_binding dhcp_snoop ipv6 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable address_binding dhcp_snoop ipv6 Command: disable address_binding dhcp_snoop ipv6 Success. DGS-3627:admin# clear address_binding dhcp_snoop binding_entry Purpose Used to clear the DHCP snooping entries learned for the specified ports.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding dhcp_snoop Command: show address_binding dhcp_snoop DHCP Snoop(IPv4) : Enabled DHCP Snoop(IPv6) : Enabled DGS-3627:admin# To display DHCP snooping maximun entry configuration: DGS-3627:admin# show address_binding dhcp_snoop max_entry Command: show address_binding dhcp_snoop max_entry Port ------1 2 3 4 5 6 7 8 9 10 11 12 Max Entry ------10 10 10 No Limit No Limit No Limit No Limit No Limit No
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config address_binding dhcp_snoop max_entry can be learned. all - indicates all ports on the Switch. limit - See below: - Specify the maximum number. no_limit - Specifies that the maximum number of learned entries is unlimited. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable address_binding trap_log Command: disable address_binding trap_log Success. DGS-3627:admin# config address_binding recover_learning ports Purpose Used to recover IMPB checking. Syntax config address_binding recover_learning ports [ | all] Description Use this command to recover the IMPB check function, which was previously stopped.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable address_binding nd_snoop Description This command allows the user to disable ND Snooping on switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the DHCPv6 snooping function on the switch: DGS-3627:admin# disable address_binding nd_snoop Command: disable address_binding nd_snoop Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show address_binding nd_snoop binding_entry Command: show address_binding nd_snoop binding_entry LT(Lease Time) ST(Status) - A:Active I:Inactive IP Address MAC Address ---------------------------------------------- ------------------2001:2222:1111:7777:5555:6666:7777:8888 00-00-00-00-00-02 2001::1 00-00-00-00-03-02 LT(secs) ---------50 100 Port ----5 6 ST -I A Total Entries: 2 clear address_binding nd_snoop bin
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual no debug address_binding Purpose Stop the IMPB debug starting when the IMPB module receives an ARP/IP packet or a DHCP packet. Syntax no debug address_binding Description Use this command to stop the IMPB debug starting when the IMPB module receives an ARP/IP packet or a DHCP packet. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 47 IPV6 NEIGHBOR DISCOVER COMMANDS The IPv6 Neighbor Discover commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipv6 neighbor_cache Purpose Deletes an IPv6 neighbor from the interface neighbor address cache. Syntax delete ipv6 neighbor_cache ipif [ | all] [ | static | dynamic | all] Description Deletes a neighbor cache entry or static neighbor cache entries from the address cache or all address cache entries on this IP interface. Both static and dynamic entries can be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipv6 neighbor_cache ipif System all Command: show ipv6 neighbor_cache ipif System all IPv6 Address: 2000::221:91FF:FE8D:4D9F MAC Address : 00-21-91-8D-4D-9F Port : 1:31 Interface : ipif1 VID : 4094 State: Reachable IPv6 Address: 3000::100 MAC Address : 00-21-91-8D-4D-9F Interface : ipif1 State: Reachable Port : 1:31 VID : 4094 IPv6 Address: FE80::221:91FF:FE8D:4D9F MAC Address : 00-21-91-8D-4D-9F Port : 1:3
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra Description Configures the router advertisement related parameters. Parameters ipif_name - The name of the interface. state - Router advertisement state. life_time - Indicates the lifetime of the router as the default router in seconds. reachable_time - Indicates the amount of time that a node can consider a neighboring node reachable after receiving a reachability confirmation in milliseconds.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ipv6 nd ra prefix_option the value can be set to 0xffffffff. on_link_flag - When set to 1 the addresses implied by the specified prefix are available on the link where the RA message is received. autonomous_flag - When set to 1 the specified prefix will be used to create an autonomous address configuration. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ipv6 nd ipif System Command: show ipv6 nd ipif System Interface Name Hop Limit NS Retransmit Time Router Advertisement RA Max Router AdvInterval RA Min Router AdvInterval RA Router Life Time RA Reachable Time RA Retransmit Time RA Managed Flag RA Other Config Flag Prefix 2000::/64 2002::/64 : : : : : : : : : : : System 64 0 (ms) Disabled 600 (s) 198 (s) 1800 (s) 1200000 (ms) 0 (ms) Disabled Disabled Preferred
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 48 IPV6 ROUTE COMMANDS The IPv6 Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create ipv6route 3004::/64 Intface_1 3000::4 Command: create ipv6route 3004::/64 Intface_1 3000::4 Success. DGS-3627:admin# To add an IP tunnel route entry: DGS-3627:admin# create ipv6route default ip_tunnel ip6_tn Command: create ipv6route default ip_tunnel ip6_tn Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ipv6route ripng - Display the RIPng route entries. ospfv3 - Display the OSPFv3 route entries. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 49 IPV6 TUNNEL COMMANDS Industry is in the early stages of large scale IPv6 production deployment, and first-generation products need to make tradeoffs between available IPv6 services. Although the success of IPv6 will ultimately depend on the new applications that run over IPv6, there might be organizations or hosts within organizations that will continue to use IPv4 indefinitely.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ip_tunnel Purpose Used to delete an IPv6 tunnel interface. Syntax delete ip_tunnel < tunnel_name 12> Description The delete ip_tunnel command is used to delete a specific IPv6 tunnel on the switch. Parameters - IPv6 Tunnel interface name, maximum of 12 characters. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 Command: config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 Success. DGS-3627:admin# config ip_tunnel manual tn2 ipv6address 2001::1/64 Command: config ip_tunnel manual tn2 ipv6address 2001::1/64 Success. DGS-3627:admin# config ip_tunnel 6to4 Purpose Used to configure an IPv6 6to4 tunnel.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ip_tunnel isatap Purpose Used to configure an IPv6 ISATAP tunnel. Syntax config ip_tunnel isatap {ipv6address | source }(1) Description The config ip_tunnel isatap command is used to configure an existing IPv6 tunnel as an IPv6 ISATAP tunnel on the switch. If this tunnel has previously been configured in another mode, the tunnel’s information will still exist in the database.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ip_tunnel tn2 Command: show ip_tunnel tn2 Tunnel Interface Interface Admin State Tunnel Mode IPv6 Address Tunnel Source Tunnel Destination : : : : : : tn2 Enabled Manual 2000::1/64 1.0.0.1 1.0.0.2 Success. DGS-3627:admin# enable ip_tunnel Purpose Used to enable an IPv6 tunnel interface or all IPv6 tunnel interfaces.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ip_tunnel tn2 Command: disable ip_tunnel tn2 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 50 JAPANESE WEB-BASED ACCESS CONTROL (JWAC) COMMANDS The Japanese Web-based Access Control (JWAC) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters show jwac show jwac update_server show jwac auth_state ports {} show jwac ports {} config jwac authentication_page element [japanese | english] [default | page_title | login_window_title < desc 32> | user_name_title < desc 16> | password_title < desc 16> | logout_window_title < desc 32> | notification_line ] show jwac authenticate_page config jwac
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable jwac Command: disable jwac Success. DGS-3627:admin# enable jwac redirect Purpose Used to enable JWAC redirect function. Syntax enable jwac redirect Description When redirecting quarantine server is specified, the unauthenticated host will be redirected to quarantine server when it tries to access a random URL.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable jwac forcible_logout Purpose Used to enable JWAC forcibly logout function. Syntax enable jwac forcible_logout Description When forcibly logout feature is enabled, a PING packet from an authenticated host to the JWAC Switch with TTL=1 will be regarded as a logout request, and the host will be moved back to unauthenticated state. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable JWAC UDP filtering function: DGS-3627:admin# enable jwac udp_filtering Command: enable jwac udp_filtering Success. DGS-3627:admin# disable jwac udp_filtering Purpose Used to disable JWAC UDP filtering function. Syntax disable jwac udp_filtering Description When UDP filtering feature is disabled, all UDP and ICMP packets are permitted. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable jwac quarantine_server_monitor Syntax disable jwac quarantine_server_monitor Description Disable JWAC Quarantine Server function enabled previously. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the redirect destination and delay time: DGS-3627:admin# config jwac redirect destination jwac_login_page delay_time 5 Command: config jwac redirect_ destination jwac_login_page delay_time 5 Success. DGS-3627:admin# config jwac virtual_ip Purpose Used to configure JWAC virtual ipaddress to accept authentication requests from unauthenticated hosts.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure Quarantine Server URL: DGS-3627:admin# config jwac quarantine_server_url http://10.90.90.88/authpage.html Command: config jwac quarantine_server_url http://10.90.90.88/authpage.html Success. DGS-3627:admin# config jwac clear_quarantine_server_url Purpose Used to clear Quarantine Server configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure the update server which the un-authenticated host need to access: DGS-3627:admin# config jwac update_server add ipaddress 10.90.90.109/24 Command: config jwac update_server add ipaddress 10.90.90.109/24 Update Server 10.90.90.0/24 is added. Success. DGS-3627:admin# config jwac switch_http_port Purpose Used to configure the HTTP port which the JWAC Switch listens to.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config jwac ports all - All the Switch ports’ JWAC state is to be configured. state - To specify the port state of JWAC max_authenticating_host - Max number of host process authentication on each port at the same time aging_time - A time period during which an authenticated host will keep in authenticated state.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config jwac radius_protocol ms_chapv2 Command: config jwac radius_protocol ms_chapv2 Success. DGS-3627:admin# create jwac user Purpose Used to create JWAC user into local DB. Syntax create jwac user {vlan } Description The create jwac user command creates JWAC users into the local DB. And when “local” is chosen when configuring JWAC RADIUS protocol, the local DB will be used.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config jwac user juser_tom vlan 3 Command: create jwac user juser_tom vlan 3 Enter a case-sensitive new password:*** Enter the new password again for confirmation:*** Success. DGS-3627:admin# delete jwac user Purpose Used to delete JWAC user into local DB. Syntax delete jwac [user | all_users] Description The delete jwac user command deletes JWAC users from the local DB.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual clear jwac auth_state Purpose Used to clear the JWAC authentication entry. Syntax clear jwac auth_state [ports [all | ] { authenticated | authenticating | blocked } | mac_addr ] Description The user can use this command to clear the authentication entry. Parameters ports - To specify the port range to delete host on them. authenticated - To specify the state of host to delete.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show jwac Purpose Used to display the configuration of JWAC. Syntax show jwac Description The show jwac command allows you to show all the configuration of JWAC. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show jwac update_server Command: show jwac update_server Index ----1 2 3 4 5 6 7 8 9 10 IP -----------------10.0.0.0/8 10.1.1.1/32 10.3.3.3/32 10.3.3.4/32 10.3.3.5/32 10.3.3.6/32 10.3.3.7/32 10.3.3.9/32 10.3.3.10/32 100.100.100.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show jwac auth_state ports 1-2 Command: show jwac auth_state ports 1-2 Pri - Priority. State - A:Authenticated, B:Blocked, -:Authenticating Time - Aging Time/Idle Time for authenticated entries. Port MAC Address State VID Pri Time IP User Name ----- ------------------ ---- -- -------- ---------------- ---------------1 00-00-00-00-00-01 A 4004 3 -/40 192.168.101.239 juser_tom 1 00-00-00-00-00-02 A 1234 - -/50 172.18.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config jwac authentication_page element Parameters japanese - Change to Japanese page. english - Changeto English page. default - Reset the page element to default. page_title - The title of the authenticate page.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show jwac authenticate_page Command: show jwac authenticate_page Current Page :English Version English Page Element -----------------------------------------------------------Page Title : Alpha Networks Inc. Login Window Title : Authentication Login User Name Title : User Name Password Title : Password Logout Window Title : Logout Notification : Copyright @ 2010 D-Link All Rights Reserved Site: http://support.dlink.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 51 JUMBO FRAME COMMANDS Certain switches can support jumbo frames (frames larger than the Ethernet frame size of 1536 bytes). To transmit frames of up to 9K (and 9216 bytes tagged), the user can increase the maximum transmission unit (MTU) size from the default of 1536 by enabling the Jumbo Frame command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To disable the jumbo frame function on the Switch: DGS-3627:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-3627:admin# show jumbo_frame Purpose Used to show the status of the jumbo frame function on the Switch. Syntax show jumbo_frame Description This command will show the status of the jumbo frame function on the Switch. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 52 LIMITED IP MULTICAST ADDRESS COMMANDS The Limited IP Multicast command allows the administrator to permit or deny access to a port or range of ports by specifying a range of multicast addresses. The Limited IP Multicast Commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable Command: config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable Success. DGS-3627:admin# delete limited multicast address Purpose Used to delete Limited IP multicast address range.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show limited multicast address Purpose Used to show per-port limited IP multicast address range. Syntax show limited multicast address {} Description The show limited multicast address command allows users to show multicast address range by ports. Parameters − A port or range of ports on which the limited multicast address range to be shown has been assigned.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create multicast_range Purpose Used to create a range of multicast IP addresses that will be specified under a given name. Syntax create multicast_range from to Description This command will create a multicast range of IP addresses that will be specified under a given name.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show multicast_range Purpose Used to display a range of multicast IP addresses that are specified under a given name. Syntax show multicast_range {} Description This command will display a multicast range that was created with the create multicast_range command. Parameters − Enter a name of up to 32 alphanumeric characters that will be used to identify this multicast range to be displayed.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config limited_multicast_addr ports Purpose Used to add or delete ports to a previously created multicast address range and then to give that range access to or denial from the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show limited_multicast_addr Purpose Used to display the limited multicast address range on a per port basis. Syntax show limited_muticast_addr {ports } Description This command will display the limited multicast address range on a per port basis. Parameters ports − Enter a port or list of ports to be displayed. The beginning and end of the port list range are separated by a dash.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 53 LINK AGGREGATION COMMANDS The link aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Link aggregation, also known as trunking, is a method of grouping physical link segments of the same media type and speed, and treating them as if they were part of a single, logical link segment.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DGS-3627:admin# delete link_aggregation group_id Purpose Used to delete a previously created link aggregation group. Syntax delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Parameters − Specifies the group ID.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9: DGS-3627:admin# config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,9 Command: config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,1:9 Success. DGS-3627:admin# config link_aggregation algorithm Purpose Used to configure the link aggregation algorithm.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display Link Aggregation configuration: DGS-3627:admin# show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = IP-source Group ID : 1 Type : TRUNK Master Port : 1:5 Member Port : 1:5-1:7,1:9 Active Port : Status : Disabled Flooding Port : Total Entries : 1 DGS-3627:admin# config lacp_ports Purpose Used to configure settings for LACP compliant ports.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lacp_port Purpose Used to display current LACP port mode settings. Syntax show lacp_port {} Description This command will display the LACP mode settings as they are currently configured. Parameters − Specifies a port or range of ports to be configured. The beginning and end of the port list range are separated by a dash. Non-contiguous portlist entries are separated by a comma.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 54 LINK LAYER DISCOVERY PROTOCOL (LLDP) COMMANDS The Link Layer Discovery Protocol (LLDP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable lldp disable lldp config lldp message_tx_interval config lldp message_tx_hold_multiplier config lldp tx_delay config lldp reinit_delay config lldp notification_interval config lldp ports [|all] notification [enable | disable] config lldp ports [|all] admin_status [tx_only | rx_only | tx_and_rx | disable] conf
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable lldp Purpose Used to enable LLDP operation on the Switch. Syntax enable lldp Description This is a global control for the LLDP function. When this function is enabled, the switch can start to transmit LLDP packets and receive and process the LLDP packets. The specific function of each port will depend on the per port LLDP setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp message_tx_interval Purpose Used to change the packet transmission interval. Syntax config lldp message_tx_interval Description This interval controls how often active ports retransmit advertisements to their neighbors. Parameters message_tx_interval – Changes the interval between consecutive transmissions of LLDP advertisements on any given port. The range is from 5 seconds to 32768 seconds.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp tx_delay Purpose Used to change the minimum time (delay-interval) LLDP ports will delay in advertising successive LLDP advertisements due to a change in LLDP MIB content. The tx_delay defines the minimum interval between sending of LLDP messages due to constantly change of MIB content.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp notification _interval Purpose Used to configure the timer of the notification interval for sending notification to configured SNMP trap receiver(s). Syntax config lldp notification_interval Description Globally change the interval between successive LLDP change notifications generated by the switch. Parameters notification_interval – The range is from 5 seconds to 3600 seconds.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp ports admin_status Purpose Used to configure per-port transmit and receive modes. Syntax config lldp ports [|all] admin_status [tx_only | rx_only | tx_and_rx | disable] Description These options enable the user to control which ports participate in LLDP traffic and whether the participating ports allow LLDP traffic in only one direction or in both directions.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable Command: config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable Success. DGS-3627:admin# config lldp ports basic_tlvs Purpose Used to configure an individual port or group of ports to exclude one or more optional TLV data types from outbound LLDP advertisements.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp dot1_tlv_pvid Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.1 organization port VLAN ID TLV data types from outbound LLDP advertisements. Syntax config lldp ports [|all] dot1_tlv_pvid [enable | disable] Description This TLV optional data type determines whether the IEEE 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp dot1_tlv_vlan_name Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.1 organization VLAN name TLV data types from outbound LLDP advertisements.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To configure exclude the protocol identity TLV from the outbound LLDP advertisements for all ports: DGS-3627:admin# config lldp ports all dot1_tlv_protocol_identity all enable Command: config lldp ports all dot1_tlv_protocol_identity all enable Success. DGS-3627:admin# config lldp dot3_tlvs Purpose Used to configure an individual port or group of ports to exclude one or more of IEEE 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config lldp forward_message Purpose Used to configure the forwarding of LLDPDU packets when LLDP is disabled. Syntax config lldp forward_message [enable | disable] Description When LLDP is disabled and LLDP forward_message is enabled, the received LLDPDU packets will be forwarded. The default state is disabled. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lldp mgt_addr Purpose Used to display the LLDP management address information. Syntax show lldp mgt_addr {[ipv4 | ipv6 ]} Description Displays the LLDP management address information. Parameters ipv4 – The IP address of IPv4. Ipv6 – The IP address of IPv6. Restrictions None. Example usage: To display management address information for port 1: DGS-3627:admin# show lldp mgt_addr ipv4 192.168.254.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show lldp ports 1 Command: show lldp ports 1 Port ID : 1:1 ------------------------------------------------------------------Admin Status : TX_and_RX Notification Status : Disabled Advertised TLVs Option : Port Description Disabled System Name Disabled System Description Disabled System Capabilities Disabled Enabled Management Address (None) Port VLAN ID Disabled Enabled Port_and_Protocol_VLAN_ID (None) Enabled VLAN
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show lldp local_ports 1 Command: show lldp local_ports 1 Port ID : 1:1 ---------------------------------------------------------------Port ID Subtype : Local Port ID : 1/1 Port Description : Port PVID : 1 Management Address Count : 1 PPVID Entries Count : 0 VLAN Name Entries Count : 1 Protocol Identity Entries Count : 0 MAC/PHY Configuration/Status : (See Detail) Link Aggregation : (See Detail) Maximum Frame Size :
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show lldp statistics Purpose Used to display the system LLDP statistics information. Syntax show lldp statistics Description The global LLDP statistics displays an overview of neighbor detection activity on the switch. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 55 LOOPBACK INTERFACE COMMANDS The Loopback Interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify VLAN-based mode: DGS-3627:admin# config loopdetect recover_timer 0 interval 20 vlan-based Command: config loopdetect recover_timer 0 interval 20 vlan-based Success. DGS-3627:admin# config loopdetect ports Purpose This command is used to setup the loop-back detection function for the interfaces on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable loopdetect Command: enable loopdetect Success. DGS-3627:admin# disable loopdetect Purpose This command is used to disable the LBD function globally on the Switch. Syntax disable loopdetect Description This command is used to disable the LBD function globally on the Switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show loopdetect ports Purpose This command is used to display the LBD per-port configuration. Syntax show loopdetect ports {} Description This command is used to display the LBD per-port configuration. Parameters ports - Specify the range of member ports that will display the LBD settings. - Enter the list of port to be configured here.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 56 LOOPBACK INTERFACE COMMANDS A loopback interface is a logical IP interface which is always active, until you disable or delete it. It is independent of the state of any physical interfaces. The Loopback Interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config loopback ipif Description Configure the parameters for the loopback interface. For IPv4, only the system interface can be specified for the way to get the IP address. Parameters - The name of the loopback interface . Note: the loopback ipif has the same name domain space with the regular ipif, so its name can’t duplicate with the regular ipif. network_address - IPv4 network address (xxx.xxx.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete loopback ipif Description Delete the specified loopback interface. Parameters - The name of the loopback interface. Note: the loopback ipif has the same name domain space with the regular ipif, so its name can’t duplicate with the regular ipif. all - All of the loopback interfaces. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 57 MAC NOTIFICATION COMMANDS The MAC notification commands in the Command Line Interface (CLI) are listed, in the following table, along with their appropriate parameters.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To disable MAC notification without changing basic configuration: DGS-3627:admin# disable mac_notification Command: disable mac_notification Success. DGS-3627:admin# config mac_notification Purpose Used to configure MAC address notification.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-3627:admin# show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings Syntax show mac_notification Description This command is used to display the Switch’s MAC address table notification global settings. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show mac_notification ports Command: show mac_notification ports Port # MAC Address Table Notification State ---------------------------------------------1 Disabled 2 Disabled 3 Disabled 4 Disabled 5 Disabled 6 Disabled 7 Disabled 8 Disabled 9 Disabled 10 Disabled 11 Disabled 12 Disabled 13 Disabled 14 Disabled 15 Disabled 16 Disabled 17 Disabled 18 Disabled 19 Disabled 20 Disabled CTRL+C ESC q Quit SPACE n Next Pag
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 58 MAC-BASED ACCESS CONTROL COMMANDS MAC-based Access Control (MAC) is a method to authenticate and authorizes a port/host network access right based on the MAC address on which the user is located rather than user’s identification (e.g. user name and password). MAC users need to complete authentication before accessing a network. Both local authentication and remote RADIUS server authentication are supported.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable mac_based_access_control disable mac_based_access_control config mac_based_access_control password config mac_based_access_control method [local | radius] config mac_based_access_control guest_vlan ports config mac_based_access_control ports [ | all] {state [enable | disable] | mode [port_based | host_based] | aging_time [infinite | ] | [block_time | h
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-3627:admin# disable mac_based_access_control Purpose Used to disable MAC-based Access Control. Syntax disable mac_based_access_control Description This command disables the MAC-based Access Control function. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control method Description Specify the authentication method used via the local database or via the RADIUS server. Parameters local - Specify to authenticate via the local database. radius - Specify to authenticate via a RADIUS server. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control ports VLAN(s) member ports, and added to MAC-based Access Control guest VLAN member ports. Before the authentication process starts, the user is able to forward traffic under the guest VLAN. After the authentication process, the user will be able to access the assigned VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_based_access_control ports 1-8 max_users no_limit Command: config mac_based_access_control ports 1-8 max_users no_limit Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete the MAC-based Access Control guest VLAN called default: DGS-3627:admin# delete mac_based_access_control guest_vlan default Command: delete mac_based_access_control guest_vlan default Success. DGS-3627:admin# clear mac_based_access_control auth_state Purpose Used to clear the clients’ authentication information by specific port(s) or MAC address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create mac_based_access_control_local Parameters mac - Specify the MAC address that can pass local authentication. vlan - Specify the target VLAN by using the VLAN name. When this host is authorized, it will be assigned to this VLAN. vlanid - Specify the target VLAN by using the VID. When this host is authorized, it will be assigned to this VLAN if the target VLAN exists.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete mac_based_access_control_local Parameters mac - Delete local database entry by specific MAC address. vlan - Delete local database entries by specific target VLAN name. vlanid - Delete local database entries by specific target VLAN ID. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config mac_based_access_control authorization attributes local disable Command: config mac_based_access_control authorization attributes local disable Success. DGS-3627:admin# show mac_based_access_control Purpose Used to display the MAC-based Access Control setting. Syntax show mac_based_access_control {ports {}} Description This command is used to display the MAC-based Access Control settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show the MAC-based Access Control local database: DGS-3627:admin# show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address ----------------00-00-00-00-00-01 00-00-00-00-00-02 00-00-00-00-00-03 00-00-00-00-00-04 VID ---1 123 123 1 Total Entries:4 DGS-3627:admin# To show the MAC-based Access Control local database for the MAC address 00-00-00-00-00-01: DGS-3627:admin# show mac_
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Suppose that port 1 is in host based mode: MAC 00-00-00-00-00-01 is authenticated without a VLAN assigned (may be the specified target VLAN does not exist or the target VLAN has not been specified at all), the ID of the RX VLAN will be displayed (RX VLAN ID is 4004 in this example).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mac_based_access_control max_users This is specified by the config config mac_based_access_control ports max_users command. Parameters - Specify to set the maximum number of authorized clients on the whole device. no_limit - Specify to not limit the maximum number of users on the system. By default, there is no limit on the number of users.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 59 MESSAGE-DIGEST ALGORITHM 5 (MD5) COMMANDS The Message-Digest algorithm 5 (MD5) configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Usage example To configure an MD5 Key password: DGS-3627:admin# config md5 key 1 taboo Command: config md5 key 1 taboo Success. DGS-3627:admin# delete md5 key Purpose Used to delete an entry in the MD5 key table. Syntax delete md5 key Description This command is used to delete a specific entry in the MD5 key table. Parameters − The MD5 key ID to delete.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show md5 Command: show md5 MD5 Key Table Configurations Key-ID -----1 2 3 4 Key ---------dlink develop fireball intelligent Total Entries: 4 DGS-3627:admin# 454
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 60 MIRROR COMMANDS The primary purpose of the mirror function is to copy frames transmitted and received on a port and redirect the copies to another port. The application attaches a monitoring device to the mirrored port, such as a sniffer or an RMON probe, to view details about the packets passing through the first port. This is useful for network monitoring and troubleshooting purposes.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config mirror port portlist - The port that will be mirrored. All packets entering and leaving the source port can be duplicated in the mirror port. rx - Allows the mirroring packets received (flowing into) the port or ports in the port list. tx - Allows the mirroring packets sent (flowing out of) the port or ports in the port list. both - Mirrors all the packets received or sent by the port or ports in the port list.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable mirror Command: disable mirror Success. DGS-3627:admin# show mirror Purpose Used to show the current ports mirroring configuration on the switch. Syntax show mirror {group_id } Description The show mirror command displays the current mirror function state and mirror session configuration on the switch. If don’t specify the “group_id” parameter, display the all mirror settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create mirror group_id 3 Command: create mirror group_id 3 Success. DGS-3627:admin# delete mirror group_id Purpose Used to delete a mirror group on the switch. Syntax delete mirror group_id Description This command used to delete a mirror group. Parameters group_id - The mirror groups identify. value - The mirror groups identify value.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: Configure mirror group 2 with state enable and add source ports 1:4-1:9: DGS-3627:admin# config mirror group_id 2 state enable add source ports 1:4-1:9 both Command: config mirror group_id 2 state enable add source ports 1:4-1:9 both Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 61 MSTP DEBUG ENHANCEMENT COMMANDS The MSTP Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug output Purpose Use the debug output command to specify if the MSTP debug message output should be to the buffer or console. Syntax debug output module mstp [buffer | console] Description Sets if the MSTP debug message output should be set to the buffer or console. Parameters buffer - Specifies the debug messages of MSTP will output to the buffer.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp show information Purpose Used to show the STP debug information. Syntax debug stp show information Description This command used to display STP detailed information, such as the hardware tables, the STP state machine, etc. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug stp show information Command: debug stp show information Spanning Tree debug information: ---------------------------------------Port status in hardware table: Instance 0: Port 1 :BLK Port 2 :BLK Port 3 :BLK Port 4 :BLK Port Port 7 :FOR Port 8 :BLK Port 9 :BLK Port 10:BLK Port Instance 1: Port 1 :BLK Port 2 :BLK Port 3 :BLK Port 4 :BLK Port Port 7 :FOR Port 8 :BLK Port 9 :BLK Port 10:BLK Port -----------------
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp show flag Purpose Used to show the per-port STP debug level. Syntax debug stp show flag {ports } Description This command used to display the STP debug level on specified ports. Parameters ports - Specifies the STP ports to display If no parameter is specified, all ports on the switch will be displayed. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#debug stp show counter ports 9 Command: debug stp show counter ports 9 STP Counters -------------------------------------Port 9 : Receive: Total STP Packets :32 Configuration BPDU :0 TCN BPDU :0 RSTP TC-Flag :15 RST BPDU :32 Discarded: Total Discard BPDU Global STP Disable Port STP Disabled Invalid Packet Format Invalid Protocol Config BPDU Length TCN BPDU Length RST BPDU Length Invalid Type Invalid Timers Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug stp state Parameters state - See below: enable - Enable the STP debug state. disable - Disable the STP debug state. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the STP debug state to enable, and then disable the STP debug state: DGS-3627:admin#debug stp state enable Command: debug stp state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 62 IGMP SNOOPING MULTICAST (ISM) VLAN COMMANDS The IGMP Snooping Multicast (ISM) VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an IGMP snooping multicast VLAN with the VLAN name mv1 and the VID 2: DGS-3627:admin# create igmp_snoop multicast_vlan mv1 2 Command: create igmp_snoop multicast_vlan mv1 2 Success. DGS-3627:admin# config igmp_snooping multicast_vlan Purpose Used to configure the parameters of a specific IGMP snooping multicast VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config igmp_snooping multicast_vlan v1 member_port 2:1,2:3 state enable Command: config igmp_snooping multicast_vlan v1 member_port 2:1,2:3 state enable Success. DGS-3627:admin# config igmp_snooping multicast_vlan_group Purpose Used to configure the IGMP multicast groups learned with the specified multicast VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping multicast_vlan_group Command: show igmp_snooping multicast_vlan_group Multicast VLAN No. ---1 : mv1 Name -----------------------------------accounting From --------------224.19.62.34 To --------------224.19.62.200 DGS-3627:admin# delete igmp_snooping multicast_vlan Purpose Used to delete an IGMP snooping multicast VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show igmp_snooping multicast_vlan Command: show igmp_snooping multicast_vlan VLAN Name VID : test : 100 Member(Untagged) Ports Tagged Member Ports Source Ports Source(Untagged) Ports Status Replace Source IP Remap Priority : 1 : : 3 : : Disabled : 0.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 63 MULTIPLE SPANNING TREE PROTOCOL (MSTP) COMMANDS This Switch supports three versions of the Spanning Tree Protocol; 802.1D STP, 802.1D 2004 RSTP, 802.1Q 2005 MSTP. Multiple Spanning Tree Protocol, or MSTP, is a standard defined by the IEEE community that allows multiple VLANs to be mapped to a single spanning tree instance, which will provide multiple pathways across the network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters show stp show stp instance show stp ports {} show stp mst_config_id create stp instance_id delete stp instance_id config stp instance_id [add_vlan | remove_vlan] config stp mst_config_id {name | revision_level } enable stp disable stp config stp version [mstp | rstp | stp] config stp priority
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stp Command: show stp STP Bridge Global Settings ----------------------------STP Status : Enabled STP Version : MSTP Max Age : 20 Forward Delay : 15 Max Hops : 20 TX Hold Count : 3 Forwarding BPDU : Enabled LoopBack Detection : Enabled NNI BPDU Address : dot1d DGS-3627:admin# show stp instance Purpose Used to show each instance parameters settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show stp ports Purpose Used to show the port information includes parameters setting and operational value. Syntax show stp ports {} Description This command displays each port's parameters settings. If not input the portlist, all ports will be shown . If there are multi instances on this bridge , the parameters of the port on different instances will be shown.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stp mst_config_id Command: show stp mst_config_id Current MST Configuration Identification ---------------------------------------Configuration Name : 00-22-22-22-22-00 MSTI ID Vid list ----------------CIST 1-4094 Revision Level :0 DGS-3627:admin# create stp instance_id Purpose To create an MST Instance without mapping the corresponding VLANs yet.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete stp instance_id 2 Command: delete stp instance_id 2 Success. DGS-3627:admin# config stp instance_id Purpose To map or remove the VLAN range of the specified MST instance for the existed MST Instances. Syntax config stp instance_id [add_vlan | remove_vlan] Description There are 2 different action type to deal with an MST Instance.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To change the name and revision level of the MST configuration Identification: DGS-3627:admin# config stp mst_config_id name R&D_BlockG revision_level 1 Commands: config stp mst_config_id name R&D_BlockG revision_level 1 Success. DGS-3627:admin# enable stp Purpose Used to enable STP globally. Syntax enable stp Description May be we could modify to allow user enable stp per instance.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stp version Purpose Used to enable STP globally. Syntax config stp version [mstp | rstp | stp] Description If version is configured as stp or rstp, all currently running MSTIs should be disabled. For version is configured as mstp, current design is enabled all available MSTIs (assume that CIST is enabled). Futher discussion needed to decide whether we let user to enable the MSTIs.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config stp priority 61440 instance_id 0 Command: config stp priority 61440 instance_id 0 Success. DGS-3627:admin# config stp Purpose Used to configure the bridge management parameters for CIST (instance_id = 0).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stp ports per-Port parameter in MSTP. migrate - Operation of management in order to specify the port to send MSTP BPDU for a delay time. edge - To decide if this port is connected to a LAN or a Bridged LAN. In auto mode, the bridge will delay for a period to become edge port if no bridge BPUD is received. The default is auto mode. p2p - To decide if this port is in Full-Duplex or Half-Duplex mode.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config stp mst_ports: DGS-3627:admin# config stp mst_ports 1 instance_id 0 internal_cost auto Command: config stp mst_ports 1 instance_id 0 internal_cost auto Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 64 NETWORK LOAD BALANCING (NLB) COMMANDS The NLB indicates the Network Load Balancing: it is a MAC forwarding control for supporting Microsoft’s Network Load Balancing technique. The Network Load Balancing (NLB) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete nlb multicast_fdb Syntax delete nlb multicast_fdb [ | vlanid ] Description The delete nlb multicast_fdb command is used to delete the NLB multicast FDB entry. Parameters - Specify the VLAN of the NLB multicast FDB entry to be deleted. vlanid - Specify the VLAN by VLAN ID. - Specify the MAC address of the NLB multicast FDB entry to be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the NLB forwarding table: DGS-3627:admin# show nlb fdb Command: show nlb fdb MAC Address VLAN ID ----------------- ---------03-bf-01-01-01-01 100 03-bf-01-01-01-01 1 Egress Ports ---------------------------------1:1-1:5,1:26,2:26 1:1-1:5,1:26,2:26 Total Entries : 2 DGS-3627:admin# 485
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 65 OPEN SHORTEST PATH FIRST (OSPFV3) COMMANDS The Open Shortest Path First (OSPFv3) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 router_id Parameters router_id - User may enter a 32-bit number in the form of an IPv4 address that uniquely identifies the router in the OSPFv3 domain. Set 0.0.0.0 means auto-selected. Switch will select the largest IPv4 address among the IP interfaces to be the router ID. The default value of OSPFv3 router ID is 0.0.0.0 (auto-selected).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable ospfv3 Command: disable ospfv3 Success. DGS-3627:admin# show ospfv3 Purpose Used to display the OSPFv3 configurations or OSPFv3 interfaces information. Syntax show ospfv3 {[ipif | all]} Description This command is used to display OSPFv3 configurations, including global state, router ID, OSPFv3 interfaces, areas, virtual links and area aggregations.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospfv3 area enable - Import inter-area prefix LSA into this stub area. disable - Do not import inter-area prefix LSA into this stub area. metric - Specifies the default cost of OSPFv3 stub area. The range of value is 0 to 65535. The default setting is 1. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create OSPFv3 areas: DGS-3627:admin# create ospfv3 area 1.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 area that uniquely identifies the OSPFv3 area in the OSPFv3 domain. type - The OSPFv3 area mode of operation. There are two types: normal - Define the OSPFv3 area created as a normal area. stub - Define the OSPFv3 area created as a stub area. stub_summary - Specifies the OSPFv3 stub area to import inter-area prefix LSA advertisements or not. enable - Import inter-area prefix LSA into this stub area.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 area Command: show ospfv3 area OSPFv3 Area Settings Area ID --------------0.0.0.0 2.2.2.2 Type -----Normal Normal Stub Import Summary LSA ----------------------None None Stub Default Cost ----------------None None Total Entries: 2 DGS-3627:admin# show ospfv3 area 0.0.0.0 Command: show ospfv3 area 0.0.0.0 Area ID: 0.0.0.0 Area Type: Normal SPF Algorithm Runs For Area 0.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ospfv3 aggregation Syntax delete ospfv3 aggregation Description This command is used to delete an OSPFv3 area aggregation. Parameters - Specify the area where the aggregation belongs to. - Specify the IPv6 network address of the aggregation. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 aggregation Parameters - If it is set, only the aggregations that belong to this area will be displayed. If it is not set, all aggregations will be displayed. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 lsdb Restrictions None. Example usage: To display OSPFv3 LSDB: DGS-3627:admin# show ospfv3 lsdb Command: show ospfv3 lsdb Link State ID 0.0.0.0 Router LSA (Area 0.0.0.0) ADV Router Age Seq# 2.2.2.2 696 0x80000003 Link 0 Link State ID 0.0.0.1 Link LSA (Interface System) ADV Router Age Seq# 2.2.2.2 696 0x80000003 Prefix 1 Link State ID 0.0.0.1 Intra-Area-Prefix LSA (Area 0.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 neighbor Command: show ospfv3 neighbor Router ID of Neighbor --------------10.10.10.10 20.20.20.20 Interface Name -----------System ip1 Neighbor Priority -------1 10 Neighbor State ------------Full Full Total Entries: 2 DGS-3627:admin# show ospfv3 neighbor 10.10.10.10 ipif System Command: show ospfv3 neighbor 10.10.10.10 ipif System Neighbor ID: 10.10.10.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospfv3 virtual_neighbor Command: show ospfv3 virtual_neighbor Transit Area ID --------------1.1.1.1 Router ID Of Virtual Neighbor ---------------30.30.30.30 Virtual Neighbor State ---------------Full Total Entries: 1 DGS-3627:admin# show ospfv3 virtual_neighbor 6.6.6.6 20.20.20.20 Command: show ospfv3 virtual_neighbor 6.6.6.6 20.20.20.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To configure OSPFv3 interface: DGS-3627:admin# config ospfv3 ipif dead_interval 60 instance 1 metric Command: config ospfv3 ipif System dead_interval 60 instance 1 metric System area 0.0.0.0 priority 100 hello_interval 20 20 state enable passive disable area 0.0.0.0 priority 100 hello_interval 20 20 state enable passive disable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospfv3 virtual_link - A 32-bit number in the form of an IPv4 address that uniquely identifies the OSPFv3 virtual neighbor in the OSPFv3 domain. hello_interval - Allows the specification of the interval between the transmission of OSPFv3 Hello packets, in seconds. Between 1 and 65535 seconds can be specified. The Hello Interval, Dead Interval should be the same for all routers on the same link.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospfv3 virtual_link Syntax show ospfv3 virtual_link { } Description This command is used to display OSPFv3 virtual link configuration. If no parameters are set, all virtual links will be displayed. Parameters - 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.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 66 OSPF COMMANDS The OSPF commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Each command is listed, in detail, in the following sections. config ospf router_id Purpose Used to configure the OSPF router ID. Syntax config ospf router_id Description This command is used to configure the OSPF router ID. Parameters − The IP address of the OSPF router. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Usage example To disable OSPF on the Switch: DGS-3627:admin# disable ospf Command: disable ospf Success. DGS-3627:admin# show ospf Purpose Used to display the current OSPF state on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf Command: show ospf OSPF Router ID : 10.90.90.90 (Auto selected) State : Disabled OSPF Interface Settings Interface IP Address Area ID State Link Metric Status ------------ ------------------ --------------- -------- --------- --------System 10.90.90.90/8 0.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To create an OSPF area: DGS-3627:admin# create ospf area 10.48.74.122 type normal Command: create ospf area 10.48.74.122 type normal Success. DGS-3627:admin# To create an OSPF NSSA area: DGS-3627:admin# create ospf area 11.1.1.1 type nssa translate enable metric 5 stub_summary enable Command: create ospf area 11.1.1.1 type nssa translate enable metric 5 stub_summary enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf area • nssa – Choosing this parameter will define the OSPF area configured here as an NSSA (Not So Stubby Area) area. • translate [enable | disable] – Enable this parameter to translate Type-7 LSAs into Type-5 LSAs, so that they can be distributed outside of the NSSA. The default is Disabled. This field can only be configured if nssa is chosen in the type field.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospf host_route Purpose Used to configure OSPF host route settings. Syntax create ospf host_route {area | metric } Description This command is used to configure the OSPF host route settings. Parameters − The host’s IP address. − 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.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf host_route Restrictions Only Administrator and Operator-level users can issue this command. Usage example To configure an OSPF host route: DGS-3627:admin# config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Command: config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 Success. DGS-3627:admin# show ospf host_route Purpose Used to display the current OSPF host route table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create ospf aggregation • • nssa_ext – Choosing this LSDB type will summarize routes that are entering the OSPF NSSA from an external source. • Restrictions advertise [enable | disable] − Allows for the advertisement trigger to be enabled or disabled. advertise [enable | disable] − Allows for the advertisement trigger to be enabled or disabled. Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf aggregation Parameters − 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. − The 32-bit number in the form of an IP address that uniquely identifies the network that corresponds to the OSPF Area. lsdb_type − The type of address aggregation.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf aggregation Command: show ospf aggregation OSPF Area Aggregation Settings Area ID Aggregated Network Address --------------- -----------------10.1.1.1 10.0.0.0/8 244.0.0.6 11.0.0.0/8 LSDB Advertise Type -------- --------Summary Enabled NSSA-Ext Enabled Total Entries: 2 DGS-3627:admin# show ospf lsdb Purpose Used to display the OSPF Link State Database (LSDB).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospf neighbor Purpose Used to display the current OSPF neighbor router table. Syntax show ospf neighbor {} Description This command will display the current OSPF neighbor router table. Parameters − The IP address of the neighbor router. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf ipif Purpose Used to configure the OSPF interface settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show ospf ipif Description This command will display the current OSPF interface settings for the specified interface name. Parameters − The IP interface name for which to display the current OSPF interface settings. all – Choosing this parameter will display the OSPF settings for all IP interfaces on the Switch. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ospf all Command: show ospf all Interface Name: System Network Medium Type: BROADCAST Area ID: 0.0.0.0 Priority: 1 DR Address: None Hello Interval: 10 Transmit Delay: 1 Authentication: None IP Address: 10.90.90.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ospf virtual_link Purpose Used to configure the OSPF virtual interface settings. Syntax config ospf virtual_link {hello_interval | dead_interval | authentication [none | simple | md5 ]}(1) Description This command is used to configure the OSPF virtual interface settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete ospf virtual_link 10.1.1.2 20.1.1.1 Command: delete ospf virtual_link 10.1.1.2 20.1.1.1 Success. DGS-3627:admin# show ospf virtual_link Purpose Used to display the current OSPF virtual interface configuration. Syntax show ospf virtual_link { } Description This command will display the current OSPF virtual interface configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 67 OSPF DEBUG ENHANCEMENT COMMANDS The OSPF Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show the current OSPF debug flag setting: DGS-3627:admin# debug ospf show flag Command: debug ospf show flag Current OSPF Flags Setting: Neighbor State Change Interface State Change LSA Originating LSA Operating LSA Receiving LSA Flooding Packet Receiving Packet Sending Retransmission Timer DR Selection Route Redistribution Virtual Link SPF Intra SPF Inter SPF Extern DGS-3627:admin# debug ospf neighbor_state_cha
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf interface_state_change change. Parameters dr_bdr_selection - Used to include or exclude debug information for DR/BDR selection. state - The state of the OSPF interface state change debug. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf packet sending - Set packet sending debug flag. state - The state of the designated debug flag. Restrictions Only Administrator level users can issue this command. Example usage: To enable all OSPF packet debug flags: DGS-3627:admin# debug ospf packet all state enable Command: debug ospf packet all state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable all OSPF SPF debug flags: DGS-3627:admin# debug ospf spf all state enable Command: debug ospf spf all state enable Success. DGS-3627:admin# debug ospf route Purpose Used to enable or disable debug information flags about OSPF route adding, modifying, and deleting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf virtual_link Purpose Used to enable or disable debug information flags about virtual link. Syntax debug ospf route virtual_link state [enable | disable] Description This command is used to enable or disable debug information flags about virtual link. Parameters state - The state of the OSPF virtual link debug flag. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf timer state enable Command: debug ospf timer state enable Success. DGS-3627:admin# debug ospf show counter Purpose Used to display OSPF statistic counters. Syntax debug ospf show counter {packet | neighbor | spf} Description This command is used to display OSPF statistic counters. Parameters packet - To display the OSPF packet counter. neighbor - To display the OSPF neighbor event counter.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf clear counter Purpose Used to reset OSPF statistic counters. Syntax debug ospf clear counter {packet | neighbor | spf} Description This command is used to reset OSPF statistic counters. Parameters packet - To reset the OSPF packet counter. neighbor - To reset the OSPF neighbor event counter. spf - To reset the OSPF SPF event counter. If the parameter is not specified, all OSPF counters will be cleared.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf show redistribution Purpose Used to display the current internal OSPF redistribute list. This command can be used if the external route advertising is not correct. Syntax debug ospf show redistribution Description This command is used to display the current internal OSPF redistribute list. Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show summary_list Command: debug ospf show summary_list OSPF Summary List: Area 0.0.0.0: Circuit: 1.1.1.1 Neighbor: 90.2.0.1 IP: 1.1.1.2 LSID: 1.1.1.1 RTID: 1.1.1.1 Circuit: 2.2.2.1 Circuit: 10.1.1.6 DGS-3627:admin# debug ospf show detail Purpose It is used to display LSAs with detail information. This command can be used if the route calculation is not correct.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail rt_link Command: debug ospf show detail rt_link OSPF Phase2 RT Link: =========== AREA 0.0.0.0: Router LSA: Link-State ID: 1.1.1.1 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 .... 0... = N/P: NSSA Bit ...0 .... = EA: Not Support Rcv And Fwd EA_LSA ..0. ....
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail net_link Command: debug ospf show detail net_link OSPF Phase2 NET Link: =========== AREA 0.0.0.0: Network LSA: Link-State ID: 10.90.90.123 Netmask: 255.0.0.0 Advertising Router: 10.90.90.91 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 ....
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail summary_link Command: debug ospf show detail summary_link OSPF Phase2 Summary Link: =========== 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 .... .0.. = MC: NOT Multicast Capable .... 0... = N/P: NSSA Bit ...0 .... = EA: Not Support Rcv And Fwd EA_LSA ..0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail external_link Command: debug ospf show detail external_link OSPF Phase2 External Link: =========== AREA 0.0.0.0: AS-External LSA: Link-State ID: 192.168.205.0 Advertising Router: 1.1.1.1 LS Age: 10 Seconds Options: 0x2 .... ...0 = 0 Bit Isn't Set .... ..1. = E: ExternalRoutingCapability .... .0.. = MC: NOT Multicast Capable .... 0... = N/P: NSSA Bit ...0 ....
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf show detail type7_link Command: debug ospf show detail type7_link 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 .... ..1. = E: ExternalRoutingCapability .... .0.. = MC: NOT Multicast Capable .... 0... = N/P: NSSA Bit ...0 ....
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ospf log state Purpose Used to enable or disable the debug OSPF log. Syntax debug ospf log state [enable | disable] Description This command is used to enable or disable the debug OSPF log. Parameters state - The state of the OSPF debug log. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# debug ospf state enable Command: debug ospf state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 68 PASSWORD ENCRYPTION COMMANDS The Password Encryption commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable password encryption reverted to the plaintext. Parameters None. Restrictions Only Administrator can issue this command. Example usage: To disable the password encryption: DGS-3627:admin# disable password encryption Command: disable password encryption Success. DGS-3627:admin# create account Purpose Used to create user accounts.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config account Purpose Used to configure user accounts. Syntax config account {encrypt [plain_text| sha_1] } Description When the password information is not specified in the command, the system will prompt the user to input the password interactively. For this case, the user can only input the plain text password.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show account Command: show account Current Accounts: Username Access Level --------------- -----------System User dlink Admin Total Entries : 2 DGS-3627:admin# delete account Purpose Used to delete an existing account. Syntax delete account Description The delete account command deletes an existing account. Parameters - Name of the user who will be deleted.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 69 PING COMMANDS The Ping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# ping 10.51.17.1 times 4 Command: ping 10.51.17.1 times 4 Reply Reply Reply Reply from from from from 10.51.17.1, 10.51.17.1, 10.51.17.1, 10.51.17.1, time<10ms time<10ms time<10ms time<10ms Ping Statistics for 10.51.17.1 Packets: Sent =4, Received =4, Lost =0 DGS-3627:admin# To sse the host domain name for the ping command to test the network connectivity.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual ping6 size - Specify the size of the test packet. timeout - Specify the time-out period while waiting for a response from the remote device. A value of 1 to 10 seconds can be specified. The default is 1 second. source_ip - Specify the source IPv6 address of the ping packets. If specified, , the IPv6 address will be used as the packets’ source IPv6 address that ping6 sends to the remote host. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable broadcast_ping_reply Command: enable broadcast_ping_reply Success. DGS-3627:admin# disable broadcast_ping_reply Purpose Used to disable the broadcast ping reply state. Syntax disable broadcast_ping_reply Description The device won’t reply to the broadcast ping request. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 70 POLICY ROUTE COMMANDS Policy Based routing is a method used by the Switch to give specified devices a cleaner path to the Internet. Used in conjunction with the Access Profile feature, the Switch will identify traffic originating from a specified IP address and forward it on to a next hop router that has a less congested connection to the Internet than the normal routing scheme of your network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create policy_route name manager Command: create policy_route name manager Success. DGS-3627:admin# config policy_route Purpose Used to configure the parameters to set the policy route on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To delete the policy route name “manager”: DGS-3627:admin# delete policy_route name manager Command: delete policy_route name manager Success. DGS-3627:admin# show policy_route Purpose Used to display policy route settings. Syntax show policy_route Description This command is used to display policy route settings. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 71 PORT SECURITY COMMANDS The primary purpose of port security function is to restrict the access to a switch port to a number of authorized users. If an unauthorized user tries to access a port-security enabled port, the system will block the access by dropping its packet. The Port Security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To config port security setting: DGS-3627:admin# config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode Permanent Command: config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode Permanent Success. DGS-3627:admin# delete port_security_entry vlan_name Purpose Used to delete a port security entry.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear port_security_entry port 1:6 Command: clear port_security_entry port 1:6 Success. DGS-3627:admin# show port_security Purpose This command is to used to display port security configuration. Syntax show port_security {ports } Description The show port_security command displays the port security related information. Parameters - Specifies a range of ports to show their configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 72 PROTOCOL INDEPENDENT MULTICAST (PIM) COMMANDS PIM or Protocol Independent Multicast is a method of forwarding traffic to multicast groups over the network using any pre-existing unicast routing protocol, such as RIP or OSPF, set on routers within a multicast network. The xStack® DGS3600 Series supports three types of PIM, Dense Mode (PIM-DM), Sparse Mode (PIM-SM), and Sparse and Dense Mode (PIM-SM-DM).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Multicast sources do not always join the intended receiver group. The first hop router (DR) can send multicast data without being the member of a group or having a designated source, which essentially means it has no information about how to relay this information to the RP distribution tree. This problem is alleviated through Register and Register-Stop messages.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters enable pim disable pim config pim [[ipif | all] {hello | jp_interval | state [enable | disable] | mode [dm | sm | sm-dm] | dr_priority } | register_probe_time | register_suppression_time ] create pim crp group rp delete pim crp group config pim crp {holdtime
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable pim Command: enable pim Success. DGS-3627:admin# disable pim Purpose Used to disable PIM function on the Switch. Syntax disable pim Description This command will disable PIM for the Switch. Any previously configured PIM settings will remain unchanged and may be enabled at a later time with the enable pim command. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim Purpose Used to configure the parameters for the PIM protocol.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create pim crp Purpose To enable the Switch to become a candidate to be the Rendezvous Point (RP). Syntax create pim crp group rp Description This command will set the parameters for the switch to become a candidate RP. This command is for PIM-SM configurations only. Parameters group − Enter the multicast group address for this switch to become a Candidate RP.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim crp Purpose To configure the Candidate RP settings that will determine the RP. Syntax config pim crp {holdtime | priority | wildcard_prefix_cnt [0 | 1]} Description This command will configure parameters regarding the Candidate RP on the Switch, including hold time, priority and wildcard prefix count. This command is for PIM-SM configurations only.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create pim static_rp group 231.0.0.1/32 rp 11.1.1.1 Command: create pim static_rp group 231.0.0.1/32 rp 11.1.1.1 Success. DGS-3627:admin# delete pim static_rp Purpose To remove the multicast group IP address used in identifying the Rendezvous Point (RP).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim static_rp Command: show pim static_rp PIM Static RP Table Group -----------------224.0.0.0/4 239.0.0.1/32 239.0.0.2/32 239.0.0.3/32 RP Address -------------------11.1.1.254 31.1.1.1 31.1.1.12 31.1.1.123 Total entries: 4 DGS-3627:admin# config pim last_hop_spt_switchover Purpose Used to choose the switchover mode on the last hop router.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim rpset Command: show pim rpset PIM RP-Set Table Bootstrap Router: 12.43.51.81 Group Address ---------------224.0.0.0/4 RP Address --------------31.43.51.81 Holdtime -----------150 Expired Time -------------107 Type ----------Dynamic Total Entries: 1 DGS-3627:admin# show pim crp Purpose Used to display the Candidate RP settings on the Switch, along with CRP parameters configured for the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config pim cbsr Purpose Used to configure the settings for the Candidate Bootstrap Router and the priority of the selected IP interface to become the Boot Strap Router (BSR) for the PIM-SM network domain. Syntax config pim cbsr [ipif {priority [-1 | value 0-255>]} | hash_masklen | bootstrap_period ] Description This command will configure the settings for the Candidate BSR.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config pim cbsr bootstrap_period 60 Command: config pim cbsr bootstrap_period 60 Success. DGS-3627:admin# show pim cbsr Purpose Used to display the Candidate BSR settings of the switch, along with CBSR parameters configured for the Switch. Syntax show pim cbsr {ipif } Description This command will display the settings for Candidate BSRs that are accessible to the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show pim Command: show pim PIM Global State Last Hop SPT Switchover Register Probe Time Register Suppression Time : : : : Enabled Never 5 60 PIM Interface Table Designated Interface IP Address Router ------------ ------------------ --------------System 10.90.90.90/8 10.90.90.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show pim ipmroute Purpose Used to display the PIM IP Multicast Route Table on the Switch. Syntax show pim ipmroute Description This command will display the PIM IP Multicast Route Table on the Switch. This command is for PIM-SM configurations only. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To create an RP to which the Switch will send Register packets to and create checksums to be included with the data in Registered packets: DGS-3627:admin# create pim register_checksum_include_data rp_address 11.1.1.1 Command: create pim register_checksum_include_data rp_address 11.1.1.1 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627: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 ------------------------------------------11.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 73 PROTOCOL VLAN GROUP COMMANDS For bridges that implement Port-and-Protocol-based VLAN classification, the VID associated with an Untagged or Priority-tagged Frame is determined based on the Port of arrival of the frame into the bridge and on the protocol identifier of the frame. If there is no protocol VLAN configured on the ingress port, all the untagged packets incoming on the port will be classified into PVID VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create dot1v_protocol_group group_id 1 Command: create dot1v_protocol_group group_id 1 Success. DGS-3627:admin# config dot1v_protocol_group Purpose Used to configure the parameters for a protocol VLAN group. Syntax config dot1v_protocol_group group_id [add | delete] protocol [ethernet_2 | ieee802.3_snap | ieee802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete dot1v_protocol_group Purpose Used to delete a protocol VLAN group. Syntax delete dot1v_protocol_group group_id Description This command will delete a protocol VLAN group. Parameters group_id − Enter an integer from 1 to 16 to identify the protocol VLAN group being deleted here. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config port dot1v Purpose Used to bind a VLAN with a protocol template on one or more ports. Syntax config port dot1v ports [ | all] [add protocol_group group_id [vlan < vlan_name 32> | vlanid ] | delete protocol_group [group_id | all]] Description This command will bind a VLAN with a protocol template on one or more ports.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show port dot1v ports 1:6-1:8 Command: show port dot1v ports 1:6-1:8 Port: 1:6 Protocol Group ID ------------------------1 VLAN Name ---------------building1 Port: 1:7 Protocol Group ID ------------------------1 VLAN Name ---------------building1 Port: 1:8 Protocol Group ID ------------------------1 VLAN Name ---------------building1 Total Entries: 3 DGS-3627:admin# 568
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 74 QUALITY OF SERVICE (QOS) COMMANDS The Switch supports 802.1p priority queuing. The Switch has seven configurable priority queues. These priority queues are numbered from 6 (Class 6) — the highest priority queue — to 0 (Class 0) — the lowest priority queue. The eight priority tags specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows: • Priority 0 is assigned to the Switch’s Q2 queue.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Command Parameters config bandwidth_control [ | all] {rx_rate [no_limit | ] | tx_rate [ no_limit | ]} show bandwidth_control {} config scheduling {ports [ | all ]} [max_packet ] config scheduling_mechanism {ports [ | all ]} [strict | weight_fair] show scheduling {} show scheduling_mechanism {}
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config bandwidth_control minimum granularity) * minimal granularity Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the transmit bandwidth rate on port 1:1-1:10 to be 100 Kbits/sec: DGS-3627:admin# config bandwidth_control 1:1-1:10 tx_rate 100 Command: config bandwidth_control 1:1-1:10 tx_rate 100 The setting value is not an integer multiple of granularity 64.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show bandwidth_control 1:1-1:10 Command: show bandwidth_control 1:1-1:10 Bandwidth Control Table Port RX Rate TX Rate Effective RX Effective TX (Kbit/sec) (Kbit/sec) (Kbit/sec) (Kbit/sec) ---- ---------------------------------------------1:1 no_limit 64 128 1:2 no_limit 64 1:3 no_limit 64 64 64 1:4 no_limit 64 64 64 1:5 no_limit 64 1:6 no_limit 64 64 64 1:7 no_limit 64 1:8 no_limit 64 1:9 no_limit 64 1:10 no_limit 6
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config scheduling_mechanism Description There are two sets of commands that the project can be choose to implement. If the project only supports the scheduling mechanism to be set globally, the portlist parameter will not be supported. This command is used to specify how the switch handles packets in priority queues. Parameters ports - Specifies a range of ports to be configured.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin#show scheduling 1:1 Command: show scheduling 1:1 QOS Output Scheduling On Port: 1:1 Class ID MAX. Packets -------- -----Class-0 1 Class-1 2 Class-2 3 Class-3 4 Class-4 5 Class-5 6 Class-6 7 DGS-3627:admin# show scheduling_mechanism Purpose Used to show the traffic scheduling mechanism.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1p user_priority class_id - The number of the switch’s hardware priority queue. The switch has 7 hardware priority queues available. They are numbered between 0 (the lowest priority) and 6 (the highest priority). Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure an 802.1p user priority of 1 and a class_ID of 3 on port 1:1: DGS-3627:admin# config 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config 802.1p default_priority will be used to determine the hardware priority queues that the packet will be forwarded to. Parameters portlist - This specifies the range of ports, which require the default priority settings configured on. That is, the range of ports which receive all untagged packets will be assigned the priority specified below.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show 802.1p default_priority 1:1-1:10 Command: show 802.1p default_priority 1:1-1:10 Port ---1:1 1:2 1:3 1:4 1:5 1:6 1:7 1:8 1:9 1:10 Priority ----------5 5 5 5 5 5 5 5 5 5 Effective Priority -----------------5 5 5 5 5 5 5 5 5 5 DGS-3627:admin# enable hol_prevention Purpose Used to enable HOL prevention.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable hol_prevention Command: disable hol_prevention Success. DGS-3627:admin# show hol_prevention Purpose Use to show the HOL prevention state. Syntax show hol_prevention Description The show hol_prevention command displays the head of line prevention state on the switch. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config per_queue bandwidth_control If the specified rate does not have multiple of minimum granularity, the rate will be adjusted: Actual rate = (inputted rate/ minimum granularity) * minimal granularity. max_rate - Specifies that one of the parameters below (no_limit or 64-10000000) will be applied to the maximum rate that the class specified above will be allowed to transmit packets at.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show per_queue bandwidth_control 1:10 Command: show per_queue bandwidth_control 1:10 Queue Bandwidth Control Table On Port: 1:10 Queue ---0 1 2 3 4 5 6 Min_Rate (64Kbit/sec) --------------------640 no_limit 640 no_limit 640 no_limit 640 no_limit 640 no_limit no_limit no_limit no_limit no_limit Max_Rate (64Kbit/sec) ---------------------- DGS-3627:admin# enable cpu_rx_rate_control Purpose Used to set CPU receivi
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable cpu_rx_rate_control Command: enable cpu_rx_rate_control Success. DGS-3627:admin# show cpu_rx_rate_control Purpose Used to show current settings of CPU receiving rate control. Syntax show cpu_rx_rate_control Description Used to show current settings of CPU receiving rate control. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 75 REMOTE COPY PROTOCOL (RCP) COMMANDS RCP is a UNIX Remote Shell service which allows files to be copied between a server and client. RCP is an application that operates above the TCP protocols, and uses port number 514 as the TCP destination port. The RCP application uses client server architecture and the client can be any machine running the RCP client application.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rcp server username - The remote user name for logging into the global RCP Server. By default, the global server’s remote user name is unspecified. both - Both the RCP Server IP address and remote user name. Restrictions Only Administrator level users can issue this command. Example usage: To configure the global RCP Server: DGS-3627:admin# config rcp server ipaddress 172.18.212.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show rcp server Syntax show rcp server Description This command displays the global RCP server information. Parameters None. Restrictions Only Administrator level users can issue this command. Example usage: To display the global RCP Server configuration: DGS-3627:admin# show rcp server Command: show rcp server RCP Server Address : 172.18.64.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download firmware_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-3627.had Command: download firmware_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS3627.had Connecting to server................... Download firmware...................... Please wait, programming flash......... Saving current settings to NV-RAM...... Done. Done. Done. Done.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To download firmware from RCP using global configured server: DGS-3627:admin# download firmware_fromRCP src_file /home/DGS-3627.had dest_file RUN26B18.had boot_up Command: download firmware_fromRCP src_file /home/DGS-3627.had dest_file RUN26B18.had boot_up Using RCP Server IP: 172.18.212.106 Using RCP Server Username : rcp_user Connecting to server................... Download firmware......................
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download firmware_fromRCP src_file DGS-3627.had Command: download firmware_fromRCP src_file DGS-3627.had Using RCP Server IP: 172.18.212.106 Using RCP Server Username : rcp_user Connecting to server................... Download firmware...................... Please wait, programming flash......... Saving current settings to NV-RAM...... Done. Done. Done. Done.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload firmware_toRCP rcp: rcp_user@10.1.1.1/home/rcp_user/DGS-3627uploaded.had Command: upload firmware_toRCP rcp: rcp_user@10.1.1.1/home/rcp_user/ DGS-3627uploaded.had Connecting to server................... Done. Upload firmware........................ Done. DGS-3627:admin# To upload firmware on a switch that supports a file system: DGS-3627:admin# upload firmware_toRCP rcp: rcp_user@172.18.212.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS-3627.cfg Command: download cfg_fromRCP username rcp_user 172.18.212.106 src_file /home/DGS3627.cfg Connecting to server.................…. Done. Download configuration................. Done. DGS-3627:admin# To download a configuration using an RCP string: DGS-3627:admin# download cfg_fromRCP rcp: rcp_user@172.18.212.106/home/DGS-3627.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toRCP Note: No SPACES are allowed in the whole . filter_string - A filter string is enclosed by the “symbol. Therefore, the filter string itself cannot contain the “character. The filter string is case sensitive. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To upload the log from the device to an RCP server: DGS-3627:admin# upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGSXXXX.log Command: upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-3627.log Connecting to server... Done. Upload log............. Done. DGS-3627:admin# To upload log from the device to an RCP server using an RCP string: DGS-3627:admin# upload log_toRCP rcp: rcp_user@172.18.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload attack_log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-XXXX.alog unit 2 Command: upload attack_log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGSXXXX.alog unit 2 Connecting to server...Done. Upload attack log......Done. DGS-3627:admin# To upload the attack log from the device to an RCP server using an RCP string: DGS-3627:admin# upload attack_log_toRCP rcp: rcp_user@172.18.212.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 76 REMOTE SWITCHED PORT ANALYZER (RSPAN) COMMANDS The Remote Switched Port Analyzer (RSPAN) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable rspan Command: enable rspan Success. DGS-3627:admin# disable rspan Purpose Used to disable the RSPAN globally. Syntax disable rspan Description This command controls the RSPAN function. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: Configure RSPAN state to disabled: DGS-3627:admin# disable rspan Command: disable rspan Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create rspan vlan vlan_id 3 Command: create rspan vlan vlan_id 3 Success. DGS-3627:admin# delete rspan vlan Purpose Used to delete an RSPAN VLAN. Syntax delete rspan vlan [vlan_name | vlan_id ] Description This command is used to delete RSPAN VLANs. Parameters vlan_name - Delete RSPAN VLAN by VLAN name. vlan_id - Delete RSPAN VLAN by VLAN ID.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rspan vlan source tx - Only monitor egress packets. both - Monitor both ingress and egress packets. mirror_group_id - The mirror group identify that specify which mirror session used for RSPAN source function. If the mirror group is not specified when configuring the mirror ports, the mirror group 1 will be the default group. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config rspan vlan redirect The redirect function will only work when RSPAN is enabled. Multiple RSPAN VLANs can be configured with the redirect setting at the same time. A RSPAN VLAN can be configured with the source setting and the redirect setting at the same time. Parameters vlan - See below: vlan_name - Specify the RSPAN VLAN by VLAN name. vlan_id - Specify the RSPAN VLAN by VLAN ID.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Display all settings: DGS-3627:admin# show rspan Command: show rspan RSPAN: Enabled RSPAN VLAN ID: 1 -------------------Mirror Group ID : 1 Target Port : 1:1 Source Ports RX: TX: RSPAN VLAN ID: 2 -------------------Redirect Ports : 1:6 RSPAN VLAN ID: 3 ---------------------Redirect Ports : 1:6 Total RSPAN VLAN :3 DGS-3627:admin# 598
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 77 RIPNG COMMANDS The RIPng commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable ripng Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable RIPng globally: DGS-3627:admin# disable ripng Command: disable ripng Success. DGS-3627:admin# show ripng Purpose This command is used to display the RIPng state on all or specified interfaces.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ripng garbage_collection - The value (in seconds) of the garbage-collection timer. method - See below: no_horizon - Configured to not use any horizon. split_horizon - Configured to use basic split horizon. This is the default setting. poison_reverse - Configured to use split horizon with poison reverse. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ripng state Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable RIPng debug globally: DGS-3627:admin# debug ripng state enable Command: debug ripng state enable Success. DGS-3627:admin# debug ripng show flag Purpose This command is used to display the RIPng debug flag setting. Syntax debug ripng show flag Description Used to display the RIPng debug flag setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug ripng flag disable - Disable the designated flags. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the ripng interface debug: DGS-3627:admin# debug ripng interface state enable Command: debug ripng interface state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 78 ROUTING INFORMATION PROTOCOL (RIP) COMMANDS The Routing Information Protocol (RIP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config rip ipif System rx_mode v1_only Command: config rip ipif System rx_mode v1_only Success. DGS-3627:admin# enable rip Purpose Used to enable RIP. Syntax enable rip Description This command is used to enable RIP on the Switch. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show rip Purpose Used to display the RIP configuration and statistics for the Switch. Syntax show rip {ipif } Description This command will display the RIP configuration and statistics for a given IP interface or for all IP interfaces. Parameters ipif − The name of the IP interface for which to display the RIP configuration and settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 79 SAFEGUARD ENGINE COMMANDS Periodically, malicious hosts on the network will attack the Switch by utilizing packet flooding (ARP Storm) or other methods. These attacks may increase the CPU utilization beyond its capability. To alleviate this problem, the Safeguard Engine function was added to the Switch’s software.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config safeguard_engine Purpose To config ARP storm control for system. Syntax config safeguard_engine {state [enable | disable] | utilization {rising | falling } | trap_log [enable | disable] | mode [strict | fuzzy]} Description Use this command to configure Safeguard Engine to minimize the effects of an ARP storm.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the safeguard engine status: DGS-3627:admin# show safeguard_engine Command: show safeguard_engine Safeguard Engine State : Disabled Safeguard Engine Current Status : Normal Mode ======================================================= CPU Utilization Information: Rising Threshold : 30% Falling Threshold : 20% Trap/Log State : Disabled Mode : Fuzzy DGS-3627:admin# 609
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 80 SECURE SHELL (SSH) COMMANDS The steps required to use the Secure Shell (SSH) protocol for secure communication between a remote PC (the SSH Client) and the Switch (the SSH Server), are as follows: • Create a user account with admin-level access using the create account admin command. This is identical to creating any other admin-lever user account on the Switch, including specifying a password.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ssh algorithm Parameters 3DES - Specify ssh server encryption algorithm. blowfish - Specify ssh server encryption algorithm. AES(128,192,256) - Specify ssh server encryption algorithm. arcfour - Specify ssh server encryption algorithm. cast128 - Specify ssh server encryption algorithm. twofish(128,192,256) - Specify ssh server encryption algorithm. MD5 - Specify ssh server data integrality algorithm.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssh algorithm Command: show ssh algorithm Encryption 3DES AES128 AES192 AES256 Arcfour Blowfish Cast128 Twofish128 Twofish192 Twofish256 MD5 SHA1 RSA DSS Algorithm : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled : Enabled DGS-3627:admin# config ssh authmode Purpose Used to update user authentication for ssh configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To show user authentication method: DGS-3627:admin# show ssh authmode Command: show ssh authmode The SSH authmode Password : Enabled Publickey : Enabled Hostbased : Enabled DGS-3627:admin# config ssh user Purpose Used to update user information for ssh configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssh user authmode Command: show ssh user authmode Current Accounts Username Authenticaiton ------------- ------------test publickey Total Entries : 1 DGS-3627:admin# config ssh server Purpose Used to configure the SSH server.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable ssh Command: enable ssh Success. DGS-3627:admin# disable ssh Purpose Used to disable the SSH server service. Syntax disable ssh Description The disable ssh command disables ssh server services. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To disable the SSH server service: DGS-3627:admin# disable ssh Command: disable ssh Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 81 SECURE SOCKETS LAYER (SSL) COMMANDS Secure Sockets Layer or SSL is a security feature that will provide a secure communication path between a host and client through the use of authentication, digital signatures and encryption.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable ssl Purpose To enable the SSL function on the Switch. Syntax enable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} Description This command will enable SSL on the Switch by implementing any one or combination of listed ciphersuites on the Switch. Entering this command without a parameter will enable the SSL status on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual disable ssl Purpose To disable the SSL function on the Switch. Syntax disable ssl {ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA | DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}} Description This command will disable SSL on the Switch and can be used to disable any one or combination of listed ciphersuites on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To set the SSL cachetimeout for 7200 seconds: DGS-3627:admin# config ssl cachetimeout 7200 Command: config ssl cachetimeout 7200 Success. DGS-3627:admin# show ssl cachetimeout Purpose Used to show the SSL cache timeout. Syntax show ssl cachetimeout Description Entering this command will allow the user to view the SSL cache timeout currently implemented on the Switch. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ssl Command: show ssl SSL status RSA_WITH_RC4_128_MD5 RSA_WITH_3DES_EDE_CBC_SHA DHE_DSS_WITH_3DES_EDE_CBC_SHA RSA_EXPORT_WITH_RC4_40_MD5 Disabled Enabled Enabled Enabled Enabled DGS-3627:admin# Example usage: To view certificate file information on the Switch: DGS-3627:admin# show ssl certificate Command: show ssl certificate Loaded with RSA Certificate! DGS-3627:admin# download ssl certificate Purpose Use
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 82 SFLOW COMMANDS sFlow is a feature that allows users to monitor network traffic running through the switch to identify network problems through packet sampling and packet counter information of the Switch. The Switch itself is the sFlow agent where packet data is retrieved and sent to an sFlow Analyzer where it can be scrutinized and utilized to resolve the problem.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create sflow flow_sampler Syntax create sflow flow_sampler ports [ | all] analyzer_server_id < value 1-4> {rate | tx_rate | maxheadersize Description Used to create the sFlow flow_sampler. By configuring the sampling function for a port, a sample packet received by this port will be encapsulated and forwarded to analyzer server at the specified interval.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete sflow flow_sampler Purpose Used to delete the sFlow flow_sampler. Syntax delete sflow flow_sampler ports [ | all] Description Used to delete the sFlow flow_sampler. Parameters ports - Specifies the list of ports to be configured. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config sflow counter_poller Parameters interval - The maximum number of seconds between successive samples of the counters. If set it 0, the counter-sample is disabled. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create sflow analyzer_server maxdatagramsize - The maximum number of data bytes that can be packed in a single sample datagram. If not specified, the default value is 1400. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create the analyzer_server: DGS-3627:admin# create sflow analyzer_server 2 owner monitor timeout infinite collect oraddress 10.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete sflow_analyzer_server Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete the analyzer_server: DGS-3627:admin# delete sflow analyzer_server 1 Command: delete sflow analyzer_server 1 Success. DGS-3627:admin# enable sflow Purpose Used to enable the sFlow function. Syntax enable sflow Description Enable the sFlow function. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable sflow Command: disable sflow Success. DGS-3627:admin# show sflow Purpose Show the sFlow information. Syntax show sflow Description This command is used to show the sFlow information. sFlow Address: The IPv4 address associated with this agent. sFlow AddressV6: The IPv6 address associated with this agent. sFlow State: The current state of the sFlow agent. Parameters None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sflow flow_sampler Command: show sflow flow_sampler Port Analyzer Configured Server ID Rx Rate --------- ---------1 1 -----10 Configured Active Active Max Header Tx Rate Rx Rate Tx Rate Size ---------- ------- ------- ----------2 0 0 20 Total Entries: 1 DGS-3627:admin# show sflow flow_poller Purpose Used to display the sFlow counter_poller information of ports which have been created.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show sflow analyzer_server Command: show sflow analyzer_server sFlow Analyzer_server Information -----------------------------Server ID : 1 Owner : 1 Timeout : Infinite Current Countdown Time : Infinite Collector Address : 10.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 83 SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP) COMMANDS The Simple Network Management Protocol (SNMP) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp community view An access list of IP addresses of the SNMP managers that are permitted to use the community string to gain access to the agent. A MIB view, which defines the subset of all MIB objects accessible to the given community. Read and write or read-only permission for the MIB objects accessible to the community.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show snmp community Command: show snmp community SNMP Community Table Community Name ------------------------------private public View Name ------------------------------CommunityView CommunityView Access Right -----------read_write read_only Total Entries : 2 DGS-3627:admin# create snmp user Purpose This command is used to create a new user to an SNMP group originated by this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp user Purpose This command is used to remove a user from an SNMP group and delete the associated group in SNMP group. Syntax delete snmp user Description The delete snmp user command removes a user from a SNMP group and deletes the associated group in SNMP group. Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp group SNMP views. Syntax create snmp group [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] {read_view | write_view | notify_view } Description The create snmp group command creates a new SNMP group. Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Parameters groupname - The name of the group.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show snmp groups Purpose This command is used to display the names of groups on the switch and the security model, level, the status of the different views. Syntax show snmp groups Description The show snmp groups command displays the names of groups on the switch and the security model, level, the status of the different views. Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : public ReadView Name : CommunityView WriteView Name : Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level : NoAuthNoPriv Group Name : public ReadView Name : CommunityView WriteView Name : Notify View Name : CommunityView Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv Group Name : initial ReadView Name : restrict
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Securiy Level : NoAuthNoPriv Group Name : WriteGroup ReadView Name : CommunityView WriteView Name : CommunityView Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level : NoAuthNoPriv Group Name : WriteGroup ReadView Name : CommunityView WriteView Name : CommunityView Notify View Name : CommunityView Securiy Model : SNMPv2 Securiy Level : NoAuthNoPriv Total Entries: 10 DGS-3627:admin# create snmp view Purpose Thi
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp view all - All view record. oid - Object-Identified tree, MIB tree. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete SNMP view “view123”: DGS-3627:admin# delete snmp view view123 all Command: delete snmp view view123 all Success. DGS-3627:admin# show snmp view Purpose This command is used to display the SNMP view record.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create snmp host Description The create snmp host command creates a recipient of an SNMP operation. Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Parameters - The IP address of the recipient for which the traps are targeted. - Specifies the IPv6 host address to which the trap packet will be sent. v1 - The least secure of the possible security models.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete snmp host Parameters host - The IP address of the recipient for which the traps are targeted. v6host - Specifies the IPv6 host address. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete SNMP host “10.0.0.1”: DGS-3627:admin# delete snmp host 10.0.0.1 Command: delete snmp host 10.0.0.1 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show snmp v6host Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary. Parameters v6host - Specifies the IPv6 host address. If no parameter specified, all SNMP hosts will be displayed. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config snmp engineID 1023457890 Command: config snmp engineID 1023457890 Success. DGS-3627:admin# show snmp engineID Purpose This command is used to display the identification of the SNMP engine on the switch. Syntax show snmp engineID Description The show snmp engineID command displays the identification of the SNMP engine on the switch. The default value is suggested in RFC2271.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 84 STACKING COMMANDS Stacking protocol is a special communication mechanism between devices. It is responsible for allowing multiple devices to combine together, working in the same configuration. To users, these devices work as a whole. Stacking devices can provide more network bandwidth and reliability for users. A device down will not influence other devices in the same stacking topology.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show stacking_mode Purpose Used to display the current stacking mode. Syntax show stacking_mode Description The show stacking_mode command displays the current stacking mode. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config box_id Parameters current_box_id - Specifies the switch being configured. The parameter range is 1-12. For example, for the DGS34xx series the ID is 12; for the DGS36xx series the ID is 8. new_box_id - Specifies the new ID that will be assigned to the box. The parameter range is 1-12. auto - Allows the box ID to be assigned automatically by the stack system. The new box ID will take effect after the next reboot.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show stack_information Command: show stack_information Topology My Box ID Master ID Box Count Force Master Box ID --1 2 3 4 5 6 7 8 :Duplex_Chain :3 :3 :1 Role: Enable User PrioProm Runtime H/W Set Type Exist rity MAC Version Version Version ---- ---------- ----- ---- ------------------ ---------- --------- -------DGS-3627 No NOT_EXIST No User DGS-3627 Exist 0 00-00-11-33-66-33 1.00.B007 2.00.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config stacking force_master_role current stacking topology. If the state is enabled, the master’s priority will become zero after the stacking has stabilized. Parameters force_master_role - Used to enable or disable the switch’s Stacking Force Master Role state. The default setting is disabled. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 85 STATIC MAC-BASED VLAN COMMANDS The Static MAC-Based VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. For bridges that implement MAC-based VLAN classification, the VID associated with an Untagged or Priority-tagged Frame is determined based on the source MAC address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete mac_based_vlan Purpose Used to delete the static MAC-based VLAN entry. Syntax delete mac_based_vlan [mac_address | all] Description Use this command to delete a database entry. If the mac_address and vlan is not specified, all static entries associated with the port will be removed. Parameters mac_address − The MAC address. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 86 STATIC MULTICAST ROUTE COMMANDS The static multicast route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. IP multicast static routes are used to configure static RPF check paths that don’t depend on the unicast route table. The main goal of IP multicast static routes is to let multicast traffic diverge from unicast traffic.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete ipmroute Description Deletes an IP multicast static route configuration entry. Parameters network_address – The entry corresponds to the specified network to be deleted. all – All configured entries will be removed. Restrictions Only Administrator and Operator-level users can issue this command. Usage examle: To delete an IP multicast static route entry: DGS-3627:admin# delete ipmroute 10.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 87 SUBNET VLAN COMMANDS The Subnet VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual This example shows how to create an IPv6 subnet VLAN entry: DGS-3627:admin# create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2 Command: create subnet_vlan ipv6network FE80::/64 vlan v2 priority 2 Success. DGS-3627:admin# delete subnet_vlan Purpose Use this command to delete subnet vlan entry.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show subnet_vlan VLAN entries will be displayed. ipv6network - To specify an IPv6 network address. If network address is not specifed, all subnet VLAN entries will be displayed. vlan - If specify the vlan, all subnet vlan entries that associated with this vlan will be displayed. If no parameter is specified, all subnet vlan entries will be displayed. vidlist - Specifies a list of VLANs by VLAN ID. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vlan_precedence ports will process at first. If MAC-based VLAN classification fails, the subnet VLAN classification will be executed. If a port’s VLAN classification is subnet VLAN precedence, the subnet VLAN classification will process at first. If subnet VLAN classification fails, the MAC-based VLAN classification will be executed. Parameters portlist - A range of ports to configure.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 88 SUPER VLAN COMMANDS The Super VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# create super_vlan vlanid 10 Command: create super_vlan vlanid 10 Success. DGS-3627:admin# config super vlan Purpose This command is used to configure a super VLAN. Syntax config super_vlan [ | vlanid ] [add | delete] sub_vlan Description This command is used to configure the sub VLANs of a super VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete super_vlan vlanid 10 Command: delete super_vlan vlanid 10 Success. DGS-3627:admin# config sub vlan Purpose This command is used to configure the IP range of the sub VLAN. Syntax config sub_vlan [ | vlanid ] [add | delete] ip_range to Description This command is used to configure the IP range of the sub VLAN. A sub VLAN can has one or more IP ranges.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show super vlan vlanid - Specify the super VLAN ID. If not specified the super VLAN, show all super VLANs. Restrictions None. Example usage: To show super VLAN: DGS-3627:admin# show super_vlan Command: show super_vlan Super VID VLAN Name IP subnet Status Sub VID Total Entries : : : : : : 10 VLAN10 10.1.0.0/16 Active 2-4, 7, 9 1 DGS-3627:admin# show sub vlan Purpose This command is used to show sub VLAN.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 89 SWITCH PORT COMMANDS The switch port commands in the Command Line Interface (CLI) are listed (with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ports Purpose Used to configure the Switch’s Ethernet port settings.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable Command: config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show ports Command: show ports Port ------1:1 1:2 1:3 1:4 1:5 1:6 1:7 1:8 1:9 1:10 1:11 1:12 1:13 1:14 1:15 1:16 1:17 1:18 1:19 Port State -------Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Settings Connection Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl --------------------- ---------------------Auto/Disable
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To display the Error Disabled ports: DGS-3627:admin# show ports err_disabled Command : show ports err_disabled Port -----1:2 1:8 Port State -------Enabled Enabled Connection status Reason --------------------Err-disabled Desc: Port 2 Err-disabled Desc: Port 8 ---------------Storm control Storm control DGS-3627:admin# To display the Error Disabled ports: DGS-3627:admin# show ports err_disabled Command : show ports err_disable
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 665
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 90 SYSLOG OR TRAP SOURCE-INTERFACE COMMANDS The syslog or trap source-interface function is used for selecting a fixed interface as the source interface to send syslog or trap message. It also provides a mechanism to select a certain IP address from the specified interface as the source address to send the message.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show syslog source_ipif Purpose Show syslog source IP interface. Syntax show syslog source_ipif Description This command is used to display the syslog source IP interface. Parameters None. Restrictions None. Example usage: Show syslog source IP interface: DGS-3627:admin# show syslog source_ipif Command: show syslog source_ipif Syslog Source IP Interface Configuration: IP Interface IPv4 Address : ipif3 : 14.0.0.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config trap source_ipif none Command: config trap source_ipif none Success DGS-3627:admin# show trap source_ipif Purpose Show trap source IP interface. Syntax show trap source_ipif Description This command is used to display the trap source IP interface. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 91 SYSTEM LOG COMMANDS The System Log commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To clear the switch’s history log: DGS-3627:admin# clear log Command: clear log Success. DGS-3627:admin# show log Purpose Used to display the switch’s history log. Syntax show log {[index | severity {emergency | alert | critical | error | warning | notice | informational| debug |}]} Description This command displays the switch’s history log.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable syslog Description This command enables the sending of syslog messages. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable the sending of syslog messages: DGS-3627:admin# enable syslog Command: enable syslog Success. DGS-3627:admin# disable syslog Purpose Used to disable the sending of syslog messages.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show syslog Command: show syslog Syslog Global State: Enabled DGS-3627:admin# config syslog host Purpose Used to configure the syslog host configurations.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config syslog host networks to a host. The option enables or disables the host to receive such messages. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure syslog host configuration: DGS-3627:admin# config syslog host all severity all facility local0 Command: config syslog host all severity all facility local0 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create syslog host local6 user-defined facility local7 user-defined facility udp_port - The UDP port number. state - The syslog protocol is used for the transmission of event notification messages across networks to a host. This option enables or disables the hosts that will receive such messages. ipaddress – Specify the IP address used here. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To display syslog host configurations: DGS-3627:admin# show syslog host Command: show syslog host Syslog Global State: Enabled Host Id ------1 Host IP Address --------------172.18.70.97 Severity -------------All Facility -------Local5 UDP port -------514 Status -------Enabled Total Entries : 1 DGS-3627:admin# config log_save_timing Purpose Used to configure the method for saving the log.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show log_save_timing Command: show log_save_timing Saving log method: on_demand DGS-3627:admin# show attack_log Purpose Displays the attack log messages. Syntax show attack_log {unit } {index } Description Displays the attack log messages. The attack log message refers to log messages driven by modules such as DOS and the IP-MAC-port binding module.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# clear attack_log Command: clear attack_log Success. DGS-3627:admin# upload attack_log_toTFTP Purpose Used to upload the attack log on a unit. Syntax upload attack_log_toTFTP [ | |] dest_file {unit } Description To upload the attack log stored on a unit. When the attack log is empty, the prompt message, “Log is empty,” will be displayed.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload attack_log_toRCP Note: Do not use any blank spaces in the . unitid - The attack log messages on the specified unit will be uploaded to the RCP server. If specified, this unit will be referred to as the master unit. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config system_severity trap information Command: config system_severity trap information Success. DGS-3627:admin# show system_severity Purpose This command is used to display the severity level controls for the system. Syntax show system_severity Description This command is used to display the severity level controls for the system. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 92 TECHNICAL SUPPORT COMMANDS The Technical Support commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show tech_support upload tech_support_toTFTP Each command is listed, in detail, in the following sections. show tech_support Purpose Used to show the information of technique’s support.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show tech_support Command: show tech_support #------------------------------------------------------------------------------# DGS-3627 Gigabit Ethernet Switch # Technical Support Information # # Firmware: Build 2.80.B31 # Copyright(C) 2010 D-Link Corporation. All rights reserved.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# upload tech_support_to_TFTP 10.0.0.66 tech_report.txt Command: upload tech_support_to_TFTP 10.0.0.66 tech_report.txt Connecting to server................... Done. Upload techsupport file................ Done. Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 93 TELNET CLIENT COMMANDS The Telnet Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters telnet [ | ] {tcp_port(1) } Each command is listed, in detail, in the following sections. telnet Purpose Used to initiate a Telnet client session with a specific Telnet server.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 94 TFTP CLIENT COMMANDS The TFTP Client commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual download firmware_fromTFTP Case 3: In case that the master unit and the slave unit both support or not support file system, the file will be downloaded to the specified file on the slave unit. If boot_up is specified, the downloaded file will be assigned as the boot_up image. pathname - The pathname specifies an absolute pathname on the device file system. If pathname is not specified, it refers to the boot_up image.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Command: download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Connecting to server.................…. Done. Download configuration................. Done. DGS-3627:admin# upload firmware_toTFTP Purpose Used to upload firmware from device to TFTP server.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload cfg_toTFTP relative pathname or an absolute pathname. pathname - The pathname specifies an absolute pathname on the device file system. If pathname is not specified, it refers to the boot_up CFG file. filter_string - A filter string is enclosed by symbol. Thus, the filter string itself cannot contain the character. The filter string is case sensitive.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual upload attack_log_toTFTP Description This command is used to upload the attack log on a unit. Parameters ipaddr - The IP address of the TFTP server. ipv6addr - The IPV6 address of the TFTP server. domain_name - The domain name of the TFTP server. dest_file - Used to identify the parameter “path_filename”. path_filename - Specifies the path name on the TFTP server to hold the attack log.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 95 TIME AND SNTP COMMANDS The Simple Network Time Protocol (SNTP) (an adaptation of the Network Time Protocol (NTP)) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS-3627:admin# show sntp Purpose Used to display the SNTP information. Syntax show sntp Description This command will display SNTP settings information including the source IP address, time and poll interval. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# enable sntp Command: enable sntp Success. DGS-3627:admin# disable sntp Purpose To disable SNTP server support. Syntax disable sntp Description This will disable SNTP support. SNTP service must be separately configured (see config sntp). Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config time_zone Purpose Used to determine the time zone used in order to adjust the system clock. Syntax config time_zone {operator [+ | -] | hour | min } Description This will adjust system clock settings according to the time zone. Time zone settings will adjust SNTP information accordingly. Parameters operator – Choose to add (+) or subtract (-) time to adjust for time zone relative to GMT.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config dst s_week – Configure the week of the month in which DST begins. – The number of the week during the month in which DST begins where 1 is the first week, 2 is the second week and so on, last is the last week of the month. e_week – Configure the week of the month in which DST ends.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show time Purpose Used to display the current time settings and status. Syntax show time Description This will display system time and date configuration as well as display current system time. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 96 TIME RANGE COMMANDS The Time Range commands are used in conjunction with the Access Profile commands listed in the previous chapter to determine a starting point and an ending point, based on days of the week, when an Access Profile configuration will be enabled on the Switch. Once configured here, the time range are to be applied to an access profile rule using the config access_profile profile_id command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config time_range Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To configure the time range time1 to be between 6:30 a.m. and 9:40 p.m., Monday to Friday: DGS-3627:admin# config time_range time1 hours start_time 6:30:00 end_time 21:40:00 weekdays mon-fri Command: config time_range time1 hours start_time 6:30:00 end_time 21:40:00 weekdays monfri Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 97 TRACE ROUTE COMMANDS The Trace Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# traceroute 10.48.74.121 probe 3 Command: traceroute 10.48.74.121 probe 3 <10 <10 <10 <10 <10 * <10 ms ms ms ms ms ms 10.12.73.254 10.12.73.254 10.12.73.254 10.19.68.1 10.19.68.1 Request timed out. 10.48.74.121 Trace complete. DGS-3627:admin# To trace the routed path between the switch and intra.example.com: DGS-3627:admin# traceroute intra.example.com timeout 10 Command: traceroute intra.example.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# traceroute6 3000::1 probe 3 Command: traceroute6 3000::1 probe 3 <10 <10 <10 <10 <10 * <10 ms ms ms ms ms ms 1345:142::11 1345:142::11 1345:142::11 2011:14::100 2011:14::100 Request timed out. 3000::1 Trace complete.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 98 TRAFFIC CONTROL COMMANDS On a computer network, packets such as Multicast packets and Broadcast packets continually flood the network as normal procedure. At times, this traffic may increase do to a malicious endstation on the network or a malfunctioning device, such as a faulty network card. Thus, switch throughput problems will arise and consequently affect the overall performance of the switch network.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Traffic Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config traffic control 1-12 broadcast enable action shutdown threshold 1 countdown 5 time_interval 10 Command: config traffic control 1-12 broadcast enable action shutdown threshold 1 countdown 5 time_interval 10 Success. DGS-3627:admin# config traffic trap Purpose Used to configure trap modes.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show traffic control 1-10 Command: show traffic control 1-10 Traffic Control Trap Traffic Control Auto Recover Time : [None] : 5 Minutes Port Thres Broadcast Multicast Unicast Action Count Time Shutdown hold Storm Storm Storm down Interval Forever ---- ------ --------- --------- -------- -------- ----- -------- -------1 1 Enabled Disabled Disabled Shutdown 5 10 2 1 Enabled Disabled Disabled Shutdown 5 10 3 1 Enabl
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 99 TRAFFIC SEGMENTATION COMMANDS Traffic segmentation allows users to further sub-divide VLANs into smaller groups of ports that will help to reduce traffic on the VLAN. The VLAN rules take precedence, and then the traffic segmentation rules are applied.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show traffic_segmentation Purpose Used to display the current traffic segmentation configuration on the Switch. Syntax show traffic_segmentation {} Description The show traffic_segmentation command is used to display the current traffic segmentation configuration on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 100 TRUSTED HOST COMMANDS Trusted Host is a security feature which denies an illegal network address to access the switch. The Trusted Host commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual delete trusted_host Parameters ipaddr - The IP address of the trusted host. network - The network address of the trusted network. all - All trusted hosts will be deleted. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To delete the trusted host: DGS-3627:admin# delete trusted_host 10.48.74.121 Command: delete trusted_host 10.48.74.121 Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 101 UNICAST ROUTE COMMANDS Route Preference is a way for routers to select the best path when there are two or more different routes to the same destination from two different routing protocols. The majority of routing protocols are not compatible when used in conjunction with each other.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual The Unicast Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create iproute It will fail if a user wants to create a floating static route and there has been one static multipath route with the same destination. It will fail if a user wants to create a static multipath route and there has been a floating static route, whether primary or backup. Parameters default - Create an IP default route (0.0.0.0/0). network_address - The IP address and net mask of the destination of the route.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# delete iproute 10.48.74.121/255.0.0.0 10.1.1.254 Command: delete iproute 10.48.74.121/8 10.1.1.254 Success. DGS-3627:admin# show iproute Purpose Used to display the switch’s current IP routing table. Syntax show iproute {[ | ]} {[static | rip | ospf | bgp | hardware]} Description Use this command to display the switch’s IP routing table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show iproute Command: show iproute Routing Table IP Address/Netmask -----------------10.1.1.0/24 192.168.1.0/24 Gateway --------------0.0.0.0 0.0.0.0 Interface -----------System ip1 Cost -------1 1 Protocol -------Local Local Total Entries : 2 DGS-3627:admin# show iproute static Command: show iproute static Routing Table IP Address/Netmask -----------------0.0.0.0/0 100.1.1.0/24 101.1.1.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route preference ospfExt2 - Configure the preference of OSPF external type-2 route. The default value is 115. ebgp - Configure the preference of BGP AS-external route. The default value is 70. ibgp - Configure the preference of BGP AS-internal route. The default value is 130. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show route preference Command: show route preference Route Preference Settings Protocol ---------RIP Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP Preference ---------100 60 1 0 80 90 110 115 70 130 DGS-3627:admin# create route redistribute dst ospf Purpose Used to redistribute routing information from other routing protocols to OSPF.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create route redistribute dst rip Purpose Used to redistribute routing information from other routing protocols to RIP. Syntax create route redistribute dst rip src [local |static | bgp | ospf [all | internal | external | type_1 | type_2 | inter+e1 | inter+e2]] {metric } Description This command is used to redistribute routing information from other routing protocols to RIP.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create route redistribute dst bgp ospf - To redistribute OSPF routes to BGP. all - To redistribute both OSPF AS-internal and OSPF AS-external routes to RIP. internal - To redistribute only the OSPF AS-internal routes. external - To redistribute only the OSPF AS-external routes, including type-1 and type-2 routes. type_1 - To redistribute only the OSPF AS-internal type-1 routes.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst ospf Purpose Used to update the metric to be associated with the redistributed routes from a specific protocol to OSPF protocol. Syntax config route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric }(1) Description This command updates the metric to be associated with the redistributed routes from a specific protocol to OSPF protocol.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst rip type_1 - To redistribute only the OSPF AS-internal type-1 routes. type_2 - To redistribute only the OSPF AS-internal type-2 routes. inter+e1 - To redistribute only the OSPF AS-internal type-1 and OSPF AS-internal routes. inter+e2 - To redistribute only the OSPF AS-internal type-2 and OSPF AS-internal routes. metric - Specifies the RIP metric value for the redistributed routes.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config route redistribute dst bgp Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To add route redistribution settings: DGS-3627:admin# config route redistribute dst bgp src ospf all metric 2 Command: config route redistribute dst bgp src ospf all metric 2 Success. DGS-3627:admin# show route redistribute Purpose Used to display the route redistribution settings on the switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable ecmp ospf Purpose This command is used to enable the ECMP route load-balancing algorithm. Syntax enable ecmp ospf Description This command is used to enable the ECMP route load-balancing algorithm. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config ecmp algorithm excluded. It it set by default. crc_high - If set, the ecmp algorithm will include the upper 5 bits of the CRC. This attribution is mutually exclusive with ip_source and crc_low. If it is set, crc_low and ip_source will be excluded. It is not set by default. tcp_udp_port - If set, the ecmp algorithm will include the TCP or UDP port. It is not set by default.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 102 UTILIZATION COMMANDS The Utilization commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters show utilization [cpu | ports | dram { unit }| flash {unit }] Each command is listed, in detail, in the following sections. show utilization Purpose Used to display real-time port utilization statistics.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show utilization ports Command: show utilization ports Port -----1:1 1:2 1:3 1:4 1:5 1:6 1:7 1:8 1:9 1:10 1:11 1:12 1:13 1:14 1:15 1:16 1:17 1:18 1:19 1:20 1:21 TX/sec ------0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Port -----2:17 2:18 2:19 2:20 2:21 2:22 2:23 2:24 2:25 2:26 TX/sec -------0 0 0 0 0 0 0 0 0 11 RX/sec ---------0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RX/sec -------0 0 0 0 0 0 0 0 0 2 Util ---0 0
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show utilization dram Command: show utilization dram DRAM Utilization : Total DRAM : 262,144 KB Used DRAM : 212,568 KB Utilization : 81% Success. DGS-3627:admin# To display FLASH utilization: DGS-3627:admin# show utilization flash Command: show utilization flash FLASH Memory Utilization : Total FLASH : 16,384 KB Used FLASH : 13,440 KB Utilization : 82% Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 103 VLAN TRUNKING COMMANDS The VLAN Trunking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameters enable vlan_trunk disable vlan_trunk config vlan_trunk ports [ | all] | state [enable | disable] show vlan_trunk Each command is listed, in detail, in the following sections.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# disable vlan_trunk Command: disable vlan_trunk Success. DGS-3627:admin# config vlan_trunk Purpose Used to configure a port as a the VLAN trunk port. Syntax config vlan_trunk ports [ | all] | state [enable | disable] Description This command is used to configure a port as a VLAN trunk port. By default, none of the port is a VLAN trunk port.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual show vlan_trunk Description Show the VLAN trunk information. Parameters None. Restrictions None.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 104 VRRP DEBUG COMMANDS The VRRP Debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp vr_state_change Purpose Used to enable or disable the VRRP debug flag for VR state change. Syntax debug vrrp vr_state_change state [enable | disable] Description This command is used to enable or disable the VRRP debug flag for VR state change. Parameters state - The state of the VRRP change debug flags. The default setting is disabled. enable - Enable the VRRP state change debug flags.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp mac_addr_update Parameters state - The state of VRRP MAC debug flags. The default setting is disabled. enable - Enable VRRP MAC debug flags. disable - Disable VRRP MAC debug flags. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual To enable VRRP timer debug flags: DGS-3627:admin# debug vrrp timers state enable Command: debug vrrp timers state enable Success. DGS-3627:admin# debug vrrp show counter Purpose Used to display the VRRP debug statistic counters. Syntax debug vrrp show counter Description This command is used to display the VRRP debug statistic counters. Parameters None. Restrictions Only Administrator level users can issue this command.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual debug vrrp log state Purpose Used to enable or disable the VRRP debug log state. Syntax debug vrrp log state [enable | disable] Description This command is used to enable or disable the VRRP debug log state. Parameters state - The state of the VRRP log. The default setting is disabled. enable - Enable the VRRP log state. disable - Disable the VRRP log state.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example usage: To enable the VRRP debug state: DGS-3627:admin# debug vrrp state enable Command: debug vrrp state enable Success.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 105 VRRP COMMANDS VRRP or Virtual Routing Redundancy Protocol is a function on the Switch that dynamically assigns responsibility for a virtual router to one of the VRRP routers on a LAN. The VRRP router that controls the IP address associated with a virtual router is called the Master, and will forward packets sent to this IP address.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Example Usage: To enable VRRP globally on the Switch: DGS-3627:admin# enable vrrp Command: enable vrrp Success. DGS-3627:admin# Example usage: To enable the virtual IP address to be pinged: DGS-3627:admin# enable vrrp ping Command: enable vrrp ping Success. DGS-3627:admin# disable vrrp Purpose To disable the VRRP function on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create vrrp vrid Purpose To create a VRRP router on the Switch. Syntax create vrrp vrid ipif ipaddress {state [enable | disable] | priority | advertisement_interval | preempt [true | false] | critical_ip | critical_ip_state [enable | disable]} Description This command is used to create a VRRP interface on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vrrp vrid Purpose To configure a VRRP router set on the Switch. Syntax config vrrp vrid ipif {state [enable | disable] | priority | ipaddress | advertisement_interval | preempt [true | false] | critical_ip | critical_ip_state [enable | disable]} Description This command is used to configure a previously created VRRP interface on the Switch.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config vrrp ipif Purpose To configure the authentication type for the VRRP routers of an IP interface. Syntax config vrrp ipif [authtype [none | simple authdata | ip authdata ]] Description This command is used to set the authentication type for the VRRP routers of an IP interface.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show vrrp Command: show vrrp Global VRRP Non-owner response PING :Enabled : Disabled Interface Name Authentication type : System : No Authentication VRID Virtual IP Address Virtual MAC Address Virtual Router State State Priority Master IP Address Critical IP Address Checking Critical IP Advertisement Interval Preempt Mode Virtual Router Up Time Total Entries : 1 : : : : : : : : : : : : 2 10.53.13.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual 106 WEB-BASED ACCESS CONTROL (WAC) COMMANDS WAC is “Web-based Access Control”. Web-Based Authentication Login is a feature designed to authenticate a user when the user is trying to access the Internet via the Switch. The authentication process uses HTTP protocol. The switch enters the authenticating stage when users would like to browse web screen (ex: http://www.kimo.com.tw) through the web browser (ex: IE…).
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual enable wac Description The enable wac command enables WAC function. WAC and JWAC are mutual exclusive function. That is, they can not be enabled at the same time. Parameters None. Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To enable WAC: DGS-3627:admin# enable wac Command: enable WAC Success. DGS-3627:admin# disable wac Purpose Used to disable WAC function.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config wac ports aging_time - A time period during which an authenticated host will keep in authenticated state. “infinite” indicates never to age out the authenticated host on the port idle_time - If there is no traffic during idle time, the host will be moved back to unauthenticated state. “infinite” indicates never to check the idle state of the authenticated host on the port.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual config wac default_redirpath authentication. Parameters string - The URL that the client will be redirected to after successful authentication. By default, the redirected path is cleared Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To config WAC default redirect URL: DGS-3627:admin# config wac default_redirpath http://www.dlink.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config wac virtual_ip 1.1.1.1 Command: config wac virtual_ip 1.1.1.1 Success. DGS-3627:admin# Set IPv6 virtual IP address: DGS-3627:admin# config wac virtual_ip 30::20 Command: config wac virtual_ip 30::20 Success. DGS-3627:admin# config wac switch_http_port Purpose Used to config HTTP(s) port of the switch used by WAC.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual create wac user Restrictions Only Administrator and Operator-level users can issue this command. Example usage: To create a WAC local user: DGS-3627:admin# create wac user vlan Jim Command: create wac user vlan Jim Enter a case-sensitive new password:** Enter the new password again for confirmation:** Success. DGS-3627:admin# delete wac user Purpose Used to delete a WAC local user.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# config wac user Jim vlan 3 Command: config wac user Jim vlan 3 Enter a case-sensitive new password:*** Enter the new password again for confirmation:*** Success. DGS-3627:admin# config wac authorization attributes Purpose The enable authorization command will enable acceptation of authorized configuration.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac Command: show wac Web-based Access Control ----------------------------State : Enabled Method : RADIUS Redirect Path : http://tw.yaholl.com Virtual IP : 0.0.0.0 Virtual IPv6 : 2000::20 Switch HTTP Port : 80 (HTTP) RADIUS Authorization : Enabled Local Authorization : Enabled DGS-3627:admin# show wac ports Purpose Used to display web authentication port level setting.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac user Command: show wac user User Name Password VID ------------------ -----Jim pasx 1000 Total Entries: 1 DGS-3627:admin# show wac auth_state Purpose Used to display the authentication state of a port. Syntax show wac auth_state ports { } Description Used to display the authentication state for ports. Parameters ports - Specifies the list of ports whose WAC state will be displayed.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual DGS-3627:admin# show wac auth_state ports Command: show wac auth_state ports P:Port-based Pri: Priority Port MAC Address Original State VID Pri Aging Time/ Idle RX VID Block Time ------ -------------------- ---- -------------- ---- -- ----------- ---1:3 00-00-00-00-00-01 20 Authenticated 4004 3 Infinite 40 1:3 00-00-00-00-00-02 20 Authenticated 1234 - Infinite 50 1:11 00-00-00-00-00-03 100 Blocked - 60 1:11 00-00-00-00-00-04 110
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual A PASSWORD RECOVERY COMMANDS This section describes the procedure for resetting passwords on D-Link Switches. Authenticating any user who tries to access networks is necessary and important. The basic authentication method used to accept qualified users is through a local login, utilizing a Username and Password. Sometimes, passwords get forgotten or destroyed, so network administrators need to reset these passwords.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual B TECHNICAL SPECIFICATIONS Specifications listed here apply to all Switches in the DGS-3600 Series except where otherwise noted. General Protocols IEEE 802.3 10BASE-T Ethernet IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3ab 1000BASE-T Gigabit Ethernet IEEE 802.3z 1000BASE-T (SFP “Mini GBIC”) IEEE 802.3ae (10G Optional Modules) IEEE 802.1D/w/s Spanning Tree (Rapid, Multiple) IEEE 802.1P/Q VLAN IEEE 802.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual IEEE 802.3z WDM Transceiver (DEM-330R transceiver) IEEE 802.3z WDM Transceiver (DEM-331T transceiver) IEEE 802.3z WDM Transceiver (DEM-331R transceiver) XFP Support IEEE 802.3ae 10G Fiber-Optic CX4 Support IEEE 802.3ak 10G Copper Topology Duplex Ring, Duplex Chain Network Cables Cat.5 Enhanced for 1000BASE-T UTP Cat.5, Cat. 5 Enhanced for 100BASE-TX UTP Cat.
® xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual Physical and Environmental 75.7mm x 75.7mm x 30mm fans; one 44mm x 44mm x 11mm Operating Temperature 0 - 40°C Storage Temperature -40 - 70°C Humidity 5 - 95% non-condensing Dimensions DGS-3612 – 441 mm x 310 mm x 44 mm DGS-3612G/DGS-3627/DGS-3627G/DGS-3650 - 441mm x 389mm x 44mm Weight DGS-3612 - 3.8kg (8.38 lbs) DGS-3612G – 5kg (11.02 lbs) DGS-3627, DGS-3627G – 5.5kg (12.13 lbs) DGS-3650 – 6kg (13.