CLI Reference Guide
Page 2
xStack® DGS-3120 Series Managed Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4...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...Screening Command List 254 DHCPv6 Relay Command List (EI Mode Only 258 D-Link Unidirectional Link Detection (DULD) Command List (EI Mode Only 263 Ethernet Ring Protection Switching (ERPS) Command List (EI Mode Only 265 Filter Command List ...275 Filter...
xStack® DGS-3120 Series Managed Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4...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...Screening Command List 254 DHCPv6 Relay Command List (EI Mode Only 258 D-Link Unidirectional Link Detection (DULD) Command List (EI Mode Only 263 Ethernet Ring Protection Switching (ERPS) Command List (EI Mode Only 265 Filter Command List ...275 Filter...
CLI Reference Guide
Page 3
xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter...365 IPv6 Route Command List (EI Mode Only 369 Japanese Web-Based Access Control (JWAC) Command List 372 Jumbo Frame Command List 396 Layer 2 Protocol Tunneling (L2PT) Command List 398 Link Aggregation Command List 402 Link Layer Discovery Protocol (LLDP)...MSTP) Command List 500 Network Load Balancing (NLB) Command List 513 Network Monitoring Command List 519 OAM Commands (EI Mode Only 526 Peripherals Command List 534 Ping Command List ...540 Port Security Command List 542 Power over Ethernet ...
xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter...365 IPv6 Route Command List (EI Mode Only 369 Japanese Web-Based Access Control (JWAC) Command List 372 Jumbo Frame Command List 396 Layer 2 Protocol Tunneling (L2PT) Command List 398 Link Aggregation Command List 402 Link Layer Discovery Protocol (LLDP)...MSTP) Command List 500 Network Load Balancing (NLB) Command List 513 Network Monitoring Command List 519 OAM Commands (EI Mode Only 526 Peripherals Command List 534 Ping Command List ...540 Port Security Command List 542 Power over Ethernet ...
CLI Reference Guide
Page 58
... RADIUS server here. - Enter the timeout value here. retransmit - (Optional) The count for waiting server reply. DGS-3120-24TC:admin# 4-22 config radius delete Description This command is 1 to 2. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Format config radius add [ | ] key [default | {auth_port | acct_port |...RADIUS server. Enter the IPv6 address of the RADIUS server here. (EI Mode Only) key - Format config radius delete 54 Enter the RADIUS server index. Example To add a new RADIUS server: DGS-3120-24TC:admin# config radius add 1 10.48.74.121 key dlink...
... RADIUS server here. - Enter the timeout value here. retransmit - (Optional) The count for waiting server reply. DGS-3120-24TC:admin# 4-22 config radius delete Description This command is 1 to 2. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Format config radius add [ | ] key [default | {auth_port | acct_port |...RADIUS server. Enter the IPv6 address of the RADIUS server here. (EI Mode Only) key - Format config radius delete 54 Enter the RADIUS server index. Example To add a new RADIUS server: DGS-3120-24TC:admin# config radius add 1 10.48.74.121 key dlink...
CLI Reference Guide
Page 59
...number which is used to 65535. default - timeout - (Optional) The time in second for waiting server reply. Example To delete a radius server: DGS-3120-24TC:admin# config radius delete 1 Command: config radius delete 1 Success. Enter the RADIUS server index here. It is 1 to transmit RADIUS authentication ... 5 seconds. - Specify that the default port number will be between 1 and 3. Enter the key here. This value must be used here. (EI Mode Only) key - (Optional) The key pre-negotiated between 1 and 255 seconds. 55 This value must be up to delete a RADIUS server....
...number which is used to 65535. default - timeout - (Optional) The time in second for waiting server reply. Example To delete a radius server: DGS-3120-24TC:admin# config radius delete 1 Command: config radius delete 1 Success. Enter the RADIUS server index here. It is 1 to transmit RADIUS authentication ... 5 seconds. - Specify that the default port number will be between 1 and 3. Enter the key here. This value must be used here. (EI Mode Only) key - (Optional) The key pre-negotiated between 1 and 255 seconds. 55 This value must be up to delete a RADIUS server....
CLI Reference Guide
Page 91
xStack® DGS-3120 Series Managed Switch CLI Reference Guide vlan - (Optional) Specify a VLAN mask. type - src_port_mask - ack - Specify that the offset chunk 1 will be created. src_port_mask - Enter a user-... mask here. offset_chunk_1 - (Optional) Specify that the TCP flag field will be set to 'rst'. tcp - (Optional) Specify that the rule applies to TCP traffic. (EI Mode Only) src_port_mask - Specify the code of ICMP traffic. tcp - (Optional) Specify that the rule applies to TCP traffic. all the flags will be set...
xStack® DGS-3120 Series Managed Switch CLI Reference Guide vlan - (Optional) Specify a VLAN mask. type - src_port_mask - ack - Specify that the offset chunk 1 will be created. src_port_mask - Enter a user-... mask here. offset_chunk_1 - (Optional) Specify that the TCP flag field will be set to 'rst'. tcp - (Optional) Specify that the rule applies to TCP traffic. (EI Mode Only) src_port_mask - Specify the code of ICMP traffic. tcp - (Optional) Specify that the rule applies to TCP traffic. all the flags will be set...
CLI Reference Guide
Page 92
... 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. DGS-3120-24TC:admin# 6-2 delete access_profile Description This command is used to UDP traffic. (EI Mode Only) src_port_mask - udp - (Optional) Specify that were created using the ACL ...module. icmp - (Optional) Specify a mask for ICMP filtering. (EI Mode Only) type - Specify the inclusion of the ICMP type field in the mask. DGS-3120-24TC:admin# create access_profile profile_id 2 profile_name 2 ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10...
... 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. DGS-3120-24TC:admin# 6-2 delete access_profile Description This command is used to UDP traffic. (EI Mode Only) src_port_mask - udp - (Optional) Specify that were created using the ACL ...module. icmp - (Optional) Specify a mask for ICMP filtering. (EI Mode Only) type - Specify the inclusion of the ICMP type field in the mask. DGS-3120-24TC:admin# create access_profile profile_id 2 profile_name 2 ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10...
CLI Reference Guide
Page 96
...source port. - dst_port - mask - code - Specify that can be configured. - all the ports will be used. - Specify that can be configured. (EI Mode Only) - Enter the offset chunk 2 mask here. Offset chunk 4 will be VLAN based. destination_ipv6 - (Optional) Specify the value of the IPv6 ...here. Specify that the rule applies to IPv6 fields. (EI Mode Only) class - (Optional) Specify the value of the packet bytes to be matched. mask - Enter the UDP source port value here. xStack® DGS-3120 Series Managed Switch CLI Reference Guide chunk 1 will be ...
...source port. - dst_port - mask - code - Specify that can be configured. - all the ports will be used. - Specify that can be configured. (EI Mode Only) - Enter the offset chunk 2 mask here. Offset chunk 4 will be VLAN based. destination_ipv6 - (Optional) Specify the value of the IPv6 ...here. Specify that the rule applies to IPv6 fields. (EI Mode Only) class - (Optional) Specify the value of the packet bytes to be matched. mask - Enter the UDP source port value here. xStack® DGS-3120 Series Managed Switch CLI Reference Guide chunk 1 will be ...
CLI Reference Guide
Page 109
xStack® DGS-3120 Series Managed 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 Managed 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 Reference Guide
Page 139
...1 and 15 characters, the password is case sensitive. Specify the name for a operator user account. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator | power_user | user...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 [ipv6address...
...1 and 15 characters, the password is case sensitive. Specify the name for a operator user account. xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 12 Basic Commands Command List create account [admin | operator | power_user | user...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 [ipv6address...
CLI Reference Guide
Page 143
...show switch Description This command is an example for display of the Switch information. Restrictions None. Format show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-01-02-03-04-00 IP Address : 10.90.90.... Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.00.010 Firmware Version : Build 1.02.013 Hardware Version : A1 Firmware Type : EI Serial Number : abcd1234 System Name : System Location : System Uptime : 0 days, 0 hours, 22 minutes, 53 seconds System Contact : Spanning Tree : Disabled ...
...show switch Description This command is an example for display of the Switch information. Restrictions None. Format show switch Device Type : DGS-3120-24TC Gigabit Ethernet Switch Unit ID : 1 MAC Address : 00-01-02-03-04-00 IP Address : 10.90.90.... Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.00.010 Firmware Version : Build 1.02.013 Hardware Version : A1 Firmware Type : EI Serial Number : abcd1234 System Name : System Location : System Uptime : 0 days, 0 hours, 22 minutes, 53 seconds System Contact : Spanning Tree : Disabled ...
CLI Reference Guide
Page 148
Restrictions Only Administrator level can be up to be enabled. DGS-3120-24TC:admin# 12-13 create ipif (EI Mode Only) Description This command is used here. Specify the name of proxy ARP function. secondary - (Optional) Specify the IPv4 secondary ...Optional) Specify which unit on the device file system. This name can be disabled. This name can issue this command. If it is for unit 2: DGS-3120-24TC:admin# config firmware image unit 2 c:/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 image for IPv4 ...
Restrictions Only Administrator level can be up to be enabled. DGS-3120-24TC:admin# 12-13 create ipif (EI Mode Only) Description This command is used here. Specify the name of proxy ARP function. secondary - (Optional) Specify the IPv4 secondary ...Optional) Specify which unit on the device file system. This name can be disabled. This name can issue this command. If it is for unit 2: DGS-3120-24TC:admin# config firmware image unit 2 c:/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 image for IPv4 ...
CLI Reference Guide
Page 150
...set to encode option 12. Thus, as a new address is defined, it is more than 63, the superfluous chars will be done. (EI Mode Only) ipv6address - enable - the maximal length is disable by default. state - enable - For ARP packets destined for IP address located ...to be disabled. Specify that the local option will be disabled. Specify the DHCP option 12. xStack® DGS-3120 Series Managed Switch CLI Reference Guide disable - Default: Disabled. (EI Mode Only) enable - state - disable - The length of network prefix. If system name is enabled for...
...set to encode option 12. Thus, as a new address is defined, it is more than 63, the superfluous chars will be done. (EI Mode Only) ipv6address - enable - the maximal length is disable by default. state - enable - For ARP packets destined for IP address located ...to be disabled. Specify that the local option will be disabled. Specify the DHCP option 12. xStack® DGS-3120 Series Managed Switch CLI Reference Guide disable - Default: Disabled. (EI Mode Only) enable - state - disable - The length of network prefix. If system name is enabled for...
CLI Reference Guide
Page 151
....69.123/24 vlan default Success. Enter the IPv6 address used here. Specify that all ] Parameters ipif - Example To delete an IP interface: DGS-3120-24TC:admin#delete ipif newone Command: delete ipif newone Success. Format delete ipif [ {ipv6address } | all the IP interfaces will be used. Format...[ | all - There can be up to 12 characters long. DGS-3120-24TC:admin# 12-16 enable ipif (EI Mode Only) Description This commands is used to delete an IP interface. DGS-3120-24TC:admin# 12-15 delete ipif (EI Mode Only) Description This command is used to enable the IP interface...
....69.123/24 vlan default Success. Enter the IPv6 address used here. Specify that all ] Parameters ipif - Example To delete an IP interface: DGS-3120-24TC:admin#delete ipif newone Command: delete ipif newone Success. Format delete ipif [ {ipv6address } | all the IP interfaces will be used. Format...[ | all - There can be up to 12 characters long. DGS-3120-24TC:admin# 12-16 enable ipif (EI Mode Only) Description This commands is used to delete an IP interface. DGS-3120-24TC:admin# 12-15 delete ipif (EI Mode Only) Description This command is used to enable the IP interface...
CLI Reference Guide
Page 152
...users can issue this command. all the IP interfaces will be enabled. Specify the name of the IP interface. - DGS-3120-24TC:admin# 12-17 disable ipif (EI Mode Only) Description This command is used here. Format disable ipif [ | all] Parameters ipif_name - Example To disable ...an IP interface: DGS-3120-24TC:admin#disable ipif newone Command: disable ipif newone Success. xStack® DGS-3120 Series Managed Switch CLI Reference ...
...users can issue this command. all the IP interfaces will be enabled. Specify the name of the IP interface. - DGS-3120-24TC:admin# 12-17 disable ipif (EI Mode Only) Description This command is used here. Format disable ipif [ | all] Parameters ipif_name - Example To disable ...an IP interface: DGS-3120-24TC:admin#disable ipif newone Command: disable ipif newone Success. xStack® DGS-3120 Series Managed Switch CLI Reference ...
CLI Reference Guide
Page 153
... : 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 enable the auto configuration...
... : 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 enable the auto configuration...
CLI Reference Guide
Page 154
... Switch CLI Reference Guide processing will be started. By enable this automatic configuration, the link local address will be automatically configured and IPv6 processing will be disabled. Example To enable the IP interface for IPv6 link local automatic: 150 DGS-3120-24TC:admin# 12-20 disable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is used .
... Switch CLI Reference Guide processing will be started. By enable this automatic configuration, the link local address will be automatically configured and IPv6 processing will be disabled. Example To enable the IP interface for IPv6 link local automatic: 150 DGS-3120-24TC:admin# 12-20 disable ipif_ipv6_link_local_auto (EI Mode Only) Description This command is used .
CLI Reference Guide
Page 155
... show ipif_ipv6_link_local_auto (EI Mode Only) Description This commands is used here. xStack® DGS-3120 Series Managed Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success. This name can issue this command. DGS-3120-24TC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Disabled DGS-3120-24TC:admin# 151...
... show ipif_ipv6_link_local_auto (EI Mode Only) Description This commands is used here. xStack® DGS-3120 Series Managed Switch CLI Reference Guide DGS-3120-24TC:admin#disable ipif_ipv6_link_local_auto newone Command: disable ipif_ipv6_link_local_auto newone Success. This name can issue this command. DGS-3120-24TC:admin#show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Disabled DGS-3120-24TC:admin# 151...
CLI Reference Guide
Page 166
...be existed. vlanid - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 16 Compound Authentication Command List create authentication guest_vlan [vlan | vlanid ] (EI Mode Only) delete authentication guest_vlan [vlan | vlanid ] (EI Mode Only) config authentication guest_vlan [vlan... | vlanid ] [add | delete] ports [ | all] (EI Mode Only) config authentication ports [ | all] {auth_mode...
...be existed. vlanid - xStack® DGS-3120 Series Managed Switch CLI Reference Guide Chapter 16 Compound Authentication Command List create authentication guest_vlan [vlan | vlanid ] (EI Mode Only) delete authentication guest_vlan [vlan | vlanid ] (EI Mode Only) config authentication guest_vlan [vlan... | vlanid ] [add | delete] ports [ | all] (EI Mode Only) config authentication ports [ | all] {auth_mode...
CLI Reference Guide
Page 167
...: create authentication guest_vlan vlan guestVLAN Success. Specify the guest VLAN by VLAN ID. - Enter the VLAN ID here. DGS-3120-24TC:admin# 16-3 config authentication guest_vlan (EI Mode Only) Description This command is used to delete guest VLAN setting, but won't delete the static VLAN. All... ports which enable guest VLAN will move to 32 characters long. DGS-3120-24TC:admin# 16-2 delete authentication guest_vlan (EI Mode Only) Description This command is used to configure security port(s) as specified guest VLAN member. Enter the VLAN...
...: create authentication guest_vlan vlan guestVLAN Success. Specify the guest VLAN by VLAN ID. - Enter the VLAN ID here. DGS-3120-24TC:admin# 16-3 config authentication guest_vlan (EI Mode Only) Description This command is used to delete guest VLAN setting, but won't delete the static VLAN. All... ports which enable guest VLAN will move to 32 characters long. DGS-3120-24TC:admin# 16-2 delete authentication guest_vlan (EI Mode Only) Description This command is used to configure security port(s) as specified guest VLAN member. Enter the VLAN...
CLI Reference Guide
Page 169
...first, and then IMPB will be verified. Example The following example sets the compound authentication method of all ports to any: DGS-3120-24TC:admin# config authentication ports all multi_authen_methods any Command: config authentication ports all VLANs is disabled, means do not care ...which VLAN the client comes from other VLANs. DGS-3120-24TC:admin# 16-5 show authentication guest_vlan (EI Mode Only) Description This command is used to be passed. Restrictions None. 165 xStack® DGS-3120 Series Managed Switch CLI Reference Guide specified, or all multi_authen_methods any...
...first, and then IMPB will be verified. Example The following example sets the compound authentication method of all ports to any: DGS-3120-24TC:admin# config authentication ports all multi_authen_methods any Command: config authentication ports all VLANs is disabled, means do not care ...which VLAN the client comes from other VLANs. DGS-3120-24TC:admin# 16-5 show authentication guest_vlan (EI Mode Only) Description This command is used to be passed. Restrictions None. 165 xStack® DGS-3120 Series Managed Switch CLI Reference Guide specified, or all multi_authen_methods any...