DWS-3160 Series CLI Reference Guide
Page 2
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 ... Debug Software Command List 253 DHCP Local Relay Command List 268 DHCP Relay Command List 272 DHCP Server Screening Command List 288 D-Link License Management System (DLMS) Command List 291 Ethernet Ring Protection Switching (ERPS) Command List 293 Filter Command List ...303 Filter... Command List 327 IGMP Snooping Command List 333 IGMP Snooping Multicast (ISM) VLAN Command List 354 IP-MAC-Port Binding (IMPB) Command List 365 I
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Table of Contents Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 ... Debug Software Command List 253 DHCP Local Relay Command List 268 DHCP Relay Command List 272 DHCP Server Screening Command List 288 D-Link License Management System (DLMS) Command List 291 Ethernet Ring Protection Switching (ERPS) Command List 293 Filter Command List ...303 Filter... Command List 327 IGMP Snooping Command List 333 IGMP Snooping Multicast (ISM) VLAN Command List 354 IP-MAC-Port Binding (IMPB) Command List 365 I
DWS-3160 Series CLI Reference Guide
Page 3
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter 37 Chapter 38 Chapter 39 Chapter 40 Chapter 41 Chapter 42 Chapter ... 380 IPv6 Route Command List 384 Jumbo Frame Command List 387 Link Aggregation Command List 389 Link Layer Discovery Protocol (LLDP) Command List 396 Loop Back Detection (LBD) Command List 413 MAC Notification Command List 419 MAC-based Access Control Command List 424 MAC-based VLAN Command List 440 Mirror Command List...443 MLD Snooping...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 35 Chapter 36 Chapter 37 Chapter 38 Chapter 39 Chapter 40 Chapter 41 Chapter 42 Chapter ... 380 IPv6 Route Command List 384 Jumbo Frame Command List 387 Link Aggregation Command List 389 Link Layer Discovery Protocol (LLDP) Command List 396 Loop Back Detection (LBD) Command List 413 MAC Notification Command List 419 MAC-based Access Control Command List 424 MAC-based VLAN Command List 440 Mirror Command List...443 MLD Snooping...
DWS-3160 Series CLI Reference Guide
Page 6
...MAC Address : 00-01-02-03-04-00 H/W Version : A1 Please Wait, Loading V1.00.034 Runtime Image UART init Starting runtime image Device Discovery Configuration init 100 % 100 % 100 % | After the boot sequence has been completed, the console login screen will explain how to this Switch. DWS-3160-24PC... Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. After press Enter for the first time by pressing the 'Enter' key twice....
...MAC Address : 00-01-02-03-04-00 H/W Version : A1 Please Wait, Loading V1.00.034 Runtime Image UART init Starting runtime image Device Discovery Configuration init 100 % 100 % 100 % | After the boot sequence has been completed, the console login screen will explain how to this Switch. DWS-3160-24PC... Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.034 Copyright(C) 2012 D-Link Corporation. After press Enter for the first time by pressing the 'Enter' key twice....
DWS-3160 Series CLI Reference Guide
Page 7
...to '10.90.90.91', using a subnet mask of the Switch must be found by entering the command "show switch Device Type : DWS-3160-24PC Gigabit Ethernet Switch MAC Address : 00-11-22-33-45-67 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0... SNMP : Disabled SSL Status : Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All The IP address of '255.0.0.0': 3 DWS-3160-24PC:admin#show switch Command: show switch" into your networking address range. The Switch is used for the Switch. 1-2 Setting the Switch's IP Address Each ...
...to '10.90.90.91', using a subnet mask of the Switch must be found by entering the command "show switch Device Type : DWS-3160-24PC Gigabit Ethernet Switch MAC Address : 00-11-22-33-45-67 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0... SNMP : Disabled SSL Status : Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All The IP address of '255.0.0.0': 3 DWS-3160-24PC:admin#show switch Command: show switch" into your networking address range. The Switch is used for the Switch. 1-2 Setting the Switch's IP Address Each ...
DWS-3160 Series CLI Reference Guide
Page 12
... Toggle on , inserts text and shifts previous text to left . Left Arrow Move cursor to right. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show switch Command: show switch Device Type : DWS-3160-24PC Gigabit Ethernet Switch MAC Address : 00-11-22-33-45-67 IP Address : 10.90.90.90 (Manual) VLAN...
... Toggle on , inserts text and shifts previous text to left . Left Arrow Move cursor to right. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide DWS-3160-24PC:admin#show switch Command: show switch Device Type : DWS-3160-24PC Gigabit Ethernet Switch MAC Address : 00-11-22-33-45-67 IP Address : 10.90.90.90 (Manual) VLAN...
DWS-3160 Series CLI Reference Guide
Page 26
... and Operators can turn on or turn off MAC address learning on one or more ports. enable - clear_description - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 10_half - By set to slave. Example To configure the ports: DWS-3160-24PC:admin#config ports all medium_type copper speed auto ...will be enabled. cross - description - (Optional) Specifies the description of ports. 22 Enter the port interface description here. DWS-3160-24PC:admin# 2-18 show ports Description This command is in MDIX mode and can be up to PC NIC using a straight cable.
... and Operators can turn on or turn off MAC address learning on one or more ports. enable - clear_description - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 10_half - By set to slave. Example To configure the ports: DWS-3160-24PC:admin#config ports all medium_type copper speed auto ...will be enabled. cross - description - (Optional) Specifies the description of ports. 22 Enter the port interface description here. DWS-3160-24PC:admin# 2-18 show ports Description This command is in MDIX mode and can be up to PC NIC using a straight cable.
DWS-3160 Series CLI Reference Guide
Page 27
...: DWS-3160-24PC:admin#show ports details Command: show ports {} {[description | err_disabled | details | media_type]} Parameters ports - description - (Optional) Indicates if port description will be configured here. details - (Optional) Displays the port details. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format show ports details Port : 1 Port Status : Link Down Description : HardWare Type : Gigabits Ethernet MAC...
...: DWS-3160-24PC:admin#show ports details Command: show ports {} {[description | err_disabled | details | media_type]} Parameters ports - description - (Optional) Indicates if port description will be configured here. details - (Optional) Displays the port details. DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Format show ports details Port : 1 Port Status : Link Down Description : HardWare Type : Gigabits Ethernet MAC...
DWS-3160 Series CLI Reference Guide
Page 54
... some or all ] {mac_address }] Parameters port_based - Configure the authentication as MAC based mode. Restrictions Only Administrators, Operators and Power-Users can issue this command. DWS-3160-24PC:admin# 4-15 config 802.1x init Description This command is used for the configuration here. 50 DWS-3160-24PC:admin# 4-14 config 802.1x auth_mode Description This command is used...
... some or all ] {mac_address }] Parameters port_based - Configure the authentication as MAC based mode. Restrictions Only Administrators, Operators and Power-Users can issue this command. DWS-3160-24PC:admin# 4-15 config 802.1x init Description This command is used for the configuration here. 50 DWS-3160-24PC:admin# 4-14 config 802.1x auth_mode Description This command is used...
DWS-3160 Series CLI Reference Guide
Page 55
...51 all Success. Configure the authentication as MAC based mode. - Specifies that all ports will be used . Configure the authentication as MAC based mode. - Specifies that all ports will remain authorized until re-authentication failed. DWS-3160-24PC:admin# 4-16 config 802.1x reauth ...will be used . mac_address - (Optional) Specifies the MAC address of client. - Example To re-authenticate the device connected to the port. Example To initialize the authentication state machine on all the ports: DWS-3160-24PC:admin# config 802.1x init port_based ports all Command...
...51 all Success. Configure the authentication as MAC based mode. - Specifies that all ports will be used . Configure the authentication as MAC based mode. - Specifies that all ports will remain authorized until re-authentication failed. DWS-3160-24PC:admin# 4-16 config 802.1x reauth ...will be used . mac_address - (Optional) Specifies the MAC address of client. - Example To re-authenticate the device connected to the port. Example To initialize the authentication state machine on all the ports: DWS-3160-24PC:admin# config 802.1x init port_based ports all Command...
DWS-3160 Series CLI Reference Guide
Page 91
...here. source_mac - (Optional) Specifies the source MAC mask. - dscp - (Optional) Specifies the DSCP mask. icmp - (Optional) Specifies that the rule applies to IGMP traffic. type - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide...| destination_ipv6_mask | [tcp {src_port_mask | dst_port_mask } | udp {src_port_mask | dst_port_mask } | icmp {type | code}]}] Parameters profile_id - Enter the source MAC address used here. Specifies the code of IGMP traffic. 87 Specifies the type of ICMP traffic igmp - (Optional) Specifies that the rule applies to create...
...here. source_mac - (Optional) Specifies the source MAC mask. - dscp - (Optional) Specifies the DSCP mask. icmp - (Optional) Specifies that the rule applies to IGMP traffic. type - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide...| destination_ipv6_mask | [tcp {src_port_mask | dst_port_mask } | udp {src_port_mask | dst_port_mask } | icmp {type | code}]}] Parameters profile_id - Enter the source MAC address used here. Specifies the code of IGMP traffic. 87 Specifies the type of ICMP traffic igmp - (Optional) Specifies that the rule applies to create...
DWS-3160 Series CLI Reference Guide
Page 95
... - (Optional) Specifies an additional mask parameter that the rule will apply to 32 characters long. destination_mac - (Optional) Specifies the destination MAC address. - ethernet_type - (Optional) Specifies the Ethernet type. - Specifies an additional mask parameter that can be between 0 and 255....parameter that can be added. Enter the ICMP type traffic value here. Enter the IGMP type traffic value here. mask - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide - Specifies that the rule will be configured. - mask - (Optional) Specifies...
... - (Optional) Specifies an additional mask parameter that the rule will apply to 32 characters long. destination_mac - (Optional) Specifies the destination MAC address. - ethernet_type - (Optional) Specifies the Ethernet type. - Specifies an additional mask parameter that can be between 0 and 255....parameter that can be added. Enter the ICMP type traffic value here. Enter the IGMP type traffic value here. mask - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide - Specifies that the rule will be configured. - mask - (Optional) Specifies...
DWS-3160 Series CLI Reference Guide
Page 99
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Example To display the current access list table: DWS-3160-24PC:admin#show access_profile Command: show access_profile Access Profile Table Total User Set Rule Entries : 1 Total Used HW Entries : 1 Total ...Available HW Entries : 1535 Profile ID: 1 Profile name: t1 Type: Ethernet MASK on VLAN : 0xFFF Source MAC : 00-00-00-...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Example To display the current access list table: DWS-3160-24PC:admin#show access_profile Command: show access_profile Access Profile Table Total User Set Rule Entries : 1 Total Used HW Entries : 1 Total ...Available HW Entries : 1535 Profile ID: 1 Profile name: t1 Type: Ethernet MASK on VLAN : 0xFFF Source MAC : 00-00-00-...
DWS-3160 Series CLI Reference Guide
Page 110
...the TCP source port mask. - Specifies the index of IGMP traffic. Enter the profile name used to IGMP traffic. ethernet - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 7-1 create egress_access_profile Description This command is used here. This value must be specified.... profile_name - The name of the profile must be invalid to ICMP traffic. Specifies this is 32 characters. - Enter the destination MAC mask used here. Enter the VLAN mask used here. 802.1p - (Optional) Specifies 802.1p priority tag mask. destination_ip_mask - (Optional...
...the TCP source port mask. - Specifies the index of IGMP traffic. Enter the profile name used to IGMP traffic. ethernet - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide 7-1 create egress_access_profile Description This command is used here. This value must be specified.... profile_name - The name of the profile must be invalid to ICMP traffic. Specifies this is 32 characters. - Enter the destination MAC mask used here. Enter the VLAN mask used here. 802.1p - (Optional) Specifies 802.1p priority tag mask. destination_ip_mask - (Optional...
DWS-3160 Series CLI Reference Guide
Page 113
...access ID is automatically assigned. auto assign - ethernet - This value must be between 0 and 255. 109 Specifies that source MAC mask used for this configuration here. vlan - (Optional) Specifies the VLAN name. - Specifies the source IP address used here...- vlanid - ethernet_type - (Optional) Specifies the Ethernet type. - Enter the VLAN name used here. Specifies a VLAN ID. - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide | replace_dscp_with | counter [enable | disable]} | deny] {time_range } | delete access_id ] Parameters profile_id - Enter...
...access ID is automatically assigned. auto assign - ethernet - This value must be between 0 and 255. 109 Specifies that source MAC mask used for this configuration here. vlan - (Optional) Specifies the VLAN name. - Specifies the source IP address used here...- vlanid - ethernet_type - (Optional) Specifies the Ethernet type. - Enter the VLAN name used here. Specifies a VLAN ID. - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide | replace_dscp_with | counter [enable | disable]} | deny] {time_range } | delete access_id ] Parameters profile_id - Enter...
DWS-3160 Series CLI Reference Guide
Page 116
...1 deny Command: config egress_access_profile profile_id 2 add access_id 1 ethernet source_mac 11-22-33-44-55-66 vlan_based vlan_id 1 deny Success. DWS-3160-24PC:admin# 7-4 show egress_access_profile {[profile_id | profile_name ]} Parameters profile_id - (Optional) Specifies the index of the egress access list profile. ... port-base egress access rule that when the packet go out Switch which match the specified source MAC field, it will not be dropped: DWS-3160-24PC:admin# config egress_access_profile profile_id 2 add access_id auto_assign ip source_ip 10.0.0.1 dscp 25 destination_ip 10.90....
...1 deny Command: config egress_access_profile profile_id 2 add access_id 1 ethernet source_mac 11-22-33-44-55-66 vlan_based vlan_id 1 deny Success. DWS-3160-24PC:admin# 7-4 show egress_access_profile {[profile_id | profile_name ]} Parameters profile_id - (Optional) Specifies the index of the egress access list profile. ... port-base egress access rule that when the packet go out Switch which match the specified source MAC field, it will not be dropped: DWS-3160-24PC:admin# config egress_access_profile profile_id 2 add access_id auto_assign ip source_ip 10.0.0.1 dscp 25 destination_ip 10.90....
DWS-3160 Series CLI Reference Guide
Page 117
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Restrictions None. Match on VLAN ID Source MAC : 1 : 00-00-00-00-00-01 Action: Permit Profile ID: 2 Profile name: 2 Type: IPv4 Mask on Source IP Destination IP DSCP : 255.... : 126 Rule ID : 1 (auto assign) Port group: 1 Match on Source MAC : FF-FF-FF-FF-FF-FF Available Hardware Entries : 127 Rule ID : 1 Port group: - Example To display current egress access list table: DWS-3160-24PC:admin# show egress_access_profile Command: show access_profile Egress Access Profile Table Total User Set Rule...
DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Restrictions None. Match on VLAN ID Source MAC : 1 : 00-00-00-00-00-01 Action: Permit Profile ID: 2 Profile name: 2 Type: IPv4 Mask on Source IP Destination IP DSCP : 255.... : 126 Rule ID : 1 (auto assign) Port group: 1 Match on Source MAC : FF-FF-FF-FF-FF-FF Available Hardware Entries : 127 Rule ID : 1 Port group: - Example To display current egress access list table: DWS-3160-24PC:admin# show egress_access_profile Command: show access_profile Egress Access Profile Table Total User Set Rule...
DWS-3160 Series CLI Reference Guide
Page 118
... egress_access_profile profile_id 1 Command: show egress_access_profile profile_id 1 Egress Access Profile Table Profile ID: 1 Profile name: 1 Type: Ethernet Mask on VLAN ID Source MAC : 1 : 00-00-00-00-00-01 Action: Permit DWS-3160-24PC:admin# 7-5 show config" command which is used to display the egress ACL part of current configuration in administrator level of privilege...
... egress_access_profile profile_id 1 Command: show egress_access_profile profile_id 1 Egress Access Profile Table Profile ID: 1 Profile name: 1 Type: Ethernet Mask on VLAN ID Source MAC : 1 : 00-00-00-00-00-01 Action: Permit DWS-3160-24PC:admin# 7-5 show config" command which is used to display the egress ACL part of current configuration in administrator level of privilege...
DWS-3160 Series CLI Reference Guide
Page 127
...create a static ARP entry for the IP address 10.48.74.121 and MAC address 00-50-BA-00-0736: DWS-3160-24PC:admin# create arpentry 10.48.74.121 00-50-BA-00-07-36 Command...: create arpentry 10.48.74.121 00-50-BA-00-07-36 Success. DWS-3160-24PC:admin# 8-2 delete arpentry Description This command is used to delete an ARP entry, by specifying... either the IP address of the end node or station. - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 8 Address Resolution Protocol (ARP) Command List create arpentry ...
...create a static ARP entry for the IP address 10.48.74.121 and MAC address 00-50-BA-00-0736: DWS-3160-24PC:admin# create arpentry 10.48.74.121 00-50-BA-00-07-36 Command...: create arpentry 10.48.74.121 00-50-BA-00-07-36 Success. DWS-3160-24PC:admin# 8-2 delete arpentry Description This command is used to delete an ARP entry, by specifying... either the IP address of the end node or station. - DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide Chapter 8 Address Resolution Protocol (ARP) Command List create arpentry ...
DWS-3160 Series CLI Reference Guide
Page 128
... delete an entry of the entry. Specifies the IP address and MAC address of IP address 10.48.74.121 from the ARP table: DWS-3160-24PC:admin# delete arpentry 10.48.74.121 Command: delete arpentry 10.48.74.121 Success. The MAC address corresponding to 00-50BA-00-07-37: 124 Example To... configure a static ARP entry, whose IP address is used to configure a static entry's MAC address in the ARP table...
... delete an entry of the entry. Specifies the IP address and MAC address of IP address 10.48.74.121 from the ARP table: DWS-3160-24PC:admin# delete arpentry 10.48.74.121 Command: delete arpentry 10.48.74.121 Success. The MAC address corresponding to 00-50BA-00-07-37: 124 Example To... configure a static ARP entry, whose IP address is used to configure a static entry's MAC address in the ARP table...
DWS-3160 Series CLI Reference Guide
Page 130
... Gigabit Ethernet Unified Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can filter the display by MAC address. - Enter the IP interface name here. DWS-3160-24PC:admin# 8-6 show arpentry {ipif | ipaddress | static | mac_address } Parameters ipif - (Optional) The name of the end node or station. - You can issue this...
... Gigabit Ethernet Unified Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can filter the display by MAC address. - Enter the IP interface name here. DWS-3160-24PC:admin# 8-6 show arpentry {ipif | ipaddress | static | mac_address } Parameters ipif - (Optional) The name of the end node or station. - You can issue this...