CLI Reference Guide
Page 2
... 33 Chapter 34 Using Command Line Interface 1 Basic Command List ...8 802.1Q VLAN Command List 23 802.1X Command List...39 Access Authentication Control Command List 64 Access Control List (ACL) Command List 85 Access Control List (ACL) Egress Command List (EI Mode Only 105 Address Resolution Protocol (ARP) Command List 124 ARP Spoofing Prevention Command List 129 Asymmetric VLAN Command List 131 Auto-Configuration Command List 133 Basic Commands Command List 135 BPDU Attack Protection Command List 152 Cable Diagnostics Command List 157 Command Logging Command List 160 Compound...
... 33 Chapter 34 Using Command Line Interface 1 Basic Command List ...8 802.1Q VLAN Command List 23 802.1X Command List...39 Access Authentication Control Command List 64 Access Control List (ACL) Command List 85 Access Control List (ACL) Egress Command List (EI Mode Only 105 Address Resolution Protocol (ARP) Command List 124 ARP Spoofing Prevention Command List 129 Asymmetric VLAN Command List 131 Auto-Configuration Command List 133 Basic Commands Command List 135 BPDU Attack Protection Command List 152 Cable Diagnostics Command List 157 Command Logging Command List 160 Compound...
CLI Reference Guide
Page 3
...540 Port Security Command List 542 Power over Ethernet (PoE) Command List 550 Power Saving Command List 555 PPPoE Circuit ID Insertions Command List (EI Mode Only 561 Protocol VLAN Command List 565 QinQ Command List (EI Mode Only 571 Quality of Service (QoS) Command List 579 Remote Switched Port ANalyzer (RSPAN) Command List 596 RPC PortMapper Command List 602 Safeguard Engine Command List 604 SD Card Management Command List 606 Secure Shell (SSH) Command List 613 Secure Sockets Layer (SSL) Command List 621 sFlow Command List (EI Mode Only 627 Show Technical Support Command List...
...540 Port Security Command List 542 Power over Ethernet (PoE) Command List 550 Power Saving Command List 555 PPPoE Circuit ID Insertions Command List (EI Mode Only 561 Protocol VLAN Command List 565 QinQ Command List (EI Mode Only 571 Quality of Service (QoS) Command List 579 Remote Switched Port ANalyzer (RSPAN) Command List 596 RPC PortMapper Command List 602 Safeguard Engine Command List 604 SD Card Management Command List 606 Secure Shell (SSH) Command List 613 Secure Sockets Layer (SSL) Command List 621 sFlow Command List (EI Mode Only 627 Show Technical Support Command List...
CLI Reference Guide
Page 5
... console screen. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be introduced in terms of purpose, format, description, parameters, and examples. Configuration and management of the commands contained in the CLI. UserName: PassWord: DGS-3120-24TC:admin# There is used to a management computer, the following screen should be managed through the Switch's serial port, Telnet, SNMP or the Web-based management agent. With the serial port properly connected to configure and manage the Switch via the serial port or Telnet...
... console screen. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be introduced in terms of purpose, format, description, parameters, and examples. Configuration and management of the commands contained in the CLI. UserName: PassWord: DGS-3120-24TC:admin# There is used to a management computer, the following screen should be managed through the Switch's serial port, Telnet, SNMP or the Web-based management agent. With the serial port properly connected to configure and manage the Switch via the serial port or Telnet...
CLI Reference Guide
Page 24
... ports from disabled to 32 characters long. If set to cross state, the port is in errordisabled status , configure their state to enable will be set to auto negotiation. 10_half - auto - Specify that the learning option will be disabled. Specify that the flow control option will be enabled. Enter a list of ports used for other interface. cross - speed - (Optional) Specify the port speed of the port interface. - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Format config ports [ | all] {medium_type [fiber | copper]} {speed [auto...
... ports from disabled to 32 characters long. If set to cross state, the port is in errordisabled status , configure their state to enable will be set to auto negotiation. 10_half - auto - Specify that the learning option will be disabled. Specify that the flow control option will be enabled. Enter a list of ports used for other interface. cross - speed - (Optional) Specify the port speed of the port interface. - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Format config ports [ | all] {medium_type [fiber | copper]} {speed [auto...
CLI Reference Guide
Page 36
... Only Administrator, Operator and Power-User level users can issue this port's PVID will be updated with last item of PVID. Format enable pvid auto_assign Parameters None. Format disable pvid auto_assign Parameters None. 32 When user configures a port to disable auto assignment of VLAN list. The default setting is enabled, PVID will be possibly changed by PVID or VLAN configuration. Example To enable the auto-assign PVID: DGS-3120-24TC:admin# enable pvid auto_assign Command: enable pvid auto_assign Success.
... Only Administrator, Operator and Power-User level users can issue this port's PVID will be updated with last item of PVID. Format enable pvid auto_assign Parameters None. Format disable pvid auto_assign Parameters None. 32 When user configures a port to disable auto assignment of VLAN list. The default setting is enabled, PVID will be possibly changed by PVID or VLAN configuration. Example To enable the auto-assign PVID: DGS-3120-24TC:admin# enable pvid auto_assign Command: enable pvid auto_assign Success.
CLI Reference Guide
Page 56
...; DGS-3120 Series Managed Switch CLI Reference Guide Format delete 802.1x guest_vlan {} Parameters - (Optional) Enter the VLAN name here. Example To delete the guest VLAN named "guestVLAN": DGS-3120-24TC:admin# delete 802.1x guest_vlan guestVLAN Command: delete 802.1x guest_vlan guestVLAN Success. If the specific port state is used for the configuration here. all ] state [enable | disable] Parameters ports - Specify that all the port will move to disable state, this port will be included in this configuration. Format config...
...; DGS-3120 Series Managed Switch CLI Reference Guide Format delete 802.1x guest_vlan {} Parameters - (Optional) Enter the VLAN name here. Example To delete the guest VLAN named "guestVLAN": DGS-3120-24TC:admin# delete 802.1x guest_vlan guestVLAN Command: delete 802.1x guest_vlan guestVLAN Success. If the specific port state is used for the configuration here. all ] state [enable | disable] Parameters ports - Specify that all the port will move to disable state, this port will be included in this configuration. Format config...
CLI Reference Guide
Page 147
... reset IP address configured on the system IPIF and the default gateway setting. For the "save neither reboot. The configuration setting will store the reset setting in the NVRAM and then reboot the system. Please wait, the switch is rebooting... 12-12 config firmware image Description This command is used to provide reset functions. But device will do save system" command, the device will be executed immediatedly without further confirmation. xStack® DGS-3120 Series Managed Switch CLI Reference Guide...
... reset IP address configured on the system IPIF and the default gateway setting. For the "save neither reboot. The configuration setting will store the reset setting in the NVRAM and then reboot the system. Please wait, the switch is rebooting... 12-12 config firmware image Description This command is used to provide reset functions. But device will do save system" command, the device will be executed immediatedly without further confirmation. xStack® DGS-3120 Series Managed Switch CLI Reference Guide...
CLI Reference Guide
Page 228
... DGS-3120-24TC:admin# 22-4 debug config error_reboot Description This command is stored into NVRAM. Format debug config error_reboot [enable | disable] Parameters enable - If disabled the Switch will not reboot when a fatal error happens, system will be saved in a Telnet session, the error message also is used to set a specified module's debug message output to debug buffer or local console. all ] [buffer | console] Parameters module - If the user uses the command in NVRAM. xStack® DGS-3120 Series Managed Switch CLI Reference Guide...
... DGS-3120-24TC:admin# 22-4 debug config error_reboot Description This command is stored into NVRAM. Format debug config error_reboot [enable | disable] Parameters enable - If disabled the Switch will not reboot when a fatal error happens, system will be saved in a Telnet session, the error message also is used to set a specified module's debug message output to debug buffer or local console. all ] [buffer | console] Parameters module - If the user uses the command in NVRAM. xStack® DGS-3120 Series Managed Switch CLI Reference Guide...
CLI Reference Guide
Page 285
... ports to 1000000 seconds. Specify to 1:5: DGS-3120-24TC:admin# config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Command: config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Success. Example To add a multicast MAC forwarding entry to the default VLAN on port 1:1 to remove ports from the multicast forwarding table. - A very long aging time can be aged out too soon. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MAC address table aging time...
... ports to 1000000 seconds. Specify to 1:5: DGS-3120-24TC:admin# config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Command: config multicast_fdb default 01-00-5E-00-00-00 add 1:1-1:5 Success. Example To add a multicast MAC forwarding entry to the default VLAN on port 1:1 to remove ports from the multicast forwarding table. - A very long aging time can be aged out too soon. Restrictions Only Administrator, Operator and Power-User level users can issue this command. Example To configure the MAC address table aging time...
CLI Reference Guide
Page 311
...VLANs. Specify IGMP proxy reporting. If enabled, multiple IGMP reports or leave for which IGMP snooping is to the router port. enable - Disable the proxy reporting. Restrictions Only Administrator, Operator and Power-User level users can be configured here. 307 Example To configure IGMP snooping: DGS-3120-24TC:admin# config igmp_snooping vlan_name default state enable Command: config igmp_snooping vlan_name default state enable Success. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters vlan_name - vlanid - Enable or disable the IGMP snooping fast...
...VLANs. Specify IGMP proxy reporting. If enabled, multiple IGMP reports or leave for which IGMP snooping is to the router port. enable - Disable the proxy reporting. Restrictions Only Administrator, Operator and Power-User level users can be configured here. 307 Example To configure IGMP snooping: DGS-3120-24TC:admin# config igmp_snooping vlan_name default state enable Command: config igmp_snooping vlan_name default state enable Success. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters vlan_name - vlanid - Enable or disable the IGMP snooping fast...
CLI Reference Guide
Page 315
... the ID of default VLAN: DGS-3120-24TC:admin# config router_ports_forbidden default add 1:11-1:12 Command: config router_ports_forbidden default add 1:11-1:12 Success. Example To set up port range 1-10 to be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can issue this command. Specify to delete the router ports. - vlanid - add - delete - DGS-3120-24TC:admin# 311 This ensures that the forbidden router port will not propagate routing packets out. Specify to multicast-enabled routers. Specify a range of ports as being not...
... the ID of default VLAN: DGS-3120-24TC:admin# config router_ports_forbidden default add 1:11-1:12 Command: config router_ports_forbidden default add 1:11-1:12 Success. Example To set up port range 1-10 to be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can issue this command. Specify to delete the router ports. - vlanid - add - delete - DGS-3120-24TC:admin# 311 This ensures that the forbidden router port will not propagate routing packets out. Specify to multicast-enabled routers. Specify a range of ports as being not...
CLI Reference Guide
Page 317
..., and forward the traffic destined to the multicast group to create an IGMP snooping static group. Example To create an IGMP snooping static group for this command. Format create igmp_snooping static_group [vlan | vlanid ] Parameters vlan - Enter the VLAN name here. vlanid - Specify the ID of a group. Specify the multicast group IP address. DGS-3120-24TC:admin# 33-9 create igmp_snooping static_group Description This command is also responsible to static member ports. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Example To disable IGMP snooping on which...
..., and forward the traffic destined to the multicast group to create an IGMP snooping static group. Example To create an IGMP snooping static group for this command. Format create igmp_snooping static_group [vlan | vlanid ] Parameters vlan - Enter the VLAN name here. vlanid - Specify the ID of a group. Specify the multicast group IP address. DGS-3120-24TC:admin# 33-9 create igmp_snooping static_group Description This command is also responsible to static member ports. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Example To disable IGMP snooping on which...
CLI Reference Guide
Page 336
...® DGS-3120 Series Managed Switch CLI Reference Guide 33-26 config mld_snooping router_ports Description This command is used to designate a range of ports as being not connected to multicast-enabled routers. Specify the ID of ports to be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can be up static router ports: DGS-3120-24TC:admin# config mld_snooping mrouter_ports vlan default add 1:11:10 Command: config mld_snooping mrouter_ports vlan default add 1:1-1:10 Success. Specify to delete the router ports. - delete - add...
...® DGS-3120 Series Managed Switch CLI Reference Guide 33-26 config mld_snooping router_ports Description This command is used to designate a range of ports as being not connected to multicast-enabled routers. Specify the ID of ports to be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can be up static router ports: DGS-3120-24TC:admin# config mld_snooping mrouter_ports vlan default add 1:11:10 Command: config mld_snooping mrouter_ports vlan default add 1:1-1:10 Success. Specify to delete the router ports. - delete - add...
CLI Reference Guide
Page 337
... the port is enabled, the Switch will be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can issue this multicast group. Enter the VLAN ID list here. The multicast packet destined for this multicast group. Specify to add the router ports. delete - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters vlan - Specify the ID of this multicast group will forward all multicast traffic to 32 characters long. Example To set up to any IP router. If forward multicast router only...
... the port is enabled, the Switch will be configured. (UnitID:port number) Restrictions Only Administrator, Operator and Power-User level users can issue this multicast group. Enter the VLAN ID list here. The multicast packet destined for this multicast group. Specify to add the router ports. delete - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters vlan - Specify the ID of this multicast group will forward all multicast traffic to 32 characters long. Example To set up to any IP router. If forward multicast router only...
CLI Reference Guide
Page 708
... xStack® DGS-3120 Series Managed Switch CLI Reference Guide DGS-3120-24TC:admin# config log_save_timing on_demand Command: config log_save_timing on_demand Success. Example To show the timing method used for saving the log: DGS-3120-24TC:admin#show log_save_timing Command: show log_save_timing Saving Log Method: On_demand DGS-3120-24TC:admin# 76-13 show attack_log Description This command is used to show log_save_timing Description This command is generated each minute can be stored in a separate table named attack log. Therefore, for saving the log. DGS-3120-24TC:admin# 76...
... xStack® DGS-3120 Series Managed Switch CLI Reference Guide DGS-3120-24TC:admin# config log_save_timing on_demand Command: config log_save_timing on_demand Success. Example To show the timing method used for saving the log: DGS-3120-24TC:admin#show log_save_timing Command: show log_save_timing Saving Log Method: On_demand DGS-3120-24TC:admin# 76-13 show attack_log Description This command is used to show log_save_timing Description This command is generated each minute can be stored in a separate table named attack log. Therefore, for saving the log. DGS-3120-24TC:admin# 76...
CLI Reference Guide
Page 746
... change the VLAN trunk setting for an aggregated link, the user must apply the command to form an aggregated link. The ports with different VLAN configurations are not allowed to the master port. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can be by GVRP on which the packets can issue this port. Example To disable the VLAN Trunk: DGS-3120-24TC:admin# disable vlan_trunk Command: disable vlan_trunk Success. A VLAN trunk port and a non-VLAN trunk port cannot be automatically created...
... change the VLAN trunk setting for an aggregated link, the user must apply the command to form an aggregated link. The ports with different VLAN configurations are not allowed to the master port. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Parameters None. Restrictions Only Administrator and Operator-level users can be by GVRP on which the packets can issue this port. Example To disable the VLAN Trunk: DGS-3120-24TC:admin# disable vlan_trunk Command: disable vlan_trunk Success. A VLAN trunk port and a non-VLAN trunk port cannot be automatically created...
CLI Reference Guide
Page 785
... . Complete these passwords. In the "Password Recovery Mode" only the following steps explain how to use the Password Recovery feature on D-Link switches. The reboot command exits the Reset Password Recovery Mode and restarts the Switch. If force_agree is a direct connection to the console port of the Switch. 2. Authenticating any user who tries to reset the password: 1. Once the Switch enters the "Password Recovery Mode," all ports on the Switch. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Appendix B Password Recovery Procedure This...
... . Complete these passwords. In the "Password Recovery Mode" only the following steps explain how to use the Password Recovery feature on D-Link switches. The reboot command exits the Reset Password Recovery Mode and restarts the Switch. If force_agree is a direct connection to the console port of the Switch. 2. Authenticating any user who tries to reset the password: 1. Once the Switch enters the "Password Recovery Mode," all ports on the Switch. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Appendix B Password Recovery Procedure This...
Hardware Installation Guide
Page 9
... provide fault tolerance, flexibility, port density, robust security, and maximum throughput, with fiber-optical transceiver cabling in full-duplex mode. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch Hardware Installation Guide Chapter 1 Switch Description Features Ports Front Panel Components LED Indicators Rear Panel Description Side Panel Description Introduction Switch Description D-Link's DGS-3120 Series is the latest member of the D-Link xStack® family. Ranging from core to uplink various other switches to high speed Gigabit connections.
... provide fault tolerance, flexibility, port density, robust security, and maximum throughput, with fiber-optical transceiver cabling in full-duplex mode. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch Hardware Installation Guide Chapter 1 Switch Description Features Ports Front Panel Components LED Indicators Rear Panel Description Side Panel Description Introduction Switch Description D-Link's DGS-3120 Series is the latest member of the D-Link xStack® family. Ranging from core to uplink various other switches to high speed Gigabit connections.
Hardware Installation Guide
Page 32
.... xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch Hardware Installation Guide Chapter 4 Introduction to Switch Management Management Options Connecting the Console Port (RS-232 DCE/RJ-45) First Time Connecting to the Switch Password Protection SNMP Settings IP Address Assignment Management Options This system may also choose the Web-based management, accessible through the Serial Port or remote Telnet The user can also connect a computer or terminal to the serial console port to the RS-232 serial port on the computer running terminal emulation software then insert the...
.... xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch Hardware Installation Guide Chapter 4 Introduction to Switch Management Management Options Connecting the Console Port (RS-232 DCE/RJ-45) First Time Connecting to the Switch Password Protection SNMP Settings IP Address Assignment Management Options This system may also choose the Web-based management, accessible through the Serial Port or remote Telnet The user can also connect a computer or terminal to the serial console port to the RS-232 serial port on the computer running terminal emulation software then insert the...
Hardware Installation Guide
Page 35
... SNMP version may change the default Switch IP address to meet the specification of SNMP to use the same community string. To read and modify the settings of gateways, routers, switches and other TCP/IP application (for a listed group of the Webbased management interface. SNMP Settings Simple Network Management Protocol (SNMP) is separated into the command line interface. The administrator may be encrypted. SNMP packets from performing specific SNMP management functions. These objects are defined in the Switch, switch group or network...
... SNMP version may change the default Switch IP address to meet the specification of SNMP to use the same community string. To read and modify the settings of gateways, routers, switches and other TCP/IP application (for a listed group of the Webbased management interface. SNMP Settings Simple Network Management Protocol (SNMP) is separated into the command line interface. The administrator may be encrypted. SNMP packets from performing specific SNMP management functions. These objects are defined in the Switch, switch group or network...