D-Link DWS-3160 Series Cli Reference Manual - Chapter 21

Manual is about: Gigabit Ehernet Unified Switch

Summary of DWS-3160 Series

  • Page 2: Table Of Contents

    Dws-3160 series gigabit ethernet unified switch cli reference guide i table of contents chapter 1 using command line interface ............................................................................................. 1 chapter 2 basic command list ...................................................

  • Page 3

    Dws-3160 series gigabit ethernet unified switch cli reference guide ii chapter 35 ipv6 neighbor discover command list ............................................................................ 380 chapter 36 ipv6 route command list .....................................................................

  • Page 4

    Dws-3160 series gigabit ethernet unified switch cli reference guide iii chapter 71 telnet client command list .......................................................................................... 657 chapter 72 tftp client command list ..............................................................

  • Page 5: Chapter 1

    Dws-3160 series gigabit ethernet unified switch cli reference guide 1 chapter 1 using command line interface the switch can be managed through the switch’s command line interface (cli), web user interface (web ui) and by using the simple network management protocol (snmp). The command line interface...

  • Page 6

    Dws-3160 series gigabit ethernet unified switch cli reference guide 2 after correctly configuring the terminal, plug the power cable into the power receptacle on the back of the switch. The boot sequence will appear in the terminal. Boot procedure v1.00.001 ------------------------------------------...

  • Page 7

    Dws-3160 series gigabit ethernet unified switch cli reference guide 3 note: the first user automatically gets administrator level privileges. At least one admin-level user account must be created for the switch. 1-2 setting the switch’s ip address each switch must be assigned its own ip address, whi...

  • Page 8

    Dws-3160 series gigabit ethernet unified switch cli reference guide 4 dws-3160-24pc:admin#config ipif system ipaddress 10.90.90.91/8 command: config ipif system ipaddress 10.90.90.91/8 success. Dws-3160-24pc:admin# • at the cli command prompt, enter the ‘config ipif system ipaddress 10.90.90.91/8’ c...

  • Page 9

    Dws-3160 series gigabit ethernet unified switch cli reference guide 5 dws-3160-24pc:admin# config account command: config account next possible completions: dws-3160-24pc:admin# in this case, the command ‘config account’was entered with the parameter . The cli will then prompt to enter the with the ...

  • Page 10

    Dws-3160 series gigabit ethernet unified switch cli reference guide 6 auth_session_statistics auth_statistics authen authen_enable authen_login authen_policy authentication authorization autoconfig bandwidth_control boot_file bpdu_protection captive_portal cfm command command_history config cpu curr...

  • Page 12

    Dws-3160 series gigabit ethernet unified switch cli reference guide 8 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 name : default subnet mask : 255.0.0.0 default gateway...

  • Page 13

    Dws-3160 series gigabit ethernet unified switch cli reference guide 9 r refresh the displayed pages.

  • Page 15

    Dws-3160 series gigabit ethernet unified switch cli reference guide 11 dws-3160-24pc:admin#show session command: show session id live time from level user --- ------------ --------------------------------------- ----- --------------- 8 01:35:03.410 serial port admin anonymous total entries: 1 ctrl+c...

  • Page 17

    Dws-3160 series gigabit ethernet unified switch cli reference guide 13 restrictions only administrators and operators can issue this command. Example to enable pausing of the screen display when show command output reaches the end of the page: dws-3160-24pc:admin# enable clipaging command: enable cl...

  • Page 18

    Dws-3160 series gigabit ethernet unified switch cli reference guide 14 format login parameters none. Restrictions none. Example to login the switch with a username dlink: dws-3160-24pc:admin# login command: login username:dlink password:**** dws-3160-24pc:admin# 2-7 logout description this command i...

  • Page 19

    Dws-3160 series gigabit ethernet unified switch cli reference guide 15 dws-3160-24pc:admin# logout command: logout ********** * logout * ********** dws-3160-24pc gigabit ethernet switch command line interface firmware: build 1.00.034 copyright(c) 2012 d-link corporation. All rights reserved. Usernam...

  • Page 20

    Dws-3160 series gigabit ethernet unified switch cli reference guide 16 2-9 clear description this command is used to clear the screen. Format clear parameters none. Restrictions none. Example to clear the screen: dws-3160-24pc:admin# clear command: clear dws-3160-24pc:admin# 2-10 show command_histor...

  • Page 21

    Dws-3160 series gigabit ethernet unified switch cli reference guide 17 dws-3160-24pc:admin#show command_history command: show command_history ? Ping login show serial_port show session ? Config bpdu_protection ports ? Reset ? Create account ? Create ipif show the ? Dws-3160-24pc:admin# 2-11 config c...

  • Page 22

    Dws-3160 series gigabit ethernet unified switch cli reference guide 18 format config greeting_message {default} parameters default - (optional) specifies that the greeting message (banner) will be returned to its original factory default state. Restrictions only administrators and operators can issu...

  • Page 23

    Dws-3160 series gigabit ethernet unified switch cli reference guide 19 parameters none. Restrictions only administrators and operators can issue this command. Example to display the greeting message: dws-3160-24pc:admin#show greeting_message command: show greeting_message ===========================...

  • Page 24

    Dws-3160 series gigabit ethernet unified switch cli reference guide 20 example to edit the command prompt: dws-3160-24pc:admin#config command_prompt prompt# command: config command_prompt prompt# success. Prompt#:admin# 2-15 config terminal width description the command is used to set current termin...

  • Page 25

    Dws-3160 series gigabit ethernet unified switch cli reference guide 21 2-16 show terminal width description the command is used to display the configuration of current terminal width. Format show terminal width parameters none. Restrictions none. Example to display the configuration of current termi...

  • Page 26

    Dws-3160 series gigabit ethernet unified switch cli reference guide 22 10_half - set port speed to 10_half. 10_full - set port speed to 10_full. 100_half - set port speed to 100_half. 100_full - set port speed to 100_full._ 1000_full - 1000_full set port speed to 1000_full. While set port speed to 1...

  • Page 29

    Dws-3160 series gigabit ethernet unified switch cli reference guide 25 restrictions only administrators, operators and power-users can issue this command. Example to create a vlan with name “v2” and vlan id 2: dws-3160-24pc:admin# create vlan v2 tag 2 type 1q_vlan advertisement command: create vlan ...

  • Page 30

    Dws-3160 series gigabit ethernet unified switch cli reference guide 26 dws-3160-24pc:admin# create vlan vlanid 10-30 command: create vlan vlanid 10-30 success. Dws-3160-24pc:admin# 3-3 delete vlan description this command is used to delete a previously configured vlan by the name on the switch. Form...

  • Page 31

    Dws-3160 series gigabit ethernet unified switch cli reference guide 27 restrictions only administrators, operators and power-users can issue this command. Example to remove vlans from 10-30: dws-3160-24pc:admin# delete vlan vlanid 10-30 command: delete vlan vlanid 10-30 success. Dws-3160-24pc:admin#...

  • Page 32

    Dws-3160 series gigabit ethernet unified switch cli reference guide 28 dws-3160-24pc:admin# config vlan v1 add tagged 4-8 command: config vlan v1 add tagged 4-8 success. Dws-3160-24pc:admin# 3-6 config vlan vlanid description the command is used to configure multiple vlans at the same time. Conflict...

  • Page 34

    Dws-3160 series gigabit ethernet unified switch cli reference guide 30 dws-3160-24pc:admin# config gvrp 1-5 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 command: config gvrp 1-5 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 success dws-3160-24pc...

  • Page 35

    Dws-3160 series gigabit ethernet unified switch cli reference guide 31 dws-3160-24pc:admin#show vlan command: show vlan vlan trunk state : disabled vlan trunk member ports : vid : 1 vlan name : default vlan type : static advertisement : enabled member ports : 1-24 static ports : 1-24 current tagged ...

  • Page 36

    Dws-3160 series gigabit ethernet unified switch cli reference guide 32 3-10 show vlan vlanid description this command is used to display vlan information using the vlan id. Format show vlan vlanid parameters vlanid - (optional) specifies the vlan id of the vlan. - enter the vlan id here. Restriction...

  • Page 37

    Dws-3160 series gigabit ethernet unified switch cli reference guide 33 parameters - (optional) specifies a range of ports to be displayed. If no parameter specified, system will display all ports gvrp information. Restrictions none. Example to display the 802.1q port setting: dws-3160-24pc:admin#sho...

  • Page 38

    Dws-3160 series gigabit ethernet unified switch cli reference guide 34 format enable pvid auto_assign parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to enable the auto-assign pvid: dws-3160-24pc:admin# enable pvid auto_assign command: ena...

  • Page 39

    Dws-3160 series gigabit ethernet unified switch cli reference guide 35 3-14 show pvid auto_assign description this command is used to display the pvid auto-assignment state. Format show pvid auto_assign parameters none. Restrictions none. Example to display pvid auto-assignment state: dws-3160-24pc:...

  • Page 40

    Dws-3160 series gigabit ethernet unified switch cli reference guide 36 site. It can use 802.1d gvrp address, 802.1ad service provider gvrp address or a user defined multicast address. The range of the user defined address is 0180c2000000 - 0180c2ffffff. Dot1d - specifies that the nni bpdu protocol a...

  • Page 41

    Dws-3160 series gigabit ethernet unified switch cli reference guide 37 dws-3160-24pc:admin#show gvrp command: show gvrp global gvrp : disabled join time : 200 milliseconds leave time : 600 milliseconds leaveall time : 10000 milliseconds nni bpdu address: dot1d dws-3160-24pc:admin# 3-17 enable gvrp d...

  • Page 42

    Dws-3160 series gigabit ethernet unified switch cli reference guide 38 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to disable gvrp: dws-3160-24pc:admin# disable gvrp command: disable gvrp success. Dws-3160-24pc:admin# 3-19 config priva...

  • Page 43

    Dws-3160 series gigabit ethernet unified switch cli reference guide 39 dws-3160-24pc:admin# config private_vlan p1 add community vlanid 2-5 command: config private_vlan p1 add community vlanid 2-5 success. Dws-3160-24pc:admin# 3-20 show private vlan description this command is used to display the pr...

  • Page 45

    Dws-3160 series gigabit ethernet unified switch cli reference guide 41 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to enable the 802.1x function: dws-3160-24pc:admin# enable 802.1x command: enable 802.1x success. Dws-3160-24pc:admin# 4...

  • Page 46

    Dws-3160 series gigabit ethernet unified switch cli reference guide 42 4-3 create 802.1x user description this command is used to create an 802.1x user. Format create 802.1x user parameters user - specifies adding user name. - enter the username here. This value can be up to 15 characters long. Rest...

  • Page 47

    Dws-3160 series gigabit ethernet unified switch cli reference guide 43 example to delete the 802.1x user called ‘test’: dws-3160-24pc:admin# delete 802.1x user test command: delete 802.1x user test success. Dws-3160-24pc:admin# 4-5 show 802.1x user description this command is used to display the 802...

  • Page 48

    Dws-3160 series gigabit ethernet unified switch cli reference guide 44 parameters local - specifies the authentication protocol as local. Radius_eap - specifies the authentication protocol as radius eap. Restrictions only administrators, operators and power-users can issue this command. Example to c...

  • Page 49

    Dws-3160 series gigabit ethernet unified switch cli reference guide 45 dws-3160-24pc:admin# config 802.1x fwd_pdu system enable command: config 802.1x fwd_pdu system enable success. Dws-3160-24pc:admin# 4-8 config 802.1x fwd_pdu ports description this command is used to configure the per port settin...

  • Page 51

    Dws-3160 series gigabit ethernet unified switch cli reference guide 47 dws-3160-24pc:admin# show 802.1x auth_configuration ports 1 command: show 802.1x auth_configuration ports 1 port number : 1 capability : none admincrldir : both opencrldir : both port control : auto quietperiod : 60 sec txperiod ...

  • Page 52

    Dws-3160 series gigabit ethernet unified switch cli reference guide 48 4-12 config 802.1x max_users description this command is used to configure the maximum number of users that can be learned via 802.1x authentication. In addition to the global limitation, maximum users per port are also limited. ...

  • Page 53

    Dws-3160 series gigabit ethernet unified switch cli reference guide 49 parameters ports - specifies a range of ports to be configured. - enter the list of ports used for the configuration here. All - specifies that all the ports will be used. Default - sets all parameter to be default value. Directi...

  • Page 54

    Dws-3160 series gigabit ethernet unified switch cli reference guide 50 dws-3160-24pc:admin# config 802.1x auth_parameter ports 1-20 direction both command: config 802.1x auth_parameter ports 1-20 direction both success. Dws-3160-24pc:admin# 4-14 config 802.1x auth_mode description this command is us...

  • Page 55

    Dws-3160 series gigabit ethernet unified switch cli reference guide 51 all - specifies that all ports will be used. Mac_based - configure the authentication as mac based mode. - enter the list of ports used for the configuration here. All - specifies that all ports will be used. Mac_address - (optio...

  • Page 56

    Dws-3160 series gigabit ethernet unified switch cli reference guide 52 dws-3160-24pc:admin# config 802.1x reauth port_based ports all command: config 802.1x reauth port_based ports all success. Dws-3160-24pc:admin# 4-17 create 802.1x guest_vlan description this command is used to assign a static vla...

  • Page 57

    Dws-3160 series gigabit ethernet unified switch cli reference guide 53 parameters guest_vlan - specifies the static vlan to be guest vlan. - (optional) enter the vlan name here. The vlan name can be up to 32 characters long. Restrictions only administrators, operators and power-users can issue this ...

  • Page 58

    Dws-3160 series gigabit ethernet unified switch cli reference guide 54 dws-3160-24pc: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. Dws-3160-24pc:admin# 4-20 show 802.1x guest_vlan des...

  • Page 60

    Dws-3160 series gigabit ethernet unified switch cli reference guide 56 format config radius delete parameters delete - specifies to delete a radius server. - enter the radius server index here. Restrictions only administrators, operators and power-users can issue this command. Example to delete a ra...

  • Page 61

    Dws-3160 series gigabit ethernet unified switch cli reference guide 57 - enter the accounting port number here. This value must be between 1 and 65535. Default - specifies that the default port number will be used. Timeout - (optional) the time in second for waiting server reply. The default value i...

  • Page 62

    Dws-3160 series gigabit ethernet unified switch cli reference guide 58 dws-3160-24pc:admin#show radius command: show radius index 1 ip address : 10.48.74.121 auth-port : 60 acct-port : 1813 timeout : 5 retransmit : 2 key : dlink total entries : 1 dws-3160-24pc:admin# 4-25 show auth_statistics descri...

  • Page 63

    Dws-3160 series gigabit ethernet unified switch cli reference guide 59 dws-3160-24pc:admin# show auth_statistics ports 1 command: show auth_statistics ports 1 port number : 1 eapolframesrx 0 eapolframestx 0 eapolstartframesrx 0 eapolreqidframestx 0 eapollogoffframesrx 0 eapolreqframestx 0 eapolrespi...

  • Page 64

    Dws-3160 series gigabit ethernet unified switch cli reference guide 60 dws-3160-24pc:admin# show auth_diagnostics ports 1 command: show auth_diagnostics ports 1 port number: 1 entersconnecting 0 eaplogoffswhileconnecting 0 entersauthenticating 0 successwhileauthenticating 0 timeoutswhileauthenticati...

  • Page 65

    Dws-3160 series gigabit ethernet unified switch cli reference guide 61 dws-3160-24pc:admin# show auth_session_statistics ports 1 command: show auth_session_statistics ports 1 port number : 1 sessionoctetsrx 0 sessionoctetstx 0 sessionframesrx 0 sessionframestx 0 sessionid sessionauthenticmethod remo...

  • Page 66

    Dws-3160 series gigabit ethernet unified switch cli reference guide 62 dws-3160-24pc:admin# show auth_client command: show auth_client radiusauthclient ==> radiusauthclientinvalidserveraddresses 0 radiusauthclientidentifier radiusauthserverentry ==> radiusauthserverindex :1 radiusauthserveraddress 1...

  • Page 67

    Dws-3160 series gigabit ethernet unified switch cli reference guide 63 dws-3160-24pc:admin# show acct_client command: show acct_client radiusacctclient ==> radiusacctclientinvalidserveraddresses 0 radiusacctclientidentifier radiusauthserverentry ==> radiusaccserverindex : 1 radiusaccserveraddress 10...

  • Page 68

    Dws-3160 series gigabit ethernet unified switch cli reference guide 64 example enable it to configure accounting shell state: dws-3160-24pc:admin# config accounting service shell state enable command: config accounting service shell state enable success. Dws-3160-24pc:admin# 4-31 show accounting ser...

  • Page 69: Chapter 5

    Dws-3160 series gigabit ethernet unified switch cli reference guide 65 chapter 5 access authentication control command list enable password encryption disable password encryption enable authen_policy disable authen_policy show authen_policy create authen_login method_list_name config authen_login [d...

  • Page 70

    Dws-3160 series gigabit ethernet unified switch cli reference guide 66 parameters none. Restrictions only administrators can issue this command. Example to enable the password encryption: dws-3160-24pc:admin# enable password encryption command: enable password encryption dws-3160-24pc:admin# 5-2 dis...

  • Page 71

    Dws-3160 series gigabit ethernet unified switch cli reference guide 67 5-3 enable authen_policy description this command is used to enable system access authentication policy. Enable system access authentication policy. When authentication is enabled, the device will adopt the login authentication m...

  • Page 72

    Dws-3160 series gigabit ethernet unified switch cli reference guide 68 restrictions only administrators can issue this command. Example to disable system access authentication policy: dws-3160-24pc:admin# disable authen_policy command: disable authen_policy success. Dws-3160-24pc:admin# 5-5 show aut...

  • Page 73

    Dws-3160 series gigabit ethernet unified switch cli reference guide 69 format create authen_login method_list_name parameters - the user-defined method list name. This value can be up to 15 characters long. Restrictions only administrators can issue this command. Example to create a user-defined met...

  • Page 74

    Dws-3160 series gigabit ethernet unified switch cli reference guide 70 xtacacs - (optional) authentication by the built-in server group “xtacacs”. Tacacs+ - (optional) authentication by the built-in server group “tacacs+”. Radius - (optional) authentication by the built-in server group “radius”. Ser...

  • Page 76

    Dws-3160 series gigabit ethernet unified switch cli reference guide 72 restrictions only administrators can issue this command. Example to create a user-defined method list for promoting user's privilege to admin level: dws-3160-24pc:admin# create authen_enable method_list_name enable_list_1 command...

  • Page 77

    Dws-3160 series gigabit ethernet unified switch cli reference guide 73 example to configure a user-defined method list for promoting user's privilege to admin level: dws-3160-24pc:admin# config authen_enable method_list_name enable_list_1 method tacacs+ tacacs local_enable command: config authen_ en...

  • Page 78

    Dws-3160 series gigabit ethernet unified switch cli reference guide 74 parameters default - display default user-defined method list for promoting user's privilege to admin level. Method_list_name - display the specific user-defined method list for promoting user's privilege to admin level. - enter ...

  • Page 79

    Dws-3160 series gigabit ethernet unified switch cli reference guide 75 - enter the method list name here. This value can be up to 15 characters long. Restrictions only administrators can issue this command. Example to configure the login method list for telnet: dws-3160-24pc:admin# config authen app...

  • Page 80

    Dws-3160 series gigabit ethernet unified switch cli reference guide 76 5-16 create authen server_group description this command is used to create a user-defined authentication server group. The maximum supported number of server groups including built-in server groups is 8. Each group consists of 8 ...

  • Page 81

    Dws-3160 series gigabit ethernet unified switch cli reference guide 77 add - add a server host to a server group. Delete - remove a server host from a server group. Server_host - server host’s ip address. - enter the server host ip address here. Protocol - specifies the authentication protocol used....

  • Page 82

    Dws-3160 series gigabit ethernet unified switch cli reference guide 78 dws-3160-24pc:admin# delete authen server_group mix_1 command: delete authen server_group mix_1 success. Dws-3160-24pc:admin# 5-19 show authen server_group description this command is used to display the authentication server gro...

  • Page 86

    Dws-3160 series gigabit ethernet unified switch cli reference guide 82 example to display all authentication server hosts: dws-3160-24pc:admin#show authen server_host command: show authen server_host ip address protocol port timeout retransmit key --------------- -------- ----- ------- ---------- --...

  • Page 87

    Dws-3160 series gigabit ethernet unified switch cli reference guide 83 5-25 config authen parameter attempt description this command is used to configure the maximum attempts for user's trying to login or promote the privilege on console, telnet, ssh application. Format config authen parameter attem...

  • Page 88

    Dws-3160 series gigabit ethernet unified switch cli reference guide 84 example to display the parameters of authentication: dws-3160-24pc:admin#show authen parameter command: show authen parameter response timeout : 60 seconds user attempts : 9 dws-3160-24pc:admin# 5-27 enable admin description this...

  • Page 89

    Dws-3160 series gigabit ethernet unified switch cli reference guide 85 5-28 config admin local_enable description this command is used to configure the local enable password of administrator level privilege. When the user chooses the “local_enable” method to promote the privilege level, the enable p...

  • Page 92

    Dws-3160 series gigabit ethernet unified switch cli reference guide 88 tcp - (optional) specifies that the rule applies to tcp traffic. Src_port_mask - specifies the tcp source port mask. - enter the tcp source port mask here. Dst_port_mask - specifies the tcp destination port mask. - enter the tcp ...

  • Page 93

    Dws-3160 series gigabit ethernet unified switch cli reference guide 89 restrictions only administrators, operators and power-users can issue this command. Example to create an access profile: dws-3160-24pc:admin# create access_profile profile_id 1 profile_name t1 ethernet vlan source_mac 00-00-00-00...

  • Page 94

    Dws-3160 series gigabit ethernet unified switch cli reference guide 90 example to delete the access list rule with a profile id of 10: dws-3160-24pc:admin# delete access_profile profile_id 10 command: delete access_profile profile_id 10 success. Dws-3160-24pc:admin# 6-3 config access_profile descrip...

  • Page 95

    Dws-3160 series gigabit ethernet unified switch cli reference guide 91 - enter the profile name here. This name can be up to 32 characters long. Add - specifies that a profile or a rule will be added. Access_id - specifies the index of the access list entry. The value range is 1-256, but the support...

  • Page 96

    Dws-3160 series gigabit ethernet unified switch cli reference guide 92 - enter the tcp source port value here. This value must be between 0 and 65535. Mask - (optional) specifies an additional mask parameter that can be configured. - enter the source port mask here. Dst_port - (optional) specifies t...

  • Page 97

    Dws-3160 series gigabit ethernet unified switch cli reference guide 93 mask - (optional) specifies an additional mask parameter that can be configured. - enter the source ipv6 mask here. Destination_ipv6 - (optional) specifies the value of the ipv6 destination address. - enter the destination ipv6 a...

  • Page 98

    Dws-3160 series gigabit ethernet unified switch cli reference guide 94 counter - (optional) specifies whether the acl counter feature is enabled or disabled. This parameter is optional. The default option is disabled. If the rule is not bound with the flow_meter, all matching packets are counted. If...

  • Page 99

    Dws-3160 series gigabit ethernet unified switch cli reference guide 95 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 : 15...

  • Page 100

    Dws-3160 series gigabit ethernet unified switch cli reference guide 96 rule id : 1 (auto assign) ports: 1-24 match on offset_chunk_1 : 3 value : 0x0000ffff action: deny =============================================================================== dws-3160-24pc:admin# the following example displays...

  • Page 101

    Dws-3160 series gigabit ethernet unified switch cli reference guide 97 dws-3160-24pc:admin#show access_profile profile_id 4 command: show access_profile profile_id 4 access profile table =============================================================================== profile id: 4 profile name: 4 typ...

  • Page 102

    Dws-3160 series gigabit ethernet unified switch cli reference guide 98 the replace dscp action can be performed on packets that conform (green) and packets that do not conform (yellow and red). If drop yellow/red is selected, the action to replace the dscp will not take effect. Format config flow_me...

  • Page 103

    Dws-3160 series gigabit ethernet unified switch cli reference guide 99 131072. Color_blind - (optional) specifies the meter mode as color-blind. The default is color-blind mode. Color_aware - (optional) specifies the meter mode as color-aware. The final color of the packet is determined by the initi...

  • Page 104

    Dws-3160 series gigabit ethernet unified switch cli reference guide 100 replace_dscp - changes the dscp of the packet. - enter the replace dscp value here. This value must be between 0 and 63. Drop - drops the packet. Counter - (optional) specifies the acl counter. This is optional. The default is “...

  • Page 105

    Dws-3160 series gigabit ethernet unified switch cli reference guide 101 access_id - (optional) specifies the access id. - enter the access id used here. This value must be between 1 and 256. Restrictions none. Example to display the flow metering configuration: dws-3160-24pc:admin#show flow_meter co...

  • Page 106

    Dws-3160 series gigabit ethernet unified switch cli reference guide 102 end_time - specifies the ending time of a day. (24-hr time) - enter the ending time here. (24-hr time). For example, 19:00 means 7pm. 19 is also acceptable. The time specified in the start_time parameter must be smaller than the...

  • Page 107

    Dws-3160 series gigabit ethernet unified switch cli reference guide 103 example to display the current time range settings: dws-3160-24pc:admin#show time_range command: show time_range time range information ------------------------- range name : 1 weekdays : mon start time : 01:01:01 end time : 02:...

  • Page 108

    Dws-3160 series gigabit ethernet unified switch cli reference guide 104 dws-3160-24pc:admin#show current_config access_profile command: show current_config access_profile #------------------------------------------------------------------------------ # acl create access_profile profile_id 1 profile_...

  • Page 110

    Dws-3160 series gigabit ethernet unified switch cli reference guide 106 7-1 create egress_access_profile description this command is used to create an egress access list profile. For example, for some hardware, it may be invalid to specifies destination ipv6 address and source ipv6 address at the sa...

  • Page 111

    Dws-3160 series gigabit ethernet unified switch cli reference guide 107 all - specifies that the tcp flag field mask will be set to 'all'. Urg - specifies that the tcp flag field mask will be set to 'urg'. Ack - specifies that the tcp flag field mask will be set to 'ack'. Psh - specifies that the tc...

  • Page 114

    Dws-3160 series gigabit ethernet unified switch cli reference guide 110 code - specifies that the rule will apply to the icmp code traffic value. - enter the icmp code traffic value here. This value must be between 0 and 255. Igmp - (optional) specifies that the following parameters configured will ...

  • Page 115

    Dws-3160 series gigabit ethernet unified switch cli reference guide 111 between 0 and 65535. Mask - specifies the ipv6 tcp source port mask here. - enter the ipv6 tcp source port mask value here. Dst_port - specifies the value of the ipv6 layer 4 tcp destination port. - enter the ipv6 tcp destinatio...

  • Page 116

    Dws-3160 series gigabit ethernet unified switch cli reference guide 112 access_id - specifies the index of the access list entry. If the auto_assign option is selected, the access id is automatically assigned. - enter the access id used here. This value must be between 1 and 128. Restrictions only a...

  • Page 117

    Dws-3160 series gigabit ethernet unified switch cli reference guide 113 restrictions none. 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 entries : 3 total used hardware...

  • Page 118

    Dws-3160 series gigabit ethernet unified switch cli reference guide 114 action: permit ------------------------------------------------------------------------------ rule id : 2 (auto assign) port group: 1 match on source ip : 10.0.0.1 destination ip : 10.90.90.90 dscp : 25 action: permit matched co...

  • Page 119

    Dws-3160 series gigabit ethernet unified switch cli reference guide 115 format show current_config egress_access_profile parameters none. Restrictions none. Example to display current configuration of egress access list table: dws-3160-24pc:admin# show current_config egress_access_profile command: s...

  • Page 121

    Dws-3160 series gigabit ethernet unified switch cli reference guide 117 the function is disabled. Enable - specifies that the acl counter parameter will be enabled. Disable - specifies that the acl counter parameter will be disabled. Violate - specifies the action when packet is in “red color”. Perm...

  • Page 122

    Dws-3160 series gigabit ethernet unified switch cli reference guide 118 example to configure a “two rates three color” flow meter: dws-3160-24pc:admin# config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop command: config egres...

  • Page 123

    Dws-3160 series gigabit ethernet unified switch cli reference guide 119 dws-3160-24pc:admin#show egress_flow_meter command: show egress_flow_meter flow meter information ------------------------------------------------------------------------------ profile id:1 access id:1 mode : trtcm / coloraware ...

  • Page 124

    Dws-3160 series gigabit ethernet unified switch cli reference guide 120 dws-3160-24pc:admin# create port_group id 2 name group2 command: create port_group id 2 name group2 success. Dws-3160-24pc:admin# 7-9 config port_group description this command is used to add or delete a port list to a port grou...

  • Page 125

    Dws-3160 series gigabit ethernet unified switch cli reference guide 121 parameters id - specifies the port group id. - enter the port group id used here. This value must be between 1 and 64. Name - specifies the port group name. - enter the port group name here. This name can be up to 16 characters ...

  • Page 126

    Dws-3160 series gigabit ethernet unified switch cli reference guide 122 dws-3160-24pc:admin# show port_group command: show port_group port group table group id group name ports 1 group1 1-2,5 2 group2 4-5,7,9,11,13 15,17,19-25 4 group3 5-7 total entries :3 dws-3160-24pc:admin#.

  • Page 129

    Dws-3160 series gigabit ethernet unified switch cli reference guide 125 dws-3160-24pc:admin# config arpentry 10.48.74.121 00-50-ba-00-07-37 command: config arpentry 10.48.74.121 00-50-ba-00-07-37 success. Dws-3160-24pc:admin# 8-4 config arp_aging time description this command is used to configure th...

  • Page 130

    Dws-3160 series gigabit ethernet unified switch cli reference guide 126 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to clear the arp table: dws-3160-24pc:admin# clear arptable command: clear arptable success. Dws-3160-24pc:admin# 8-6 s...

  • Page 131

    Dws-3160 series gigabit ethernet unified switch cli reference guide 127 dws-3160-24pc:admin#show arpentry command: show arpentry arp aging time : 30 interface ip address mac address type ------------- --------------- ----------------- --------------- system 10.0.0.0 ff-ff-ff-ff-ff-ff local/broadcast...

  • Page 133

    Dws-3160 series gigabit ethernet unified switch cli reference guide 129 dws-3160-24pc:admin# config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports 1-2 command: config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports ...

  • Page 134: Chapter 10

    Dws-3160 series gigabit ethernet unified switch cli reference guide 130 chapter 10 asymmetric vlan command list enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan 10-1 enable asymmetric_vlan description this command is used to enable the asymmetric vlan function on the switch. Forma...

  • Page 135

    Dws-3160 series gigabit ethernet unified switch cli reference guide 131 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to disable asymmetric vlans: dws-3160-24pc:admin# disable asymmetric_vlan command: disable asymmetric_vlan success. Dws...

  • Page 136: Chapter 11

    Dws-3160 series gigabit ethernet unified switch cli reference guide 132 chapter 11 auto-configuration command list enable autoconfig disable autoconfig show autoconfig 11-1 enable autoconfig description this command is used to enable the automatic configuration feature of this switch. When automatic...

  • Page 137

    Dws-3160 series gigabit ethernet unified switch cli reference guide 133 format disable autoconfig parameters none. Restrictions only administrators and operators can issue this command. Example to disable autoconfig: dws-3160-24pc:admin# disable autoconfig command: disable autoconfig success. Dws-31...

  • Page 139

    Dws-3160 series gigabit ethernet unified switch cli reference guide 135 form and in encrypted form are different. For the plain-text form, passwords must have a minimum of 0 character and can have a maximum of 15 characters. For the encrypted form password, the length is fixed to 35 bytes long. The ...

  • Page 140

    Dws-3160 series gigabit ethernet unified switch cli reference guide 136 encrypt - (optional) specifies that the password will be encrypted. Plain_text - select to specifies the password in plain text form. Sha_1 - select to specifies the password in the sha-1 encrypted form. - the password for the u...

  • Page 141

    Dws-3160 series gigabit ethernet unified switch cli reference guide 137 restrictions only administrators can issue this command. Example to display the accounts that have been created: dws-3160-24pc:admin#show account command: show account current accounts: username access level --------------- ----...

  • Page 142

    Dws-3160 series gigabit ethernet unified switch cli reference guide 138 12-5 show switch description this command is used to display the switch information. Format show switch parameters none. Restrictions none. Example the following is an example for display of switch information. Dws-3160-24pc:adm...

  • Page 143

    Dws-3160 series gigabit ethernet unified switch cli reference guide 139 12-6 enable telnet description this command is used to enable the switch’s telnet based management software. Format enable telnet {} parameters - (optional) the tcp port number. Tcp ports are numbered between 1 and 65535. The “w...

  • Page 144

    Dws-3160 series gigabit ethernet unified switch cli reference guide 140 dws-3160-24pc:admin# disable telnet command: disable telnet success. Dws-3160-24pc:admin# 12-8 enable web description this command is used to enable the switch’s http based management software. Format enable web {} parameters - ...

  • Page 145

    Dws-3160 series gigabit ethernet unified switch cli reference guide 141 restrictions only administrators and operators can issue this command. Example to disable http: dws-3160-24pc:admin# disable web command: disable web success. Dws-3160-24pc:admin# 12-10 reboot description this command is used to...

  • Page 146

    Dws-3160 series gigabit ethernet unified switch cli reference guide 142 the configuration settings include enable/disable of clipaging, greeting message, and command prompt will also be reset by all the reset commands. There is one exception, the “reset” command will not reset ip address configured ...

  • Page 147

    Dws-3160 series gigabit ethernet unified switch cli reference guide 143 parameters - specifies a firmware file on the device file system. Boot_up - specifies the firmware as the boot up firmware. Restrictions only administrators can issue this command. Example to config image 1 as the boot up image:...

  • Page 148

    Dws-3160 series gigabit ethernet unified switch cli reference guide 144 restrictions only administrators, operators and power-users can issue this command. Example to create an ip interface: dws-3160-24pc:admin#create ipif inter2 192.168.16.1/24 default state enable secondary command: create ipif in...

  • Page 149

    Dws-3160 series gigabit ethernet unified switch cli reference guide 145 address and length of network prefix. There can be multiple v6 addresses defined on an interface. Thus, as a new address is defined, it is added on this ipif. - enter the ipv6 address used here. State - specifies that the ipv6 i...

  • Page 151

    Dws-3160 series gigabit ethernet unified switch cli reference guide 147 - enter the ip interface name used here. This name can be up to 12 characters long. All – specifies that all the ip interfaces will be disabled. Restrictions only administrators, operators and power-users can issue this command....

  • Page 152

    Dws-3160 series gigabit ethernet unified switch cli reference guide 148 dws-3160-24pc:admin#show ipif command: show ipif ip interface : inter2 vlan name : default interface admin state : enabled link status : linkup ipv4 address : 192.168.16.1/24 (manual) secondary proxy arp : disabled (local : disa...

  • Page 153

    Dws-3160 series gigabit ethernet unified switch cli reference guide 149 dws-3160-24pc:admin#enable ipif_ipv6_link_local_auto newone command: enable ipif_ipv6_link_local_auto newone success. Dws-3160-24pc:admin# 12-20 disable ipif_ipv6_link_local_auto description this command is used to disable the a...

  • Page 154

    Dws-3160 series gigabit ethernet unified switch cli reference guide 150 characters long. Restrictions only administrators, operators and power-users can issue this command. Example t o display the link local address automatic configuration state. Dws-3160-24pc:admin#show ipif_ipv6_link_local_auto co...

  • Page 156

    Dws-3160 series gigabit ethernet unified switch cli reference guide 152 example to enable the port state and drop mode: dws-3160-24pc:admin# config bpdu_protection ports 1 state enable mode drop commands: config bpdu_protection ports 1 state enable mode drop success. Dws-3160-24pc:admin# 13-2 config...

  • Page 158

    Dws-3160 series gigabit ethernet unified switch cli reference guide 154 dws-3160-24pc:admin# enable bpdu_protection commands: enable bpdu_protection success. Dws-3160-24pc:admin# 13-5 disable bpdu_protection description this command is used to disable the bpdu protection function globally for the sw...

  • Page 159

    Dws-3160 series gigabit ethernet unified switch cli reference guide 155 restrictions none. Example to display the bpdu protection for the entire switch: dws-3160-24pc:admin#show bpdu_protection command: show bpdu_protection bpdu protection global settings ---------------------------------------- bpd...

  • Page 161

    Dws-3160 series gigabit ethernet unified switch cli reference guide 157 example test the cable on port 1, 2, 3, 23 and 24: dws-3160-24pc:admin#cable_diag ports 1,2,3,23,24 command: cable_diag ports 1-3,23-24 perform cable diagnostics ... Port type link status test result cable length (m) ------ ----...

  • Page 163

    Dws-3160 series gigabit ethernet unified switch cli reference guide 159 15-1 enable captive_portal description this command is used to enable the captive portal operation on the switch. Format enable captive_portal parameters none. Restrictions only administrators can issue this command. Example to ...

  • Page 164

    Dws-3160 series gigabit ethernet unified switch cli reference guide 160 dws-3160-24pc:admin#disable captive_portal command: disable captive_portal success. Dws-3160-24pc:admin# 15-3 config captive_portal description this command is used to configure the captive portal’s global settings on the switch...

  • Page 165

    Dws-3160 series gigabit ethernet unified switch cli reference guide 161 dws-3160-24pc:admin#config captive_portal http_port 100 command: config captive_portal http_port 100 success. Dws-3160-24pc:admin# to disable the captive portal’s statistics report option: dws-3160-24pc:admin#config captive_port...

  • Page 166

    Dws-3160 series gigabit ethernet unified switch cli reference guide 162 example to enable all captive portal snmp traps: dws-3160-24pc:admin#config captive_portal trap enable all command: config captive_portal trap enable all success. Dws-3160-24pc:admin# to enable the captive portal snmp trap optio...

  • Page 167

    Dws-3160 series gigabit ethernet unified switch cli reference guide 163 to display summarized information about the captive portal’s configuration when the captive portal is disabled: dws-3160-24pc:admin#show captive_portal command: show captive_portal administrative mode : disable operational statu...

  • Page 168

    Dws-3160 series gigabit ethernet unified switch cli reference guide 164 additional http port - displays the port number of the additional http port configured for traffic. A value of 0 indicates that only port 80 is configured for http traffic. Additional http secure port - displays the port number ...

  • Page 169

    Dws-3160 series gigabit ethernet unified switch cli reference guide 165 dws-3160-24pc:admin#create captive_portal configuration 2 command: create captive_portal configuration 2 success. Dws-3160-24pc:admin# 15-7 delete captive_portal configuration description this command is used to delete a captive...

  • Page 171

    Dws-3160 series gigabit ethernet unified switch cli reference guide 167 - enter the wireless network value used here. This value must be between 1 and 64. Enable - specifies that the interface association option will be enabled. Disable - specifies that the interface association option will be disab...

  • Page 172

    Dws-3160 series gigabit ethernet unified switch cli reference guide 168 - (optional) enter the instructional authentication text used here. This string can be up to 1024 characters long. Link - specifies that the web user must add a captive portal configuration in a language that is supported by the...

  • Page 173

    Dws-3160 series gigabit ethernet unified switch cli reference guide 169 - (optional) enter the javascript logout message, to be displayed here. This string can be up to 512 characters long. Timeout_msg - specifies that the web user must enter the text that will be displayed when the system has rejec...

  • Page 174

    Dws-3160 series gigabit ethernet unified switch cli reference guide 170 name - specifies the name for the captive portal configuration. - enter the captive portal configuration name used here. This name can be up to 32 characters long. Default - specifies that the default value will be used. Protoco...

  • Page 175

    Dws-3160 series gigabit ethernet unified switch cli reference guide 171 dws-3160-24pc:admin#config captive_portal configuration 1 clear command: config captive_portal configuration 1 clear all fields will be set to the default values for this cp configuration. Are you sure you want to clear the cp c...

  • Page 176

    Dws-3160 series gigabit ethernet unified switch cli reference guide 172 dws-3160-24pc:admin#config captive_portal configuration 1 user_logout enable command: config captive_portal configuration 1 user_logout enable success. Dws-3160-24pc:admin# to enable the redirect mode option for the captive port...

  • Page 177

    Dws-3160 series gigabit ethernet unified switch cli reference guide 173 to configure the maximum rate at which a client can receive data from the network for the captive portal configuration: dws-3160-24pc:admin#config captive_portal configuration 1 max_bandwidth_down 102400 command: config captive_...

  • Page 178

    Dws-3160 series gigabit ethernet unified switch cli reference guide 174 restrictions none. Example to display information of all configured captive portal configurations: dws-3160-24pc:admin#show captive_portal configuration command: show captive_portal configuration cp id cp name mode protocol veri...

  • Page 179

    Dws-3160 series gigabit ethernet unified switch cli reference guide 175 dws-3160-24pc:admin#show captive_portal configuration 1 interface phy_port 2 command: show captive_portal configuration 1 interface phy_port 2 cp id : 1 cp name : training interface : physical port 2 interface description : phys...

  • Page 180

    Dws-3160 series gigabit ethernet unified switch cli reference guide 176 dws-3160-24pc:admin#show captive_portal configuration 1 status command: show captive_portal configuration 1 status cp id : 1 cp name : training cp mode : enable protocol mode : https verification mode : local group id : 2 group ...

  • Page 181

    Dws-3160 series gigabit ethernet unified switch cli reference guide 177 authenticated users - displays the number of authenticated users connected to the network through this captive portal. Configured locales - displays the number of locales defined for this captive portal. Interface description - ...

  • Page 182

    Dws-3160 series gigabit ethernet unified switch cli reference guide 178 dws-3160-24pc:admin#config captive_portal client deauthenticate command: config captive_portal client deauthenticate successfully deauthenticated clients. Success. Dws-3160-24pc:admin# to deauthenticate all captive portal client...

  • Page 183

    Dws-3160 series gigabit ethernet unified switch cli reference guide 179 restrictions none. Example to display the captive portal client connection summary: dws-3160-24pc:admin#show captive_portal client command: show captive_portal client mac address verify (*)peer authenticated ip address user name...

  • Page 184

    Dws-3160 series gigabit ethernet unified switch cli reference guide 180 in the above examples the following display parameters can be noticed: client mac address - displays the mac address of the wireless or wired client. Client ip address - displays the ip address of the wireless or wired client. P...

  • Page 185

    Dws-3160 series gigabit ethernet unified switch cli reference guide 181 physical port: 3 gigabit - level physical port: 4 gigabit - level physical port: 5 gigabit - level physical port: 6 gigabit - level physical port: 7 gigabit - level physical port: 8 gigabit - level physical port: 9 gigabit - lev...

  • Page 186

    Dws-3160 series gigabit ethernet unified switch cli reference guide 182 dws-3160-24pc:admin#show captive_portal interface client phy_port 23 command: show captive_portal interface client phy_port 23 interface : physical port 23 interface description : physical port: 23 gigabit - l... Client client m...

  • Page 187

    Dws-3160 series gigabit ethernet unified switch cli reference guide 183 15-14 show captive_portal interface configuration description this command is used to display the interface configuration assignments for all captive portal configurations or a specific configuration. Format show captive_portal ...

  • Page 189

    Dws-3160 series gigabit ethernet unified switch cli reference guide 185 wireless network 5 - dlink5 wireless wireless network 6 - dlink6 wireless wireless network 7 - dlink7 wireless wireless network 8 - dlink8 wireless wireless network 9 - dlink9 wireless wireless network 10 - dlink10 wireless wire...

  • Page 190

    Dws-3160 series gigabit ethernet unified switch cli reference guide 186 15-16 create captive_portal user description this command is used to create a captive portal user in the local database. There are two ways to create the user. Create using a name or create using a password. If the user is creat...

  • Page 192

    Dws-3160 series gigabit ethernet unified switch cli reference guide 188 be between 0 and 536870911 bytes per second. The value 0 indicates that the default value will be used. Default - specifies that the default value will be used. Max_bandwidth_up - specifies the maximum bandwidth at which the cli...

  • Page 193

    Dws-3160 series gigabit ethernet unified switch cli reference guide 189 dws-3160-24pc:admin#config captive_portal user 1 name cpuser command: config captive_portal user 1 name cpuser success. Dws-3160-24pc:admin# to configure the password for a captive portal user: dws-3160-24pc:admin#config captive...

  • Page 194

    Dws-3160 series gigabit ethernet unified switch cli reference guide 190 restrictions none. Example to display the information of all captive portal users: dws-3160-24pc:admin#show captive_portal user command: show captive_portal user session idle user id user name timeout timeout group id group name...

  • Page 195

    Dws-3160 series gigabit ethernet unified switch cli reference guide 191 parameters - enter the captive portal user group id used here. This value must be between 1 and 10. Restrictions only administrators can issue this command. Example to create a captive portal user group: dws-3160-24pc:admin#crea...

  • Page 197

    Dws-3160 series gigabit ethernet unified switch cli reference guide 193 parameters - (optional) enter the captive portal user group id used here. This value must be between 1 and 10. If no parameter is specified, then all the user groups will be displayed. Restrictions none. Example to display all t...

  • Page 198: Chapter 16

    Dws-3160 series gigabit ethernet unified switch cli reference guide 194 chapter 16 command logging command list enable command logging disable command logging show command logging 16-1 enable command logging description this command is used to enable the command logging function. When the switch is ...

  • Page 199

    Dws-3160 series gigabit ethernet unified switch cli reference guide 195 parameters none. Restrictions only administrators can issue this command. Example to disable the command logging: dws-3160-24pc:admin# disable command logging command: disable command logging success. Dws-3160-24pc:admin# 16-3 s...

  • Page 201

    Dws-3160 series gigabit ethernet unified switch cli reference guide 197 dws-3160-24pc:admin# create authentication guest_vlan vlan guestvlan command: create authentication guest_vlan vlan guestvlan success. Dws-3160-24pc:admin# 17-2 delete authentication guest_vlan description this command is used t...

  • Page 202

    Dws-3160 series gigabit ethernet unified switch cli reference guide 198 parameters vlan - assigned a vlan as guest vlan. The vlan must be an existed static vlan. - enter the vlan name here. This name can be up to 32 characters long. Vlanid - assigned a vlan as guest vlan. The vlan must be an existed...

  • Page 203

    Dws-3160 series gigabit ethernet unified switch cli reference guide 199 specified, or all vlans is disabled, means do not care which vlan the client comes from, the client will be authenticated if the client's mac(not care the vlan) is not authenticated. After the client is authenticated, the client...

  • Page 204

    Dws-3160 series gigabit ethernet unified switch cli reference guide 200 example this example displays the guest vlan setting: dws-3160-24pc:admin#show authentication guest_vlan command: show authentication guest_vlan guest vlan vid : 3 guest vlan member ports: 10 guest vlan vid : 100 guest vlan memb...

  • Page 205

    Dws-3160 series gigabit ethernet unified switch cli reference guide 201 dws-3160-24pc:admin#show authentication ports command: show authentication ports port methods auth mode authentication vlan(s) cp configuration ---- -------------- ----------- ---------------------- ------------------ 1 any host...

  • Page 206

    Dws-3160 series gigabit ethernet unified switch cli reference guide 202 dws-3160-24pc:admin# enable authorization attributes command: enable authorization attributes success. Dws-3160-24pc:admin# 17-8 disable authorization description this command is used to disable authorization. Format disable aut...

  • Page 207

    Dws-3160 series gigabit ethernet unified switch cli reference guide 203 restrictions none. Example to display the authorization status: dws-3160-24pc:admin#show authorization command: show authorization authorization for attributes: enabled dws-3160-24pc:admin# 17-10 config authentication server fai...

  • Page 208

    Dws-3160 series gigabit ethernet unified switch cli reference guide 204 format show authentication parameters none. Restrictions none. Example to display the global authentication configuration: dws-3160-24pc:admin# show authentication command: show authentication authentication server failover: blo...

  • Page 210

    Dws-3160 series gigabit ethernet unified switch cli reference guide 206 level setting regarding stp is not displayed. The lower level setting will only be displayed when the higher level setting is enabled. Modified - display only the commands which are not from the ‘reset’ default setting. Current_...

  • Page 211

    Dws-3160 series gigabit ethernet unified switch cli reference guide 207 dws-3160-24pc:admin#show config effective command: show config effective #------------------------------------------------------------------------------ # dws-3160-24pc gigabit ethernet switch # configuration # # firmware: build...

  • Page 212

    Dws-3160 series gigabit ethernet unified switch cli reference guide 208 dws-3160-24pc:admin#config configuration config.Cfg boot_up command: config configuration config.Cfg boot_up success. Dws-3160-24pc:admin# 18-3 save description this command is used to save the current configuration to a file. T...

  • Page 213

    Dws-3160 series gigabit ethernet unified switch cli reference guide 209 format show boot_file parameters none. Restrictions none. Example to display the boot file: dws-3160-24pc:admin#show boot_file command: show boot_file bootup firmware : /c:/runtime.Had bootup configuration : /c:/config.Cfg dws-3...

  • Page 215

    Dws-3160 series gigabit ethernet unified switch cli reference guide 211 19-1 create cfm md description this command is used to create a maintenance domain. Format create cfm md {md_index } level parameters md - specifies the maintenance domain name. - enter the maintenance domain name here. This nam...

  • Page 216

    Dws-3160 series gigabit ethernet unified switch cli reference guide 212 - enter the maintenance domain name here. This name can be up to 22 characters long. Md_index - specifies the maintenance domain index. - enter the maintenance domain index value here. This value must be between 1 and 4294967295...

  • Page 217

    Dws-3160 series gigabit ethernet unified switch cli reference guide 213 md - specifies the maintenance domain name. - enter the maintenance domain name here. This name can be up to 22 characters long. Md_index - specifies the maintenance domain index. - enter the maintenance domain index value here....

  • Page 218

    Dws-3160 series gigabit ethernet unified switch cli reference guide 214 vlanid - (optional) specifies the vlan identifier. Different mas must be associated with different vlans. - enter the vlan id used here. This value must be between 1 and 4094. Mip - (optional) this is the control creation of mip...

  • Page 220

    Dws-3160 series gigabit ethernet unified switch cli reference guide 216 • cross-connect ccm received: priority 5 • error ccm received: priority 4 • some remote meps down: priority 3 • some remote mep mac status errors: priority 2 • some remote mep defect indications: priority 1 if multiple types of ...

  • Page 221

    Dws-3160 series gigabit ethernet unified switch cli reference guide 217 sent. The unit is centisecond, the range is 250-1000. The default value is 250. - enter the alarm time value here. This value must be between 250 and 1000 centiseconds. Alarm_reset_time - (optional) this is the dormant duration ...

  • Page 222

    Dws-3160 series gigabit ethernet unified switch cli reference guide 218 restrictions only administrators, operators and power-users can issue this command. Example to delete a cfm mep: dws-3160-24pc:admin# delete cfm mep mepname mep1 command: delete cfm mep mepname mep1 success. Dws-3160-24pc:admin#...

  • Page 223

    Dws-3160 series gigabit ethernet unified switch cli reference guide 219 dws-3160-24pc:admin# delete cfm ma op1 md op_domain command: delete cfm ma op1 md op_domain success. Dws-3160-24pc:admin# 19-9 delete cfm md description this command is used to delete a previously created maintenance domain. All...

  • Page 224

    Dws-3160 series gigabit ethernet unified switch cli reference guide 220 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to enable the cfm globally: dws-3160-24pc:admin# enable cfm command: enable cfm success. Dws-3160-24pc:admin# 19-11 dis...

  • Page 225

    Dws-3160 series gigabit ethernet unified switch cli reference guide 221 19-12 config cfm ports description this command is used to enable or disable the cfm function on a per-port basis. By default, the cfm function is disabled on all ports. If the cfm is disabled on a port: 1. Mips are never create...

  • Page 226

    Dws-3160 series gigabit ethernet unified switch cli reference guide 222 parameters ports - specifies the logical port list. - enter the list of ports used for this configuration here. Restrictions none. Example to display the cfm ports: dws-3160-24pc:admin#show cfm ports 3-6 command: show cfm ports ...

  • Page 227

    Dws-3160 series gigabit ethernet unified switch cli reference guide 223 restrictions none. Example to display the cfm configuration: dws-3160-24pc:admin#show cfm command: show cfm cfm state: enabled md index md name level ---------- ---------------------- ----- 1 md 0 dws-3160-24pc:admin#show cfm md...

  • Page 228

    Dws-3160 series gigabit ethernet unified switch cli reference guide 224 mac address : 00-11-22-33-45-77 mep state : disabled ccm state : disabled pdu priority : 7 fault alarm : disabled alarm time : 250 centisecond((1/100)s) alarm reset time : 1000 centisecond((1/100)s) highest fault : none ais stat...

  • Page 229

    Dws-3160 series gigabit ethernet unified switch cli reference guide 225 md_index - (optional) specifies the maintenance domain index. - enter the maintenance domain index value here. This value must be between 1 and 4294967295. Ma - (optional) specifies the maintenance association name. - enter the ...

  • Page 230

    Dws-3160 series gigabit ethernet unified switch cli reference guide 226 example to display the meps and mips created on a port: dws-3160-24pc:admin# show cfm port 1 command: show cfm port 1 mac address: 00-05-78-82-32-01 md name ma name mepid level direction vid ----------- ----------- ----- ----- -...

  • Page 231

    Dws-3160 series gigabit ethernet unified switch cli reference guide 227 pattern - (optional) an arbitrary amount of data to be included in a data tlv, along with an indication whether the data tlv is to be included. - enter the pattern used here. This value can be up to 1500 characters long. Pdu_pri...

  • Page 232

    Dws-3160 series gigabit ethernet unified switch cli reference guide 228 - enter the maintenance association name her. This name can be up to 22 characters long. Ma_index – (optional) specifies the maintenance association index. - enter the maintenance association index value here. This value can be ...

  • Page 233

    Dws-3160 series gigabit ethernet unified switch cli reference guide 229 ma_index – (optional) specifies the maintenance association index. - enter the maintenance association index value here. This value must between 1 and 4294967295. Trans_id - (optional) specifies the identifier of the transaction...

  • Page 235

    Dws-3160 series gigabit ethernet unified switch cli reference guide 231 format show cfm mipccm parameters none. Restrictions none. Example to display mip ccm database entries: dws-3160-24pc:admin# show cfm mipccm command: show cfm mipccm ma vid mac address port ---------- ---- ----------------- ----...

  • Page 236

    Dws-3160 series gigabit ethernet unified switch cli reference guide 232 dws-3160-24pc:admin# config cfm mp_ltr_all enable command: config cfm mp_ltr_all enable success. Dws-3160-24pc:admin# 19-23 show cfm mp_ltr_all description this command is used to display the current configuration of the "all mp...

  • Page 237

    Dws-3160 series gigabit ethernet unified switch cli reference guide 233 - enter the mep name used here. This name can be up to 32 characters long. Md – (optional) specifies the maintenance domain name. - enter the maintenance domain name her. This name can be up to 22 characters long. Md_index – (op...

  • Page 238

    Dws-3160 series gigabit ethernet unified switch cli reference guide 234 parameters ports - (optional) specifies the port counters to display. If not specified, all ports will be displayed. - enter the list of ports used for this configuration here. Rx - (optional) specifies to display the rx counter...

  • Page 239

    Dws-3160 series gigabit ethernet unified switch cli reference guide 235 10 578 578 0 0 0 0 11 578 578 0 0 0 0 12 578 578 0 0 0 0 dws-3160-24pc:admin# show cfm pkt_cnt ccm command: show cfm pkt_cnt ccm ccm rx counters: xcon = cross-connect ccms error = error ccms normal = normal ccms mep name vid por...

  • Page 240

    Dws-3160 series gigabit ethernet unified switch cli reference guide 236 dws-3160-24pc:admin#clear cfm pkt_cnt command: clear cfm pkt_cnt success. Dws-3160-24pc:admin#clear cfm pkt_cnt ccm command: clear cfm pkt_cnt ccm success. Dws-3160-24pc:admin#.

  • Page 242

    Dws-3160 series gigabit ethernet unified switch cli reference guide 238 mepid - the mep id in the md which sends ais frame. - enter the mep id value here. This value must be between 1 and 8191. Period - (optional) the transmitting interval of ais pdu. The default period is 1 second. 1sec - specifies...

  • Page 243

    Dws-3160 series gigabit ethernet unified switch cli reference guide 239 md_index – (optional) specifies the maintenance domain index. - enter the maintenance domain index value here. This value must between 1 and 4294967295. Ma - specifies the maintenance association name. - enter the maintenance as...

  • Page 244

    Dws-3160 series gigabit ethernet unified switch cli reference guide 240 - enter the maintenance domain index value here. This value must between 1 and 4294967295. Ma - specifies the maintenance association name. - enter the maintenance association name here. This name can be up to 22 characters long...

  • Page 245

    Dws-3160 series gigabit ethernet unified switch cli reference guide 241 dws-3160-24pc:admin# config cfm ccm_fwd_mode hardware command: config cfm ccm_fwd_mode hardware success. Dws-3160-24pc:admin# 20-5 show cfm ccm_fwd description this command is used to display the ccm pdus forwarding mode. Format...

  • Page 248

    Dws-3160 series gigabit ethernet unified switch cli reference guide 244 - enter the mask pattern offset of the frame between 0 and 15 here. Offset_16-31 - (optional) specifies that the mask pattern offset of the frame will be between 16 and 31. - enter the mask pattern offset of the frame between 16...

  • Page 249

    Dws-3160 series gigabit ethernet unified switch cli reference guide 245 dws-3160-24pc:admin#create cpu access_profile profile_id 1 ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type command: create cpu access_profile profile_id 1 ethernet vlan source_ma...

  • Page 251

    Dws-3160 series gigabit ethernet unified switch cli reference guide 247 destination_ip - (optional) specifies an ip destination address. - enter the destination ip address used for this configuration here. Mask - (optional) specifies the mask. - specifies the mask. Dscp - (optional) specifies the va...

  • Page 252

    Dws-3160 series gigabit ethernet unified switch cli reference guide 248 - enter the mask pattern offset of the frame between 16 and 31 here. Offset_32-47 - (optional) specifies that the mask pattern offset of the frame will be between 32 and 47. - enter the mask pattern offset of the frame between 3...

  • Page 253

    Dws-3160 series gigabit ethernet unified switch cli reference guide 249 delete - specifies to delete a rule from the profile id entered. Access_id - specifies the index of access list entry. The range of this value is 1-100. - enter the access id here. This value must be between 1 and 100. Restricti...

  • Page 254

    Dws-3160 series gigabit ethernet unified switch cli reference guide 250 21-5 disable cpu interface filtering description this command is used to disable cpu interface filtering control. Format disable cpu_interface_filtering parameters none. Restrictions only administrators and operators can issue t...

  • Page 255

    Dws-3160 series gigabit ethernet unified switch cli reference guide 251 dws-3160-24pc:admin# show cpu access_profile command: show cpu access_profile cpu interface filtering state: disabled cpu interface access profile table total unused rule entries : 497 total used rule entries : 3 ===============...

  • Page 256

    Dws-3160 series gigabit ethernet unified switch cli reference guide 252 unused rule entries: 99 ------------------------------------------------------------------------------ rule id : 1 ports: 1-24 match on source mac : 00-00-22-b0-61-51 action: deny ================================================...

  • Page 258

    Dws-3160 series gigabit ethernet unified switch cli reference guide 254 dws-3160-24pc:admin# debug error_log dump command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2009/03/11 13:00:00 =====...

  • Page 260

    Dws-3160 series gigabit ethernet unified switch cli reference guide 256 22-3 debug output description this command is use to set a specified module’s debug message output to debug buffer or local console. If the user uses the command in a telnet session, the error message also is output to the local...

  • Page 261

    Dws-3160 series gigabit ethernet unified switch cli reference guide 257 restrictions only administrators can issue this command. Example to set the switch to not need a reboot when a fatal error occurs: dws-3160-24pc:admin# debug config error_reboot disable command: debug config error_reboot disable...

  • Page 262

    Dws-3160 series gigabit ethernet unified switch cli reference guide 258 format debug show arpunresolved_list parameters none. Restrictions none. Example to debug the arp unresolved list: dws-3160-24pc:admin#debug show arpunresolved_list command: debug show arpunresolved_list unresolved arp list ip a...

  • Page 263

    Dws-3160 series gigabit ethernet unified switch cli reference guide 259 dws-3160-24pc:admin#debug show error_reboot state command: debug show error_reboot state error reboot: enabled dws-3160-24pc:admin# 22-8 debug show status description this command is used to display the debug handler’s state and...

  • Page 264

    Dws-3160 series gigabit ethernet unified switch cli reference guide 260 dws-3160-24pc:admin#debug show status command: debug show status debug global state : disabled mstp : disabled impb : disabled vrrp : disabled erps : disabled wlan : disabled cp : disabled dws-3160-24pc:admin# 22-9 debug address...

  • Page 265

    Dws-3160 series gigabit ethernet unified switch cli reference guide 261 22-10 no debug address_binding description this command is used to stop the impb debug starting when the impb module receives an arp/ip packet or a dhcp packet. Format no debug address_binding parameters none. Restrictions only ...

  • Page 266

    Dws-3160 series gigabit ethernet unified switch cli reference guide 262 detail - sets the debug level to detail. Restrictions only administrators can issue this command. Example to configure all stp debug flags to brief level on all ports: dws-3160-24pc:admin# debug stp config ports all state brief ...

  • Page 267

    Dws-3160 series gigabit ethernet unified switch cli reference guide 263 port 7 : for port 8 : for port 9 : for port 10: for port 11: for port 12: for port 13: for port 14: for port 15: for port 16: for port 17: for port 18: for port 19: for port 20: for port 21: for port 22: for port 23: for port 24...

  • Page 268

    Dws-3160 series gigabit ethernet unified switch cli reference guide 264 command: debug stp show flag warning: only support local device. Global state: enabled port index event flag bpdu flag state machine flag ---------------------------------------------------------- 1 brief brief brief 2 brief bri...

  • Page 269

    Dws-3160 series gigabit ethernet unified switch cli reference guide 265 restrictions only administrators can issue this command. Example to display the stp counters for port 9: dws-3160-24pc:admin# debug stp show counter ports 9 command: debug stp show counter ports 9 stp counters ------------------...

  • Page 270

    Dws-3160 series gigabit ethernet unified switch cli reference guide 266 restrictions only administrators can issue this command. Example to clear all stp counters on the switch: dws-3160-24pc:admin# debug stp clear counter ports all command: debug stp clear counter ports all warning: only support lo...

  • Page 271

    Dws-3160 series gigabit ethernet unified switch cli reference guide 267.

  • Page 274

    Dws-3160 series gigabit ethernet unified switch cli reference guide 270 example to enable the dhcp local relay function: dws-3160-24pc:admin# enable dhcp_local_relay command: enable dhcp_local_relay success. Dws-3160-24pc:admin# 23-4 disable dhcp_local_relay description this command is use to global...

  • Page 275

    Dws-3160 series gigabit ethernet unified switch cli reference guide 271 restrictions none. Example to display local dhcp relay status: dws-3160-24pc:admin#show dhcp_local_relay command: show dhcp_local_relay dhcp/bootp local relay status : enabled dhcp/bootp local relay vid list : 1 dws-3160-24pc:ad...

  • Page 277

    Dws-3160 series gigabit ethernet unified switch cli reference guide 273 example to configure the dhcp relay hops and time parameters: dws-3160-24pc:admin# config dhcp_relay hops 4 time 2 command: config dhcp_relay hops 4 time 2 success. Dws-3160-24pc:admin# 24-2 config dhcp_relay add description thi...

  • Page 278

    Dws-3160 series gigabit ethernet unified switch cli reference guide 274 parameters ipif - the name of the ip interface which contains the ip address below. - enter the ip interface name used here. This name can be up to 12 characters long. - the dhcp/bootp server ip address. Restrictions only admini...

  • Page 279

    Dws-3160 series gigabit ethernet unified switch cli reference guide 275 dws-3160-24pc:admin# config dhcp_relay option_82 check disable command: config dhcp_relay option_82 check disable success. Dws-3160-24pc:admin# 24-5 config dhcp_relay option_82 policy description this command is used to configur...

  • Page 281

    Dws-3160 series gigabit ethernet unified switch cli reference guide 277 example to configure the state of the dhcp option 82 for the dhcp relay function: dws-3160-24pc:admin# config dhcp_relay option_82 state enable command: config dhcp_relay option_82 state enable success. Dws-3160-24pc:admin# 24-8...

  • Page 282

    Dws-3160 series gigabit ethernet unified switch cli reference guide 278 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to disable the dhcp relay function: dws-3160-24pc:admin# disable dhcp_relay command: disable dhcp_relay success. Dws-31...

  • Page 283

    Dws-3160 series gigabit ethernet unified switch cli reference guide 279 dws-3160-24pc:admin#show dhcp_relay ipif system command: show dhcp_relay ipif system dhcp/bootp relay status : enabled dhcp/bootp hops count limit : 4 dhcp/bootp relay time threshold : 2 dhcp vendor class identifier option 60 st...

  • Page 285

    Dws-3160 series gigabit ethernet unified switch cli reference guide 281 restrictions only administrators, operators and power-users can issue this command. Example to configure the dhcp relay option 60 option: dws-3160-24pc:admin# config dhcp_relay option_60 add string "abc" relay 10.90.90.1 exact-m...

  • Page 286

    Dws-3160 series gigabit ethernet unified switch cli reference guide 282 dws-3160-24pc:admin#config dhcp_relay option_60 default mode drop command: config dhcp_relay option_60 default mode drop success. Dws-3160-24pc:admin# 24-14 config dhcp_relay option_60 delete description this command is use to d...

  • Page 289

    Dws-3160 series gigabit ethernet unified switch cli reference guide 285 restrictions only administrators, operators and power-users can issue this command. Example to configure the dhcp relay option 61 function: dws-3160-24pc:admin# config dhcp_relay option_61 add mac_address 00-11-22-33- 44-55 drop...

  • Page 291

    Dws-3160 series gigabit ethernet unified switch cli reference guide 287 dws-3160-24pc:admin# show dhcp_relay option_61 command: show dhcp_relay option_61 default relay rule: 10.90.90.200 matching rules: client-id type relay rule ---------------------- ----------- ---------------- abc string drop abc...

  • Page 293

    Dws-3160 series gigabit ethernet unified switch cli reference guide 289 - enter the dhcp server ip address here. Client_mac - (optional) the mac address of the dhcp client. - enter the dhcp client mac address here. Ports - the port number of filter dhcp server. - enter the list of ports to be config...

  • Page 294

    Dws-3160 series gigabit ethernet unified switch cli reference guide 290 restrictions none. Example to display the dhcp server/client filter list created on the switch: dws-3160-24pc:admin#show filter dhcp_server command: show filter dhcp_server enabled ports: 1-10 trap & log state: disabled illegal ...

  • Page 295: Chapter 26

    Dws-3160 series gigabit ethernet unified switch cli reference guide 291 chapter 26 d-link license management system (dlms) command list install dlms activation_code show dlms license 26-1 install dlms activation_code description this command is used to install a dlms activation code. The activation ...

  • Page 296

    Dws-3160 series gigabit ethernet unified switch cli reference guide 292 26-2 show dlms license description this command is used to display the license information. Format show dlms license parameters none. Restrictions none. Example to display license information: dws-3160-24pc:admin#show dlms licen...

  • Page 298

    Dws-3160 series gigabit ethernet unified switch cli reference guide 294 dws-3160-24pc:admin# enable erps command: enable erps success. Dws-3160-24pc:admin# 27-2 disable erps description this command is used to disable the global erps function on a switch. Format disable erps parameters none. Restric...

  • Page 299

    Dws-3160 series gigabit ethernet unified switch cli reference guide 295 parameters raps_vlan - specifies the vlan which will be the r-aps vlan. - enter the vlan id used here. Restrictions only administrators, operators and power-users can issue this command. Example to create an r-aps vlan: dws-3160...

  • Page 300

    Dws-3160 series gigabit ethernet unified switch cli reference guide 296 27-5 config erps raps_vlan description this command is used to configure the erps r-aps vlan settings. The ring mel is one field in the r-aps pdu. Note: if cfm (connectivity fault management) and erps are used at the same time, ...

  • Page 301

    Dws-3160 series gigabit ethernet unified switch cli reference guide 297 wtr timer - wtr timer is used to prevent frequent operation of the protection switch due to an intermittent defect. This timer is used during the protection switching process when a link failure recovers. It is only used by the ...

  • Page 302

    Dws-3160 series gigabit ethernet unified switch cli reference guide 298 enable - specifies the device as an rpl owner node. Disable - this node is not an rpl owner. By default, the rps owner is disabled. Protected_vlan - specifies to add or delete the protected vlan group. Add - add vlans to the pro...

  • Page 303

    Dws-3160 series gigabit ethernet unified switch cli reference guide 299 dws-3160-24pc:admin#config erps raps_vlan 100 ring_port west 5 command: config erps raps_vlan 100 ring_port west 5 success. Dws-3160-24pc:admin# to configure the rpl port or the rpl owner for a specific r-aps vlan: dws-3160-24pc...

  • Page 305

    Dws-3160 series gigabit ethernet unified switch cli reference guide 301 example to configure the trap state of the erps: dws-3160-24pc:admin# config erps trap enable command: config erps trap enable success. Dws-3160-24pc:admin# 27-8 show erps description this command is used to display erps configu...

  • Page 306

    Dws-3160 series gigabit ethernet unified switch cli reference guide 302 dws-3160-24pc:admin#show erps command: show erps global status : enabled log status : enabled trap status : enabled ------------------------------------ r-aps vlan : 3 erps status : enabled admin west port : 11 operational west ...

  • Page 308

    Dws-3160 series gigabit ethernet unified switch cli reference guide 304 parameters none. Restrictions none. Example to display the dhcp server/client filter list created on the switch: dws-3160-24pc:admin#show filter netbios command: show filter netbios enabled ports: 1-10 dws-3160-24pc:admin# 28-3 ...

  • Page 309

    Dws-3160 series gigabit ethernet unified switch cli reference guide 305 28-4 show filter extensive_netbios description this command is used to display the extensive netbios state on the switch. Format show filter extensive_netbios parameters none. Restrictions none. Example to display the extensive ...

  • Page 311

    Dws-3160 series gigabit ethernet unified switch cli reference guide 307 dws-3160-24pc:admin# create fdb default 00-00-00-00-01-02 port 5 command: create fdb default 00-00-00-00-01-02 port 5 success. Dws-3160-24pc:admin# to filter a unicast mac: dws-3160-24pc:admin# create fdb default 00-00-00-00-01-...

  • Page 312

    Dws-3160 series gigabit ethernet unified switch cli reference guide 308 dws-3160-24pc:admin#create fdb vlanid 1 00-00-00-00-01-05 drop command: create fdb vlanid 1 00-00-00-00-01-05 drop success. Dws-3160-24pc:admin# 29-3 create multicast_fdb description this command is used to create a static entry...

  • Page 313

    Dws-3160 series gigabit ethernet unified switch cli reference guide 309 name length is 32. - the mac address that will be added or deleted to the forwarding table. Add - specifies to add ports to the multicast forwarding table. Delete - specifies to remove ports from the multicast forwarding table. ...

  • Page 314

    Dws-3160 series gigabit ethernet unified switch cli reference guide 310 dws-3160-24pc:admin#config fdb aging_time 600 command: config fdb aging_time 600 success. Dws-3160-24pc:admin# 29-6 config multicast vlan_filtering_mode description this command is used to configure the multicast packet filterin...

  • Page 315

    Dws-3160 series gigabit ethernet unified switch cli reference guide 311 format delete fdb parameters - the name of the vlan on which the mac address resides. The maximum name length is 32. - the multicast mac address to be deleted from the static forwarding table. Restrictions only administrators, o...

  • Page 316

    Dws-3160 series gigabit ethernet unified switch cli reference guide 312 example to clear all fdb dynamic entries: dws-3160-24pc:admin# clear fdb all command: clear fdb all success. Dws-3160-24pc:admin# 29-9 show multicast_fdb description this command is used to display the multicast forwarding datab...

  • Page 318

    Dws-3160 series gigabit ethernet unified switch cli reference guide 314 dws-3160-24pc:admin#show fdb security command: show fdb security vid mac address port type status security module ---- ----------------- ----- ------- ------- -------------------------------- 1 00-00-00-00-01-02 5 static forward...

  • Page 319

    Dws-3160 series gigabit ethernet unified switch cli reference guide 315 dws-3160-24pc:admin#show multicast vlan_filtering_mode command: show multicast vlan_filtering_mode vlan id/vlan name multicast filter mode ---------------------------------------- ----------------------------- 1 /default forward...

  • Page 321

    Dws-3160 series gigabit ethernet unified switch cli reference guide 317 30-2 change drive description this command is used to change the current drive. Format change drive parameters - specifies the drive id. The format of drive_id is c:/, d:/ etc. Restrictions none. Example to display the storage m...

  • Page 322

    Dws-3160 series gigabit ethernet unified switch cli reference guide 318 example to make a directory: dws-3160-24pc:admin# md c:/abc command: md c:/abc success. Dws-3160-24pc:admin# 30-4 rd description this command is used to remove a directory. If there are files still existing in the directory, thi...

  • Page 323

    Dws-3160 series gigabit ethernet unified switch cli reference guide 319 format cd {} parameters - (optional) specifies the directory to be removed. The path name can be specified either as a full path name or partial name. For partial path name, it indicates the file is in the current directory. Thi...

  • Page 324

    Dws-3160 series gigabit ethernet unified switch cli reference guide 320 dws-3160-24pc:admin#dir command: dir directory of /c: idx info attr size update time name --- ------- ---- -------- ------------------- ---------------- 1 cfg(*) -rw- 80878 2000/01/28 23:17:20 config.Cfg 2 drw- 0 2000/01/01 00:0...

  • Page 325

    Dws-3160 series gigabit ethernet unified switch cli reference guide 321 30-8 del description this command is used to delete a file, either physically or softly. It is also used to delete a directory and its contents. If two files with the same name under the same directory are softly deleted sequent...

  • Page 326

    Dws-3160 series gigabit ethernet unified switch cli reference guide 322 dws-3160-24pc:admin#dir command: dir directory of /c: idx info attr size update time name --- ------- ---- -------- ------------------- ---------------- 1 drw- 0 2000/01/15 03:55:26 12 2 cfg(*) -rw- 77149 2000/01/15 03:26:52 con...

  • Page 327

    Dws-3160 series gigabit ethernet unified switch cli reference guide 323 parameters - specifies the file to be deleted. If it is specified in the associated form, then it is related to the current directory. This name can be up to 64 characters long. Restrictions only administrators and operators can...

  • Page 328

    Dws-3160 series gigabit ethernet unified switch cli reference guide 324 30-10 move description this command is used to move a file around the file system. Note: when a file is moved, it can be renames at the same time too. Format move parameters - specifies the file to be moved. The path name can be...

  • Page 329

    Dws-3160 series gigabit ethernet unified switch cli reference guide 325 this name can be up to 64 characters long. - specifies the file to copy to. The path name can be specified either as a full path name or partial name. For partial path name, it indicates the file is in the current directory. Thi...

  • Page 330

    Dws-3160 series gigabit ethernet unified switch cli reference guide 326 dws-3160-24pc:admin#format d: fat32 aaaa command: format d: fat32 aaaa formatting........................... Done success dws-3160-24pc:admin#.

  • Page 332

    Dws-3160 series gigabit ethernet unified switch cli reference guide 328 match the system’s own ip address. In this case, the system knows that somebody out there uses an ip address that is conflict with the system. In order to reclaim the correct host of this ip address, the system can send out the ...

  • Page 333

    Dws-3160 series gigabit ethernet unified switch cli reference guide 329 restrictions only administrators, operators and power-users can issue this command. Example to display the global gratuitous arp state: dws-3160-24pc:admin# config gratuitous_arp learning enable command: config gratuitous_arp le...

  • Page 334

    Dws-3160 series gigabit ethernet unified switch cli reference guide 330 31-5 enable gratuitous_arp description the command is used to enable gratuitous arp trap and log state. The switch can trap and log the ip conflict event to inform the administrator. By default, trap is disabled and event log is...

  • Page 335

    Dws-3160 series gigabit ethernet unified switch cli reference guide 331 log - (optional) specifies to disable the log function. Restrictions only administrators, operators and power-users can issue this command. Example to disable system interface’s gratuitous arp log and trap: dws-3160-24pc:admin# ...

  • Page 336

    Dws-3160 series gigabit ethernet unified switch cli reference guide 332 dws-3160-24pc:admin#show gratuitous_arp command: show gratuitous_arp send on ipif status up : enabled send on duplicate ip detected : enabled gratuitous arp learning : enabled ip interface name : inter2 gratuitous arp trap : dis...

  • Page 338

    Dws-3160 series gigabit ethernet unified switch cli reference guide 334 long. Vlanid - specifies the vlan id for which igmp snooping is to be configured. - enter the vlan id here. All - specifies to use all configured vlans. State - (optional) enable or disable igmp snooping for the chosen vlan. Ena...

  • Page 339

    Dws-3160 series gigabit ethernet unified switch cli reference guide 335 specific port/vlan. The rate is specified in packets per second. The packets that exceed the limit will be dropped. No_limit - configure the rate of the igmp control packet to be unlimited that the switch can process on a specif...

  • Page 340

    Dws-3160 series gigabit ethernet unified switch cli reference guide 336 subnet. The value of the robustness variable is used in calculating the following igmp message intervals: - enter the robustness variable value here. This value must be between 1 and 7. By default, the robustness variable is set...

  • Page 341

    Dws-3160 series gigabit ethernet unified switch cli reference guide 337 32-4 config router_ports description this command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the mult...

  • Page 342

    Dws-3160 series gigabit ethernet unified switch cli reference guide 338 add - specifies to add the router ports. Delete - specifies to delete the router ports. - specifies a range of ports to be configured. Restrictions only administrators, operators and power-users can issue this command. Example t...

  • Page 343

    Dws-3160 series gigabit ethernet unified switch cli reference guide 339 32-7 disable igmp_snooping description this command is used to disable igmp snooping on the switch. Disabling igmp snooping allows all igmp and ip multicast traffic to flood within a given ip interface. Note: disabling igmp snoo...

  • Page 345

    Dws-3160 series gigabit ethernet unified switch cli reference guide 341 example to delete an igmp snooping static group for vlan 1, group 239.1.1.1: dws-3160-24pc:admin#delete igmp_snooping static_group vlanid 2 239.1.1.1 command: delete igmp_snooping static_group vlanid 2 239.1.1.1 success. Dws-316...

  • Page 346

    Dws-3160 series gigabit ethernet unified switch cli reference guide 342 dws-3160-24pc:admin#config igmp_snooping static_group vlan v2 239.1.1.1 delete 24 command: config igmp_snooping static_group vlan v2 239.1.1.1 delete 24 success. Dws-3160-24pc:admin# 32-11 show igmp_snooping static_group descrip...

  • Page 347

    Dws-3160 series gigabit ethernet unified switch cli reference guide 343 not activated by igmp membership registration, but activated by the traffic. For an ordinary igmp snooping entry, the igmp protocol will take care of the aging out of the entry. For a data-driven entry, the entry can be specifie...

  • Page 348

    Dws-3160 series gigabit ethernet unified switch cli reference guide 344 dws-3160-24pc:admin#config igmp_snooping data_driven_learning vlan v2 state enable command: config igmp_snooping data_driven_learning vlan_name v2 state enable success. Dws-3160-24pc:admin# 32-13 config igmp_snooping data_driven...

  • Page 350

    Dws-3160 series gigabit ethernet unified switch cli reference guide 346 example to display igmp snooping: dws-3160-24pc:admin#show igmp_snooping command: show igmp_snooping igmp snooping global state : enabled data driven learning max entries : 50 vlan name : default query interval : 125 max respons...

  • Page 351

    Dws-3160 series gigabit ethernet unified switch cli reference guide 347 example to display the igmp snooping rate limit for ports 1 to 5: dws-3160-24pc:admin#show igmp_snooping rate_limit ports 1-5 command: show igmp_snooping rate_limit ports 1-5 port rate limit -------- --------------- 1 100 2 no l...

  • Page 352

    Dws-3160 series gigabit ethernet unified switch cli reference guide 348 dws-3160-24pc:admin#show igmp_snooping group command: show igmp_snooping group source/group : null/239.1.1.1 vlan name/vid : v2/2 member ports : 23 up time : 445 expiry time : 87 filter mode : exclude total entries: 1 dws-3160-2...

  • Page 353

    Dws-3160 series gigabit ethernet unified switch cli reference guide 349 dws-3160-24pc:admin#show igmp_snooping forwarding command: show igmp_snooping forwarding vlan name : v2 source ip : * multicast group : 239.1.1.1 port member : 23 total entries : 1 dws-3160-24pc:admin# 32-19 show router_ports de...

  • Page 354

    Dws-3160 series gigabit ethernet unified switch cli reference guide 350 dws-3160-24pc:admin#show router_ports all command: show router_ports all vlan name : default static router port : 1-10 dynamic router port : router ip : forbidden router port : 20 vlan name : v2 static router port : dynamic rout...

  • Page 355

    Dws-3160 series gigabit ethernet unified switch cli reference guide 351 example to display the igmp snooping statistics counter: dws-3160-24pc:admin#show igmp_snooping statistic counter vlanid 2 command: show igmp_snooping statistic counter vlanid 2 vlan name : v2 -----------------------------------...

  • Page 356

    Dws-3160 series gigabit ethernet unified switch cli reference guide 352 dws-3160-24pc:admin#show igmp_snooping statistic counter ports 1 command: show igmp_snooping statistic counter ports 1 port # : 1 -------------------------------------------------- group number : 0 receive statistics query igmp ...

  • Page 357

    Dws-3160 series gigabit ethernet unified switch cli reference guide 353 dws-3160-24pc:admin# clear igmp_snooping statistic counter command: clear igmp_snooping statistic counter success. Dws-3160-24pc:admin#.

  • Page 359

    Dws-3160 series gigabit ethernet unified switch cli reference guide 355 will be used. This is the default setting. Replace_priority - (optional) specifies that the packet’s priority will be changed by the switch, based on the remap priority. This flag will only take effect when the remap priority is...

  • Page 360

    Dws-3160 series gigabit ethernet unified switch cli reference guide 356 changed to the multicast vlan. Source ports must be either tagged or untagged for any single multicast vlan, i.E. Both types cannot be members of the same multicast vlan. - enter the list of port to be configured here. State - (...

  • Page 361

    Dws-3160 series gigabit ethernet unified switch cli reference guide 357 example to create an igmp snooping multicast group profile with the name “igroup”: dws-3160-24pc:admin#create igmp_snooping multicast_vlan_group_profile igroup command: create igmp_snooping multicast_vlan_group_profile igroup su...

  • Page 362

    Dws-3160 series gigabit ethernet unified switch cli reference guide 358 dws-3160-24pc:admin#config igmp_snooping multicast_vlan_group_profile igroup add 225.1.1.1, 225.1.1.10-225.1.1.20 command: config igmp_snooping multicast_vlan_group_profile igroup add 225.1.1.1, 225.1.1.10-225.1.1.20 success. Dw...

  • Page 363

    Dws-3160 series gigabit ethernet unified switch cli reference guide 359 parameters - (optional) enter the multicast vlan group profile name here. The name can be up to 32 characters long. If no parameter is specified, then all igmp snooping multicast vlan group profiles will be displayed. Restrictio...

  • Page 364

    Dws-3160 series gigabit ethernet unified switch cli reference guide 360 parameters - enter the multicast vlan name here. The vlan name can be up to 32 characters long. Add – specifies to associate an igmp snooping profile to a multicast vlan. Delete – specifies to de-associate an igmp snooping profi...

  • Page 365

    Dws-3160 series gigabit ethernet unified switch cli reference guide 361 dws-3160-24pc:admin#show igmp_snooping multicast_vlan_group command: show igmp_snooping multicast_vlan_group vlan name vlan id multicast group profiles ------------------------------- ------- --------------------------------- mv...

  • Page 366

    Dws-3160 series gigabit ethernet unified switch cli reference guide 362 parameters none. Restrictions only administrators can issue this command. Example to enable the igmp snooping multicast vlan function globally: dws-3160-24pc:admin#enable igmp_snooping multicast_vlan command: enable igmp_snoopin...

  • Page 367

    Dws-3160 series gigabit ethernet unified switch cli reference guide 363 33-12 config igmp_snooping multicast_vlan forward_unmatched description this command is used to configure the forwarding mode for igmp multicast vlan unmatched packets. When the switch receives an igmp snooping packet, it will m...

  • Page 368

    Dws-3160 series gigabit ethernet unified switch cli reference guide 364 restrictions none. Example to display all igmp snooping multicast vlan entries: dws-3160-24pc:admin#show igmp_snooping multicast_vlan command: show igmp_snooping multicast_vlan igmp multicast vlan global state : enabled igmp mul...

  • Page 370

    Dws-3160 series gigabit ethernet unified switch cli reference guide 366 disable - disable ip inspection function. The default value is disabled. Protocol - (optional) specifies the version used. Ipv4 - only ipv4 packets will be checked. Allow_zeroip - (optional) specifies whether to allow arp packet...

  • Page 371

    Dws-3160 series gigabit ethernet unified switch cli reference guide 367 - enter the mac address used here. Ports - (optional) specifies the portlist the entry will apply to. If not ports are specified, the settings will be applied to all ports. - enter a list of ports used for this configuration her...

  • Page 372

    Dws-3160 series gigabit ethernet unified switch cli reference guide 368 dws-3160-24pc:admin# delete address_binding blocked vlan_name v31 mac_address 00-00-00-00-00-11 command: delete address_binding blocked vlan_name v31 mac_address 00-00-00-00- 00-11 success. Dws-3160-24pc:admin# 34-4 delete addre...

  • Page 374

    Dws-3160 series gigabit ethernet unified switch cli reference guide 370 example to display the impb global configuration: dws-3160-24pc:admin#show address_binding command: show address_binding trap/log : disabled dhcp snoop : disabled dws-3160-24pc:admin# to display the impb ports: dws-3160-24pc:adm...

  • Page 375

    Dws-3160 series gigabit ethernet unified switch cli reference guide 371 parameters blocked - specifies the addresses in the database that the system has auto learned and blocked. All - specifies that all the mac addresses will be used. Vlan_name - specifies the name of the vlan to which the blocked ...

  • Page 376

    Dws-3160 series gigabit ethernet unified switch cli reference guide 372 parameters ip_mac -specifies the user created impb database. All - specifies that all the ip addresses will be used. Ipaddress - specifies the learned ip address of the entry in the database. - enter the learned ip address here....

  • Page 377

    Dws-3160 series gigabit ethernet unified switch cli reference guide 373 bound to mac y, and then it is conflict. When the dhcp snooping learned entry binds with the static configured entry, and the dhcp snooping learned entry will not be created. In a situation where the same impb pair has been stat...

  • Page 378

    Dws-3160 series gigabit ethernet unified switch cli reference guide 374 example to disable dhcp ipv4 snooping mode: dws-3160-24pc:admin# disable address_binding dhcp_snoop command: disable address_binding dhcp_snoop success. Dws-3160-24pc:admin# 34-11 clear address_binding dhcp_snoop binding_entry p...

  • Page 379

    Dws-3160 series gigabit ethernet unified switch cli reference guide 375 parameters max_entry - (optional) to display the maximum number of entries per port. Ports - specifies the ports used for this configuration. - enter a list of ports used here. If no parameters are specified, display dhcp snoopi...

  • Page 380

    Dws-3160 series gigabit ethernet unified switch cli reference guide 376 34-13 show address_binding dhcp_snoop binding_entry description this command is used to display the dhcp snooping binding entries. Format show address_binding dhcp_snoop binding_entry {port } parameters port – (optional) specifi...

  • Page 381

    Dws-3160 series gigabit ethernet unified switch cli reference guide 377 parameters ports - specifies the list of ports you would like to set the maximum number of entries that can be learned. - enter the list of ports used here. All - specifies that all the ports will be used. Limit - specifies the ...

  • Page 382

    Dws-3160 series gigabit ethernet unified switch cli reference guide 378 dws-3160-24pc:admin# enable address_binding trap_log command: enable address_binding trap_log success. Dws-3160-24pc:admin# 34-16 disable address_binding trap_log description this command is used to disable the impb traps and lo...

  • Page 383

    Dws-3160 series gigabit ethernet unified switch cli reference guide 379 restrictions only administrators, operators and power-users can issue this command. Example to recover impb checking for ports 6 to 7: dws-3160-24pc:admin# config address_binding recover_learning ports 6-7 command: config addres...

  • Page 385

    Dws-3160 series gigabit ethernet unified switch cli reference guide 381 35-2 delete ipv6 neighbor_cache description this command is used to delete a neighbor cached entry or static neighbor cache entries from the address cache or all address cache entries on this ip interface. Both static and dynami...

  • Page 386

    Dws-3160 series gigabit ethernet unified switch cli reference guide 382 - enter the ip interface name here. This name can be up to 12 characters long. All - specifies that all the interface will be displayed. Ipv6address - the neighbor’s address. - enter the ipv6 address here. Static - static neighb...

  • Page 387

    Dws-3160 series gigabit ethernet unified switch cli reference guide 383 example to configure the retrans_time of ipv6 nd neighbor solicitation: dws-3160-24pc:admin#config ipv6 nd ns ipif system retrans_time 1000000 command: config ipv6 nd ns ipif system retrans_time 1000000 success. Dws-3160-24pc:ad...

  • Page 389

    Dws-3160 series gigabit ethernet unified switch cli reference guide 385 36-2 delete ipv6route description this command is used to delete an ipv6 static route. If the next hop is a global address, it is not needed to indicate the interface name. If the next hop is a link local address, then the inter...

  • Page 390

    Dws-3160 series gigabit ethernet unified switch cli reference guide 386 example display all the ipv6 routes: dws-3160-24pc:admin#show ipv6route command: show ipv6route ipv6 prefix: ::/0 protocol: static metric: 1 next hop : 3001::254 ipif : system backup : primary status : inactive total entries: 1 ...

  • Page 391: Chapter 37

    Dws-3160 series gigabit ethernet unified switch cli reference guide 387 chapter 37 jumbo frame command list enable jumbo_frame disable jumbo_frame show jumbo_frame 37-1 enable jumbo_frame description this command is used to configure the jumbo frame setting as enable. Format enable jumbo_frame param...

  • Page 392

    Dws-3160 series gigabit ethernet unified switch cli reference guide 388 parameters none. Restrictions only administrators and operators can issue this command. Example to disable the jumbo frame: dws-3160-24pc:admin# disable jumbo_frame command: disable jumbo_frame success. Dws-3160-24pc:admin# 37-3...

  • Page 394

    Dws-3160 series gigabit ethernet unified switch cli reference guide 390 38-2 delete link_aggregation group_id description this command is used to delete a configured link aggregation group. Format delete link_aggregation group_id parameters group_id - specifies the group id. The group number identif...

  • Page 395

    Dws-3160 series gigabit ethernet unified switch cli reference guide 391 - enter the list of port used for the configuration here. State - (optional) allows you to enable or disable the specified link aggregation group. If not specified, the group will keep the previous state, the default state is di...

  • Page 396

    Dws-3160 series gigabit ethernet unified switch cli reference guide 392 example to configure link aggregation algorithm for mac-source-dest: dws-3160-24pc:admin# config link_aggregation algorithm mac_source_dest command: config link_aggregation algorithm mac_source_dest success. Dws-3160-24pc:admin#...

  • Page 397

    Dws-3160 series gigabit ethernet unified switch cli reference guide 393 dws-3160-24pc:admin# show link_aggregation command: show link_aggregation link aggregation algorithm = mac-source-dest group id : 1 type : lacp master port : 1 member port : 1-8 active port : 7 status : enabled flooding port : 7...

  • Page 398

    Dws-3160 series gigabit ethernet unified switch cli reference guide 394 dws-3160-24pc:admin# show link_aggregation command: show link_aggregation link aggregation algorithm = mac-source-dest group id : 1 type : lacp master port : 1 member port : 1-8 active port : status : disabled flooding port : to...

  • Page 399

    Dws-3160 series gigabit ethernet unified switch cli reference guide 395 38-7 show lacp_port description this command is used to display the current mode of lacp of the ports. Format show lacp_port parameters lacp_port - specified a range of ports to be configured. - enter the list of ports used for ...

  • Page 401

    Dws-3160 series gigabit ethernet unified switch cli reference guide 397 restrictions only administrators, operators and power-users can issue this command. Example to enable lldp: dws-3160-24pc:admin# enable lldp command: enable lldp success. Dws-3160-24pc:admin# 39-2 disable lldp description this c...

  • Page 403

    Dws-3160 series gigabit ethernet unified switch cli reference guide 399 - enter the notification interval value here. This value must be between 5 and 3600 seconds. Restrictions only administrators, operators and power-users can issue this command. Example to changes the notification interval to 10 ...

  • Page 404

    Dws-3160 series gigabit ethernet unified switch cli reference guide 400 mgt_addr - specifies the management address used. Ipv4 - specifies the ipv4 address used. - enter the ip address used for this configuration here. Ipv6 - specifies the ipv6 address used. - enter the ipv6 address used for this co...

  • Page 405

    Dws-3160 series gigabit ethernet unified switch cli reference guide 401 eapol - (optional) specifies that the eapol protocol will be advertised. Lacp - (optional) specifies that the lacp protocol will be advertised. Gvrp - (optional) specifies that the gvrp protocol will be advertised. Stp - (option...

  • Page 406

    Dws-3160 series gigabit ethernet unified switch cli reference guide 402 to enable ports 1-2 for manage address entry: dws-3160-24pc:admin#config lldp ports 5-6 mgt_addr ipv4 10.90.90.90 enable command: config lldp ports 5-6 mgt_addr ipv4 10.90.90.90 enable success. Dws-3160-24pc:admin# to configure ...

  • Page 407

    Dws-3160 series gigabit ethernet unified switch cli reference guide 403 dws-3160-24pc:admin# config lldp ports all dot1_tlv_protocol_identity all enable command: config lldp ports all dot1_tlv_protocol_identity all enable success. Dws-3160-24pc:admin# to configure exclude the mac/phy configuration/s...

  • Page 408

    Dws-3160 series gigabit ethernet unified switch cli reference guide 404 format show lldp parameters none. Restrictions none. Example to display the lldp system level configuration status: dws-3160-24pc:admin#show lldp command: show lldp lldp system information chassis id subtype : mac address chassi...

  • Page 409

    Dws-3160 series gigabit ethernet unified switch cli reference guide 405 ipv6 - (optional) specifies the ipv6 address used for the display. - enter the ipv6 address used for this configuration here. Restrictions none. Example to display management address information: dws-3160-24pc:admin#show lldp mg...

  • Page 410

    Dws-3160 series gigabit ethernet unified switch cli reference guide 406 dws-3160-24pc:admin#show lldp ports 5 command: show lldp ports 5 port id : 5 ----------------------------------------------------------------- admin status : tx_and_rx notification status : enabled advertised tlvs option : port ...

  • Page 411

    Dws-3160 series gigabit ethernet unified switch cli reference guide 407 example to display outbound lldp advertisements for port 1 in detailed mode. Port description on the display should use the same value as ‘ifdescr’. Dws-3160-24pc:admin#show lldp local_ports 1 mode detailed command: show lldp lo...

  • Page 412

    Dws-3160 series gigabit ethernet unified switch cli reference guide 408 maximum frame size : 1542 dws-3160-24pc:admin# to display outbound lldp advertisements for port 1 in normal mode: dws-3160-24pc:admin#show lldp local_ports 1 mode normal command: show lldp local_ports 1 mode normal port id : 1 -...

  • Page 413

    Dws-3160 series gigabit ethernet unified switch cli reference guide 409 parameters - (optional) specified a range of ports to be configured. When port list is not specified, information for all ports will be displayed. Brief - (optional) display the information in brief mode. Normal - display the in...

  • Page 414

    Dws-3160 series gigabit ethernet unified switch cli reference guide 410 port pvid : 0 ppvid entries count : 0 vlan name entries count : 0 protocol id entries count : 0 mac/phy configuration/status : (none) power via mdi : (none) link aggregation : (none) maximum frame size : 0 unknown tlvs count : 0...

  • Page 415

    Dws-3160 series gigabit ethernet unified switch cli reference guide 411 39-12 show lldp statistics description this command is used to display an overview of neighbor detection activity on the switch. Format show lldp statistics parameters none. Restrictions none. Example to display global statistic...

  • Page 416

    Dws-3160 series gigabit ethernet unified switch cli reference guide 412 example to display statistics information of port 1: dws-3160-24pc:admin#show lldp statistics ports 1 command: show lldp statistics ports 1 port id : 1 --------------------------------------------- lldpstatstxportframestotal : 2...

  • Page 418

    Dws-3160 series gigabit ethernet unified switch cli reference guide 414 example to set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specifies vlan-based mode: dws-3160-24pc:admin# config loopdetect recover_timer 0 interval 20 mode vlan- based...

  • Page 419

    Dws-3160 series gigabit ethernet unified switch cli reference guide 415 format enable loopdetect parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to enable the lbd function globally: dws-3160-24pc:admin# enable loopdetect command: enable lo...

  • Page 420

    Dws-3160 series gigabit ethernet unified switch cli reference guide 416 dws-3160-24pc:admin# disable loopdetect command: disable loopdetect success. Dws-3160-24pc:admin# 40-5 show loopdetect description this command is used to display the lbd global configuration. Format show loopdetect parameters n...

  • Page 421

    Dws-3160 series gigabit ethernet unified switch cli reference guide 417 format show loopdetect ports {} parameters ports - specifies the range of member ports that will display the lbd settings. - enter the list of port to be configured here. If no port is specified, the configuration for all ports ...

  • Page 422

    Dws-3160 series gigabit ethernet unified switch cli reference guide 418 restrictions only administrators, operators and power-users can issue this command. Example to specifies that traps will be sent when the loop condition is detected or cleared: dws-3160-24pc:admin# config loopdetect trap both co...

  • Page 424

    Dws-3160 series gigabit ethernet unified switch cli reference guide 420 parameters none. Restrictions only administrators and operators can issue this command. Example to disable mac_notification function: dws-3160-24pc:admin# disable mac_notification command: disable mac_notification success. Dws-3...

  • Page 426

    Dws-3160 series gigabit ethernet unified switch cli reference guide 422 example to display the switch’s mac address table notification global settings: dws-3160-24pc:admin#show mac_notification command: show mac_notification global mac notification settings state : enabled interval : 1 history size ...

  • Page 427

    Dws-3160 series gigabit ethernet unified switch cli reference guide 423 dws-3160-24pc: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 ...

  • Page 429

    Dws-3160 series gigabit ethernet unified switch cli reference guide 425 example to enable the mac-based access control global state: dws-3160-24pc:admin# enable mac_based_access_control command: enable mac_based_access_control success. Dws-3160-24pc:admin# 42-2 disable mac_based_access_control descr...

  • Page 430

    Dws-3160 series gigabit ethernet unified switch cli reference guide 426 parameters password - in radius mode, the switch will communicate with the radius server using this password. The maximum length of the key is 16. - enter the password used here. The default password is “default”. Restrictions o...

  • Page 431

    Dws-3160 series gigabit ethernet unified switch cli reference guide 427 42-5 config mac_based_access_control guest_vlan description this command is used to assign a specific port list to the mac-based access control guest vlan. Ports that are not contained in port list will be removed from the mac-b...

  • Page 432

    Dws-3160 series gigabit ethernet unified switch cli reference guide 428 if the port authorize mode is port based mode, when the port has been moved to the authorized vlan, the subsequent users will not be authenticated again. They will operate in the current authorized vlan. If the port authorize mo...

  • Page 433

    Dws-3160 series gigabit ethernet unified switch cli reference guide 429 example to configure an unlimited number of maximum users for mac-based access control on ports 1 to 8: dws-3160-24pc:admin# config mac_based_access_control ports 1-8 max_users no_limit command: config mac_based_access_control p...

  • Page 434

    Dws-3160 series gigabit ethernet unified switch cli reference guide 430 dws-3160-24pc:admin#create mac_based_access_control guest_vlan mbacv15 command: create mac_based_access_control guest_vlan mbacv15 success. Dws-3160-24pc:admin# 42-8 delete mac_based_access_control description this command is us...

  • Page 435

    Dws-3160 series gigabit ethernet unified switch cli reference guide 431 parameters ports - specifies the port range to delete mac addresses on them. All - specifies that all mac-based access control enabled ports to delete mac addresses. - enter the list of port used for this configuration here. Mac...

  • Page 436

    Dws-3160 series gigabit ethernet unified switch cli reference guide 432 vlanid - (optional) specifies the target vlan by using the vid. When this host is authorized, it will be assigned to this vlan if the target vlan exists. - enter the vlan id here. This value must be between 1 and 4094. If no vla...

  • Page 437

    Dws-3160 series gigabit ethernet unified switch cli reference guide 433 example to configure the target vlan “default” for the mac-based access control local database entry 00- 00-00-00-00-01: dws-3160-24pc:admin# config mac_based_access_control_local mac 00-00-00-00-00- 01 vlan default command: con...

  • Page 438

    Dws-3160 series gigabit ethernet unified switch cli reference guide 434 dws-3160-24pc:admin# delete mac_based_access_control_local vlan vlan3 command: delete mac_based_access_control_local vlan vlan3 success. Dws-3160-24pc:admin# 42-13 config mac_based_access_control authorization attributes descrip...

  • Page 439

    Dws-3160 series gigabit ethernet unified switch cli reference guide 435 42-14 show mac_based_access_control description this command is used to display the mac-based access control setting. Format show mac_based_access_control {ports {}} parameters ports – (optional) displays the mac-based access co...

  • Page 440

    Dws-3160 series gigabit ethernet unified switch cli reference guide 436 parameters mac - (optional) displays mac-based access control local database entries for a specific mac address. - enter the mac address used here. Vlan - (optional) displays mac-based access control local database entries for a...

  • Page 441

    Dws-3160 series gigabit ethernet unified switch cli reference guide 437 example to display the mac-based access control authentication status on port 1-4 dws-3160-24pc:admin#show mac_based_access_control auth_state ports 1-4 command: show mac_based_access_control auth_state ports 1-4 (p): port-based...

  • Page 443

    Dws-3160 series gigabit ethernet unified switch cli reference guide 439 example to disable log state of mac-based access control: dws-3160-24pc:admin# config mac_based_access_control log state disable command: config mac_based_access_control log state disable success. Dws-3160-24pc:admin#.

  • Page 446

    Dws-3160 series gigabit ethernet unified switch cli reference guide 442 vlan - (optional) specifies the vlan that you would like to display. - enter the vlan name here. This name can be up to 32 characters long. Vlanid - (optional) specifies the vlan by vlan id. - enter the vlan id here. This value ...

  • Page 448

    Dws-3160 series gigabit ethernet unified switch cli reference guide 444 44-2 enable mirror description this command is used to enable the mirror function without having to modify the mirror session configuration. Format enable mirror parameters none. Restrictions only administrators and operators ca...

  • Page 449

    Dws-3160 series gigabit ethernet unified switch cli reference guide 445 example to disable mirroring function: dws-3160-24pc:admin# disable mirror command: disable mirror success. Dws-3160-24pc:admin# 44-4 show mirror description this command is used to display the mirror function’s state and mirror...

  • Page 451

    Dws-3160 series gigabit ethernet unified switch cli reference guide 447 long. Vlanid - specifies the id of the vlan for which mld snooping is to be configured. - enter the vlan id list here. All - specifies all vlans for which mld snooping is to be configured. State - (optional) enable or disable ml...

  • Page 452

    Dws-3160 series gigabit ethernet unified switch cli reference guide 448 configured. - enter the vlan name here. The vlan name can be up to 32 characters long. Vlanid - specifies the id of the vlan for which mld snooping querier is to be configured. - enter the vlan id list here. All - specifies all ...

  • Page 453

    Dws-3160 series gigabit ethernet unified switch cli reference guide 449 dws-3160-24pc:admin#config mld_snooping querier all query_interval 125 state enable command: config mld_snooping querier all query_interval 125 state enable success. Dws-3160-24pc:admin# 45-3 config mld_snooping router_ports des...

  • Page 455

    Dws-3160 series gigabit ethernet unified switch cli reference guide 451 restrictions only administrators, operators and power-users can issue this command. Example to enable mld snooping on the switch: dws-3160-24pc:admin# enable mld_snooping command: enable mld_snooping success. Dws-3160-24pc:admin...

  • Page 458

    Dws-3160 series gigabit ethernet unified switch cli reference guide 454 dws-3160-24pc:admin# show mld_snooping group command: show mld_snooping group source/group : 2001::1/fe1e::1 vlan name/vid : default/1 member ports : 1-2 up time : 26 expiry time : 258 filter mode : include source/group : 2002::...

  • Page 459

    Dws-3160 series gigabit ethernet unified switch cli reference guide 455 45-9 show mld_snooping forwarding description this command is used to display the switch’s current mld snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group that comes f...

  • Page 461

    Dws-3160 series gigabit ethernet unified switch cli reference guide 457 the static group will only take effect when mld snooping is enabled on the vlan. For those static member ports, the device needs to emulate the mld protocol operation to the querier, and forward the traffic destined to the multi...

  • Page 462

    Dws-3160 series gigabit ethernet unified switch cli reference guide 458 vlanid - specifies the id of the vlan on which the static group resides. - enter the vlan id list here. - specifies the multicast group ip address. Restrictions only administrators, operators and power-users can issue this comma...

  • Page 463

    Dws-3160 series gigabit ethernet unified switch cli reference guide 459 example to delete the ports 11 and 12 from mld snooping static member ports for group ff1e::1 on vlan id 2: dws-3160-24pc:admin#config mld_snooping static_group vlan v2 ff1e::1 delete 11- 12 command: config mld_snooping static_g...

  • Page 464

    Dws-3160 series gigabit ethernet unified switch cli reference guide 460 45-15 config mld_snooping data_driven_learning description this command is used to enable or disable the data-driven learning of an mld snooping group. When data-driven learning is enabled for the vlan, when the switch receives ...

  • Page 465

    Dws-3160 series gigabit ethernet unified switch cli reference guide 461 dws-3160-24pc:admin# config mld_snooping data_driven_learning vlan default state enable command: config mld_snooping data_driven_learning vlan default state enable success. Dws-3160-24pc:admin# 45-16 config mld_snooping data_dri...

  • Page 467

    Dws-3160 series gigabit ethernet unified switch cli reference guide 463 example to display mld snooping statistics counters: dws-3160-24pc:admin#show mld_snooping statistic counter vlanid 2 command: show mld_snooping statistic counter vlanid 2 vlan name : v2 -----------------------------------------...

  • Page 468

    Dws-3160 series gigabit ethernet unified switch cli reference guide 464 dws-3160-24pc:admin# clear mld_snooping statistics counter command: clear mld_snooping statistic counter success. Dws-3160-24pc:admin# 45-20 config mld_snooping rate_limit description this command is used to configure the rate l...

  • Page 471

    Dws-3160 series gigabit ethernet unified switch cli reference guide 467 will be used. This is the default setting. Replace_priority - (optional) specifies that the packet’s priority will be changed by the switch, based on the remap priority. This flag will only take effect when the remap priority is...

  • Page 472

    Dws-3160 series gigabit ethernet unified switch cli reference guide 468 members of the multicast vlan. The pvid of the untagged source port is automatically changed to the multicast vlan. Source ports must be either tagged or untagged for any single multicast vlan, i.E. Both types cannot be members ...

  • Page 473

    Dws-3160 series gigabit ethernet unified switch cli reference guide 469 example to create an mld snooping multicast group profile with the name “mgroup”: dws-3160-24pc:admin#create igmp_snooping multicast_vlan_group_profile mgroup command: create igmp_snooping multicast_vlan_group_profile mgroup suc...

  • Page 474

    Dws-3160 series gigabit ethernet unified switch cli reference guide 470 dws-3160-24pc:admin#config mld_snooping multicast_vlan_group_profile mgroup add ff1e::1, ff1e::10-ff1e::20 command: config mld_snooping multicast_vlan_group_profile mgroup add ff1e::1, ff1e::10-ff1e::20 success. Dws-3160-24pc:ad...

  • Page 475

    Dws-3160 series gigabit ethernet unified switch cli reference guide 471 parameters - (optional) enter the multicast vlan group profile name here. The name can be up to 32 characters long. If no parameter is specified, then all mld snooping multicast vlan group profiles will be displayed. Restriction...

  • Page 476

    Dws-3160 series gigabit ethernet unified switch cli reference guide 472 parameters - enter the multicast vlan name here. The vlan name can be up to 32 characters long. Add – specifies to associate an mld snooping profile to a multicast vlan. Delete – specifies to de-associate an mld snooping profile...

  • Page 477

    Dws-3160 series gigabit ethernet unified switch cli reference guide 473 dws-3160-24pc:admin#show mld_snooping multicast_vlan_group command: show mld_snooping multicast_vlan_group vlan name vlan id multicast group profiles ------------------------------- ------- --------------------------------- mv2 ...

  • Page 478

    Dws-3160 series gigabit ethernet unified switch cli reference guide 474 parameters none. Restrictions only administrators can issue this command. Example to enable the mld snooping multicast vlan function globally: dws-3160-24pc:admin#enable mld_snooping multicast_vlan command: enable mld_snooping m...

  • Page 479

    Dws-3160 series gigabit ethernet unified switch cli reference guide 475 46-12 config mld_snooping multicast_vlan forward_unmatched description this command is used to configure the forwarding mode for mld multicast vlan unmatched packets. When the switch receives an mld snooping packet, it will matc...

  • Page 480

    Dws-3160 series gigabit ethernet unified switch cli reference guide 476 example to display all mld snooping multicast vlan entries: dws-3160-24pc:admin#show mld_snooping multicast_vlan command: show mld_snooping multicast_vlan mld multicast vlan global state : enabled mld multicast vlan forward unma...

  • Page 482

    Dws-3160 series gigabit ethernet unified switch cli reference guide 478 dws-3160-24pc:admin# create mcast_filter_profile profile_id 2 profile_name mod command: create mcast_filter_profile profile_id 2 profile_name mod success. Dws-3160-24pc:admin# 47-2 config mcast_filter_profile description this co...

  • Page 484

    Dws-3160 series gigabit ethernet unified switch cli reference guide 480 all - all multicast address profiles will be deleted. Profile_name - specifies to display a profile based on the profile name. - enter the profile name value here. The profile name can be up to 32 characters long. Restrictions o...

  • Page 485

    Dws-3160 series gigabit ethernet unified switch cli reference guide 481 example to display all the defined multicast address profiles: dws-3160-24pc:admin#show mcast_filter_profile command: show mcast_filter_profile profile id name multicast addresses ---------- -------------------------------- ----...

  • Page 486

    Dws-3160 series gigabit ethernet unified switch cli reference guide 482 restrictions only administrators, operators and power-users can issue this command. Example to add multicast address profile 2 to ports 1 and 3: dws-3160-24pc:admin# config limited_multicast_addr ports 1,3 add profile_id 2 comma...

  • Page 487

    Dws-3160 series gigabit ethernet unified switch cli reference guide 483 example to configure the maximum number of multicast group that ports 1 and 3 can join to 100: dws-3160-24pc:admin#config max_mcast_group ports 1, 3 max_group 100 command: config max_mcast_group ports 1,3 max_group 100 success. ...

  • Page 488

    Dws-3160 series gigabit ethernet unified switch cli reference guide 484 dws-3160-24pc:admin#show max_mcast_group vlanid 1-3 command: show max_mcast_group vlanid 1-3 vlan max multicast group number action ------ ---------------------------- --------- 1 infinite drop 2 infinite drop 3 infinite drop to...

  • Page 489

    Dws-3160 series gigabit ethernet unified switch cli reference guide 485 dws-3160-24pc:admin#show limited_multicast_addr ports 1,3 command: show limited_multicast_addr ports 1,3 port : 1 access : deny profile id name multicast addresses ---------- -------------------------------- --------------------...

  • Page 491

    Dws-3160 series gigabit ethernet unified switch cli reference guide 487 dws-3160-24pc:admin#show stp command: show stp stp bridge global settings --------------------------- stp status : disabled stp version : rstp max age : 20 hello time : 2 forward delay : 15 max hops : 20 tx hold count : 6 forwar...

  • Page 492

    Dws-3160 series gigabit ethernet unified switch cli reference guide 488 dws-3160-24pc:admin#show stp instance command: show stp instance stp instance settings --------------------------- instance type : cist instance status : enabled instance priority : 61440(bridge priority : 61440, sys id ext : 0 ...

  • Page 493

    Dws-3160 series gigabit ethernet unified switch cli reference guide 489 dws-3160-24pc:admin#show stp ports command: show stp ports mstp port information ---------------------- port index : 1 , hello time: 2 /2 , port stp : enabled , external pathcost : auto/20000 , edge port : false/no , p2p : auto ...

  • Page 494

    Dws-3160 series gigabit ethernet unified switch cli reference guide 490 48-5 create stp instance_id description this command is used to create an mst instance without mapping the corresponding vlans. Format create stp instance_id parameters instance_id - specifies the mstp instance id. Instance 0 re...

  • Page 495

    Dws-3160 series gigabit ethernet unified switch cli reference guide 491 example to delete an mstp instance: dws-3160-24pc:admin# delete stp instance_id 2 command: delete stp instance_id 2 success. Dws-3160-24pc:admin# 48-7 config stp instance_id description this command is used to map or remove the ...

  • Page 497

    Dws-3160 series gigabit ethernet unified switch cli reference guide 493 example to enable stp: dws-3160-24pc:admin# enable stp command: enable stp success. Dws-3160-24pc:admin# 48-10 disable stp description this command is used to disable stp globally. Format disable stp parameters none. Restriction...

  • Page 498

    Dws-3160 series gigabit ethernet unified switch cli reference guide 494 parameters version – specifies that the stp version will be configured. Mstp – specifies that the stp version will be configured as multiple spanning tree protocol. Rstp - specifies that the stp version will be configured as rap...

  • Page 499

    Dws-3160 series gigabit ethernet unified switch cli reference guide 495 example to configure the stp instance’s priority: dws-3160-24pc:admin# config stp priority 61440 instance_id 0 command: config stp priority 61440 instance_id 0 success. Dws-3160-24pc:admin# 48-13 config stp description this comm...

  • Page 500

    Dws-3160 series gigabit ethernet unified switch cli reference guide 496 example to configure stp: dws-3160-24pc:admin# config stp maxage 25 command: config stp maxage 25 success. Dws-3160-24pc:admin# 48-14 config stp ports description this command is used to configure stp parameters for each port, e...

  • Page 501

    Dws-3160 series gigabit ethernet unified switch cli reference guide 497 true - specifies that the port can be set to propagate a topology change. False - specifies that the port cannot be set to propagate a topology change. Fbpdu - (optional) to decide if this port will flood stp bpdu when stp funct...

  • Page 502

    Dws-3160 series gigabit ethernet unified switch cli reference guide 498 example to configure stp mst ports: dws-3160-24pc:admin# config stp mst_ports 1 instance_id 0 internalcost auto command: config stp mst_ports 1 instance_id 0 internalcost auto success. Dws-3160-24pc:admin#.

  • Page 504

    Dws-3160 series gigabit ethernet unified switch cli reference guide 500 dws-3160-24pc:admin# create nlb multicast_fdb default 03-bf-01-01-01-01 command: create nlb multicast_fdb default 03-bf-01-01-01-01 success. Dws-3160-24pc:admin# 49-2 delete nlb multicast_fdb description this command is used to ...

  • Page 505

    Dws-3160 series gigabit ethernet unified switch cli reference guide 501 parameters - specifies the vlan of the nlb multicast fdb entry to be configured. Vlanid - specifies the vlan by the vlan id. - enter the vlan id here. - specifies the mac address of the nlb multicast fdb entry to be configured. ...

  • Page 506

    Dws-3160 series gigabit ethernet unified switch cli reference guide 502 dws-3160-24pc:admin#show nlb fdb command: show nlb fdb mac address vlan id egress ports ----------------- ---------- --------------------------------------------- 03-bf-01-01-01-01 1 1-5 total entries :1 dws-3160-24pc:admin#.

  • Page 508

    Dws-3160 series gigabit ethernet unified switch cli reference guide 504 dws-3160-24pc:admin#show packet ports 23 command: show packet ports 23 port number : 23 ================================================================== frame size/type frame counts frames/sec --------------- -----------------...

  • Page 509

    Dws-3160 series gigabit ethernet unified switch cli reference guide 505 dws-3160-24pc:admin#show error ports 23 command: show error ports 23 port number : 23 rx frames tx frames --------- --------- crc error 0 excessive deferral 0 undersize 0 crc error 0 oversize 0 late collision 0 fragment 0 excess...

  • Page 510

    Dws-3160 series gigabit ethernet unified switch cli reference guide 506 dws-3160-24pc:admin#show utilization ports command: show utilization ports port tx/sec rx/sec util port tx/sec rx/sec util ----- ---------- ---------- ---- ----- ---------- ---------- ---- 1 0 0 0 21 0 0 0 2 0 0 0 22 0 0 0 3 0 0...

  • Page 511

    Dws-3160 series gigabit ethernet unified switch cli reference guide 507 restrictions none. Example to display dram utilization: dws-3160-24pc:admin#show utilization dram command: show utilization dram dram utilization : total dram : 262144 kb used dram : 232732 kb utilization : 88 % ctrl+c esc q qui...

  • Page 512

    Dws-3160 series gigabit ethernet unified switch cli reference guide 508 dws-3160-24pc:admin#show utilization flash command: show utilization flash flash memory utilization : total flash : 29618 kb used flash : 8251 kb utilization : 27 % ctrl+c esc q quit space n next page p previous page r refresh 5...

  • Page 514

    Dws-3160 series gigabit ethernet unified switch cli reference guide 510 the link event parameter configures the capability of the ethernet oam critical link event. If the capability for an event is disabled, the port will never send out the corresponding critical link event. The command is used to c...

  • Page 515

    Dws-3160 series gigabit ethernet unified switch cli reference guide 511 disable - specifies to disable event notification. Error_frame_period - specifies error frame period. Threshold - specifies a threshold range between 0 and 4294967295. -specifies a threshold range between 0 and 4294967295. Windo...

  • Page 516

    Dws-3160 series gigabit ethernet unified switch cli reference guide 512 dws-3160-24pc:admin# to configure the error frame threshold to 2 and period to 1000 ms for port 1: dws-3160-24pc:admin# config ethernet_oam ports 1 link_monitor error_frame threshold 2 window 1000 notify_state enable command: co...

  • Page 517

    Dws-3160 series gigabit ethernet unified switch cli reference guide 513 dws-3160-24pc:admin# to configure the method of processing the received remote loopback command as “process” on port 1: dws-3160-24pc:admin# config ethernet_oam ports 1 received_remote_loopback process command: config ethernet_o...

  • Page 518

    Dws-3160 series gigabit ethernet unified switch cli reference guide 514 o unidirectional: it indicates that the oam entity supports the transmission of oampdus on links that are operating in unidirectional mode (traffic flowing in one direction only). O loopback: it indicates that the oam entity can...

  • Page 519

    Dws-3160 series gigabit ethernet unified switch cli reference guide 515 dws-3160-24pc:admin#show ethernet_oam ports 1 statistics command: show ethernet_oam ports 1 statistics port 1 ----------------------------------------------------------- information oampdu tx : 67 information oampdu rx : 0 uniqu...

  • Page 520

    Dws-3160 series gigabit ethernet unified switch cli reference guide 516 dws-3160-24pc:admin# clear ethernet_oam ports 1 statistics command: clear ethernet_oam ports 1 statistics success. Dws-3160-24pc:admin# to clear port 1 oam events: dws-3160-24pc:admin# clear ethernet_oam ports 1 event_log comman...

  • Page 522

    Dws-3160 series gigabit ethernet unified switch cli reference guide 518 parameters none. Restrictions none. Example to display the standalone device environment: dws-3160-24pc:admin#show environment command: show environment internal power : active external power : fail right fan 1 : speed low (3000...

  • Page 523

    Dws-3160 series gigabit ethernet unified switch cli reference guide 519 restrictions only administrators and operators can issue this command. Example to configure the warning temperature threshold: dws-3160-24pc:admin# config temperature threshold high 80 command: config temperature threshold high ...

  • Page 525

    Dws-3160 series gigabit ethernet unified switch cli reference guide 521 53-2 ping6 description this command is used to send out ipv6 internet control message protocol (icmp) echo messages to a remote ipv6 address. The remote ipv6 address will then echo or return the message. This is used to confirm ...

  • Page 527

    Dws-3160 series gigabit ethernet unified switch cli reference guide 523 dws-3160-24pc:admin# config port_security system max_learning_addr 256 command: config port_security system max_learning_addr 256 success. Dws-3160-24pc:admin# 54-2 config port_security ports description this command is used to ...

  • Page 528

    Dws-3160 series gigabit ethernet unified switch cli reference guide 524 restrictions only administrators, operators and power-users can issue this command. Example to configure the port-based port security setting so that the maximum number of port security entries is restricted to 10, and the lock ...

  • Page 529

    Dws-3160 series gigabit ethernet unified switch cli reference guide 525 example to configure the maximum number of vlan-based port security entries on vlan 1 to be 64: dws-3160-24pc:admin# config port_security vlan vlanid 1 max_learning_addr 64 command: config port_security vlan vlanid 1 max_learnin...

  • Page 531

    Dws-3160 series gigabit ethernet unified switch cli reference guide 527 restrictions none. Example to display all the port security entries: dws-3160-24pc:admin#show port_security_entry command: show port_security_entry mac address vid port lock mode ----------------- ---- ----- --------------- 00-1...

  • Page 532

    Dws-3160 series gigabit ethernet unified switch cli reference guide 528 parameters ports - (optional) specifies the range of ports that will display their configuration. While this parameter is null, to display the entries on all of the ports. - enter the list of port used for this configuration her...

  • Page 533

    Dws-3160 series gigabit ethernet unified switch cli reference guide 529 example to enable the port security trap and save the log: dws-3160-24pc:admin# enable port_security trap_log command: enable port_security trap_log success. Dws-3160-24pc:admin# 54-9 disable port_security trap_log description t...

  • Page 535

    Dws-3160 series gigabit ethernet unified switch cli reference guide 531 example to config poe system-wise was setting: dws-3160-24pc:admin#config poe system power_limit 250 power_disconnect_method deny_low_priority_port command: config poe system power_limit 250 power_disconnect_method deny_low_prio...

  • Page 536

    Dws-3160 series gigabit ethernet unified switch cli reference guide 532 long. Clear_time_range - (optional) remove the time range. Priority - (optional) port priority determines the priority the system attempts to supply the power to port. There are three levels of priority that can be selected, cri...

  • Page 537

    Dws-3160 series gigabit ethernet unified switch cli reference guide 533 format show poe system parameters none. Restrictions none. Example to display the poe system: dws-3160-24pc:admin#show poe system command: show poe system poe system information --------------------------------------------------...

  • Page 538

    Dws-3160 series gigabit ethernet unified switch cli reference guide 534 example to display poe information of ports 1 to 6: dws-3160-24pc:admin#show poe ports 1-6 command: show poe ports 1-6 port state priority power limit(mw) time range class power(mw) voltage(decivolt) current(ma) status =========...

  • Page 540

    Dws-3160 series gigabit ethernet unified switch cli reference guide 536 dws-3160-24pc:admin# config power_saving state enable command: config power_saving state enable success. Dws-3160-24pc:admin# 56-2 show power_saving description this command is used to display the current state of power saving. ...

  • Page 542

    Dws-3160 series gigabit ethernet unified switch cli reference guide 538 57-2 config dot1v_protocol_group add protocol description this command is used to add a protocol to a protocol group. The selection of a protocol can be a pre-defined protocol type or a user defined protocol. Format config dot1v...

  • Page 543

    Dws-3160 series gigabit ethernet unified switch cli reference guide 539 parameters group_id - specifies the group id to be deleted. - enter the group id used here. Group_name - specifies the name of the group to be deleted. - enter the group name here. This name can be up to 32 characters long. All ...

  • Page 544

    Dws-3160 series gigabit ethernet unified switch cli reference guide 540 dws-3160-24pc:admin#show dot1v_protocol_group group_id 10 command: show dot1v_protocol_group group_id 10 protocol group id protocol group name frame type protocol value ----------------- -------------------------------- --------...

  • Page 545

    Dws-3160 series gigabit ethernet unified switch cli reference guide 541 example the example is to assign vlan marketing-1 for untagged ipv6 packet ingress from port 3. To configure the group id 100 on port 3 to be associated with vlan marketing-1: dws-3160-24pc:admin#config port dot1v ports 3 add pr...

  • Page 547

    Dws-3160 series gigabit ethernet unified switch cli reference guide 543 58-2 disable qinq description this command is used to disable the qinq. When qinq is disabled, all dynamic learned layer 2 addresses will be cleared, all dynamic registered vlan entries will be cleared, and gvrp will be disabled...

  • Page 548

    Dws-3160 series gigabit ethernet unified switch cli reference guide 544 example to configure the inner tpid in the system to 0x9100: dws-3160-24pc:admin# config qinq inner_tpid 0x9100 command: config qinq inner_tpid 0x9100 success. Dws-3160-24pc:admin# 58-4 config qinq ports description this command...

  • Page 549

    Dws-3160 series gigabit ethernet unified switch cli reference guide 545 dws-3160-24pc:admin# config qinq ports 1-4 role nni outer_tpid 0x88a8 command: config qinq ports 1-4 role nni outer_tpid 0x88a8 success. Dws-3160-24pc:admin# 58-5 show qinq description this command is used to display the global ...

  • Page 550

    Dws-3160 series gigabit ethernet unified switch cli reference guide 546 restrictions none. Example to display the inner-tpid of a system: dws-3160-24pc:admin# show qinq inner_tpid command: show qinq inner_tpid inner tpid: 0x9100 dws-3160-24pc:admin# 58-7 show qinq ports description this command is u...

  • Page 551

    Dws-3160 series gigabit ethernet unified switch cli reference guide 547 dws-3160-24pc:admin#show qinq ports 1-2 command: show qinq ports 1-2 port id: 1 --------------------------------------------------------- role: nni miss drop: disabled outer tpid: 0x88a8 add inner tag: disabled port id: 2 ------...

  • Page 552

    Dws-3160 series gigabit ethernet unified switch cli reference guide 548 restrictions only administrators, operators and power-users can issue this command. Example to replace the c-tag in which the cvid is 2, with the s-tag and the s-vid is 3 at uni port 1: dws-3160-24pc:admin#create vlan_translatio...

  • Page 553

    Dws-3160 series gigabit ethernet unified switch cli reference guide 549 dws-3160-24pc:admin# delete vlan_translation ports 1-4 command: delete vlan_translation ports 1-4 success. Dws-3160-24pc:admin# 58-10 show vlan_translation description this command is used to display the existing c-vlan-based vl...

  • Page 555

    Dws-3160 series gigabit ethernet unified switch cli reference guide 551 - enter the transmitting data rate here. This value must be between 64 and 1024000 kbits/sec. Restrictions only administrators, operators and power-users can issue this command. Example to configure the port bandwidth: dws-3160-...

  • Page 556

    Dws-3160 series gigabit ethernet unified switch cli reference guide 552 dws-3160-24pc:admin#show bandwidth_control 1-10 command: show bandwidth_control 1-10 bandwidth control table port rx rate tx rate effective rx effective tx (kbit/sec) (kbit/sec) (kbit/sec) (kbit/sec) ----- ---------- ---------- ...

  • Page 557

    Dws-3160 series gigabit ethernet unified switch cli reference guide 553 adjusted. Restrictions only administrators can issue this command. Example to configure the ports 1-10 cos bandwidth queue 1 min rate to 130 and max rate to 100000: dws-3160-24pc:admin#config per_queue bandwidth_control ports 1-...

  • Page 558

    Dws-3160 series gigabit ethernet unified switch cli reference guide 554 dws-3160-24pc:admin#show per_queue bandwidth_control 10 command: show per_queue bandwidth_control 10 queue bandwidth control table on port: 10 queue min rate(kbit/sec) max rate(kbit/sec) 0 no limit no limit 1 128 960 2 no limit ...

  • Page 560

    Dws-3160 series gigabit ethernet unified switch cli reference guide 556 parameters - (optional) specifies a range of ports to be displayed. If no parameter specified, system will display all ports scheduling configurations. Restrictions none. Example to display the traffic scheduling parameters for ...

  • Page 561

    Dws-3160 series gigabit ethernet unified switch cli reference guide 557 example to display the scheduling mechanism for ports 1 to 5: dws-3160-24pc:admin#show scheduling_mechanism 1-5 command: show scheduling_mechanism 1-5 port mode ----- ------ 1 strict 2 strict 3 strict 4 strict 5 strict dws-3160-...

  • Page 562

    Dws-3160 series gigabit ethernet unified switch cli reference guide 558 59-10 show 802.1p user_priority description this command is used to display the 802.1p user priority for ports. Format show 802.1p user_priority parameters none. Restrictions none. Example to display the 802.1p user priority: dw...

  • Page 563

    Dws-3160 series gigabit ethernet unified switch cli reference guide 559 parameters - this specifies a range of ports for which the default priority is to be configured. That is, a range of ports for which all untagged packets received will be assigned the priority specified below. The port list is s...

  • Page 564

    Dws-3160 series gigabit ethernet unified switch cli reference guide 560 restrictions none. Example to display 802.1p default priority: dws-3160-24pc:admin#show 802.1p default_priority 1-10 command: show 802.1p default_priority 1-10 port priority effective priority ---- ----------- ------------------...

  • Page 565

    Dws-3160 series gigabit ethernet unified switch cli reference guide 561 dws-3160-24pc:admin# enable hol_prevention command: enable hol_prevention success. Dws-3160-24pc:admin# 59-14 disable hol_prevention description this command is used to disable hol prevention on the switch. Format disable hol_pr...

  • Page 566

    Dws-3160 series gigabit ethernet unified switch cli reference guide 562 restrictions none. Example to display hol prevention state on the switch. Dws-3160-24pc:admin#show hol_prevention command: show hol_prevention device hol prevention state: enabled dws-3160-24pc:admin# 59-16 config dscp trust des...

  • Page 567

    Dws-3160 series gigabit ethernet unified switch cli reference guide 563 59-17 show dscp trust description this command is used to display the dscp trust state for the specified port(s) on the switch. Format show dscp trust {} parameters - (optional) a range of ports to display. If not specifies the ...

  • Page 571

    Dws-3160 series gigabit ethernet unified switch cli reference guide 567 example to enable the rspan function: dws-3160-24pc:admin# enable rspan command: enable rspan success. Dws-3160-24pc:admin# 60-2 disable rspan description this command is used to disable the rspan function. Format disable rspan ...

  • Page 572

    Dws-3160 series gigabit ethernet unified switch cli reference guide 568 parameters vlan_name - create the rspan vlan by vlan name. - enter the vlan name here. Vlan_id - create the rspan vlan by vlan id. - enter the vlan id here. This value must be between 1 and 4094. Restrictions only administrators...

  • Page 573

    Dws-3160 series gigabit ethernet unified switch cli reference guide 569 example to delete an rspan vlan entry by vlan name “v2”: dws-3160-24pc:admin# delete rspan vlan vlan_name v2 command: delete rspan vlan vlan_name v2 success. Dws-3160-24pc:admin# to delete an rspan vlan entry by vlan id “3”: dws...

  • Page 574

    Dws-3160 series gigabit ethernet unified switch cli reference guide 570 restrictions only administrators and operators can issue this command. Example to configure an rspan source entry without source target port: dws-3160-24pc:admin#config rspan vlan vlan_name v2 source add ports 2-5 rx command: co...

  • Page 575

    Dws-3160 series gigabit ethernet unified switch cli reference guide 571 - enter the vlan name here. Vlan_id - (optional) specifies the rspan vlan by vlan id. - enter the vlan id here. This value must be between 1 and 4094. Restrictions none. Example to display the rspan settings: dws-3160-24pc:admin...

  • Page 577

    Dws-3160 series gigabit ethernet unified switch cli reference guide 573 dws-3160-24pc:admin# config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable command: config safeguard_engine state enable utilization rising 50 falling 30 trap_log enable success. Dws-3160-24pc:adm...

  • Page 579

    Dws-3160 series gigabit ethernet unified switch cli reference guide 575 example to enable ssh server public key algorithm: dws-3160-24pc:admin#config ssh algorithm dsa enable command: config ssh algorithm dsa enable success. Dws-3160-24pc:admin# 62-2 show ssh algorithm description this command is us...

  • Page 580

    Dws-3160 series gigabit ethernet unified switch cli reference guide 576 dws-3160-24pc:admin#show ssh algorithm command: show ssh algorithm encryption algorithm -------------------------- 3des : enabled aes128 : enabled aes192 : enabled aes256 : enabled arcfour : enabled blowfish : enabled cast128 : ...

  • Page 581

    Dws-3160 series gigabit ethernet unified switch cli reference guide 577 example to configure user authentication method: dws-3160-24pc:admin# config ssh authmode publickey enable command: config ssh authmode publickey enable success. Dws-3160-24pc:admin# 62-4 show ssh authmode description this comma...

  • Page 582

    Dws-3160 series gigabit ethernet unified switch cli reference guide 578 parameters user - specifies the user name. - enter the user name used here. This name can be up to 15 characters long. Hostbased - specifies user authentication method. Hostname - specifies host domain name. - enter the domain n...

  • Page 583

    Dws-3160 series gigabit ethernet unified switch cli reference guide 579 dws-3160-24pc:admin#show ssh user authmode command: show ssh user authmode current accounts: user name authentication host name host ip --------------- --------- -------------------------------- --------------- admin password op...

  • Page 584

    Dws-3160 series gigabit ethernet unified switch cli reference guide 580 example to configure ssh server maximum session number is 3: dws-3160-24pc:admin# config ssh server maxsession 3 command: config ssh server maxsession 3 success. Dws-3160-24pc:admin# 62-8 enable ssh description this command is u...

  • Page 585

    Dws-3160 series gigabit ethernet unified switch cli reference guide 581 parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to disable the ssh server services: dws-3160-24pc:admin# disable ssh command: disable ssh success. Dws-3160-24pc:admin#...

  • Page 586

    Dws-3160 series gigabit ethernet unified switch cli reference guide 582.

  • Page 588

    Dws-3160 series gigabit ethernet unified switch cli reference guide 584 dws-3160-24pc:admin# download ssl certificate 10.55.47.1 certfilename cert.Der keyfilename pkey.Der command: download ssl certificate 10.55.47.1 certfilename cert.Der keyfilename pkey.Der success. Dws-3160-24pc:admin# 63-2 enabl...

  • Page 589

    Dws-3160 series gigabit ethernet unified switch cli reference guide 585 dws-3160-24pc:admin#enable ssl command: enable ssl note: web will be disabled if ssl is enabled. Success. Dws-3160-24pc:admin# 63-3 disable ssl description this command is used to configure ssl feature and supported cipher suite...

  • Page 590

    Dws-3160 series gigabit ethernet unified switch cli reference guide 586 dws-3160-24pc:admin# disable ssl command: disable ssl success. Dws-3160-24pc:admin# 63-4 show ssl description this command is used to display the certificate status. User must download specified certificate type according to des...

  • Page 591

    Dws-3160 series gigabit ethernet unified switch cli reference guide 587 63-5 show ssl cachetimeout description this command is used to display the cached timeout value which is designed for the ‘dlktimer’ library to remove the session id after expiration. In order to support the ‘resume session’ fea...

  • Page 592

    Dws-3160 series gigabit ethernet unified switch cli reference guide 588 restrictions only administrators can issue this command. Example to configure the ssl cache timeout value to 60: dws-3160-24pc:admin# config ssl cachetimeout 60 commands: config ssl cachetimeout 60 success. Dws-3160-24pc:admin#.

  • Page 594

    Dws-3160 series gigabit ethernet unified switch cli reference guide 590 restrictions only administrators and operators can issue this command. Example to create an sflow flow sampler: dws-3160-24pc:admin# create sflow flow_sampler ports 1 analyzer_server_id 1 rate 1 maxheadersize 18 command: create ...

  • Page 595

    Dws-3160 series gigabit ethernet unified switch cli reference guide 591 dws-3160-24pc:admin#config sflow flow_sampler ports 1 rate 0 maxheadersize 18 command: config sflow flow_sampler ports 1 rate 0 maxheadersize 18 success. Dws-3160-24pc:admin# 64-3 delete sflow flow_sampler description this comma...

  • Page 596

    Dws-3160 series gigabit ethernet unified switch cli reference guide 592 parameters ports - specifies the list of ports to be configured. - enter the list of ports that will be used for this configuration here. All - specifies all ports on the switch. Analyzer_server_id - the id of a analyzer server....

  • Page 597

    Dws-3160 series gigabit ethernet unified switch cli reference guide 593 example to configure the interval of sflow counter poller port 1 to be 0: dws-3160-24pc:admin# config sflow counter_poller ports 1 interval disable command: config sflow counter_poller ports 1 interval disable success. Dws-3160-...

  • Page 600

    Dws-3160 series gigabit ethernet unified switch cli reference guide 596 parameters analyzer_server - the id of analyzer server that to be deleted. - enter the analyzer server id value here. This value must be between 1 and 4. Restrictions only administrators and operators can issue this command. Exa...

  • Page 601

    Dws-3160 series gigabit ethernet unified switch cli reference guide 597 64-11 disable sflow description this command is used to disable the sflow function on the switch. Format disable sflow parameters none. Restrictions only administrators and operators can issue this command. Example to disable th...

  • Page 602

    Dws-3160 series gigabit ethernet unified switch cli reference guide 598 dws-3160-24pc:admin#show sflow command: show sflow sflow version : v5 sflow address : 10.90.90.90 sflow state : enabled dws-3160-24pc:admin# 64-13 show sflow flow_sampler description this command is used to display the sflow flo...

  • Page 603

    Dws-3160 series gigabit ethernet unified switch cli reference guide 599 format show sflow counter_poller parameters none. Restrictions only administrators, operators and power-users can issue this command. Example to display the sflow counter poller information of ports which have been created: dws-...

  • Page 604

    Dws-3160 series gigabit ethernet unified switch cli reference guide 600 dws-3160-24pc:admin#show sflow analyzer_server command: show sflow analyzer_server sflow analyzer_server information ------------------------------ server id : 1 owner : sflowowner timeout : 400 current countdown time: 361 colle...

  • Page 605: Chapter 65

    Dws-3160 series gigabit ethernet unified switch cli reference guide 601 chapter 65 show technical support command list show tech_support upload tech_support_totftp 65-1 show tech_support description this command is used by the technical support personnel to dump the device overall operation informat...

  • Page 606

    Dws-3160 series gigabit ethernet unified switch cli reference guide 602 dws-3160-24pc:admin# show tech_support command: show tech_support #----------------------------------------------------------------------------- # dws-3160-24pc gigabit ethernet switch # technical support information # # firmwar...

  • Page 607

    Dws-3160 series gigabit ethernet unified switch cli reference guide 603 format upload tech_support_totftp parameters - specifies the ip address of tftp server. - specifies the file name to store the information of technique’s support in tftp server. The max size of the file name is 64. Restrictions ...

  • Page 609

    Dws-3160 series gigabit ethernet unified switch cli reference guide 605 use an snmp community string to define the relationship between the snmp manager and the agent. The community string acts like a password to permit access to the agent on the switch. You can specifies one or more of the followin...

  • Page 610

    Dws-3160 series gigabit ethernet unified switch cli reference guide 606 format delete snmp community parameters community - community string will be deleted. - enter the community string value here. This value can be up to 32 characters long. Restrictions only administrators can issue this command. ...

  • Page 611

    Dws-3160 series gigabit ethernet unified switch cli reference guide 607 dws-3160-24pc:admin#show snmp community command: show snmp community snmp community table community name view name access right -------------------------------- -------------------------------- ----------- system communityview r...

  • Page 612

    Dws-3160 series gigabit ethernet unified switch cli reference guide 608 priv - (optional) a privacy key used by des, it is hex string type. None - specifies that no encryption will be used for the privacy key. Des - specifies that the des encryption will be used for the privacy key. - enter the des ...

  • Page 613

    Dws-3160 series gigabit ethernet unified switch cli reference guide 609 66-6 show snmp user description this command is used to display information on each snmp username in the group username table. Format show snmp user parameters none. Restrictions none. Example to display snmp user: dws-3160-24pc...

  • Page 614

    Dws-3160 series gigabit ethernet unified switch cli reference guide 610 - enter the group name here. This name can be up to 32 characters long. V1 - the least secure of the possible security models. V2c - the second least secure of the possible security models. V3 - the most secure of the possible. ...

  • Page 615

    Dws-3160 series gigabit ethernet unified switch cli reference guide 611 example to delete snmp group “group123”: dws-3160-24pc:admin# delete snmp group group123 command: delete snmp group group123 success. Dws-3160-24pc:admin# 66-9 show snmp groups description this command is used to display the nam...

  • Page 616

    Dws-3160 series gigabit ethernet unified switch cli reference guide 612 dws-3160-24pc:admin#show snmp groups command: show snmp groups vacm access table settings group name : system readview name : communityview writeview name : notify view name : communityview securiy model : snmpv1 securiy level :...

  • Page 617

    Dws-3160 series gigabit ethernet unified switch cli reference guide 613 example to create snmp view “view123”: dws-3160-24pc:admin# create snmp view view123 1.3.6 view_type included command: create snmp view view123 1.3.6 view_type included success. Dws-3160-24pc:admin# 66-11 delete snmp view descri...

  • Page 618

    Dws-3160 series gigabit ethernet unified switch cli reference guide 614 parameters view - (optional) view name of the user who likes to display. - enter the view name here. The name can be up to 32 characters long. Restrictions none. Example to display snmp view: dws-3160-24pc:admin#show snmp view c...

  • Page 619

    Dws-3160 series gigabit ethernet unified switch cli reference guide 615 noauth_nopriv - neither support packet authentication nor encrypting. Auth_nopriv - support packet authentication. Auth_priv - support packet authentication and encrypting. - authentication string. If the v1 or v2 is specified, ...

  • Page 620

    Dws-3160 series gigabit ethernet unified switch cli reference guide 616 dws-3160-24pc:admin# delete snmp host 10.0.0.1 command: delete snmp host 10.0.0.1 success. Dws-3160-24pc:admin# 66-15 show snmp host description this command is used to display the recipient for which the traps are targeted. For...

  • Page 621

    Dws-3160 series gigabit ethernet unified switch cli reference guide 617 parameters v6host - (optional) specifies the ipv6 host address. - enter the ipv6 address used for the configuration here. If no parameter specified, all snmp hosts will be displayed. Restrictions none. Example to display snmp ho...

  • Page 622

    Dws-3160 series gigabit ethernet unified switch cli reference guide 618 parameters engineid - identify for the snmp engine on the switch. It is octet string type. It accepts the hex number directly. - enter the snmp engine id here. This value must be between 10 and 64. Restrictions only administrato...

  • Page 623

    Dws-3160 series gigabit ethernet unified switch cli reference guide 619 dws-3160-24pc:admin#show snmp engineid command: show snmp engineid snmp engine id : 1023457890 dws-3160-24pc:admin# 66-19 enable snmp description this command is used to enable the snmp function. Format enable snmp parameters no...

  • Page 624

    Dws-3160 series gigabit ethernet unified switch cli reference guide 620 restrictions only administrators and operators can issue this command. Example to disable snmp: dws-3160-24pc:admin# disable snmp command: disable snmp success. Dws-3160-24pc:admin# 66-21 config snmp system_name description this...

  • Page 625

    Dws-3160 series gigabit ethernet unified switch cli reference guide 621 format config snmp system_location {} parameters system_location - a maximum of 128 characters is allowed. And null string is accepted - (optional) enter the system location string here. Restrictions only administrators and oper...

  • Page 626

    Dws-3160 series gigabit ethernet unified switch cli reference guide 622 66-24 enable snmp traps description this command is used to enable snmp trap support. Format enable snmp traps parameters none. Restrictions only administrators and operators can issue this command. Example to enable snmp trap s...

  • Page 627

    Dws-3160 series gigabit ethernet unified switch cli reference guide 623 dws-3160-24pc:admin# disable snmp traps command: disable snmp traps success. Dws-3160-24pc:admin# 66-26 enable snmp authenticate_traps description this command is used to enable snmp authentication failure trap support. Format e...

  • Page 628

    Dws-3160 series gigabit ethernet unified switch cli reference guide 624 restrictions only administrators and operators can issue this command. Example to disable snmp authentication trap support: dws-3160-24pc:admin# disable snmp authenticate_traps command: disable snmp authenticate_traps success. D...

  • Page 629

    Dws-3160 series gigabit ethernet unified switch cli reference guide 625 parameters none. Restrictions only administrators and operators can issue this command. Example to disable the sending of link change traps: dws-3160-24pc:admin# disable snmp linkchange_traps command: disable snmp linkchange_tra...

  • Page 631

    Dws-3160 series gigabit ethernet unified switch cli reference guide 627 example to configure the trap state for warm start event: dws-3160-24pc:admin# config snmp warmstart_traps enable command: config snmp warmstart_traps enable success. Dws-3160-24pc:admin# 66-33 show snmp traps description this c...

  • Page 633

    Dws-3160 series gigabit ethernet unified switch cli reference guide 629 dws-3160-24pc:admin#show rmon command: show rmon rmon rising alarm trap : disabled rmon falling alarm trap : enabled dws-3160-24pc:admin#.

  • Page 635

    Dws-3160 series gigabit ethernet unified switch cli reference guide 631 format disable sim parameters none. Restrictions only administrators can issue this command. Example to disable sim: dws-3160-24pc:admin# disable sim command: disable sim success. Dws-3160-24pc:admin# 67-3 show sim description t...

  • Page 636

    Dws-3160 series gigabit ethernet unified switch cli reference guide 632 example to display the self information in detail: dws-3160-24pc:admin#show sim command: show sim group name : internal sim version : ver-1.61 firmware version : 1.00.034 device name : mac address : 00-11-22-33-45-67 capabilitie...

  • Page 637

    Dws-3160 series gigabit ethernet unified switch cli reference guide 633 dws-3160-24pc:admin#show sim group commander_mac 00-11-22-33-45-67 command: show sim group commander_mac 00-11-22-33-45-67 == group info table == [*** commander info ***] mac address : 00-11-22-33-45-67 group name : internal dev...

  • Page 638

    Dws-3160 series gigabit ethernet unified switch cli reference guide 634 restrictions only administrators can issue this command. Example to reconnect to a member: dws-3160-24pc:admin# reconfig member_id 1 command: reconfig member_id 1 dws-3160-24pc:admin# login: 67-5 config sim_group description thi...

  • Page 639

    Dws-3160 series gigabit ethernet unified switch cli reference guide 635 dws-3160-24pc:admin# config sim_group delete 1 command: config sim_group delete 1 please wait for ack !!! Sim configure success !!! Success. Dws-3160-24pc:admin# 67-6 config sim description this command is used to configure the ...

  • Page 640

    Dws-3160 series gigabit ethernet unified switch cli reference guide 636 dws-3160-24pc:admin# config sim candidate command: config sim candidate success. Dws-3160-24pc:admin# to update name of group: dws-3160-24pc:admin# config sim commander group_name mygroup command: config sim commander group_name...

  • Page 641

    Dws-3160 series gigabit ethernet unified switch cli reference guide 637 members – (optional) specifies a range of members who can download this firmware or configuration. - enter the member list used here. This value must be between 1 and 4. All - specifies that all members will be used. Restriction...

  • Page 642

    Dws-3160 series gigabit ethernet unified switch cli reference guide 638 parameters configuration_to_tftp - specifies that the configuration will be uploaded to the tftp server. Log_to_tftp – specifies that the log file will be uploaded to the tftp server. - specifies the ip address of the tftp serve...

  • Page 644

    Dws-3160 series gigabit ethernet unified switch cli reference guide 640 dws-3160-24pc:admin# config syslog source_ipif none command: config syslog source_ipif none success dws-3160-24pc:admin# 68-2 show syslog source_ipif description this command is used to display the syslog source ip interface. Fo...

  • Page 645

    Dws-3160 series gigabit ethernet unified switch cli reference guide 641 parameters ipif - specifies the ip interface name. If only specifies this parameter, the least ipv4 address and the smallest ipv6 address of ipif_name will be used as source ip addresses. - enter the ip interface name here. This...

  • Page 646

    Dws-3160 series gigabit ethernet unified switch cli reference guide 642 example to display the trap source ip interface: dws-3160-24pc:admin#show trap source_ip command: show trap source_ipif trap source ip interface configuration: ip interface : system ipv4 address : none ipv6 address : none dws-31...

  • Page 649

    Dws-3160 series gigabit ethernet unified switch cli reference guide 645 dws-3160-24pc:admin#show log index 1-3 command: show log index 1-3 index date time level log text ----- ---------- -------- ------- --------------------------------------------- - 3 2000-01-29 03:42:35 crit(2) system started up ...

  • Page 650

    Dws-3160 series gigabit ethernet unified switch cli reference guide 646 format enable syslog parameters none. Restrictions only administrators and operators can issue this command. Example to enable the sending of syslog messages: dws-3160-24pc:admin# enable syslog command: enable syslog success. Dw...

  • Page 651

    Dws-3160 series gigabit ethernet unified switch cli reference guide 647 69-6 show syslog description this command is used to display the syslog protocol global state. Format show syslog parameters none. Restrictions none. Example to display the syslog protocol global state: dws-3160-24pc:admin#show ...

  • Page 652

    Dws-3160 series gigabit ethernet unified switch cli reference guide 648 alert - severity level 1 critical - severity level 2 error - severity level 3 warning - severity level 4 notice - severity level 5 informational - severity level 6 debug - severity level 7 - enter the severity level value here. ...

  • Page 654

    Dws-3160 series gigabit ethernet unified switch cli reference guide 650 dws-3160-24pc:admin# create syslog host 1 ipaddress 10.90.90.1 severity all debug facility local0 command: create syslog host 1 ipaddress 10.90.90.1 severity all debug facility local0 success. Dws-3160-24pc:admin# 69-9 delete sy...

  • Page 655

    Dws-3160 series gigabit ethernet unified switch cli reference guide 651 parameters host - the host index or all hosts. - (optional) enter the host index value here. If no parameter is specified, all hosts will be displayed. Restrictions none. Example to display the syslog host information: dws-3160-...

  • Page 656

    Dws-3160 series gigabit ethernet unified switch cli reference guide 652 parameters time_interval – specifies the interval used to save the log to the flash. (if no new log events occur in this period, don't save.) - enter the time interval value here. This value must be between 1 and 65535 minutes. ...

  • Page 657

    Dws-3160 series gigabit ethernet unified switch cli reference guide 653 dws-3160-24pc:admin#show log_save_timing command: show log_save_timing saving log method: on_demand dws-3160-24pc:admin# 69-13 show attack_log description this command is used to display attack log messages. The attack log messa...

  • Page 658

    Dws-3160 series gigabit ethernet unified switch cli reference guide 654 format clear attack_log parameters none. Restrictions only administrators and operators can issue this command. Example to clear the master’s attack log: dws-3160-24pc:admin# clear attack_log command: clear attack_log success. D...

  • Page 660

    Dws-3160 series gigabit ethernet unified switch cli reference guide 656 70-2 show system_severity description this command is used to display the severity level controls for the system. Format show system_severity parameters none. Restrictions none. Example to display severity level control for syst...

  • Page 663

    Dws-3160 series gigabit ethernet unified switch cli reference guide 659 example to download firmware from tftp: dws-3160-24pc:admin# download firmware_fromtftp 10.54.71.1 src_file px.Had command: download firmware_fromtftp 10.54.71.1 src_file px.Had connecting to server................... Done. Down...

  • Page 664

    Dws-3160 series gigabit ethernet unified switch cli reference guide 660 include - (optional) specifies to include lines that contain the specified filter string. Exclude - (optional) specifies to exclude lines that contain the specified filter string. Begin - (optional) the first line that contains ...

  • Page 665

    Dws-3160 series gigabit ethernet unified switch cli reference guide 661 dws-3160-24pc:admin# upload firmware_totftp 10.1.1.1 dest_file d:\firmware.Had src_file 100b70.Had command: upload firmware_totftp 10.1.1.1 dest_file d:\firmware.Had src_file 100b70.Had no such file. Failure! Dws-3160-24pc:admin...

  • Page 667

    Dws-3160 series gigabit ethernet unified switch cli reference guide 663 dws-3160-24pc: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. Dws-3160-24pc:admin# 73-2 show sntp description this comma...

  • Page 668

    Dws-3160 series gigabit ethernet unified switch cli reference guide 664 parameters none. Restrictions only administrators and operators can issue this command. Example to enable sntp: dws-3160-24pc:admin# enable sntp command: enable sntp success. Dws-3160-24pc:admin# 73-4 disable sntp description th...

  • Page 669

    Dws-3160 series gigabit ethernet unified switch cli reference guide 665 format config time parameters - specifies the system clock date. An example would look like this: '19sep2011'. - specifies the system clock time. An example would look like this: '12:00:00'. Restrictions only administrators and ...

  • Page 670

    Dws-3160 series gigabit ethernet unified switch cli reference guide 666 example to configure time zone: dws-3160-24pc:admin#config time_zone operator + hour 8 min 00 command: config time_zone operator + hour 8 min 0 success. Dws-3160-24pc:admin# 73-7 config dst description this command is used to co...

  • Page 671

    Dws-3160 series gigabit ethernet unified switch cli reference guide 667 annual - set the daylight saving time to annual mode. S_date, e_date - (optional) configure the start /end date of daylight saving time. - enter the starting date of daylight saving time here. This range must be between 1 an 31....

  • Page 672

    Dws-3160 series gigabit ethernet unified switch cli reference guide 668 restrictions none. Example to display the time: dws-3160-24pc:admin#show time command: show time current time source : system clock boot time : 19 sep 2011 23:50:43 current time : 20 sep 2011 01:01:51 time zone : gmt +08:00 dayl...

  • Page 674

    Dws-3160 series gigabit ethernet unified switch cli reference guide 670 dws-3160-24pc:admin#traceroute 72.14.203.106 command: traceroute 72.14.203.106 20 ms 124.219.29.126 20 ms 203.207.46.125 30 ms 203.207.47.49 20 ms 203.79.222.137 20 ms 211.76.96.61 20 ms 72.14.196.13 20 ms 209.85.243.26 20 ms 20...

  • Page 675

    Dws-3160 series gigabit ethernet unified switch cli reference guide 671 restrictions only administrators, operators and power-users can issue this command. Example to trace the ipv6 routed path between the switch and 3000::1: dws-3160-24pc:admin# traceroute6 3000::1 probe 3 command: traceroute6 3000...

  • Page 677

    Dws-3160 series gigabit ethernet unified switch cli reference guide 673 this timer runs out, port will be shutdown forever. The parameter is not applicable if “drop” (mode) is specified for the “action” parameter. - 0 disables the forever state, meaning that the port will not enter the shutdown fore...

  • Page 678

    Dws-3160 series gigabit ethernet unified switch cli reference guide 674 example to enable both the occurred mode and cleared mode traffic control traps: dws-3160-24pc:admin# config traffic trap both command: config traffic trap both success. Dws-3160-24pc:admin# 75-3 show traffic control description...

  • Page 679

    Dws-3160 series gigabit ethernet unified switch cli reference guide 675 dws-3160-24pc:admin#show traffic control 1-10 command: show traffic control 1-10 traffic control trap : [both] traffic control log : enabled traffic control auto recover time: 0 minutes port thres broadcast multicast unicast act...

  • Page 680

    Dws-3160 series gigabit ethernet unified switch cli reference guide 676 example to configure the traffic log state on the switch: dws-3160-24pc:admin# config traffic control log state enable command: config traffic control log state enable success. Dws-3160-24pc:admin# 75-5 config traffic control au...

  • Page 682

    Dws-3160 series gigabit ethernet unified switch cli reference guide 678 parameters - (optional) specifies a range of ports to be displayed. If no parameter is specified, the system will display all current traffic segmentation tables. Restrictions none. Example to display traffic segmentation table:...

  • Page 684

    Dws-3160 series gigabit ethernet unified switch cli reference guide 680 dws-3160-24pc:admin# create trusted_host 10.48.74.121 command: create trusted_host 10.48.74.121 success. Dws-3160-24pc:admin# 77-2 delete trusted_host description this command is used to delete a trusted host entry from the data...

  • Page 686

    Dws-3160 series gigabit ethernet unified switch cli reference guide 682 restrictions none. Example to display trusted hosts: dws-3160-24pc:admin#show trusted_host command: show trusted_host management stations ip address access interface --------------------------------------------------------------...

  • Page 688

    Dws-3160 series gigabit ethernet unified switch cli reference guide 684 dws-3160-24pc:admin# create iproute default 10.1.1.254 primary command: create iproute default 10.1.1.254 primary success. Dws-3160-24pc:admin# 78-2 delete iproute description this command is used to delete an ip route entry fro...

  • Page 689

    Dws-3160 series gigabit ethernet unified switch cli reference guide 685 restrictions none. Example to display the contents of the ip routing table: dws-3160-24pc:admin#show iproute command: show iproute routing table ip address/netmask gateway interface cost protocol ------------------ -------------...

  • Page 690

    Dws-3160 series gigabit ethernet unified switch cli reference guide 686 dws-3160-24pc:admin#show ipfdb command: show ipfdb interface ip address port learned ------------ --------------- ------ --------- system 192.168.69.1 1 dynamic system 192.168.69.66 1 dynamic total entries: 2 dws-3160-24pc:admin...

  • Page 692

    Dws-3160 series gigabit ethernet unified switch cli reference guide 688 79-2 disable vrrp description this command is used to disable vrrp globally. Format disable vrrp {ping} parameters ping - (optional) specifies that the ping option will be disabled. Restrictions only administrators, operators an...

  • Page 693

    Dws-3160 series gigabit ethernet unified switch cli reference guide 689 priority - (optional) specifies the priority to be used for the virtual router master election process - enter the priority value used here. This value must be between 1 and 254. Advertisement_interval - (optional) specifies the...

  • Page 694

    Dws-3160 series gigabit ethernet unified switch cli reference guide 690 parameters vrid - specifies the id of the virtual router used. - enter the virtual router id used here. This value must be between 1 and 255. Ipif - specifies the ip interface used for this configuration. - enter the ip interfac...

  • Page 696

    Dws-3160 series gigabit ethernet unified switch cli reference guide 692 ipif - (optional) specifies the ip interface name used. - enter the ip interface name used here. This name can be up to 12 characters long. If no parameter is specified, all the vrrp entries will be deleted. Restrictions only ad...

  • Page 697

    Dws-3160 series gigabit ethernet unified switch cli reference guide 693 dws-3160-24pc:admin#show vrrp command: show vrrp global vrrp : enabled non-owner response ping: disabled interface name : system authentication type : simple text password authentication data : 12345678 vrid : 1 virtual ip addre...

  • Page 699

    Dws-3160 series gigabit ethernet unified switch cli reference guide 695 parameters none. Restrictions only administrators can issue this command. Example to disable the vlan trunk: dws-3160-24pc:admin# disable vlan_trunk command: disable vlan_trunk success. Dws-3160-24pc:admin# 80-3 config vlan_trun...

  • Page 700

    Dws-3160 series gigabit ethernet unified switch cli reference guide 696 parameters - enter a list of ports used for the configuration here. All - specifies that all the ports will be used for this configuration. State - specifies that the port is a vlan trunk port or not. Enable - specifies that the...

  • Page 701

    Dws-3160 series gigabit ethernet unified switch cli reference guide 697 port 6, 7 have different vlan configurations before enabling vlan trunk. Port 6 is la-1 member port; port 7 is la-1 master port. Dws-3160-24pc:admin# config vlan_trunk ports 7 state disable command: config vlan_trunk ports 7 sta...

  • Page 702

    Dws-3160 series gigabit ethernet unified switch cli reference guide 698 dws-3160-24pc:admin#show vlan_trunk command: show vlan_trunk vlan trunk global setting ---------------------------- vlan trunk status : enabled vlan trunk member ports : 1-7 dws-3160-24pc:admin# the following example displays th...

  • Page 704

    Dws-3160 series gigabit ethernet unified switch cli reference guide 700 81-2 disable voice_vlan description the command is used to disable the voice vlan function on a switch. When the voice vlan function is disabled, the voice vlan will become unassigned. Format disable voice_vlan parameters none. ...

  • Page 705

    Dws-3160 series gigabit ethernet unified switch cli reference guide 701 example to configure the priority of the voice vlan to be six: dws-3160-24pc:admin# config voice_vlan priority 6 command: config voice_vlan priority 6 success. Dws-3160-24pc:admin# 81-4 config voice_vlan oui description this com...

  • Page 706

    Dws-3160 series gigabit ethernet unified switch cli reference guide 702 dws-3160-24pc:admin#config voice_vlan oui add 00-0a-0b-00-00-00 ff-ff-ff-00-00- 00 command: config voice_vlan oui add 00-0a-0b-00-00-00 ff-ff-ff-00-00-00 success. Dws-3160-24pc:admin# 81-5 config voice_vlan ports description thi...

  • Page 707

    Dws-3160 series gigabit ethernet unified switch cli reference guide 703 81-6 config voice_vlan aging_time description this command is used to set the aging time of the voice vlan. The aging time is used to remove a port from voice vlan if the port is an automatic vlan member. When the last voice dev...

  • Page 708

    Dws-3160 series gigabit ethernet unified switch cli reference guide 704 restrictions none. Example to display the voice vlan global information when voice vlan is enabled: dws-3160-24pc:admin#show voice_vlan command: show voice_vlan voice vlan state : enabled vlan id : 2 vlan name : v2 priority : 6 ...

  • Page 709

    Dws-3160 series gigabit ethernet unified switch cli reference guide 705 example to display the oui information of voice vlan: dws-3160-24pc:admin#show voice_vlan oui command: show voice_vlan oui oui address mask description ------------------ ----------------- -------------- 00-01-e3-00-00-00 ff-ff-...

  • Page 710

    Dws-3160 series gigabit ethernet unified switch cli reference guide 706 dws-3160-24pc:admin#show voice_vlan ports 1-5 command: show voice_vlan ports 1-5 ports status mode ----- --------- -------- 1 disabled auto 2 disabled auto 3 disabled auto 4 enabled auto 5 enabled auto dws-3160-24pc:admin# 81-10...

  • Page 711

    Dws-3160 series gigabit ethernet unified switch cli reference guide 707 dws-3160-24pc:admin# show voice_vlan voice_device port 1-5 command: show voice_vlan voice_device ports 1-5 ports voice device address start time active time ----- -------------------- --------------- --------------- 1 00-e0-bb-0...

  • Page 713

    Dws-3160 series gigabit ethernet unified switch cli reference guide 709 example to create an new ap profile: dws-3160-24tc:admin#create wireless ap_profile 2 command: create wireless ap_profile 2 create ap profile id : 2 success. Dws-3160-24pc:admin# 82-2 create wireless ap_profile copy description ...

  • Page 714

    Dws-3160 series gigabit ethernet unified switch cli reference guide 710 dws-3160-24tc:admin#show wireless ap_profile command: show wireless ap_profile ap profile id profile name profile status ------------- -------------------------------- ------------------- 1 default configured 2 approfile_2 confi...

  • Page 715

    Dws-3160 series gigabit ethernet unified switch cli reference guide 711 restrictions only administrators can issue this command. Example to delete the ap profile with id 5: dws-3160-24pc:admin#delete wireless ap_profile 5 command: delete wireless ap_profile 5 delete ap profile id : 5 success. Dws-31...

  • Page 716

    Dws-3160 series gigabit ethernet unified switch cli reference guide 712 parameters - enter the wireless ap profile id used here. This value must be between 1 and 16. Apply - specifies to resend the ap profile configuration to all managed aps associated with the profile. This allows you to apply conf...

  • Page 717

    Dws-3160 series gigabit ethernet unified switch cli reference guide 713 auto_eligible - specifies to enable either one or all of the supported channels on the radio to be eligible for auto-channel selection. If you specifies one channel, the command will succeed only if this channel is supported by ...

  • Page 718

    Dws-3160 series gigabit ethernet unified switch cli reference guide 714 disable - specifies to send any acknowledgements for incorrectly received frames. Load_balance - specifies that the load balancing feature will be configured. State - specifies the load balancing state. Enable - specifies that t...

  • Page 719

    Dws-3160 series gigabit ethernet unified switch cli reference guide 715 protection mode is enabled, aps and stations will ensure that transmission is protected if there are legacy stations using the same radio frequency. Auto - specifies that the protection mechanism is set to the “automatic” mode. ...

  • Page 720

    Dws-3160 series gigabit ethernet unified switch cli reference guide 716 background - specifies that the aifs will be set as 7ms, the minimum contention window as 15ms, the maximum contention window as 1023ms, and the transmission opportunity limit as 0ms. Best_effort - specifies that the aifs will b...

  • Page 721

    Dws-3160 series gigabit ethernet unified switch cli reference guide 717 stations. Add - specifies to add a supported data rate to the corresponding list. - enter a valid data rate, in mbps, here based on the radio mode. Delete - specifies to delete a supported data rate from the corresponding list. ...

  • Page 722

    Dws-3160 series gigabit ethernet unified switch cli reference guide 718 default - specifies that the default option will be used. Rts_threshold - specifies the rts threshold for the radio. This indicates the number of octets in an mpdu, below which an rts/cts handshake shall not be performed. - ente...

  • Page 723

    Dws-3160 series gigabit ethernet unified switch cli reference guide 719 dws-3160-24pc:admin#config wireless ap_profile 1 clear command: config wireless ap_profile 1 clear all configurations will be set to the default values for this profile except the profile name. Are you sure you want to clear the...

  • Page 724

    Dws-3160 series gigabit ethernet unified switch cli reference guide 720 dws-3160-24pc:admin#config wireless ap_profile 1 disconnected_ap management_mode enable command: config wireless ap_profile 1 disconnected_ap management_mode enable success. Dws-3160-24pc:admin# to enable the automatic power sav...

  • Page 725

    Dws-3160 series gigabit ethernet unified switch cli reference guide 721 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 dot11n channel_bandwidth 20 command: config wireless ap_profile 1 radio 1 dot11n channel_bandwidth 20 success. Dws-3160-24pc:admin# to enable the short guard interval when...

  • Page 726

    Dws-3160 series gigabit ethernet unified switch cli reference guide 722 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 fragmentation_threshold 2312 command: config wireless ap_profile 1 radio 1 fragmentation_threshold 2312 success. Dws-3160-24pc:admin# to enable the incorrect-frame-no-ack ...

  • Page 727

    Dws-3160 series gigabit ethernet unified switch cli reference guide 723 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 mcs_index delete 3 command: config wireless ap_profile 1 radio 1 mcs_index delete 3 success. Dws-3160-24pc:admin# to configure the maximum number of simultaneous clients f...

  • Page 728

    Dws-3160 series gigabit ethernet unified switch cli reference guide 724 to configure the parameters of qos ap-edca queues (including voice, video, best-effort and background queues) for the radio 1 of ap profile 1. The parameters include aifs, minimum contention window, maximum contention window, an...

  • Page 729

    Dws-3160 series gigabit ethernet unified switch cli reference guide 725 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 qos station_edca voice aifs 22 command: config wireless ap_profile 1 radio 1 qos station_edca voice aifs 22 success. Dws-3160-24pc:admin#config wireless ap_profile 1 radio...

  • Page 730

    Dws-3160 series gigabit ethernet unified switch cli reference guide 726 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 rate_limit state enable command: config wireless ap_profile 1 radio 1 rate_limit state enable success. Dws-3160-24pc:admin# to configure normal and burst traffic rate limi...

  • Page 731

    Dws-3160 series gigabit ethernet unified switch cli reference guide 727 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 rf_scan sentry mode enable command: config wireless ap_profile 1 radio 1 rf_scan sentry mode enable success. Dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 rf_sc...

  • Page 732

    Dws-3160 series gigabit ethernet unified switch cli reference guide 728 dws-3160-24pc:admin#config wireless ap_profile 1 radio 1 wmm enable command: config wireless ap_profile 1 radio 1 wmm enable success. Dws-3160-24pc:admin# 82-5 show wireless ap_profile description this command is used to display...

  • Page 733

    Dws-3160 series gigabit ethernet unified switch cli reference guide 729 dws-3160-24pc:admin#show wireless ap_profile command: show wireless ap_profile ap profile id profile name profile status ------------- -------------------------------- ------------------- 1 approfile associated - modified 2 defa...

  • Page 734

    Dws-3160 series gigabit ethernet unified switch cli reference guide 730 radio : 1 - sentry status : on mode : 802.11a/n rf scan - other channels mode : enable rf scan - other channels scan interval : 60 rf scan - sentry mode : enable rf scan - sentry scan channels : 802.11b/g/n rf scan - scan durati...

  • Page 735

    Dws-3160 series gigabit ethernet unified switch cli reference guide 731 dws-3160-24pc:admin#show wireless ap_profile 1 radio 1 auto_eligible command: show wireless ap_profile 1 radio 1 auto_eligible ap profile id : 1 profile name : approfile radio : 1 - sentry mode : 802.11a/n supported channels (* ...

  • Page 736

    Dws-3160 series gigabit ethernet unified switch cli reference guide 732 to display the basic rate lists and supported rate list of radio 1 of ap profile 1: dws-3160-24pc:admin#show wireless ap_profile 1 radio 1 rates command: show wireless ap_profile 1 radio 1 rates ap profile id : 1 profile name : ...

  • Page 737

    Dws-3160 series gigabit ethernet unified switch cli reference guide 733 dws-3160-24pc:admin#show wireless ap_profile 1 radio 1 vap command: show wireless ap_profile 1 radio 1 vap ap profile id : 1 radio : 1 vap mode network --- -------- ----------------------------------- 0 enable 1 -dlink1 1 enable...

  • Page 739

    Dws-3160 series gigabit ethernet unified switch cli reference guide 735 format delete wireless ap_failure list parameters none. Restrictions only administrators can issue this command. Example to delete all entries from the ap failure list: dws-3160-24pc:admin#delete wireless ap_failure list command...

  • Page 740

    Dws-3160 series gigabit ethernet unified switch cli reference guide 736 dws-3160-24pc:admin#show wireless ap_failure command: show wireless ap_failure mac address (*) peer managed ip address last failure type age ------------------ --------------- ------------------------ ------- 00-22-b0-3c-dd-c0 1...

  • Page 742

    Dws-3160 series gigabit ethernet unified switch cli reference guide 738 84-2 show wireless client description this command is used to display a brief summary or detailed data for clients associated to a managed ap. If the unified switch is a cluster controller, this command will display all the asso...

  • Page 743

    Dws-3160 series gigabit ethernet unified switch cli reference guide 739 dws-3160-24pc:admin#show wireless client 00-15-e9-c3-eb-77 client_qos command: show wireless client 00-15-e9-c3-eb-77 client_qos mac address : 00-15-e9-c3-eb-77 ssid : dws01 client qos operational status : disabled bandwidth lim...

  • Page 744

    Dws-3160 series gigabit ethernet unified switch cli reference guide 740 dws-3160-24pc:admin#show wireless client 00-15-e9-c3-eb-77 statistics command: show wireless client 00-15-e9-c3-eb-77 statistics mac address : 00-15-e9-c3-eb-77 packets received : 210 packets transmitted : 198 bytes received : 3...

  • Page 745

    Dws-3160 series gigabit ethernet unified switch cli reference guide 741 dws-3160-24pc:admin#show wireless client 00-15-e9-c3-eb-77 statistics session command: show wireless client 00-15-e9-c3-eb-77 statistics session mac address : 00-15-e9-c3-eb-77 packets received : 220 packets transmitted : 207 by...

  • Page 746

    Dws-3160 series gigabit ethernet unified switch cli reference guide 742 discovery reason - displays one or more discovery methods for the neighbor client. One or more of the following abbreviated values may be displayed: rf scan (rf) - the client was reported from an rf scan on the radio. Note that ...

  • Page 747

    Dws-3160 series gigabit ethernet unified switch cli reference guide 743 dws-3160-24pc:admin#show wireless client 00-15-e9-c3-eb-77 dist_tunnel command: show wireless client 00-15-e9-c3-eb-77 dist_tunnel mac address : 00-15-e9-c3-eb-77 vap mac address : 00-22-b0-3c-43-c0 ap mac address : 00-22-b0-3c-...

  • Page 748

    Dws-3160 series gigabit ethernet unified switch cli reference guide 744 client - specifies that client stations will be displayed. Client - specifies that client stations will be displayed. Restrictions none. Example to display associated clients on all managed ssids: dws-3160-24pc:admin#show wirele...

  • Page 749

    Dws-3160 series gigabit ethernet unified switch cli reference guide 745 restrictions none. Example to display summary data for all switches with associated clients: dws-3160-24pc:admin#show wireless switch client command: show wireless switch client switch ip address client mac address -------------...

  • Page 750

    Dws-3160 series gigabit ethernet unified switch cli reference guide 746 dws-3160-24pc:admin#show wireless vap client command: show wireless vap client vap mac address ap mac address location radio client mac address ----------------- ----------------- ------------------ ----- ------------------ 00-2...

  • Page 751: Chapter 85

    Dws-3160 series gigabit ethernet unified switch cli reference guide 747 chapter 85 wireless ad hoc status command list delete wireless adhoc_list show wireless adhoc {} 85-1 delete wireless adhoc_list description this command is used to delete all entries from the ad hoc client list. Entries normall...

  • Page 752

    Dws-3160 series gigabit ethernet unified switch cli reference guide 748 parameters - (optional) enter the client mac address here. Restrictions none. Example to display a summary of the ad hoc list: dws-3160-24pc:admin# show wireless adhoc command: show wireless adhoc mac address ap mac address loca...

  • Page 755

    Dws-3160 series gigabit ethernet unified switch cli reference guide 751 example to clear the pre-authentication history maintained for all the clients present in the detected client database: dws-3160-24pc:admin#config wireless detected_client preauth_history_purge all command: config wireless detec...

  • Page 756

    Dws-3160 series gigabit ethernet unified switch cli reference guide 752 format show wireless detected_client {} parameters - (optional) enter the mac address of the specified detected client here. Restrictions none. Example to display the status information for all the detected clients: dws-3160-24p...

  • Page 757

    Dws-3160 series gigabit ethernet unified switch cli reference guide 753 example to display all detected clients’ pre-authentication history: dws-3160-24pc:admin# show wireless detected_client pre_auth_history command: show wireless detected_client pre_auth_history mac address ap mac address --------...

  • Page 758

    Dws-3160 series gigabit ethernet unified switch cli reference guide 754 parameters roam_history - specifies the roaming history for the clients in the detected client database. A roaming history of up to ten access points is displayed, as only a maximum of ten records are maintained for each client....

  • Page 759

    Dws-3160 series gigabit ethernet unified switch cli reference guide 755 format show wireless detected_client rogue_classification parameters rogue_classification - specifies the wids rogue classification test results for a particular client mac address. - enter the mac address of the specified detec...

  • Page 760

    Dws-3160 series gigabit ethernet unified switch cli reference guide 756 parameters triangulation - specifies the signal triangulation status for the specified client entry. - enter the mac address of the specified detected client here. Restrictions none. Example to display the signal triangulation s...

  • Page 763

    Dws-3160 series gigabit ethernet unified switch cli reference guide 759 16. The default option is 1. Default - specifies that the default value will be used. Password - specifies the password that ap must used to authenticate to the wireless switch. The password is only verified if global ap authent...

  • Page 764

    Dws-3160 series gigabit ethernet unified switch cli reference guide 760 dws-3160-24pc:admin#config wireless ap_database 00-22-b0-3c-dd-c0 location 5f command: config wireless ap_database 00-22-b0-3c-dd-c0 location 5f success. Dws-3160-24pc:admin# to configure the ap in managed mode and using profile...

  • Page 765

    Dws-3160 series gigabit ethernet unified switch cli reference guide 761 87-4 show wireless ap_database description this command is used to display valid ap database entries. If no parameter is specified, then a summary is displayed. When the users enters a mac address, detailed information of a spec...

  • Page 766

    Dws-3160 series gigabit ethernet unified switch cli reference guide 762.

  • Page 768

    Dws-3160 series gigabit ethernet unified switch cli reference guide 764 dws-3160-24pc:admin#config wireless ap 00-22-b0-3c-dd-c0 debug enable command: config wireless ap 00-22-b0-3c-dd-c0 debug enable enter password (32 characters max):***** enter the new password again for confirmation:***** succes...

  • Page 769

    Dws-3160 series gigabit ethernet unified switch cli reference guide 765 dws-3160-24pc:admin#delete wireless ap_neighbors command: delete wireless ap_neighbors are you sure you want to delete all neighbor entries (both ap and client) for all managed aps (y/n) y all managed ap neighbor entries deleted...

  • Page 770

    Dws-3160 series gigabit ethernet unified switch cli reference guide 766 dws-3160-24pc:admin#config wireless ap_download image_type img_dwl8600 tftp://10.254.254.254/dwl8600/8600_d_9_3_1.Tar command: config wireless ap_download image_type img_dwl8600 tftp://10.254.254.254/dwl8600/8600_d_9_3_1.Tar suc...

  • Page 771

    Dws-3160 series gigabit ethernet unified switch cli reference guide 767 format show wireless ap_download parameters none. Restrictions none. Example to display an ap code download configuration and status: dws-3160-24pc:admin#show wireless ap_download command: show wireless ap_download img_dwl8600 f...

  • Page 772

    Dws-3160 series gigabit ethernet unified switch cli reference guide 768 parameters - (optional) enter the ws managed ap mac address here. If no parameters are specified, a summary of all managed aps is displayed. Radio - (optional) specifies the radio interface on the ap. If no radio id is specified...

  • Page 773

    Dws-3160 series gigabit ethernet unified switch cli reference guide 769 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 command: show wireless ap 00-22-b0-3c-dd-c0 ap mac address : 00-22-b0-3c-dd-c0 location : ip address : 192.168.69.126 ip subnet mask : 255.255.255.0 managing switch : local ...

  • Page 774

    Dws-3160 series gigabit ethernet unified switch cli reference guide 770 to display the channel status of a managed ap on radio 1: dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 radio 1 channel command: show wireless ap 00-22-b0-3c-dd-c0 radio 1 channel manual channel adjustment status : succ...

  • Page 775

    Dws-3160 series gigabit ethernet unified switch cli reference guide 771 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 radio 1 neighbor ap command: show wireless ap 00-22-b0-3c-dd-c0 radio 1 neighbor ap mac address : 00-22-b0-3c-dd-c0 location : radio : 1 - 802.11a/n neighbor ap mac ssid rss...

  • Page 776

    Dws-3160 series gigabit ethernet unified switch cli reference guide 772 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 radio 1 vap command: show wireless ap 00-22-b0-3c-dd-c0 radio 1 vap mac address : 00-22-b0-3c-dd-c0 location : radio : 1 - 802.11a/n client vap id vap mac address ssid auth....

  • Page 777

    Dws-3160 series gigabit ethernet unified switch cli reference guide 773 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 radio 1 vap 1 statistics command: show wireless ap 00-22-b0-3c-dd-c0 radio 1 vap 1 statistics mac address : 00-22-b0-3c-dd-c0 location : radio : 1 - 802.11a/n vap id : 1 wla...

  • Page 778

    Dws-3160 series gigabit ethernet unified switch cli reference guide 774 to display the summary statistics of a managed ap: dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 statistics command: show wireless ap 00-22-b0-3c-dd-c0 statistics mac address : 00-22-b0-3c-dd-c0 location : wlan packets ...

  • Page 779

    Dws-3160 series gigabit ethernet unified switch cli reference guide 775 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 rf_scan command: show wireless ap 00-22-b0-3c-dd-c0 rf_scan mac address : 00-22-b0-3c-dd-c0 ssid : dlink1 oui : d-link corporation bssid : 00-22-b0-3c-dd-c0 physical mode : ...

  • Page 780

    Dws-3160 series gigabit ethernet unified switch cli reference guide 776 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 rf_scan rogue_classification command: show wireless ap 00-22-b0-3c-dd-c0 rf_scan rogue_classification cond test test time since time since test id detect mac addr (radio) co...

  • Page 781

    Dws-3160 series gigabit ethernet unified switch cli reference guide 777 dws-3160-24pc:admin#show wireless ap 00-22-b0-3c-dd-c0 dist_tunnel statistics command: show wireless ap 00-22-b0-3c-dd-c0 dist_tunnel statistics mac address : 00-22-b0-3c-dd-c0 distributed tunnel bytes transmitted : 0 distribute...

  • Page 782

    Dws-3160 series gigabit ethernet unified switch cli reference guide 778 dws-3160-24pc:admin#show wireless ap rf_scan command: show wireless ap rf_scan physical mac address ssid mode chan status age ----------------- ---------------- ----------- ---- ------------ ------------- 00-00-b0-f0-c8-aa dlink...

  • Page 783

    Dws-3160 series gigabit ethernet unified switch cli reference guide 779 managed - the ap profile configuration has been applied to the ap and it is operating in managed mode. Failed - the unified switch lost contact with the ap. A failed entry will remain in the managed ap database unless you remove...

  • Page 784

    Dws-3160 series gigabit ethernet unified switch cli reference guide 780 setting on this radio. Wlan utilization - displays the total network utilization for the physical radio. This value is based on radio statistics. Medium time unallocated - displays the amount of configured medium time available ...

  • Page 785

    Dws-3160 series gigabit ethernet unified switch cli reference guide 781 wlan packets transmitted dropped - displays the total packets discarded by the ap prior to transmission on the wireless network. Wlan bytes transmitted dropped - displays the total bytes discarded by the ap prior to transmission...

  • Page 787

    Dws-3160 series gigabit ethernet unified switch cli reference guide 783 here. This string can be up to 64 characters long. Restrictions only administrators can issue this command. Example to download an image file from the dwl-8600ap to the switch, through tftp: dws-3160-24pc:admin# download wireles...

  • Page 789

    Dws-3160 series gigabit ethernet unified switch cli reference guide 785 dws-3160-24pc:admin#create wireless network 17 command: create wireless network 17 create network id : 17 success. Dws-3160-24pc:admin# 89-2 delete wireless network description this command is used to delete a wireless network c...

  • Page 791

    Dws-3160 series gigabit ethernet unified switch cli reference guide 787 characters long. Mac - specifies to configure mac type of access list to the network as a client qos. Acl_name - specifies to configure the mac-name type of access list to the network as a client qos. - enter the mac acl name us...

  • Page 792

    Dws-3160 series gigabit ethernet unified switch cli reference guide 788 authentication. Radius - specifies that client mac addresses will use the radius database for mac authentication. Disable - specifies that mac authentication, on the network, will be disabled. This is the default option. Radius ...

  • Page 793

    Dws-3160 series gigabit ethernet unified switch cli reference guide 789 index - specifies the configured wep transfer key index. The number of characters required depends on the configured wep key type and length. - enter the configured wep transfer key id used here. This value must be between 1 and...

  • Page 794

    Dws-3160 series gigabit ethernet unified switch cli reference guide 790 must be between 0 and 192. The default value is 0, which means no limit. Default - specifies that the default value will be used. Ip_tunnel - specifies the layer 3 tunnel feature. The layer 3 tunnel feature allows mobile station...

  • Page 795

    Dws-3160 series gigabit ethernet unified switch cli reference guide 791 to configure an ip acl rule to client qos on network 1: dws-3160-24pc:admin#create wireless access_list ip standard 1 command: create wireless access_list ip standard 1 success. Dws-3160-24pc:admin#create wireless access_list ip...

  • Page 796

    Dws-3160 series gigabit ethernet unified switch cli reference guide 792 dws-3160-24pc:admin#create wireless access_list ipv6 ipv6acl command: create wireless access_list ipv6 ipv6acl success. Dws-3160-24pc:admin#config wireless network 1 client_qos access_control up ipv6 acl_name ipv6acl command: co...

  • Page 797

    Dws-3160 series gigabit ethernet unified switch cli reference guide 793 dws-3160-24pc:admin#config wireless network 1 dist_tunnel enable command: config wireless network 1 dist_tunnel enable success. Dws-3160-24pc:admin# to configure 802.1x layer 2 broadcast/unicast key’s refresh rate on network 1: ...

  • Page 798

    Dws-3160 series gigabit ethernet unified switch cli reference guide 794 dws-3160-24pc:admin#config wireless network 1 radius accounting enable command: config wireless network 1 radius accounting enable success. Dws-3160-24pc:admin# to configure the redirect mode on network 1: dws-3160-24pc:admin#co...

  • Page 799

    Dws-3160 series gigabit ethernet unified switch cli reference guide 795 to configure the wep authentication mode on network 1: dws-3160-24pc:admin#config wireless network 1 wep authentication shared_key command: config wireless network 1 wep authentication shared_key success. Dws-3160-24pc:admin# to...

  • Page 800

    Dws-3160 series gigabit ethernet unified switch cli reference guide 796 to configure the wpa key version on network 1: dws-3160-24pc:admin#config wireless network 1 wpa versions wpa2 command: config wireless network 1 wpa versions wpa2 success. Dws-3160-24pc:admin# to configure the wpa key value on ...

  • Page 801

    Dws-3160 series gigabit ethernet unified switch cli reference guide 797 dws-3160-24pc:admin#config wireless network 1 ip_tunnel state enable command: config wireless network 1 ip_tunnel state enable success. Dws-3160-24pc:admin# to configure the layer 3 tunnel subnet and mask on network 1: dws-3160-...

  • Page 802

    Dws-3160 series gigabit ethernet unified switch cli reference guide 798 dws-3160-24pc:admin#show wireless network command: show wireless network network ssid hide ssid security mode ------- -------------------------------- --------- ------------- 1 ssid1 enable static wep 2 dlink2 disable none 3 dli...

  • Page 803

    Dws-3160 series gigabit ethernet unified switch cli reference guide 799 wpa versions : wpa2 wpa ciphers : tkip wpa key type : ascii wpa key : wp4k3y12 wpa2 pre-authentication : enable wpa2 pre-authentication limit : 120 wpa2 key caching holdtime (minutes) : 1200 wep authentication type : shared key ...

  • Page 806

    Dws-3160 series gigabit ethernet unified switch cli reference guide 802 90-3 show wireless configuration description this command is used to display the global peer switch’s configuration push status and configuration push status for all peer switches or the peer switch’s configuration received stat...

  • Page 807

    Dws-3160 series gigabit ethernet unified switch cli reference guide 803 in the above examples the following display parameters can be noticed: configuration request status - displays the global status for the configuration push request. Configuration receive status - displays the status of the confi...

  • Page 808

    Dws-3160 series gigabit ethernet unified switch cli reference guide 804 to display the detailed status of a specific peer switch: dws-3160-24pc:admin#show wireless peer_switch 192.168.69.124 command: show wireless peer_switch 192.168.69.124 ip address : 192.168.69.124 vendor id : d-link software ver...

  • Page 809

    Dws-3160 series gigabit ethernet unified switch cli reference guide 805 dws-3160-24pc:admin#show wireless peer_switch 192.168.69.124 ap 00-22-b0-3c-43- c0 command: show wireless peer_switch 192.168.69.124 ap 00-22-b0-3c-43-c0 mac address : 00-22-b0-3c-43-c0 peer switch ip address : 192.168.69.124 ip...

  • Page 810

    Dws-3160 series gigabit ethernet unified switch cli reference guide 806 dws-3160-24pc:admin#show wireless peer_switch ap 00-22-b0-3c-43-c0 command: show wireless peer_switch ap 00-22-b0-3c-43-c0 mac address : 00-22-b0-3c-43-c0 peer switch ip address : 192.168.69.124 ip address : 192.168.69.125 ip su...

  • Page 811

    Dws-3160 series gigabit ethernet unified switch cli reference guide 807 90-7 show wireless peer_switch configure status description this command is used to display the configuration push status information for peer wireless switches. Format show wireless peer_switch configure status parameters none....

  • Page 813

    Dws-3160 series gigabit ethernet unified switch cli reference guide 809 dws-3160-24pc:admin#delete wireless ap_provisioning all command: delete wireless ap_provisioning all success. Dws-3160-24pc:admin# 91-2 config wireless ap_provision description this command is used to configure the ap provisioni...

  • Page 814

    Dws-3160 series gigabit ethernet unified switch cli reference guide 810 dws-3160-24pc:admin#config wireless ap_provision 00-22-b0-3c-43-c0 switch backup 192.168.69.124 command: config wireless ap_provision 00-22-b0-3c-43-c0 switch backup 192.168.69.124 success. Dws-3160-24pc:admin# to configure the ...

  • Page 815

    Dws-3160 series gigabit ethernet unified switch cli reference guide 811 format config wireless certificate_generate parameters none. Restrictions only administrators can issue this command. Example to initiate the regeneration of the x.509 certificate: dws-3160-24pc:admin#config wireless certificate...

  • Page 816

    Dws-3160 series gigabit ethernet unified switch cli reference guide 812 dws-3160-24pc:admin#config wireless certificate_request peer 192.168.69.123 start command: config wireless certificate_request peer 192.168.69.123 start success. Dws-3160-24pc:admin# 91-5 config wireless cluster exchange_certifi...

  • Page 818

    Dws-3160 series gigabit ethernet unified switch cli reference guide 814 the re-provisioning is allowed for unmanaged aps. This flag tells the ap whether it can accept provisioning information when it is not managed by a switch. By default the ap can accept re- provisioning information. If the admini...

  • Page 820

    Dws-3160 series gigabit ethernet unified switch cli reference guide 816 format show wireless ap_provisioning {} parameters - (optional) enter the ethernet mac address of the ap here. Display parameters that can be found in the examples: ip address - displays the ip address of the ap. Primary switch ...

  • Page 821

    Dws-3160 series gigabit ethernet unified switch cli reference guide 817 dws-3160-24pc:admin#show wireless ap_provisioning 00-22-b0-3c-43-c0 command: show wireless ap_provisioning 00-22-b0-3c-43-c0 mac address : 00-22-b0-3c-43-c0 ap ip address : 192.168.69.125 primary switch ip : 192.168.69.123 backu...

  • Page 822

    Dws-3160 series gigabit ethernet unified switch cli reference guide 818 format show wireless switch_provisioning parameters none. Restrictions none. Example to display the switch’s certificate request status: dws-3160-24pc:admin#show wireless switch_provisioning command: show wireless switch_provisi...

  • Page 825

    Dws-3160 series gigabit ethernet unified switch cli reference guide 821 parameters mac - specifies to create a mac acl identified by its name. - enter the new mac acl name used here. This parameter is a case-sensitive alphanumeric field. This name can be up to 31 characters long. Ip - specifies to c...

  • Page 826

    Dws-3160 series gigabit ethernet unified switch cli reference guide 822 parameters mac - specifies to delete a mac acl identified by its name. - enter the mac acl name used here. This parameter is a case-sensitive alphanumeric field. This name can be up to 31 characters long. Ip - specifies to delet...

  • Page 828

    Dws-3160 series gigabit ethernet unified switch cli reference guide 824 will use. - enter the custom source layer 4 port number used here. This value must be between 0 and 65535. Dst_layer4_port - specifies the destination layer 4 port match condition for the ip acl rule. Domain - specifies that the...

  • Page 829

    Dws-3160 series gigabit ethernet unified switch cli reference guide 825 af21 - specifies that the ip diffserv code point value will be set as 'af21'. Af22 - specifies that the ip diffserv code point value will be set as 'af22'. Af23 - specifies that the ip diffserv code point value will be set as 'a...

  • Page 830

    Dws-3160 series gigabit ethernet unified switch cli reference guide 826 other - specifies to use a custom port number that the source layer 4 port match condition will use. - enter the custom source layer 4 port number used here. This value must be between 0 and 65535. Dstip - specifies the destinat...

  • Page 831

    Dws-3160 series gigabit ethernet unified switch cli reference guide 827 high-order six bits of the service type octet in the ip header. The ip dscp is configured by a possible selection of one of the dscp keywords or a numerical values. Af11 - specifies that the ip diffserv code point value will be ...

  • Page 832

    Dws-3160 series gigabit ethernet unified switch cli reference guide 828 dws-3160-24pc:admin#config wireless access_list ip extended 100 edit_rule 2 protocol igmp command: config wireless access_list ip extended 100 edit_rule 2 protocol igmp success. Dws-3160-24pc:admin# to delete a rule from an exis...

  • Page 833

    Dws-3160 series gigabit ethernet unified switch cli reference guide 829 type - specifies what action should be taken if a packet matches the rule's criteria. The possible values are permit or deny. Deny - specifies that the action that will take place, if a packet matches the rule's criteria, is den...

  • Page 834

    Dws-3160 series gigabit ethernet unified switch cli reference guide 830 condition will use. - enter the custom destination layer 4 port number used here. This value must be between 0 and 65535. Protocol - specifies the protocol to filter for a named ip acl rule, identified by number. The protocol nu...

  • Page 835

    Dws-3160 series gigabit ethernet unified switch cli reference guide 831 - enter the named ip acl number used here. This value must be between 1 and 12. Edit_rule - specifies to update a specified rule from a named ip acl. - enter the named ip acl number used here. This value must be between 1 and 12...

  • Page 836

    Dws-3160 series gigabit ethernet unified switch cli reference guide 832 telnet - specifies that the destination layer 4 port match condition will use to port number of the service called telnet. Tftp - specifies that the destination layer 4 port match condition will use to port number of the service...

  • Page 837

    Dws-3160 series gigabit ethernet unified switch cli reference guide 833 ef - specifies that the ip diffserv code point value will be set as 'ef'. Other - specifies that a custom ip diffserv code point value will be used. - enter a custom ip diffserv code point value here. This value must be between ...

  • Page 839

    Dws-3160 series gigabit ethernet unified switch cli reference guide 835 dws-3160-24pc:admin# config wireless access_list ip standard 5 add_rule 3 type deny match_every false srcip 10.20.30.40 srcmask 255.0.0.0 command: config wireless access_list ip standard 5 add_rule 1 type deny match_every false ...

  • Page 840

    Dws-3160 series gigabit ethernet unified switch cli reference guide 836 parameters ipv6 - specifies to configure an ipv6 acl identified by name. - enter the ipv6 acl named used here. This name can be up to 31 characters long. This parameter is a case-sensitive alphanumeric string uniquely identifyin...

  • Page 841

    Dws-3160 series gigabit ethernet unified switch cli reference guide 837 the service called ftp. Ftpdata - specifies that the destination layer 4 port match condition will use to port number of the service called ftp data. Http - specifies that the destination layer 4 port match condition will use to...

  • Page 842

    Dws-3160 series gigabit ethernet unified switch cli reference guide 838 - enter the named ipv6 acl number used here. This value must be between 1 and 10. Edit_rule - specifies to update a specified rule from a named ipv6 acl. - enter the named ipv6 acl number used here. This value must be between 1 ...

  • Page 843

    Dws-3160 series gigabit ethernet unified switch cli reference guide 839 telnet - specifies that the destination layer 4 port match condition will use to port number of the service called telnet. Tftp - specifies that the destination layer 4 port match condition will use to port number of the service...

  • Page 844

    Dws-3160 series gigabit ethernet unified switch cli reference guide 840 example to create a new rule for an existed ipv6 acl: dws-3160-24pc:admin#config wireless access_list ipv6 aclipv6-1 add_rule 1 type deny match_every true command: config wireless access_list ipv6 aclipv6-1 add_rule 1 type deny ...

  • Page 846

    Dws-3160 series gigabit ethernet unified switch cli reference guide 842 - enter the cos value, for this rule, here. This value must be between 0 and 7. Vlan - specifies the vlan identifier value for this rule. - enter the vlan id used here. This value must be between 0 and 4095. Del_rule - specifies...

  • Page 847

    Dws-3160 series gigabit ethernet unified switch cli reference guide 843 example to create a new rule for an existed mac acl: dws-3160-24pc:admin#config wireless access_list mac aclmac add_rule 1 type permit match_every true command: config wireless access_list mac aclmac add_rule 1 type permit match...

  • Page 848

    Dws-3160 series gigabit ethernet unified switch cli reference guide 844 match_all - specifies the 'match all' class type and indicates that all of the individual match conditions must be true for a packet to be considered a member of the class. Ipv4 - (optional) specifies that the layer 3 protocol u...

  • Page 849

    Dws-3160 series gigabit ethernet unified switch cli reference guide 845 dws-3160-24pc:admin#delete wireless diffserv class_map cm1 command: delete wireless diffserv class_map cm1 success. Dws-3160-24pc:admin# to delete an existing wireless diffserv class referenced by one or more policies: dws-3160-...

  • Page 850

    Dws-3160 series gigabit ethernet unified switch cli reference guide 846 92-11 delete wireless diffserv policy_map description this command is used to delete an existing wireless diffserv policy. Format delete wireless diffserv policy_map parameters - enter the class map name used here. This name can...

  • Page 852

    Dws-3160 series gigabit ethernet unified switch cli reference guide 848 user_value - specifies that a custom ethertype value will be used. - enter the custom ethertype value used here. This value must be between 0x0600 and 0xffff. Ip_dscp - specifies the value of the ip diffserv code point (dscp) fi...

  • Page 853

    Dws-3160 series gigabit ethernet unified switch cli reference guide 849 - enter the source mac address of a packet here. Mask - specifies the source mac mask of a packet. - enter the source mac mask of a packet here. Srcip - specifies the source ip address of a packet. - enter the source ip address ...

  • Page 854

    Dws-3160 series gigabit ethernet unified switch cli reference guide 850 - enter the custom destination layer 4 port number of a packet here. This value must be between 0 and 65535. Flow_label - specifies the ipv6 flow label. - enter the ipv6 flow label used here. This value must be between 0 and 104...

  • Page 855

    Dws-3160 series gigabit ethernet unified switch cli reference guide 851 the set matches the conditions defined for another class. Srcipv6 - specifies the source ipv6 address of a packet. - enter the source ipv6 address of a packet here. Prefix_length - specifies the source ipv6 prefix length of a pa...

  • Page 857

    Dws-3160 series gigabit ethernet unified switch cli reference guide 853 af33 - specifies that the diffserv code point (dscp) field value will be set to 'af33'. Af41 - specifies that the diffserv code point (dscp) field value will be set to 'af41'. Af42 - specifies that the diffserv code point (dscp)...

  • Page 858

    Dws-3160 series gigabit ethernet unified switch cli reference guide 854 cs4 - specifies that the diffserv code point (dscp) field value will be set to 'cs4'. Cs5 - specifies that the diffserv code point (dscp) field value will be set to 'cs5'. Cs6 - specifies that the diffserv code point (dscp) fiel...

  • Page 859

    Dws-3160 series gigabit ethernet unified switch cli reference guide 855 dws-3160-24pc:admin#config wireless diffserv policy_map df_policy class cm30 action drop command: config wireless diffserv policy_map df_policy class cm30 action drop success. Dws-3160-24pc:admin# 92-14 show wireless access_list...

  • Page 860

    Dws-3160 series gigabit ethernet unified switch cli reference guide 856 dws-3160-24pc:admin#show wireless access_list mac command: show wireless access_list mac current number of all acls: 9 maximum number of all acls: 100 mac acl name rules ------------------------------- ----- macacl 0 aclmac 2 to...

  • Page 861

    Dws-3160 series gigabit ethernet unified switch cli reference guide 857 dws-3160-24pc:admin#show wireless access_list ip command: show wireless access_list ip current number of all acls: 9 maximum number of all acls: 100 ip acl id/name rules -------------------------------- ----- 1 0 5 1 100 2 ipacl...

  • Page 862

    Dws-3160 series gigabit ethernet unified switch cli reference guide 858 dws-3160-24pc:admin#show wireless access_list ipv6 command: show wireless access_list ipv6 current number of all acls: 9 maximum number of all acls: 100 ipv6 acl name rules --------------------------------- ----- ipv6acl 0 aclip...

  • Page 863

    Dws-3160 series gigabit ethernet unified switch cli reference guide 859 up to 31 characters long. The name is a case sensitive alphanumeric string that uniquely identifies an existing wireless diffserv class. Policy_map - (optional) specifies to display the diffserv policy map(s) information. Policy...

  • Page 864

    Dws-3160 series gigabit ethernet unified switch cli reference guide 860 dws-3160-24pc:admin#show wireless diffserv class_map class_name cm31 command: show wireless diffserv class_map class_name cm31 class name : cm31 class type : all class layer3 protocol : ipv4 match criteria values ---------------...

  • Page 865: Chapter 93

    Dws-3160 series gigabit ethernet unified switch cli reference guide 861 chapter 93 wireless rf scan ap status command list delete wireless ap_rf_scan_list 93-1 delete wireless ap_rf_scan_list description this command is used to delete all entries from the rf scan list. The rf scan list is data maint...

  • Page 867

    Dws-3160 series gigabit ethernet unified switch cli reference guide 863 start - specifies to compute a new proposed wireless channel plan. Restrictions only administrators can issue this command. Example to configure the wireless channel plan mode: dws-3160-24pc:admin#config wireless channel_plan an...

  • Page 870

    Dws-3160 series gigabit ethernet unified switch cli reference guide 866 restrictions none. Example to display the channel plan history: dws-3160-24pc:admin# show wireless channel_plan history an command: show wireless channel_plan history an operational status : active last iteration : 0 last algori...

  • Page 871

    Dws-3160 series gigabit ethernet unified switch cli reference guide 867 dws-3160-24pc:admin# show wireless channel_plan proposed an command: show wireless channel_plan proposed an current status : algorithm completed current new ap mac address location radio channel channel ----------------- -------...

  • Page 872

    Dws-3160 series gigabit ethernet unified switch cli reference guide 868 format show wireless power_plan proposed parameters none. Restrictions none. Example to display the proposed power plan: dws-3160-24pc:admin# show wireless power_plan proposed command: show wireless power_plan proposed current s...

  • Page 875

    Dws-3160 series gigabit ethernet unified switch cli reference guide 871 example to disable the wireless switch functionality: dws-3160-24pc:admin#disable wireless command: disable wireless success. Dws-3160-24pc:admin# 95-3 create wireless discovery description this command is used to add an ip addr...

  • Page 876

    Dws-3160 series gigabit ethernet unified switch cli reference guide 872 dws-3160-24pc:admin#create wireless discovery vlan 3 command: create wireless discovery vlan 3 success. Dws-3160-24pc:admin# 95-4 delete wireless discovery description this command is used to delete entries from the layer 3 ip p...

  • Page 878

    Dws-3160 series gigabit ethernet unified switch cli reference guide 874 format create wireless known_client parameters - enter a valid mac address of a physical wireless client here. Restrictions only administrators can issue this command. Example to add the mac address of ‘00-18-de-d7-b4-c1’ to the...

  • Page 879

    Dws-3160 series gigabit ethernet unified switch cli reference guide 875 95-8 config wireless known_client description this command is used to configure a client mac address in the local known client database. This action indicates whether to grant, deny or use global action for mac authentication of...

  • Page 880

    Dws-3160 series gigabit ethernet unified switch cli reference guide 876 dws-3160-24pc:admin#config wireless known_client 00-18-de-d7-b4-c1 action deny command: config wireless known_client 00-18-de-d7-b4-c1 action deny success. Dws-3160-24pc:admin# 95-9 create wireless oui_database description this ...

  • Page 881

    Dws-3160 series gigabit ethernet unified switch cli reference guide 877 parameters - enter the oui value, which is composed of the higher three octets of the ethernet mac address of the vendor ap or client, here. Restrictions only administrators can issue this command. Example to delete an oui value...

  • Page 882

    Dws-3160 series gigabit ethernet unified switch cli reference guide 878 95-12 config wireless acknowledge_rogue description this command is used to acknowledge a rogue ap’s in the rf scan database. This command can also be used to acknowledge all rogue aps. Format config wireless acknowledge_rogue [...

  • Page 883

    Dws-3160 series gigabit ethernet unified switch cli reference guide 879 failure list. A value of 0 indicates that the entries should never age out. - enter the time to maintain an entry in the ap association and authentication failure list here. This value must be between 0 and 168 hours. The defaul...

  • Page 884

    Dws-3160 series gigabit ethernet unified switch cli reference guide 880 95-14 config wireless ap_authentication description this command is used to enable or disables ap authentication. When enabled, all aps are required to authenticate to the wireless switch using a password upon discovery. When di...

  • Page 885

    Dws-3160 series gigabit ethernet unified switch cli reference guide 881 option. Restrictions only administrators can issue this command. Example to enable the ap automatic upgrade mode: dws-3160-24pc:admin#config wireless ap_auto_upgrade enable command: config wireless ap_auto_upgrade enable success...

  • Page 887

    Dws-3160 series gigabit ethernet unified switch cli reference guide 883 example to enable the automatic ip assignment feature: dws-3160-24pc:admin#config wireless auto_ip_assign enable command: config wireless auto_ip_assign enable success. Dws-3160-24pc:admin# 95-19 config wireless client roam_time...

  • Page 888

    Dws-3160 series gigabit ethernet unified switch cli reference guide 884 format config wireless cluster priority parameters - enter the preference level for the cluster controller election here. This value must be between 0 and 255. The default value is 1. Restrictions only administrators can issue t...

  • Page 889

    Dws-3160 series gigabit ethernet unified switch cli reference guide 885 dws-3160-24pc:admin#config wireless country_code default command: config wireless country_code default the default country code (us) will be used as a result of this command. The wlan application is currently enabled. Changing t...

  • Page 890

    Dws-3160 series gigabit ethernet unified switch cli reference guide 886 restrictions only administrators can issue this command. Example to configure the layer 2 distributed tunneling parameters: dws-3160-24pc:admin#config wireless dist_tunnel max_clients 800 idle_timeout 100 max_timeout 300 mcast_r...

  • Page 891

    Dws-3160 series gigabit ethernet unified switch cli reference guide 887 dws-3160-24pc:admin#config wireless ip_control_port 57775 command: config wireless ip_control_port 57775 success. Dws-3160-24pc:admin# 95-24 config wireless mac_authentication_mode description this command is used to configure t...

  • Page 892

    Dws-3160 series gigabit ethernet unified switch cli reference guide 888 parameters - enter the identifier for the peer switch group here. This value must be between 1 and 255. The default value is 1. Default - specifies that the default value will be used. Restrictions only administrators can issue ...

  • Page 893

    Dws-3160 series gigabit ethernet unified switch cli reference guide 889 dws-3160-24pc:admin#config wireless radius accounting enable command: config wireless radius accounting enable success. Dws-3160-24pc:admin# 95-27 config wireless static_ip description this command is used to configure static ip...

  • Page 894

    Dws-3160 series gigabit ethernet unified switch cli reference guide 890 be enabled. Disable - specifies that the specified wireless switch snmp trap group wireless system event will be disabled. All - specifies that all wireless snmp traps events will be used. Ap_failure - specifies the snmp traps a...

  • Page 895

    Dws-3160 series gigabit ethernet unified switch cli reference guide 891 parameters 1500 - specifies that the maximum ip frame size is 1518 tagged and 1522 untagged. 1520 - specifies that the maximum ip frame size is 1538 tagged and 1542 untagged default - specifies that the default value will be use...

  • Page 896

    Dws-3160 series gigabit ethernet unified switch cli reference guide 892 95-31 show wireless description this command is used to display the configured wireless switch’s global parameters and the operational status. Format show wireless parameters none. Restrictions none. Example to display the wirel...

  • Page 897

    Dws-3160 series gigabit ethernet unified switch cli reference guide 893 dws-3160-24pc:admin#show wireless command: show wireless ----------------------------------------------- * wireless main status * ----------------------------------------------- module version : 4.0.0.1 administrative mode : ena...

  • Page 898

    Dws-3160 series gigabit ethernet unified switch cli reference guide 894 list. Ap provisioning database age time (hours) - displays the value that determines how long to keep an entry in the ap provisioning database. After an ap is inactive for the number of hours you specify in this field, its entry...

  • Page 899

    Dws-3160 series gigabit ethernet unified switch cli reference guide 895 example to display a summary of access point hardware type capabilities: dws-3160-24pc:admin#show wireless ap_capability command: show wireless ap_capability hardware hardware radio vap count image type type description count pe...

  • Page 900

    Dws-3160 series gigabit ethernet unified switch cli reference guide 896 dws-3160-24pc:admin#show wireless ap_capability dual_boot command: show wireless ap_capability dual_boot hardware hardware dual boot type id type description support ---------- ---------------------------------------- ----------...

  • Page 901

    Dws-3160 series gigabit ethernet unified switch cli reference guide 897 format show wireless country_code parameters none. Restrictions none. Example to display the country codes configurable on the wireless switch: dws-3160-24pc:admin#show wireless country_code command: show wireless country_code c...

  • Page 902

    Dws-3160 series gigabit ethernet unified switch cli reference guide 898 parameters ip_list - specifies that the layer 3 discovery ip list and polling status will be displayed. Vlan_list - specifies that the layer 2 discovery vlan list will be displayed. If no parameter is specified, information abou...

  • Page 903

    Dws-3160 series gigabit ethernet unified switch cli reference guide 899 dws-3160-24pc:admin#show wireless discovery vlan_list command: show wireless discovery vlan_list -------------------- * vlan list * -------------------- 1 - default 3 - v3 total entries : 2 dws-3160-24pc:admin# 95-37 show wirele...

  • Page 904

    Dws-3160 series gigabit ethernet unified switch cli reference guide 900 dws-3160-24pc:admin#show wireless dist_tunnel command: show wireless dist_tunnel distributed tunnel max clients : 800 distributed tunnel idle timeout : 100 distributed tunnel timeout : 300 distributed tunnel max multicast replic...

  • Page 905

    Dws-3160 series gigabit ethernet unified switch cli reference guide 901 dws-3160-24pc:admin#show wireless known_client command: show wireless known_client mac address name action ----------------- -------------------------------- ---------------- 00-18-de-d7-b4-c1 reception deny total entries : 1 dw...

  • Page 906

    Dws-3160 series gigabit ethernet unified switch cli reference guide 902 95-40 show wireless multicast tx_rates description this command is used to display the multicast transmit rates valid for a specified physical mode. This is intended to help the user to determine valid values for the radio confi...

  • Page 907

    Dws-3160 series gigabit ethernet unified switch cli reference guide 903 dws-3160-24pc:admin#show wireless multicast tx_rates bg command: show wireless multicast tx_rates bg mode : 802.11b/g valid rates (mbps) ------------------ 1 mbps 2 mbps 5.5 mbps 6 mbps 9 mbps 11 mbps 12 mbps 18 mbps 24 mbps 36 ...

  • Page 908

    Dws-3160 series gigabit ethernet unified switch cli reference guide 904 dws-3160-24pc:admin#show wireless oui_database command: show wireless oui_database oui value oui description -------------------- -------------------------------- 00:00:01 d-link total entries : 1 dws-3160-24pc:admin# 95-42 show...

  • Page 909

    Dws-3160 series gigabit ethernet unified switch cli reference guide 905 parameters a - specifies that tx rates of the physical mode, 802.11a, will be displayed. Bg - specifies that tx rates of the physical mode, 802.11b/g, will be displayed. Restrictions none. Example to display tx rates of the phys...

  • Page 910

    Dws-3160 series gigabit ethernet unified switch cli reference guide 906 95-44 show wireless statistics description this command is used to display the current global wireless switch’s statistics. Format show wireless statistics parameters none. Restrictions none. Example to display the current globa...

  • Page 911

    Dws-3160 series gigabit ethernet unified switch cli reference guide 907 restrictions none. Example to display the configured global wireless switch’s status parameters. Dws-3160-24pc:admin#show wireless status command: show wireless status total access points : 0 managed access points : 0 connection...

  • Page 912

    Dws-3160 series gigabit ethernet unified switch cli reference guide 908 configuration and status. Restrictions none. Example to display the local switch’s summary: dws-3160-24pc:admin#show wireless switch local command: show wireless switch local switch ip address : 192.168.69.123 cluster priority :...

  • Page 913

    Dws-3160 series gigabit ethernet unified switch cli reference guide 909 dws-3160-24pc:admin# show wireless switch local client command: show wireless switch local client switch ip address client mac address ----------------- ------------------ 50.1.1.61 70-1a-04-3d-f4-c1 total entries : 1 dws-3160-2...

  • Page 914

    Dws-3160 series gigabit ethernet unified switch cli reference guide 910 95-48 show wireless tunnel_mtu description this command is used to display the configured network’s mtu size. This is a global configuration for all managed access points. Format show wireless tunnel_mtu parameters none. Restric...

  • Page 916

    Dws-3160 series gigabit ethernet unified switch cli reference guide 912 parameters none. Restrictions only administrators can issue this command. Example to manage administrator-configured rogue detections: dws-3160-24pc:admin#config wireless wids_security admin_config_rogue enable command: config w...

  • Page 918

    Dws-3160 series gigabit ethernet unified switch cli reference guide 914 dws-3160-24pc:admin#config wireless wids_security client auth_with_unknown_ap enable command: config wireless wids_security client auth_with_unknown_ap enable success. Dws-3160-24pc:admin# 96-5 config wireless wids_security clie...

  • Page 919

    Dws-3160 series gigabit ethernet unified switch cli reference guide 915 parameters enable - specifies to enable the test which marks the client as rogue if it exceeds the configured rate for transmitting 802.11 de-authentication requests. This is the default option. Disable - specifies to disable th...

  • Page 920

    Dws-3160 series gigabit ethernet unified switch cli reference guide 916 dws-3160-24pc:admin#config wireless wids_security client configured_probe_rate enable command: config wireless wids_security client configured_probe_rate enable success. Dws-3160-24pc:admin# 96-8 config wireless wids_security cl...

  • Page 921

    Dws-3160 series gigabit ethernet unified switch cli reference guide 917 parameters local - specifies that the database defined locally. This is the default option. Radius_server - specifies that the database defined on a radius server. Default - specifies that the default option will be used. Restri...

  • Page 922

    Dws-3160 series gigabit ethernet unified switch cli reference guide 918 96-11 config wireless wids_security client oui_database description this command is used to enable or disable the check whether a client is present in the oui db test. Format config wireless wids_security client oui_database [en...

  • Page 923

    Dws-3160 series gigabit ethernet unified switch cli reference guide 919 example to configure the rogue detection trap interval: dws-3160-24pc:admin#config wireless wids_security client rogue_det_trap_interval 3600 command: config wireless wids_security client rogue_det_trap_interval 3600 success. Dw...

  • Page 925

    Dws-3160 series gigabit ethernet unified switch cli reference guide 921 dws-3160-24pc:admin#config wireless wids_security client threshold_interval_auth 60 command: config wireless wids_security client threshold_interval_auth 60 success. Dws-3160-24pc:admin# 96-16 config wireless wids_security clien...

  • Page 926

    Dws-3160 series gigabit ethernet unified switch cli reference guide 922 be between 1 and 3600. The default value is 60. Default - specifies that the default value will be used. Restrictions only administrators can issue this command. Example to specifies the threshold interval for counting the probe...

  • Page 927

    Dws-3160 series gigabit ethernet unified switch cli reference guide 923 96-19 config wireless wids_security client threshold_value_deauth description this command is used to specify the maximum number of de-authentication messages which a switch can receive during the threshold interval. Format conf...

  • Page 928

    Dws-3160 series gigabit ethernet unified switch cli reference guide 924 restrictions only administrators can issue this command. Example to specifies the maximum number of probe messages that a switch can receive during the threshold interval: dws-3160-24pc:admin#config wireless wids_security client...

  • Page 929

    Dws-3160 series gigabit ethernet unified switch cli reference guide 925 96-22 config wireless wids_security fakeman_ap_managemed_ssid description this command is used to manage rogue reporting for fake managed ap’s detected with a managed ssid or not. Format config wireless wids_security fakeman_ap_...

  • Page 930

    Dws-3160 series gigabit ethernet unified switch cli reference guide 926 restrictions only administrators can issue this command. Example to manage beacons received from fake managed ap without ssid rogue detection: dws-3160-24pc:admin#config wireless wids_security fakeman_ap_no_ssid enable command: ...

  • Page 932

    Dws-3160 series gigabit ethernet unified switch cli reference guide 928 dws-3160-24pc:admin#config wireless wids_security rogue_det_trap_interval 3600 command: config wireless wids_security rogue_det_trap_interval 3600 success. Dws-3160-24pc:admin# 96-27 config wireless wids_security standalone_cfg_...

  • Page 933

    Dws-3160 series gigabit ethernet unified switch cli reference guide 929 default option. Disable - specifies not to manage managed ssids received from unknown rogue aps. Restrictions only administrators can issue this command. Example to manage managed ssids received from unknown rogue aps: dws-3160-...

  • Page 934

    Dws-3160 series gigabit ethernet unified switch cli reference guide 930 96-30 config wireless wids_security wired_detection_interval description this command is used to specify the minimum wired detection interval. Use this variable to set the minimum number of seconds that the ap waits before start...

  • Page 935

    Dws-3160 series gigabit ethernet unified switch cli reference guide 931 dws-3160-24pc:admin#show wireless wids_security command: show wireless wids_security rogue - admin configured rogue ap's : enable rogue - ap's on an illegal channel : enable rogue - fake managed ap / invalid channel : enable rog...

  • Page 936

    Dws-3160 series gigabit ethernet unified switch cli reference guide 932 dws-3160-24pc:admin#show wireless wids_security client command: show wireless wids_security client rogue detected trap interval : 300 seconds rogue-not in oui database : disable rogue-not in known client list : disable rogue-exc...

  • Page 937

    Dws-3160 series gigabit ethernet unified switch cli reference guide 933 dws-3160-24pc:admin#show wireless wids_security client rogue_test_descriptions command: show wireless wids_security client rogue_test_descriptions widsclntrogue1 : known client database test widsclntrogue2 : client exceeds confi...

  • Page 938

    Dws-3160 series gigabit ethernet unified switch cli reference guide 934 96-35 show wireless wids_security rogue_test_descriptions description this command is used to display the wids ap rogue classification test identifier descriptions. Format show wireless wids_security rogue_test_descriptions para...

  • Page 939: Chapter 97

    Dws-3160 series gigabit ethernet unified switch cli reference guide 935 chapter 97 password recovery command list enable password_recovery disable password_recovery show password_recovery 97-1 enable password_recovery description this command is used to enable the password recovery mode. Format enab...

  • Page 940

    Dws-3160 series gigabit ethernet unified switch cli reference guide 936 parameters none. Restrictions only administrators can issue this command. Example to disable the password recovery mode: dws-3160-24pc:admin# disable password_recovery command: disable password_recovery success. Dws-3160-24pc:ad...

  • Page 941: Appendix A

    Dws-3160 series gigabit ethernet unified switch cli reference guide 937 appendix a mitigating arp spoofing attacks using packet content acl how address resolution protocol works address resolution protocol (arp) is the standard method for finding a host’s hardware address (mac address) when only its...

  • Page 942

    Dws-3160 series gigabit ethernet unified switch cli reference guide 938 table 1. Arp payload the arp request will be encapsulated into an ethernet frame and sent out. As can be seen in table 2, the “source address” in the ethernet frame will be pc a’s mac address. Since an arp request is sent via br...

  • Page 943

    Dws-3160 series gigabit ethernet unified switch cli reference guide 939 figure 2 figure 3 when pc b replies to the arp request, its mac address will be written into “target h/w address” in the arp payload displayed in table 3. The arp reply will be then encapsulated into an ethernet frame again and ...

  • Page 944

    Dws-3160 series gigabit ethernet unified switch cli reference guide 940 table 3. Arp payload when pc b replies to the query, the “destination address” in the ethernet frame will be changed to pc a’s mac address. The “source address” will be changed to pc b’s mac address (see table 4). Table 4. Ether...

  • Page 945

    Dws-3160 series gigabit ethernet unified switch cli reference guide 941 figure 4 generally, the aim is to associate the attacker's or random mac address with the ip address of another node (such as the default gateway). Any traffic meant for that ip address would be mistakenly re-directed to the nod...

  • Page 946

    Dws-3160 series gigabit ethernet unified switch cli reference guide 942 figure 5 likewise, the attacker can either choose to forward the traffic to the actual default gateway (passive sniffing) or modify the data before forwarding it (man-in-the-middle attack). The hacker cheats the victim pc that i...

  • Page 947

    Dws-3160 series gigabit ethernet unified switch cli reference guide 943 prevent arp spoofing attack, we will demonstrate here via using packet content acl on the switch to block the invalid arp packets which contain faked gateway’s mac and ip binding. Configuration the configuration logic is as foll...

  • Page 948

    Dws-3160 series gigabit ethernet unified switch cli reference guide 944 table 7. A completed arp packet contained in an ethernet frame command description step 1: create access_profile_id 1 profile_name 1 ethernet source_mac ff-ff-ff-ff-ff-ff ethernet_type 1. Create access profile 1 to match etherne...

  • Page 949: Appendix B

    Dws-3160 series gigabit ethernet unified switch cli reference guide 945 appendix b password recovery procedure this chapter 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 me...

  • Page 950

    Dws-3160 series gigabit ethernet unified switch cli reference guide 946 command parameters reset account the reset account command deletes all the previously created accounts. Reset password {} the reset password command resets the password of the specified user. If a username is not specified, the ...

  • Page 951: Appendix C

    Dws-3160 series gigabit ethernet unified switch cli reference guide 947 appendix c system log entries the following table lists all possible entries and their corresponding meanings that will appear in the system log of this switch. Category event description log information severity remark system s...

  • Page 952

    Dws-3160 series gigabit ethernet unified switch cli reference guide 948 informati on for logging. Internal power failed internal power failed critical internal power is recovered internal power is recovered critical redundant power failed redundant power failed critical redundant power is working re...

  • Page 953

    Dws-3160 series gigabit ethernet unified switch cli reference guide 949 configuration download was unsuccessful configuration download by console was unsuccessful! (username: , ip: ) warning "by console" and "ip: " are xor displaye d in log string, which means if user login by console, there will no...

  • Page 954

    Dws-3160 series gigabit ethernet unified switch cli reference guide 950 on for logging. Log message upload was unsuccessful log message upload by console was unsuccessful! (username: , ip: ) warning "by console" and "ip: " are xor displaye d in log string, which means if user login by console, there...

  • Page 955

    Dws-3160 series gigabit ethernet unified switch cli reference guide 951 login failed through console login failed through console (username: ) warning there are no ip and mac if login by console. Logout through console logout through console (username: ) informational there are no ip and mac if logi...

  • Page 956

    Dws-3160 series gigabit ethernet unified switch cli reference guide 952 created (instance:) spanning tree instance deleted spanning tree instance deleted (instance:) informational spanning tree version changed spanning tree version change (new version:) informational spanning tree mst configuration ...

  • Page 957

    Dws-3160 series gigabit ethernet unified switch cli reference guide 953 aaa local method method (username: ) login failed through ssh authenticated by aaa local method login failed through ssh from authenticated by aaa local method (username: ) warning successful login through console authenticated ...

  • Page 958

    Dws-3160 series gigabit ethernet unified switch cli reference guide 954 successful login through ssh authenticated by aaa server successful login through ssh from authenticated by aaa server (username: ) informational login failed through ssh authenticated by aaa server login failed through ssh from...

  • Page 959

    Dws-3160 series gigabit ethernet unified switch cli reference guide 955 successful enable admin through console authenticated by aaa server successful enable admin through console authenticated by aaa server (username: ) informational enable admin failed through console authenticated by aaa server e...

  • Page 960

    Dws-3160 series gigabit ethernet unified switch cli reference guide 956 the max user limit. The authorized user number on a port is below the max user limit in a time interval port recovers from mac- based access control stop learning state. Warning per port the authorized user number on whole devic...

  • Page 961

    Dws-3160 series gigabit ethernet unified switch cli reference guide 957 logging. Safeguard engine safeguard engine is in normal mode safeguard engine enters normal mode informational safeguard engine is in filtering packet mode safeguard engine enters exhausted mode warning packet storm broadcast st...

  • Page 962

    Dws-3160 series gigabit ethernet unified switch cli reference guide 958 local(port , direction:) remote mep detects cfm defects cfm remote detects a defect. Md level:, vlan:, local(port , direction:) informational cfm extension ais condition detected ais condition detected. Md level:, vlan:, local(p...

  • Page 963

    Dws-3160 series gigabit ethernet unified switch cli reference guide 959 dropped wireless peer switch client database full wireless peer switch client database full client mac: dropped warning peer switch wireless peer switch discovered wireless peer switch: discovered informational wireless peer swi...

  • Page 964

    Dws-3160 series gigabit ethernet unified switch cli reference guide 960 wireless rogue-client(s) present in the network wireless rogue-client(s) present in the network informational auto channel & power wireless channel algorithm is complete wireless channel algorithm is complete informational wirel...

  • Page 965: Appendix D

    Dws-3160 series gigabit ethernet unified switch cli reference guide 961 appendix d trap entries this table lists the trap logs found on the switch. Log entry description id l2macnotification this trap indicates the mac address variations in the address table. 1.3.6.1.4.1.171.11.101.1.2.100.1.2.0.1 l...

  • Page 966

    Dws-3160 series gigabit ethernet unified switch cli reference guide 962 coldstart a coldstart trap signifies that the snmpv2 entity, acting in an agent role, is reinitializing itself and that its configuration may have been altered. 1.3.6.1.6.3.1.1.5.1 warmstart a warmstart trap signifies that the s...

  • Page 967

    Dws-3160 series gigabit ethernet unified switch cli reference guide 963 has detected that managedap neighbor ap list is full. Wsmanagedapneighborclientlistfull a wsmanagedapneighborclientlistfull trap signifies that the snmp entity, acting in an agent role, has detected that managedap neighbor clien...

  • Page 968

    Dws-3160 series gigabit ethernet unified switch cli reference guide 964 the snmp entity, acting in an agent role, has detected client association failure. Wsclientauthenticationfailure a wsauthenticationfailure trap signifies that the snmp entity, acting in an agent role, has detected client authent...

  • Page 969

    Dws-3160 series gigabit ethernet unified switch cli reference guide 965 cpclientconnect a cpclientconnect trap signifies that the snmp entity, acting in an agent role, has detected a client connection. 1.3.6.1.4.1.171.12.97.4.0.2 cpclientdatabasefull a cpclientdatabasefull trap signifies that the sn...

  • Page 970: Appendix E

    Dws-3160 series gigabit ethernet unified switch cli reference guide 966 appendix e radius attributes assignment the radius attributes assignment on the switch is used in the following modules: 802.1x (port- based and host-based), mac-based access control and captive portal configurations. The descri...

  • Page 971

    Dws-3160 series gigabit ethernet unified switch cli reference guide 967 if the user has configured the 802.1p priority attribute of the radius server (for example, priority 7) and the 802.1x, or host-based authentication is successful, the device will assign the 802.1p default priority (according to...

  • Page 972

    Dws-3160 series gigabit ethernet unified switch cli reference guide 968 if the user has configured the vlan attribute of the radius server (for example, vid 3) and the 802.1x, or mac-based access control authentication is successful, the port will be added to vlan 3. However, if the user does not co...

  • Page 973

    Dws-3160 series gigabit ethernet unified switch cli reference guide 969 entry. “nopassword” vendor-specific (26), d-link (171), location (101) a description for the ap, often based on its location. 0-32 characters optional “” vendor-specifc (26), d-link (171), mode (102) indicates whether this ap is...

  • Page 974

    Dws-3160 series gigabit ethernet unified switch cli reference guide 970 (110) 3 - wpa or wpa2 vendor-specifc (26), d-link (171), expected-ssid (109) the expected ssid for a standalone ap. Character string, 0 to 32 bytes. If string is empty, then device may use any ssid optional “” vendor-specifc (26...

  • Page 975

    Dws-3160 series gigabit ethernet unified switch cli reference guide 971 network configuration are used instead. If this attribute is present but refers to an undefined access list name in the system, all packets for this client will be dropped until the acl is defined. "type:name" where: • type = ac...

  • Page 976

    Dws-3160 series gigabit ethernet unified switch cli reference guide 972 attribute description range usage default user-name (1) ethernet address of the client station. Valid ethernet mac address. Required none user-password (2) a fixed password used to lookup an client mac entry. “nopassword” requir...

  • Page 977

    Dws-3160 series gigabit ethernet unified switch cli reference guide 973 attribute is 0 or not present, then use the value configured for the captive portal. Vendor-specific (26), wispr (14122), wispr-bandwidth-max- down (8) maximum client receive rate (b/s). Limits the bandwidth at which the client ...

  • Page 978

    Dws-3160 series gigabit ethernet unified switch cli reference guide 974 vendor-specific (26), d-link (171), lvl7-captive-portal- groups (127) acomma-delimited list of group names that correspond to the configured cp instance configurations. String optional none. The default group is used if not defi...

  • Page 979: Appendix F

    Dws-3160 series gigabit ethernet unified switch cli reference guide 975 appendix f wireless switch specific authenticated roaming and clustering: captive portal guidlines in addition to the generic implementation, captive portal also provides two key features for the wireless networks called authent...

  • Page 980

    Dws-3160 series gigabit ethernet unified switch cli reference guide 976 the decision to transition out of the cluster controller state is immediate. If the switch elects itself as the cluster controller immediately. If the switch elects another switch as the cluster controller, then the decision to ...

  • Page 981

    Dws-3160 series gigabit ethernet unified switch cli reference guide 977 which the ap may establish a connection. The certificates are distributed when the mutual authentication feature is enabled, during ap and switch provisioning, and triggered by an administrator command. The x.509 mutual certific...

  • Page 982

    Dws-3160 series gigabit ethernet unified switch cli reference guide 978 the ap auto-generates an x.509 certificate when it boots. At boot time the ap checks whether the key file and the certificate file already exists. If the files exist then the ap uses them, otherwise the ap generates the files. T...

  • Page 983

    Dws-3160 series gigabit ethernet unified switch cli reference guide 979 configured static ip address is already being used by the wireless feature then the wireless feature is not disabled and service to the wireless clients is not interrupted. When wireless switches enables ip tunneling for wireles...