CLI Guide
Page 2
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter ...Screening Command List 261 DHCPv6 Relay Command List (EI Mode Only 265 Digital Diagnostic Monitoring (DDM) Command List (EI Mode Only 270 D-Link License management System (DLMS) Command List 277 D-Link Unidirectional Link Detection (DULD) Command List (EI Mode Only 279 Ethernet Ring Protection Switching (ERPS) Command List (EI Mode Only 281 Filter Command List ...291 ...
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter ...Screening Command List 261 DHCPv6 Relay Command List (EI Mode Only 265 Digital Diagnostic Monitoring (DDM) Command List (EI Mode Only 270 D-Link License management System (DLMS) Command List 277 D-Link Unidirectional Link Detection (DULD) Command List (EI Mode Only 279 Ethernet Ring Protection Switching (ERPS) Command List (EI Mode Only 281 Filter Command List ...291 ...
CLI Guide
Page 3
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter ...List (EI Mode Only 381 IPv6 Route Command List (EI Mode Only 385 Japanese Web-Based Access Control (JWAC) Command List 388 Jumbo Frame Command List 412 Layer 2 Protocol Tunneling (L2PT) Command List 414 Link Aggregation Command List 418 Link Layer...) Command List 517 Network Load Balancing (NLB) Command List 530 Network Monitoring Command List 536 OAM Commands (EI Mode Only 543 Password Recovery Command List 551 Peripherals Command List 554 Ping Command List ...560 Port Security Command...
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter ...List (EI Mode Only 381 IPv6 Route Command List (EI Mode Only 385 Japanese Web-Based Access Control (JWAC) Command List 388 Jumbo Frame Command List 412 Layer 2 Protocol Tunneling (L2PT) Command List 414 Link Aggregation Command List 418 Link Layer...) Command List 517 Network Load Balancing (NLB) Command List 530 Network Monitoring Command List 536 OAM Commands (EI Mode Only 543 Password Recovery Command List 551 Peripherals Command List 554 Ping Command List ...560 Port Security Command...
CLI Guide
Page 4
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Chapter 72 Chapter 73 Chapter 74 Chapter 75 Chapter 76 Chapter 77 Chapter 78 ... 92 Chapter 93 Chapter 94 Appendix A Appendix B Appendix C Appendix D Appendix E Secure Sockets Layer (SSL) Command List 641 Surveillance VLAN Command List 648 sFlow Command List (EI Mode Only 654 Show Technical Support Command List 666 Simple Mail Transfer Protocol (SMTP) Command List 669 Simple Network Management Protocol (SNMP) Command List 674...
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 71 Chapter 72 Chapter 73 Chapter 74 Chapter 75 Chapter 76 Chapter 77 Chapter 78 ... 92 Chapter 93 Chapter 94 Appendix A Appendix B Appendix C Appendix D Appendix E Secure Sockets Layer (SSL) Command List 641 Surveillance VLAN Command List 648 sFlow Command List (EI Mode Only 654 Show Technical Support Command List 666 Simple Mail Transfer Protocol (SMTP) Command List 669 Simple Network Management Protocol (SNMP) Command List 674...
CLI Guide
Page 58
...This value must be between the Switch and the RADIUS server. The default value is 2. - The default value is 5 seconds. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config radius add [ | ] [key | encryption_key ] [default | {auth_port | ...acct_port | timeout | retransmit}] Parameters - Enter the IP address of the RADIUS server here. (EI Mode Only) key - Enter the password here. Sets the authentication UDP port number to 1812 accounting UDP port number to 1813, timeout to ...
...This value must be between the Switch and the RADIUS server. The default value is 2. - The default value is 5 seconds. - xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config radius add [ | ] [key | encryption_key ] [default | {auth_port | ...acct_port | timeout | retransmit}] Parameters - Enter the IP address of the RADIUS server here. (EI Mode Only) key - Enter the password here. Sets the authentication UDP port number to 1812 accounting UDP port number to 1813, timeout to ...
CLI Guide
Page 59
...encrypted key string. The maximum length of the key is used to encrypt user's authentication data before being transmitted over the Internet. DGS-3120-24TC:admin# 4-23 config radius Description This command is 32. - This value must be up to encrypt user's authentication data before...- The range is used to configure a RADIUS server. encryption_key - ipaddress - (Optional) The IP address of the key is used here. (EI Mode Only) key - (Optional) The key pre-negotiated between the Switch and the RADIUS server. auth_port - (Optional) Specify the UDP port number...
...encrypted key string. The maximum length of the key is used to encrypt user's authentication data before being transmitted over the Internet. DGS-3120-24TC:admin# 4-23 config radius Description This command is 32. - This value must be up to encrypt user's authentication data before...- The range is used to configure a RADIUS server. encryption_key - ipaddress - (Optional) The IP address of the key is used here. (EI Mode Only) key - (Optional) The key pre-negotiated between the Switch and the RADIUS server. auth_port - (Optional) Specify the UDP port number...
CLI Guide
Page 93
.... -Enter the VLAN mask value here. psh - Enter the offset chunk 1 value here. destination_ipv6_mask - (Optional) Specify an IPv6 destination sub-mask. (EI Mode Only) -Enter the destination IPv6 mask value here. Specify that the mask option behind the IP header length is the IPv6 mask... 0 and 31. - offset_chunk_3 - (Optional) Specify that the TCP flag field will be created. Enter the destination IP address mask here. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide ip - type - Specify this is 20 bytes. - src_port_mask -
.... -Enter the VLAN mask value here. psh - Enter the offset chunk 1 value here. destination_ipv6_mask - (Optional) Specify an IPv6 destination sub-mask. (EI Mode Only) -Enter the destination IPv6 mask value here. Specify that the mask option behind the IP header length is the IPv6 mask... 0 and 31. - offset_chunk_3 - (Optional) Specify that the TCP flag field will be created. Enter the destination IP address mask here. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide ip - type - Specify this is 20 bytes. - src_port_mask -
CLI Guide
Page 94
... 0xFF000000 Command: create access_profile profile_id 4 profile_name 4 packet_content_mask offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00 offset_chunk_3 14 0xFFFF0000 offset_chunk_4 16 0xFF000000 Success. code - DGS-3120-24TC:admin# 6-2 delete access_profile Description This command is used to UDP traffic. (EI Mode Only) src_port_mask - Enter the UDP source port mask value here. Specify an IPv6 Layer 4 TCP destination port mask...
... 0xFF000000 Command: create access_profile profile_id 4 profile_name 4 packet_content_mask offset_chunk_1 3 0xFFFF offset_chunk_2 5 0xFF00 offset_chunk_3 14 0xFFFF0000 offset_chunk_4 16 0xFF000000 Success. code - DGS-3120-24TC:admin# 6-2 delete access_profile Description This command is used to UDP traffic. (EI Mode Only) src_port_mask - Enter the UDP source port mask value here. Specify an IPv6 Layer 4 TCP destination port mask...
CLI Guide
Page 98
...port value here. Specify the value of the IPv6 flow label. (EI Mode Only) - This value must be between 0 and 255. This value must be between 0 and 255. 94 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide packet_content - offset_chunk_2... - (Optional) Specify the value of the packet bytes to configure the TCP parameters. (EI Mode Only) src_port - Offset chunk 2 will be used ....
...port value here. Specify the value of the IPv6 flow label. (EI Mode Only) - This value must be between 0 and 255. This value must be between 0 and 255. 94 xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide packet_content - offset_chunk_2... - (Optional) Specify the value of the packet bytes to configure the TCP parameters. (EI Mode Only) src_port - Offset chunk 2 will be used ....
CLI Guide
Page 111
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 7 Access Control List (ACL) Egress Command List (EI Mode Only) create egress_access_profile profile_id profile_name [ethernet {vlan {} | source_mac | destination_mac | 802.1p | ethernet_type} | ip {vlan {} | source_ip_mask | destination_ip_mask | dscp | [icmp {type | code} | igmp {type} | tcp {src_port_mask | ...
xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 7 Access Control List (ACL) Egress Command List (EI Mode Only) create egress_access_profile profile_id profile_name [ethernet {vlan {} | source_mac | destination_mac | 802.1p | ethernet_type} | ip {vlan {} | source_ip_mask | destination_ip_mask | dscp | [icmp {type | code} | igmp {type} | tcp {src_port_mask | ...
CLI Guide
Page 141
...This name can be up to 15 characters long. 137 The username is between 0 and 15 characters. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator...system]} {force_agree} config firmware image {unit } boot_up create ipif {} {secondary | state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (EI Mode Only) config ipif [{ipaddress | vlan | state [enable | disable]} | proxy_arp [enable | disable] {local [enable | disable]} | bootp | dhcp | ipv6 ...
...This name can be up to 15 characters long. 137 The username is between 0 and 15 characters. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator...system]} {force_agree} config firmware image {unit } boot_up create ipif {} {secondary | state [enable | disable] | proxy_arp [enable | disable] {local [enable | disable]}} (EI Mode Only) config ipif [{ipaddress | vlan | state [enable | disable]} | proxy_arp [enable | disable] {local [enable | disable]} | bootp | dhcp | ipv6 ...
CLI Guide
Page 145
... Guide 12-5 show switch Description This command is an example for display of the Switch information. Format show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90... Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build 2.50.015 Hardware Version : A2 Firmware Type : EI Serial Number : PVT51B3000001 System Name : System Location : System Uptime : 0 days, 0 hours, 23 minutes, 23 seconds System Contact : Spanning Tree : Disabled ...
... Guide 12-5 show switch Description This command is an example for display of the Switch information. Format show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-00-00-01-02-03 IP Address : 10.90.90... Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 2.00.003 Firmware Version : Build 2.50.015 Hardware Version : A2 Firmware Type : EI Serial Number : PVT51B3000001 System Name : System Location : System Uptime : 0 days, 0 hours, 23 minutes, 23 seconds System Contact : Spanning Tree : Disabled ...
CLI Guide
Page 150
...DGS3120_Run_2_00_010.had boot_up Command: config firmware image unit 2 c:/DGS3120_Run_2_00_010.had as the boot up to the master unit. - DGS-3120-24TC:admin# 12-13 create ipif (EI Mode Only) Description This command is used here. Format create ipif {} {secondary | state [enable | disable] | ...Specify the state of network mask. - Default: Disabled. 146 Restrictions Only Administrator level can be enabled. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config firmware image {unit } boot_up Parameters unit - (...
...DGS3120_Run_2_00_010.had boot_up Command: config firmware image unit 2 c:/DGS3120_Run_2_00_010.had as the boot up to the master unit. - DGS-3120-24TC:admin# 12-13 create ipif (EI Mode Only) Description This command is used here. Format create ipif {} {secondary | state [enable | disable] | ...Specify the state of network mask. - Default: Disabled. 146 Restrictions Only Administrator level can be enabled. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Format config firmware image {unit } boot_up Parameters unit - (...
CLI Guide
Page 152
... enabled. Restrictions Only Administrator, Operator and Power-User level users can be disabled. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide disable - Default: Disabled. (EI Mode Only) enable - bootp - Use DHCP to obtain the IPv4 address. The address should... insertion of system is 63. dhcp - Specify the IPv6 network address. Specify that the proxy ARP option will be set to reply. (EI Mode Only) enable - Enter a name starting with a letter, end with a letter or digit, and have only letters, digits, and...
... enabled. Restrictions Only Administrator, Operator and Power-User level users can be disabled. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide disable - Default: Disabled. (EI Mode Only) enable - bootp - Use DHCP to obtain the IPv4 address. The address should... insertion of system is 63. dhcp - Specify the IPv6 network address. Specify that the proxy ARP option will be set to reply. (EI Mode Only) enable - Enter a name starting with a letter, end with a letter or digit, and have only letters, digits, and...
CLI Guide
Page 153
...length of the IP interface. - all ] Parameters ipif - DGS-3120-24TC:admin# 12-15 delete ipif (EI Mode Only) Description This command is used . This name can issue this command. Example To delete an IP interface: DGS-3120-24TC:admin#delete ipif newone Command: delete ipif newone Success. ...level users can be multiple V6 addresses defined on an interface. - There can be up to delete an IP interface. DGS-3120-24TC:admin# 12-16 enable ipif (EI Mode Only) Description This commands is used here. Specify that all ] 149 Specify the name of network prefix. ipv6address...
...length of the IP interface. - all ] Parameters ipif - DGS-3120-24TC:admin# 12-15 delete ipif (EI Mode Only) Description This command is used . This name can issue this command. Example To delete an IP interface: DGS-3120-24TC:admin#delete ipif newone Command: delete ipif newone Success. ...level users can be multiple V6 addresses defined on an interface. - There can be up to delete an IP interface. DGS-3120-24TC:admin# 12-16 enable ipif (EI Mode Only) Description This commands is used here. Specify that all ] 149 Specify the name of network prefix. ipv6address...
CLI Guide
Page 154
... command. This name can issue this command. Example To enable an IP interface: DGS-3120-24TC:admin#enable ipif newone Command: enable ipif newone Success. Example To disable an IP interface: DGS-3120-24TC:admin#disable ipif newone Command: disable ipif newone Success. Specify the name of... the IP interface. - all - Enter the IP interface name used to 12 characters long. all - DGS-3120-24TC:admin# 12-17 disable ipif (EI Mode Only) Description This command is used here. Specify that all ] Parameters ipif_name - Enter the IP interface name used ...
... command. This name can issue this command. Example To enable an IP interface: DGS-3120-24TC:admin#enable ipif newone Command: enable ipif newone Success. Example To disable an IP interface: DGS-3120-24TC:admin#disable ipif newone Command: disable ipif newone Success. Specify the name of... the IP interface. - all - Enter the IP interface name used to 12 characters long. all - DGS-3120-24TC:admin# 12-17 disable ipif (EI Mode Only) Description This command is used here. Specify that all ] Parameters ipif_name - Enter the IP interface name used ...
CLI Guide
Page 155
... : Enabled : Disabled : LinkUp : 10.90.90.90/8 (Manual) Primary : Disabled (Local : Disabled) : Enabled : Enabled : Disabled : Total Entries: 1 DGS-3120-24TC:admin# 12-19 enable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is explicitly configured, the link local address will be automatically configured, and the IPv6 processing will be up to display an IP interface.
... : Enabled : Disabled : LinkUp : 10.90.90.90/8 (Manual) Primary : Disabled (Local : Disabled) : Enabled : Enabled : Disabled : Total Entries: 1 DGS-3120-24TC:admin# 12-19 enable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is explicitly configured, the link local address will be automatically configured, and the IPv6 processing will be up to display an IP interface.
CLI Guide
Page 156
... and Power-User level users can be used. DGS-3120-24TC:admin# 12-20 disable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is used . By enable this automatic configuration, the link local address will be automatically configured and IPv6 processing...no IPv6 address are configured. Example To enable the IP interface for IPv6 link local automatic: 152 Example To disable the IP interface for IPv6 link local automatic: DGS-3120-24TC:admin#enable ipif_ipv6_link_local_auto newone Command: enable ipif_ipv6_link_local_auto newone Success. Format enable ...
... and Power-User level users can be used. DGS-3120-24TC:admin# 12-20 disable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is used . By enable this automatic configuration, the link local address will be automatically configured and IPv6 processing...no IPv6 address are configured. Example To enable the IP interface for IPv6 link local automatic: 152 Example To disable the IP interface for IPv6 link local automatic: DGS-3120-24TC:admin#enable ipif_ipv6_link_local_auto newone Command: enable ipif_ipv6_link_local_auto newone Success. Format enable ...
CLI Guide
Page 157
... Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success. DGS-3120-24TC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto (EI Mode Only) Description This commands is used here. Restrictions Only Administrator, Operator and Power-User level users can be up to display the link local address automatic configuration state...
... Gigabit Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success. DGS-3120-24TC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto (EI Mode Only) Description This commands is used here. Restrictions Only Administrator, Operator and Power-User level users can be up to display the link local address automatic configuration state...
CLI Guide
Page 169
...32 characters long. This ID must be existed. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 16 Compound Authentication Command List create authentication guest_vlan ...config authentication mac_format {case [lowercase | uppercase] | delimiter {[hyphen | colon | dot | none] | number [1 | 2 | 5]}(1)}(1) show authentication guest_vlan (EI Mode Only) show authentication ports {} enable authorization attributes disable authorization attributes show authorization config authentication server failover [local | permit | block] show authentication show authentication ...
...32 characters long. This ID must be existed. xStack® DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide Chapter 16 Compound Authentication Command List create authentication guest_vlan ...config authentication mac_format {case [lowercase | uppercase] | delimiter {[hyphen | colon | dot | none] | number [1 | 2 | 5]}(1)}(1) show authentication guest_vlan (EI Mode Only) show authentication ports {} enable authorization attributes disable authorization attributes show authorization config authentication server failover [local | permit | block] show authentication show authentication ...
CLI Guide
Page 170
...:admin# delete authentication guest_vlan vlan guestVLAN Command: delete authentication guest_vlan vlan guestVLAN Success. Format delete authentication guest_vlan [vlan | vlanid ] Parameters vlan - DGS-3120-24TC:admin# 16-2 delete authentication guest_vlan (EI Mode Only) Description This command is used to original VLAN after deleting guest VLAN. Format config authentication guest_vlan [vlan | vlanid ] [add | delete] ports...
...:admin# delete authentication guest_vlan vlan guestVLAN Command: delete authentication guest_vlan vlan guestVLAN Success. Format delete authentication guest_vlan [vlan | vlanid ] Parameters vlan - DGS-3120-24TC:admin# 16-2 delete authentication guest_vlan (EI Mode Only) Description This command is used to original VLAN after deleting guest VLAN. Format config authentication guest_vlan [vlan | vlanid ] [add | delete] ports...