D-Link DGS-3120-24PC Manual - Chapter 7

Other manuals for DGS-3120-24PC: Selection Manual, Getting Started Manual
Manual is about: CLI Guide

Summary of DGS-3120-24PC

  • Page 2: Table Of Contents

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide i table of contents chapter 1 using command line interface ............................................................................................. 1 chapter 2 basic command list .................................

  • Page 3

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide ii chapter 35 igmp / mld snooping command list .............................................................................. 321 chapter 36 ip-mac-port binding (impb) command list (ei mode only) .....................

  • Page 4

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide iii chapter 71 secure sockets layer (ssl) command list .................................................................... 641 chapter 72 surveillance vlan command list ...............................................

  • Page 5: Chapter 1

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 1 chapter 1 using command line interface the switch can be managed through the switch’s serial port, telnet, snmp or the web-based management agent. The command line interface (cli) can be used to configure and man...

  • Page 6

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 2 default ip address is 10.90.90.90. You can change the default switch ip address to meet the specification of your networking address scheme. The switch is also assigned a unique mac address by the factory. This m...

  • Page 7

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 3 there are a number of helpful features included in the cli. Entering the ? Command will display a list of all of the top-level commands. .. ? Cable_diag ports cd cfm linktrace cfm lock md cfm loopback change driv...

  • Page 8

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 4 dgs-3120-24tc:admin# config account command: config account next possible completions: dgs-3120-24tc:admin# config account in the above example, the command config account was entered without the required paramet...

  • Page 9

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 5 command: show next possible completions: 802.1p 802.1x access_profile account accounting acct_client address_binding arp_spoofing_prevention arpentry asymmetric_vlan attack_log auth_client auth_diagnostics auth_s...

  • Page 10

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 6 1-3 command syntax symbols syntax description angle brackets encloses a variable or value. Users must specify the variable or value. For example, in the syntax config command_history users must enter how many ent...

  • Page 11

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 7 left arrow move cursor to left. Right arrow move cursor to right tab help user to select appropriate token. P or p display the previous page. N, n or space display the next page. Ctrl+c escape from displayed page...

  • Page 13

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 9 dgs-3120-24tc:admin#show session command: show session id live time from level user --- ------------ --------------------------------------- ----- --------------- 8 00:04:17.870 serial port admin anonymous total ...

  • Page 15

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 11 restrictions only administrator and operator-level users can issue this command. Example to enable pausing of the screen display when show command output reaches the end of the page: dgs-3120-24tc:admin# enable ...

  • Page 16

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 12 format login parameters none. Restrictions none. Example to login the switch with a user name dlink: dgs-3120-24tc:admin# login command: login username:dlink password:**** dgs-3120-24tc:admin# 2-7 logout descrip...

  • Page 17

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 13 dgs-3120-24tc:admin# logout command: logout ********** * logout * ********** press any key to login... Dgs-3120-24tc gigabit ethernet switch command line interface firmware: build 2.00.010 copyright(c) 2011 d-li...

  • Page 18

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 14 2-9 clear description the command is used to clear screen. Format clear parameters none. Restrictions none. Example to clear screen: dgs-3120-24tc:admin# clear command: clear dgs-3120-24tc:admin# 2-10 show comma...

  • Page 19

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 15 dgs-3120-24tc: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 ? Dgs-3120-24tc:ad...

  • Page 20

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 16 format config greeting_message {default} parameters default - (optional) adding this parameter to the “config greeting_message” command will return the greeting message (banner) to its original factory default e...

  • Page 21

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 17 restrictions only administrator and operator-level users can issue this command. Example to display greeting message: dgs-3120-24tc:admin#show greeting_ message command: show greeting_message ===================...

  • Page 23

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 19 restrictions none. Example to configure the current terminal width: dgs-3120-24tc:admin# config terminal width 120 command: config terminal width 120 success. Dgs-3120-24tc:admin# 2-16 show terminal width descri...

  • Page 25

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 21 dgs-3120-24tc:admin#config ports all medium_type copper speed auto command: config ports all medium_type copper speed auto success. Dgs-3120-24tc:admin# 2-18 show ports description this command is used to displa...

  • Page 26

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 22 dgs-3120-24tc:admin#show ports details command: show ports details port : 1:1 -------------------- port status : link down description : hardware type : gigabits ethernet mac address : 00-01-02-03-04-10 bandwidt...

  • Page 28

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 24 restrictions only administrator, operator and power-user level users can issue this command. Example to create a vlan with name “v2” and vlan id 2: dgs-3120-24tc:admin# create vlan v2 tag 2 type 1q_vlan advertis...

  • Page 29

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 25 3-3 delete vlan description this command is used to delete a previously configured vlan by the name on the switch. Format delete vlan parameters vlan - the vlan name of the vlan to be deleted. - enter the vlan n...

  • Page 30

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 26 example to remove vlans from 10-30: dgs-3120-24tc:admin# delete vlan vlanid 10-30 command: delete vlan vlanid 10-30 success. Dgs-3120-24tc:admin# 3-5 config vlan description this command is used to configure a v...

  • Page 31

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 27 3-6 config vlan vlanid description this command allows you to configure multiple vlans at one time. But conflicts will be generated if you configure the name of multiple vlans at one time. Format config vlan vla...

  • Page 32

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 28 parameters - a range of ports for which you want ingress checking. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then highest ...

  • Page 33

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 29 restrictions none. Example to display vlan settings: dgs-3120-24tc:admin#show vlan command: show vlan vlan trunk state : disabled vlan trunk member ports : vid : 1 vlan name : default vlan type : static advertis...

  • Page 34

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 30 dgs-3120-24tc:admin#show vlan ports 1:6 command: show vlan ports 1:6 port vid untagged tagged dynamic forbidden ----- ---- -------- ------ ------- --------- 1:6 1 x - - - dgs-3120-24tc:admin# 3-10 show vlan vlan...

  • Page 35

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 31 3-11 show port_vlan description this command is used to display the ports’ vlan attributes on the switch. Format show port_vlan {} parameters - (optional) specify a range of ports to be displayed. (unitid:port n...

  • Page 36

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 32 3-12 enable pvid auto assign description this command is used to enable the auto-assignment of pvid. If “auto-assign pvid” is enabled, pvid will be possibly changed by pvid or vlan configuration. When user confi...

  • Page 37

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 33 restrictions only administrator, operator and power-user level users can issue this command. Example to disable the auto-assign pvid: dgs-3120-24tc:admin# disable pvid auto_assign command: disable pvid auto_assi...

  • Page 39

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 35 example to display the global setting of gvrp: dgs-3120-24tc:admin#show gvrp command: show gvrp global gvrp : disabled join time : 200 milliseconds leave time : 600 milliseconds leaveall time : 10000 millisecond...

  • Page 40

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 36 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the generic vlan registration protocol (gvrp): dgs-3120-24tc:admin# disable gvrp c...

  • Page 41

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 37 dgs-3120-24tc:admin# config private_vlan p1 add community vlanid 2-5 command: config private_vlan p1 add community vlanid 2-5 success. Dgs-3120-24tc:admin# 3-20 show private vlan description this command is used...

  • Page 42

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 38.

  • Page 44

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 40 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example used to enable the 802.1x function: dgs-3120-24tc:admin# enable 802.1x command: enable 802.1x...

  • Page 45

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 41 4-3 create 802.1x user description this command is used to create an 802.1x user. Format create 802.1x user parameters - enter the username to be added. This value can be up to 15 characters long. Restrictions o...

  • Page 46

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 42 dgs-3120-24tc:admin#delete 802.1x user test command: delete 802.1x user test success. Dgs-3120-24tc:admin# 4-5 show 802.1x user description this command is used to display the 802.1x user. Format show 802.1x use...

  • Page 47

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 43 parameters local - specify the authentication protocol as local. Radius_eap - specify the authentication protocol as radius eap. Restrictions only administrator, operator and power-user level users can issue thi...

  • Page 48

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 44 dgs-3120-24tc:admin# config 802.1x fwd_pdu system enable command: config 802.1x fwd_pdu system enable success. Dgs-3120-24tc:admin# 4-8 config 802.1x fwd_pdu ports description this command is used to control the...

  • Page 50

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 46 dgs-3120-24tc:admin#show 802.1x auth_configuration ports 1:1 command: show 802.1x auth_configuration ports 1:1 port number : 1:1 capability : none admincrldir : both opencrldir : both port control : auto quietpe...

  • Page 51

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 47 example to configure the port capability: dgs-3120-24tc:admin# config 802.1x capability ports 1:1-1:10 authenticator command: config 802.1x capability ports 1:1-1:10 authenticator success. Dgs-3120-24tc:admin# 4...

  • Page 53

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 49 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the parameters that control the operation of the authenticator associated with a port: dgs-3120-2...

  • Page 55

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 51 restrictions only administrator, operator and power-user level users can issue this command. Example to re-authenticate the device connected to the port: dgs-3120-24tc:admin# config 802.1x reauth port_based port...

  • Page 56

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 52 format delete 802.1x guest_vlan {} parameters - (optional) enter the vlan name here. The vlan name can be up to 32 characters long. Restrictions only administrator, operator and power-user level users can issue ...

  • Page 57

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 53 dgs-3120-24tc:admin#config 802.1x guest_vlan ports 1:2-1:8 state enable command: config 802.1x guest_vlan ports 1:2-1:8 state enable warning, the ports are moved to guest vlan. Success. Dgs-3120-24tc:admin# 4-20...

  • Page 59

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 55 format config radius delete parameters - specify to delete a radius server.Enter the radius server index. Restrictions only administrator, operator and power-user level users can issue this command. Example to d...

  • Page 60

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 56 - enter the authentication port number here. This value must be between 1 and 65535. Default - specify that the default port number will be used. Acct_port - (optional) specify the udp port number which is used ...

  • Page 61

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 57 dgs-3120-24tc:admin# show radius command: show radius index 1 ip address : 172.18.211.71 auth-port : 1812 acct-port : 1813 timeout : 5 sec retransmit : 2 key : 1234567 index 2 ip address : 172.18.211.108 auth-po...

  • Page 62

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 58 dgs-3120-24tc:admin#show auth_statistics ports 1:1 command: show auth_statistics ports 1:1 port number : 1:1 eapolframesrx 0 eapolframestx 9 eapolstartframesrx 0 eapolreqidframestx 6 eapollogoffframesrx 0 eapolr...

  • Page 63

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 59 dgs-3120-24tc:admin#show auth_diagnostics ports 1:1 command: show auth_diagnostics ports 1:1 port number : 1:1 entersconnecting 11 eaplogoffswhileconnecting 0 entersauthenticating 0 successwhileauthenticating 0 ...

  • Page 64

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 60 dgs-3120-24tc:admin# show auth_session_statistics ports 1:1 command: show auth_session_statistics ports 1:1 port number : 1:1 sessionoctetsrx 0 sessionoctetstx 0 sessionframesrx 0 sessionframestx 0 sessionid ses...

  • Page 65

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 61 dgs-3120-24tc:admin#show auth_client command: show auth_client radiusauthclient ==> radiusauthclientinvalidserveraddresses 0 radiusauthclientidentifier d-link radiusauthserverentry ==> radiusauthserverindex :3 r...

  • Page 66

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 62 dgs-3120-24tc:admin#show acct_client command: show acct_client radiusacctclient ==> radiusacctclientinvalidserveraddresses 0 radiusacctclientidentifier d-link radiusauthserverentry ==> radiusaccserverindex : 1 r...

  • Page 67

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 63 example enable it to configure accounting shell state: dgs-3120-24tc:admin# config accounting service shell state enable command: config accounting service shell state enable success. Dgs-3120-24tc:admin# 4-31 s...

  • Page 68: Chapter 5

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 64 chapter 5 access authentication control command list enable authen_policy_encryption disable authen_policy_encryption enable password encryption disable password encryption enable authen_policy disable authen_po...

  • Page 69

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 65 parameters none. Restrictions only administrator-level users can issue this command. Example to enable the authentication policy encryption: dgs-3120-24tc:admin#enable authen_policy_encryption command: enable au...

  • Page 70

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 66 5-3 enable password encryption description this command is used to enable password encryption. The user account configuration information will be stored in the configuration file, and can be applied to the syste...

  • Page 71

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 67 restrictions only administrator-level users can issue this command. Example to disable the password encryption: dgs-3120-24tc:admin#disable password encryption command: disable password encryption success. Dgs-3...

  • Page 72

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 68 5-6 disable authen_policy description this command is used to disable system access authentication policy. Disable system access authentication policy. When authentication is disabled, the device will adopt the ...

  • Page 73

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 69 example to display system access authentication policy: dgs-3120-24tc:admin#show authen_policy command: show authen_policy authentication policy : enabled authentication policy encryption: enabled dgs-3120-24tc:...

  • Page 74

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 70 methods like tacacs/xtacacs/tacacs+/radius built-in or user-defined server groups or none, the “user” privilege level is assigned only. If user wants to get admin privilege level, user must use the “enable admin...

  • Page 75

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 71 parameters - the user-defined method list name. This value can be up to 15 characters long. Restrictions only administrator-level users can issue this command. Example to delete a user-defined method list for us...

  • Page 76

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 72 dgs-3120-24tc:admin# show authen_login method_list_name login_list_1 command: show authen_login method_list_name login_list_1 method list name priority method name comment ---------------- -------- -------------...

  • Page 77

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 73 server hosts in tacacs+ group are missing, the authentication request will be sent to the first server host in tacacs group…if all server hosts in tacacs group are missing, the local enable password in the devic...

  • Page 78

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 74 parameters - the user-defined method list name. This value can be up to 15 characters long. Restrictions only administrator-level users can issue this command. Example to delete a user-defined method list for pr...

  • Page 79

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 75 dgs-3120-24tc:admin#show authen_enable method_list_name enable_list_1 command: show authen_enable method_list_name enable_list_1 method list name priority method name comment ---------------- -------- ----------...

  • Page 80

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 76 5-17 show authen application description this command is used to display the login/enable method list for all applications. Format show authen application parameters none. Restrictions only administrator-level u...

  • Page 81

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 77 restrictions only administrator-level users can issue this command. Example to create a user-defined authentication server group: dgs-3120-24tc:admin# create authen server_group mix_1 command: create authen serv...

  • Page 82

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 78 dgs-3120-24tc:admin# config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ command: config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ success. Dgs-3120-24tc:admi...

  • Page 83

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 79 restrictions only administrator-level users can issue this command. Example to display all authentication server groups: dgs-3120-24tc:admin# show authen server_group command: show authen server_group group name...

  • Page 84

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 80 encryption will apply. This value is meaningless for tacacs and xtacacs. - enter the tacacs+ or the radius key here. This key can be up to 254 characters long. None - no encryption for tacacs+ and radius authent...

  • Page 85

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 81 - enter the port number here. This value must be between 1 and 65535. Key - (optional) the key for tacacs+ and radius authentication. If the value is null, no encryption will apply. This value is meaningless for...

  • Page 86

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 82 example to delete an authentication server host: dgs-3120-24tc:admin# delete authen server_host 10.1.1.222 protocol tacacs+ command: delete authen server_host 10.1.1.222 protocol tacacs+ success. Dgs-3120-24tc:a...

  • Page 87

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 83 format config authen parameter response_timeout parameters - the amount of time for user input on console or telnet or ssh. 0 means there is no time out. This value must be between 0 and 255. Default value is 30...

  • Page 88

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 84 dgs-3120-24tc:admin# config authen parameter attempt 9 command: config authen parameter attempt 9 success. Dgs-3120-24tc:admin# 5-28 show authen parameter description this command is used to display the paramete...

  • Page 89

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 85 format enable admin parameters none. Restrictions none. Example to enable administrator lever privilege: dgs-3120-24tc:oper#enable admin command: enable admin password:***** success. Dgs-3120-24tc:admin# 5-30 co...

  • Page 90

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 86 restrictions only administrator-level users can issue this command. Example to configure the administrator password: dgs-3120-24tc:admin#config admin local_enable command: config admin local_enable enter the old...

  • Page 93

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 89 ip - specify this is a ipv4 mask. Vlan - (optional) specify a vlan mask. Only the last 12 bits of the mask will be considered. -enter the vlan mask value here. Source_ip_mask - (optional) specify a source ip add...

  • Page 94

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 90 - enter the tcp source port mask value here. Des_port_mask - specify an ipv6 layer 4 tcp destination port mask. - enter the tcp destination port mask value here. Udp - (optional) specify that the rule applies to...

  • Page 97

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 93 - enter the mask value here. Source_ip - (optional) specify an ip source address. - enter the source ip address used for this configuration here. Mask - specify an additional mask parameter that can be configure...

  • Page 98

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 94 packet_content - a maximum of 11 offsets can be specified. Each offset defines 2 bytes of data which is identified as a single udf field. The offset reference is also configurable. It can be defined to start at ...

  • Page 99

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 95 port - specify the port list used for this configuration. - enter a list of ports used for the configuration here. All - specify that all the ports will be used for this configuration. Vlan_based - specify that ...

  • Page 100

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 218 format config cpu access_profile profile_id [add access_id [auto_assign

  • Page 101

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 97 permit ============================================================================== ============================================================================== profile id: 2 profile name: ipv4acl type: ipv4...

  • Page 102

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 98 available hw entries : 255 ------------------------------------------------------------------------------- - rule id : 1 ports: 1:4 match on offset_chunk_1 : 0 value : 0x0000ffee mask : 0x0000ffee action: permit...

  • Page 103

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 99 dgs-3120-24tc:admin#show access_profile profile_id 5 command: show access_profile profile_id 5 access profile table profile id: 5 profile name:5 type: user defined mask on offset_chunk_1 : 3 value : 0x0000ffff o...

  • Page 104

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 100 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. Fo...

  • Page 105

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 101 optional parameter. The default value is 4*1024. - enter the peak burst size value here. This value must be between 0 and 131072. Color_blind - (optional) specify the meter mode as color-blind. The default is c...

  • Page 106

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 102 when the function is disabled. Enable - specify that the acl counter option will be enabled. Disable - specify that the acl counter option will be disabled. Exceed - specify the action when a packet is mapped t...

  • Page 107

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 103 parameters profile_id - (optional) specify the profile id. - enter the profile id used here. This value must be between 1 and 6. A lower value denotes a higher priority. Profile_name - (optional) specify the na...

  • Page 108

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 104 hours - specify the time of a day. Start_time - specify the starting time of a day. - enter the starting time here. (24-hr time). For example, 19:00 means 7pm. 19 is also acceptable. The time specified in the s...

  • Page 109

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 105 restrictions none. Example to display the current time range settings: dgs-3120-24tc:admin# show time_range command: show time_range time range information ----------------------------- range name : test weekda...

  • Page 110

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 106 dgs-3120-24tc:admin# show current_config access_profile command: show current_config access_profile #------------------------------------------------------------------- # acl create access_profile ethernet vlan...

  • Page 112

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 108 7-1 create egress_access_profile profile_id description this command is used to create an egress access list profile. For example, for some hardware, it may be invalid to specify destination ipv6 address and so...

  • Page 113

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 109 dst_port_mask - specify the tcp destination port mask. - enter the tcp source port mask value here. Flag_mask - (optional) specify the tcp flag field mask. All - specify that the tcp flag field mask will be set...

  • Page 114

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 110 7-2 delete egress_access_profile description this command is used to delete egress access profile command can only delete the profile which is created by egress acl module. Format delete egress_access_profile [...

  • Page 116

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 112 - enter the destination network mask here. Dscp - (optional) specify the value of dscp. The dscp value ranges from 0 to 63. - enter the dscp value used here. This value must be between 0 and 63. Icmp - (optiona...

  • Page 117

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 113 - enter the ipv6 source address mask value here. Destination_ipv6 - (optional) specify the value of ipv6 destination address. - enter the source ipv6 destination address here. Mask - specify the ipv6 destinatio...

  • Page 118

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 114 the “counter” is overridden. Enable - specify that the acl counter feature will be enabled. Disable - specify that the acl counter feature will be disabled. Deny - specify the packets that match the egress acce...

  • Page 119

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 115 parameters profile_id - (optional) specify the index of the egress access list profile. - enter the profile id here. This value must be between 1 and 4. A lower value denotes a higher priority. Profile_name - (...

  • Page 120

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 116 -------------------------------------------------------------------------------- rule id : 1 (auto assign) ports: 1:3 match on dscp : 3 action: permit ===========================================================...

  • Page 121

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 117 dgs-3120-24tc:admin#show egress_access_profile profile_id 1 command: show egress_access_profile profile_id 1 egress access profile table =========================================================================...

  • Page 122

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 118 dgs-3120-24tc:admin# show current_config egress_access_profile command: show current_config egress_access_profile #------------------------------------------------------------------------------- # egress acl cr...

  • Page 123

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 119 lower value denotes a higher priority. Rate - this specifies the rate for single rate two-color mode. Specify the committed bandwidth in kbps for the flow. The value m and n are determined by the project. - ent...

  • Page 124

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 120 enable - specify that the acl counter parameter will be enabled. Disable - specify that the acl counter parameter will be disabled. Sr_tcm - specify the “single rate three color mode”. Cir - specify the committ...

  • Page 125

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 121 dgs-3120-24tc:admin#config egress_flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed permit replace_dscp 21 violate drop command: config egress_flow_meter profile_id 1 access_id...

  • Page 126

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 122 dgs-3120-24tc:admin#show egress_flow_meter command: show egress_flow_meter flow meter information ------------------------------------------------------------------------------ profile id:1 aceess id:1 mode : t...

  • Page 127

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 123 dgs-3120-24tc:admin# create port_group id 2 name group2 command: create port_group id 2 name group2 success. Dgs-3120-24tc:admin# 7-9 config port_group description this command is used to add or delete a port l...

  • Page 128

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 124 parameters id - specify the port group id. - enter the port group id used here. This value must be between 1 and 64. Name - specify the port group name. - enter the port group name here. This name can be up to ...

  • Page 129

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 125 dgs-3120-24tc:admin#show port_group command: show port_group port group table --------------------------------------------- port group id port group name ports 2 group2 1:1-1:3 total entries :1 dgs-3120-24tc:ad...

  • Page 132

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 128 dgs-3120-24tc: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. Dgs-3120-24tc:admin# 8-4 config arp_aging time description this command is us...

  • Page 133

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 129 restrictions only administrator, operator and power-user level users can issue this command. Example to clear the arp table: dgs-3120-24tc:admin# clear arptable command: clear arptable success. Dgs-3120-24tc:ad...

  • Page 134

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 130 dgs-3120-24tc:admin# show arpentry command: show arpentry arp aging time : 20 interface ip address mac address type ------------- --------------- ----------------- --------------- system 10.0.0.0 ff-ff-ff-ff-ff...

  • Page 136

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 132 dgs-3120-24tc:admin#config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports 1:1-1:2 command: config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-...

  • Page 137: Chapter 10

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 133 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...

  • Page 138

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 134 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable asymmetric vlans: dgs-3120-24tc:admin# disable asymmetric_vlan command: disable a...

  • Page 139: Chapter 11

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 135 chapter 11 auto-configuration command list enable autoconfig disable autoconfig show autoconfig 11-1 enable autoconfig description this command is used to enable auto configuration. When enabled, during power o...

  • Page 140

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 136 format disable autoconfig parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable autoconfig: dgs-3120-24tc:admin# disable autoconfig command: disabl...

  • Page 142

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 138 encrypt - (optional) specify the encryption applied to the account. Plain_text - select to specify the password in plain text form. Sha_1 - select to specify the password in the sha-i encrypted form. - the pass...

  • Page 143

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 139 parameters - enter the user name of the account that has been defined. Encrypt - (optional) specify that the password will be encrypted. Plain_text - select to specify the password in plain text form. Sha_1 - s...

  • Page 144

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 140 restrictions only administrator-level users can issue this command. Example to display the accounts that have been created: dgs-3120-24tc:admin#show account command: show account current accounts: username acce...

  • Page 145

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 141 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 the switch informat...

  • Page 146

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 142 12-6 enable telnet description this command is used to manage the switch via telnet based management software. Use the command to enable telnet and configure port number. Format enable telnet {} parameters - (o...

  • Page 147

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 143 example to disable telnet: dgs-3120-24tc:admin# disable telnet command: disable telnet success. Dgs-3120-24tc:admin# 12-8 enable web description this command is used to manage the switch via http based manageme...

  • Page 148

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 144 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable http: dgs-3120-24tc:admin# disable web command: disable web success. Dgs-3120-24tc:admin# 12-...

  • Page 149

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 145 12-11 reset description this command is used to provide reset functions. The configuration setting will be reset to the default setting. For the “save system” command, the device will store the reset setting in...

  • Page 150

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 146 format config firmware image {unit } boot_up parameters unit - (optional) specify which unit on the stacking system. If it is not specified, it refers to the master unit. - specify the single stack unit to appl...

  • Page 151

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 147 enable - specify that the proxy arp option will be enabled. Disable - specify that the proxy arp option will be disabled. Local - (optional) this setting controls whether the system provides the proxy reply for...

  • Page 152

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 148 disable - disable the state of the interface. Proxy_arp - enable/disable of proxy arp function. It is for ipv4 function. Default: disabled. (ei mode only) enable - specify that the proxy arp option will be enab...

  • Page 153

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 149 dgs-3120-24tc:admin#config ipif system ipaddress 192.168.69.123/24 vlan default command: config ipif system ipaddress 192.168.69.123/24 vlan default success. Dgs-3120-24tc:admin# 12-15 delete ipif (ei mode only...

  • Page 154

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 150 parameters ipif_name - specify the name of the ip interface. - enter the ip interface name used here. This name can be up to 12 characters long. All – specify that all the ip interfaces will be enabled. Restric...

  • Page 155

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 151 12-18 show ipif description this command is used to display an ip interface. Format show ipif {} parameters ipif_name - specify the name of the ip interface. - (optional) enter the ip interface name used here. ...

  • Page 157

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 153 dgs-3120-24tc:admin#disable ipif_ipv6_link_local_auto newone command: disable ipif_ipv6_link_local_auto newone success. Dgs-3120-24tc:admin# 12-21 show ipif_ipv6_link_local_auto (ei mode only) description this ...

  • Page 159

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 155 example to set the port state enable and drop mode: dgs-3120-24tc:admin# config bpdu_protection ports 1 state enable mode drop commands: config bpdu_protection ports 1 state enable mode drop success. Dgs-3120-2...

  • Page 161

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 157 dgs-3120-24tc:admin# enable bpdu_protection commands: enable bpdu_protection success. Dgs-3120-24tc:admin# 13-5 disable bpdu_protection description this command is used to disable bpdu protection function globa...

  • Page 162

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 158 restrictions none. Example to show the bpdu_protection for the entire switch: dgs-3120-24tc:admin# show bpdu_protection commands: show bpdu_protection bpdu protection global settings ---------------------------...

  • Page 164

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 160 • when the link partner is powered down with errors, this command can detect whether the error is open, short, or crosstalk. In this case this command can also detect the distance of the error. • when there is ...

  • Page 165

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 161 dgs-3120-24tc:admin#cable_diag ports 1:1,1:11-1:12 command: cable_diag ports 1:1,1:11-1:12 perform cable diagnostics ... Port type link status test result cable length (m) ------ ---------- ------------- ------...

  • Page 166: Chapter 15

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 162 chapter 15 command logging command list enable command logging disable command logging show command logging 15-1 enable command logging description this command is used to enable the command logging function. N...

  • Page 167

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 163 format disable command logging parameters none. Restrictions only administrator-level users can issue this command. Example to disable the command logging: dgs-3120-24tc:admin# disable command logging command: ...

  • Page 168

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 164.

  • Page 170

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 166 dgs-3120-24tc:admin# create authentication guest_vlan vlan guestvlan command: create authentication guest_vlan vlan guestvlan success. Dgs-3120-24tc:admin# 16-2 delete authentication guest_vlan (ei mode only) d...

  • Page 171

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 167 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 ...

  • Page 172

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 168 disable - remove the specified vid list from authentication vlan(s). If "vlanid" is not specified, or all vlans is disabled, means do not care which vlan the client comes from, the client will be authenticated ...

  • Page 173

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 169 delimiter - (optional)specify whether to use delimiter and number of delimiters for mac address. Hyphen - (optional) use “-” when specifying mac address, e.G. Aa-bb-cc-dd-ee-ff. Colon - (optional) use “:” when ...

  • Page 174

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 170 dgs-3120-24tc:admin#show authentication guest_vlan command: show authentication guest_vlan guest vlan vid : 2 guest vlan member ports: 1:1-1:24 total entries: 1 dgs-3120-24tc:admin# 16-7 show authentication por...

  • Page 175

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 171 16-8 enable authorization attributes description this command is used to enable authorization. Format enable authorization attributes parameters none. Restrictions only administrator, operator and power-user le...

  • Page 176

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 172 dgs-3120-24tc:admin# disable authorization attributes command: disable authorization attributes success. Dgs-3120-24tc:admin# 16-10 show authorization description this command is used to display authorization s...

  • Page 177

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 173 restrictions only administrator, operator and power-user level users can issue this command. Example set authentication server auth fail over state: dgs-3120-24tc:admin# config authentication server failover lo...

  • Page 178

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 174 format show authentication mac_format parameters none. Restrictions none. Example to display the authentication mac format settings: dgs-3120-24tc:admin#show authentication mac_format command: show authenticati...

  • Page 180

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 176 setting regarding stp is not displayed. The lower level setting will only be displayed when the higher level setting is enabled. Note: this parameter is only for the current configuration. Modified - show only ...

  • Page 181

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 177 example the following example illustrates how the special filters ‘modified’ and .’effective’ affect the configuration display: dgs-3120-24tc:admin# show config modified command:show config modified enable loop...

  • Page 182

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 178 example to configure the switch’s configuration file as boot up: dgs-3120-24tc:admin#config configuration config.Cfg boot_up command: config configuration config.Cfg boot_up success. Dgs-3120-24tc:admin# 17-3 s...

  • Page 183

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 179 format show boot_file parameters none. Restrictions none. Example to display the boot file: dgs-3120-24tc:admin#show boot_file command: show boot_file bootup firmware : /c:/runtime.Had bootup configuration : /c...

  • Page 185

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 181 dgs-3120-24tc:admin#config configuration trap save enable command: config configuration trap save enable success. Dgs-3120-24tc:admin#.

  • Page 188

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 184 parameters - enter the maintenance domain name. This name can be up to 22 characters long. Md_index - specify the maintenance domain index. - enter the maintenance domain index value here. This value must be be...

  • Page 189

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 185 - enter the maintenance association index value here. This value must be between 1 and 4294967295. Md - specify the maintenance domain name. - enter the maintenance domain name here. This name can be up to 22 c...

  • Page 190

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 186 be between 1 and 4294967295. Vlanid - (optional) specify 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 - (...

  • Page 192

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 188 • 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 the fault occur on an m...

  • Page 193

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 189 - enter the alarm time value here. This value must be between 250 and 1000 centiseconds. Alarm_reset_time - (optional) this is the dormant duration time before a defect is triggered before the fault can be re-a...

  • Page 194

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 190 restrictions only administrator, operator and power-user level users can issue this command. Example to delete a cfm mep: dgs-3120-24tc:admin# delete cfm mep mepname mep1 command: delete cfm mep mepname mep1 su...

  • Page 195

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 191 dgs-3120-24tc:admin# delete cfm ma op1 md op_domain command: delete cfm ma op1 md op_domain success. Dgs-3120-24tc:admin# 19-9 delete cfm md description this command is used to delete a previously created maint...

  • Page 196

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 192 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable the cfm globally: dgs-3120-24tc:admin# enable cfm command: enable cfm success. Dgs...

  • Page 197

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 193 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. Mip...

  • Page 198

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 194 restrictions none. Example to show the cfm ports: dgs-3120-24tc:admin#show cfm ports 1:3-1:6 command: show cfm ports 1:3-1:6 port state ----- -------- 1:3 enabled 1:4 enabled 1:5 enabled 1:6 disabled dgs-3120-2...

  • Page 199

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 195 restrictions none. Example to show the cfm configuration: dgs-3120-24tc:admin#show cfm command: show cfm cfm state: enabled ais trap state: disabled lck trap state: disabled md index md name level ---------- --...

  • Page 200

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 196 port : 1:2 direction : inward cfm port status : enabled mac address : 00-01-02-03-04-02 mep state : enabled ccm state : enabled pdu priority : 7 fault alarm : disabled alarm time : 250 centisecond((1/100)s) ala...

  • Page 202

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 198 outward - specify that the mep direction will be outward facing. If not specified, both directions and the mip are shown. Vlanid - (optional) specify the vlan identifier. If not specified, all vlans are shown. ...

  • Page 203

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 199 - enter the maintenance association name her. This name can be up to 22 characters long. Ma_index - specify the maintenance association index. - enter the maintenance association index value here. This value mu...

  • Page 204

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 200 - enter the mep name used here. This name can be up to 32 characters long. Mepid - specify the mep id used. - enter the mep id used here. This value must be between 1 and 8191. Md - specify the maintenance doma...

  • Page 205

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 201 - enter the mep id used here. This value must be between 1 and 8191. Md - specify the maintenance domain name. - enter the maintenance domain name her. This name can be up to 22 characters long. Md_index - spec...

  • Page 206

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 202 dgs-3120-24tc:admin# show cfm linktrace mep mep1 trans_id 26 command: show cfm linktrace mep mep1 trans_id 26 transaction id: 26 from mep mep1 to 00-11-22-33-44-55 start time 2008-01-01 12:00:00 hop mepid ingre...

  • Page 207

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 203 example to delete the cfm link trace reply: dgs-3120-24tc:admin# delete cfm linktrace mepname mep1 command: delete cfm linktrace mepname mep1 success. Dgs-3120-24tc:admin# 19-21 show cfm mipccm description this...

  • Page 210

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 206 dgs-3120-24tc:admin# show cfm remote_mep mepname mep1 remote_mepid 2 command: show cfm remote_mep mepname mep1 remote_mepid 2 remote mepid : 2 mac address : 00-11-22-33-44-02 status : ok rdi : yes port state : ...

  • Page 211

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 207 2 204 204 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 9 0 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 0 cfm t...

  • Page 213

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 209 enable – enable the cfm trap state. This is the default. Disable – disable the cfm trap state. Restrictions only administrator, operator and power-user level users can issue this command. Example dgs-3120-24tc:...

  • Page 215

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 211 - 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 - specify that the transmitting interval will...

  • Page 216

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 212 characters long. Ma_index - specify the maintenance association index. - enter the maintenance association index value here. This value must between 1 and 4294967295. Mepid - the mep id in the md which sends lc...

  • Page 217

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 213 - enter the maintenance association index value here. This value must between 1 and 4294967295. Mepid - the mep id in the md which sends lck frame. - enter the mep id value here. This value must be between 1 an...

  • Page 220

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 216 and 15. - enter the mask pattern offset of the frame between 0 and 15 here. Offset_16-31 - (optional) specify that the mask pattern offset of the frame will be between 16 and 31. - enter the mask pattern offset...

  • Page 221

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 217 dgs-3120-24tc: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 ether...

  • Page 223

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 219 destination_ip - (optional) specify an ip destination address. - enter the destination ip address used for this configuration here. Mask - (optional) specify the mask. - specify the mask. Dscp - (optional) spec...

  • Page 224

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 220 - enter the mask pattern offset of the frame between 16 and 31 here. Offset_32-47 - (optional) specify that the mask pattern offset of the frame will be between 32 and 47. - enter the mask pattern offset of the...

  • Page 225

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 221 delete - specify to delete a rule from the profile id entered. Access_id - specify 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 ...

  • Page 226

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 222 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 administrator and oper...

  • Page 227

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 223 dgs-3120-24tc: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 :...

  • Page 228

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 224 source mac : ff-ff-ff-ff-ff-ff unused rule entries: 99 -------------------------------------------------------------------------------- rule id : 1 ports: 1:1-1:24,2:1-2:24,3:1-3:24 match on source mac : 00-00-...

  • Page 230

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 226 example to dump the error log: dgs-3120-24tc:admin# debug error_log dump command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # ...

  • Page 231

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 227 format debug show error_reboot state parameters none. Restrictions only administrator-level users can issue this command. Example to display the error reboot status: dgs-3120-24tc:admin#debug show error_reboot ...

  • Page 232

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 228 restrictions only administrator users can issue this command. Example to show the debug buffer’s state: dgs-3120-24tc:admin# debug buffer utilization command: debug buffer utilization allocate from : system mem...

  • Page 233

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 229 parameters module - specify the module list. - enter the module list here. All - control output method of all modules. Buffer - direct the debug message of the module output to debug buffer(default). Console - ...

  • Page 234

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 230 dgs-3120-24tc:admin# debug config error_reboot disable command: debug config error_reboot disable success. Dgs-3120-24tc:admin# 22-6 debug config state description this command is used to set the state of the d...

  • Page 235

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 231 restrictions only administrator-level users can issue this command. Example to clear cpu port counter of all ports: dgs-3120-24tc:admin#debug clear cpu port counter all command: debug clear cpu port counter all...

  • Page 236

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 232 example to show debug cpu port counter by cos on port 1:1 and 1:2: dgs-3120-24tc:admin#debug show cpu port counter 1:1-1:2 by_cos command: debug show cpu port counter 1:1-1:2 by_cos ports:1 cos 0 rx:0 tx:0 1 rx...

  • Page 237

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 233 example to display debug information of jwac: dgs-3120-24tc:admin#debug show jwac auth_info command: debug show jwac auth_info acl index bitmap db (jwac_db_acl_bmp): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...

  • Page 238

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 234 dgs-3120-24tc:admin#debug show status command: debug show status debug global state : enabled mstp : disabled impb : disabled dhcpv6_client : disabled dhcpv6_relay : disabled erps : disabled dgs-3120-24tc:admin...

  • Page 239

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 235 parameters none. Restrictions only administrator-level users can issue this command. Example to disabled the dhcpv6 client debug function: dgs-3120-24tc:admin#debug dhcpv6_client state disable command: debug dh...

  • Page 240

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 236 22-14 debug dhcpv6_client packet (ei mode only) description this command is used to enable or disable debug information flag for dhcpv6 client packet, including packet receiving and sending. Format debug dhcpv6...

  • Page 241

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 237 example to enabled the dhcpv6 relay debug function: dgs-3120-24tc:admin#debug dhcpv6_relay state enable command: debug dhcpv6_relay state enable success. Dgs-3120-24tc:admin# 22-16 debug dhcpv6_relay state disa...

  • Page 242

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 238 parameters buffer - let the debug message output to buffer. Console - let the debug message output to console. Restrictions only administrator-level users can issue this command. Example to set debug informatio...

  • Page 246

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 242 example to enable the dhcp local relay function: dgs-3120-24tc:admin# enable dhcp_local_relay command: enable dhcp_local_relay success. Dgs-3120-24tc:admin# 23-4 disable dhcp_local_relay description this comman...

  • Page 247

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 243 restrictions none. Example to display local dhcp relay status: dgs-3120-24tc:admin# show dhcp_local_relay command: show dhcp_local_relay dhcp/bootp local relay status : disabled dhcp/bootp local relay vid list ...

  • Page 249

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 245 example to configure the dhcp relay hops and time parameters: dgs-3120-24tc:admin# config dhcp_relay hops 4 time 2 command: config dhcp_relay hops 4 time 2 success. Dgs-3120-24tc:admin# 24-2 config dhcp_relay a...

  • Page 250

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 246 format config dhcp_relay add vlanid parameters vlanid - specify the vlan id list used for this configuration. - enter the vlan id list used for this configuration here. - enter the dhcp/bootp server ip address ...

  • Page 251

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 247 24-4 config dhcp_relay delete description this command is used to delete one of the ip destination addresses in the swith’s relay table. Format config dhcp_relay delete ipif parameters ipif - the name of the ip...

  • Page 252

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 248 restrictions only administrator, operator and power-user level users can issue this command. (si mode only) example to delete a dhcp/bootp server 10.43.21.12 from vlan 2 and vlan 3: dgs-3120-24tc:admin# config ...

  • Page 253

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 249 - enter the user defined description here. This value can be up to 32 characters long. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure dhcp_rela...

  • Page 254

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 250 example to enable the dhcp relay function. Dgs-3120-24tc:admin# enable dhcp_relay command: enable dhcp_relay success. Dgs-3120-24tc:admin# 24-8 disable dhcp_relay description this command is used to disable the...

  • Page 255

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 251 parameters ipif - (optional) specify the ip interface name. - enter the ip interface name used here. This name can be up to 12 characters long. If no parameter is specified , the system will display all dhcp re...

  • Page 256

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 252 dgs-3120-24tc:admin# show dhcp_relay ipif system command: show dhcp_relay ipif system dhcp/bootp relay status : disabled dhcp/bootp hops count limit : 4 dhcp/bootp relay time threshold : 0 dhcp vendor class ide...

  • Page 257

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 253 example to configure the state of dhcp_relay option 60: dgs-3120-24tc:admin# config dhcp_relay option_60 state enable command: config dhcp_relay option_60 state enable success dgs-3120-24tc:admin# 24-11 config ...

  • Page 258

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 254 24-12 config dhcp_relay option_60 default description this command is used to configure the dhcp relay option 60 default drop option. When there are no match servers found for the packet based on option 60, the...

  • Page 260

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 256 restrictions none. Example to show dhcp option 60 information: dgs-3120-24tc:admin#show dhcp_relay option_60 command: show dhcp_relay option_60 default processing mode: drop default servers: matching rules: str...

  • Page 261

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 257 example to configure the state of dhcp_relay option 61: dgs-3120-24tc:admin# config dhcp_relay option_61 state enable command: config dhcp_relay option_61 state enable success dgs-3120-24tc:admin# 24-16 config ...

  • Page 263

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 259 restrictions only administrator, operator and power-user level users can issue this command. Example to remove a dhcp relay option 61 entry: dgs-3120-24tc:admin# config dhcp_relay option_61 delete mac_address 0...

  • Page 264

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 260 dgs-3120-24tc: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 ---------------------- ----------- ---------------- a...

  • Page 266

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 262 - enter the list of ports to be configured here. All - specify that all the port will be used for this configuration. Delete permit - specify to delete a dhcp permit. Server_ip - the ip address of the dhcp serv...

  • Page 267

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 263 parameters none. Restrictions none. Example to display the dhcp server/client filter list created on the switch: dgs-3120-24tc:admin#show filter dhcp_server command: show filter dhcp_server enabled ports: 1:1-1...

  • Page 268

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 264 dgs-3120-24tc:admin#config filter dhcp_server log disable command: config filter dhcp_server log disable success. Dgs-3120-24tc:admin# 25-4 config filter dhcp_server trap description this command is used to ena...

  • Page 270

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 266 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure the dhcpv6 relay global state to disable: dgs-3120-24tc:admin#disable dhcpv6_re...

  • Page 271

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 267 dgs-3120-24tc:admin# config dhcpv6_relay add ipif system 2001:db8:1234:0:218:feff:fefb:cc0e command: config dhcpv6_relay add ipif system 2001:db8:1234:0:218:feff:fefb:cc0e success. Dgs-3120-24tc:admin# 26-4 con...

  • Page 272

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 268 state - enable or disable the dhcpv6 relay state of the interface. Enable - enable the dhcpv6 relay state of the interface. Disable - disable the dhcpv6 relay state of the interface. Restrictions only administr...

  • Page 273

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 269 dgs-3120-24tc:admin#show dhcpv6_relay command: show dhcpv6_relay dhcpv6 relay global state : disabled dhcpv6 hops count limit : 4 --------------------------------------------------------------- ip interface : s...

  • Page 275

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 271 dgs-3120-24tc:admin#config ddm log enable command: config ddm log enable success. Dgs-3120-24tc:admin# to configure ddm trap state to enable: dgs-3120-24tc:admin#config ddm trap enable command: config ddm trap ...

  • Page 276

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 272 parameter rises above this value, the action associated with the alarm is taken. - enter the high threshold alarm value used here. Low_alarm - (optional) specify the low threshold for the alarm. When the operat...

  • Page 277

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 273 restrictions only administrator, and operator level users can issue this command. Example to configure the port 21’s temperature threshold: dgs-3120-24tc:admin#config ddm ports 1:21 temperature_threshold high_a...

  • Page 278

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 274 dgs-3120-24tc:admin#config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 command: config ddm ports 1:21 rx_power_threshold high_alarm 4.55 low_alarm 0.01 hig...

  • Page 279

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 275 27-4 show ddm ports description this command is used to show the current operating ddm parameters and configuration values of the optic module of the specified ports. There are two types of thresholds: the admi...

  • Page 280

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 276 dgs-3120-24tc:admin#show ddm ports 1:21 configuration command: show ddm ports 1:21 configuration port: 1:21 -------------------------------------------- ddm state : enabled shutdown : alarm threshold temperatur...

  • Page 281: Chapter 28

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 277 chapter 28 d-link license management system (dlms) command list install dlms activation_code {unit } show dlms license {unit } 28-1 install dlms activation_code description this command is used to install an ac...

  • Page 282

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 278 format show dlms license {unit } parameters unit - (optional) specify the swithc in the switch stack. - enter the unit id of the switch. Restrictions none. Example to display license information: dgs-3120-24tc:...

  • Page 284

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 280 dgs-3120-24tc:admin#config duld ports 1 state enable command: config duld ports 1:1 state enable success. Dgs-3120-24tc:admin# 29-2 show duld ports description this command is used to show unidirectional link d...

  • Page 286

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 282 dgs-3120-24tc:admin# enable erps command: enable erps success. Dgs-3120-24tc:admin# 30-2 disable erps description this command is used to disable the global erps function on a switch. Format disable erps parame...

  • Page 287

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 283 - enter the vlan id used here. Restrictions only administrator, operator and power-user level users can issue this command. Example to create an r-aps vlan: dgs-3120-24tc:admin# create erps raps_vlan 4094 comma...

  • Page 288

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 284 30-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 that if cfm (connectivity fault management) and erps are u...

  • Page 289

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 285 unblocked rpl port and start to send r-aps pdu with an rb flag after the link recovery is confirmed within this period of time. When both the global state and the specified ring erps state are enabled, the spec...

  • Page 290

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 286 sub_ring - specify that the sub-ring is being configured. Raps_vlan - specify the r-aps vlan. - enter the vlan id used here. Tc_propagation - specify that the topology propagation state will be configured. Stat...

  • Page 291

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 287 to configure the rpl port or the rpl owner for a specific r-aps vlan: dgs-3120-24tc:admin# config erps raps_vlan 4094 rpl port west owner enable command: config erps raps_vlan 4094 rpl port west owner enable su...

  • Page 292

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 288 to configure the state of topology change propagation: dgs-3120-24tc:admin# config erps raps_vlan 4094 sub_ring raps_vlan 4093 tc_propagation state enable command: config erps raps_vlan 4094 sub_ring raps_vlan ...

  • Page 293

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 289 parameters trap - specify to enable or disable the erps trap state. Enable - enter enable to enable the trap state. Disable - enter disable to disable the trap state. The default value is disabled. Restrictions...

  • Page 294

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 290 example to display erps information: dgs-3120-24tc:admin# show erps command: show erps erps information global status : enabled log status : disabled trap status : disabled ------------------------ r-aps vlan :...

  • Page 296

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 292 parameters none. Restrictions none. Example to display the dhcp server/client filter list created on the switch: dgs-3120-24tc:admin# show filter netbios command: show filter netbios enabled ports: 1-3 dgs-3120...

  • Page 297

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 293 dgs-3120-24tc:admin# config filter extensive_netbios 1-10 state enable command: config filter extensive_netbios 1-10 state enable success. Dgs-3120-24tc:admin# 31-4 show filter extensive_netbios description thi...

  • Page 299

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 295 dgs-3120-24tc:admin#create fdb default 00-00-00-00-01-02 port 1:5 command: create fdb default 00-00-00-00-01-02 port 1:5 success. Dgs-3120-24tc:admin# to filter a unicast mac: dgs-3120-24tc:admin# create fdb de...

  • Page 300

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 296 dgs-3120-24tc:admin#create fdb vlanid 1 00-00-00-00-02-02 drop command: create fdb vlanid 1 00-00-00-00-02-02 drop success. Dgs-3120-24tc:admin# 32-3 create multicast_fdb description this command is used to cre...

  • Page 301

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 297 parameters - the name of the vlan on which the mac address resides. The maximum name length is 32. - enter the multicast mac address to be added or removed to and from the static forwarding table here. Addresse...

  • Page 302

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 298 example to configure the mac address table aging time to 600 seconds: dgs-3120-24tc:admin# config fdb aging_time 600 command: config fdb aging_time 600 success. Dgs-3120-24tc:admin# 32-6 config multicast vlan_f...

  • Page 303

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 299 32-7 delete fdb description this command is used to delete a static entry from the forwarding database. Format delete fdb parameters - the name of the vlan on which the mac address resides. The maximum name len...

  • Page 304

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 300 restrictions only administrator, operator and power-user level users can issue this command. Example to clear all fdb dynamic entries: dgs-3120-24tc:admin# clear fdb all command: clear fdb all success. Dgs-3120...

  • Page 305

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 301 dgs-3120-24tc:admin#show multicast_fdb command: show multicast_fdb vlan name : default mac address : 01-00-5c-11-22-33 egress ports : 1:1-1:5 mode : static total entries: 1 dgs-3120-24tc:admin# 32-10 show fdb d...

  • Page 306

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 302 dgs-3120-24tc:admin#show fdb command: show fdb unicast mac address aging time = 300 vid vlan name mac address port type status ---- -------------------------------- ----------------- ----- ------- ------- 1 def...

  • Page 307

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 303 long. If no parameter is specified, the device will show all multicast filtering settings in the device. Restrictions none. Example to show the multicast vlan_filtering_mode for vlans: dgs-3120-24tc:admin#show ...

  • Page 309

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 305 gs-3120-24tc:admin#show storage_media_info command: show storage_media_info unit drive media type size label fs type version ---- ----- ---------- -------- ----------- ------- ------- 1 c: flash 28 mb ffs ver2....

  • Page 310

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 306 parameters unit – (optional) specify a unit id if in the stacking system. If not specified, it refers to the master unit. - enter the unit id here. - (optional) enter the drive id used here. Examples are c: or ...

  • Page 311

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 307 dgs-3120-24tc:admin# rd c:/abc command: rd c:/abc success. Dgs-3120-24tc:admin# 33-5 cd description this command is used to change the current directory. The current directory is changed under the current drive...

  • Page 312

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 308 parameters unit - (optional) specify a unit id if in the stacking system. If not specified, it refers to the master unit. - enter the unit id here. - (optional) enter the drive id used here. Examples are c: or ...

  • Page 313

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 309 - enter the unit id here. - (optional) enter the drive id used here. Examples are c: or d: - specified the file (in path form) to be renamed. - specified the new name of the file. Restrictions only administrato...

  • Page 314

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 310 dgs-3120-24tc:admin#dir command: dir directory of /unit2:/c: idx info attr size update time name --- ------- ---- -------- ------------------- ---------------- 1 drw- 0 2000/04/02 06:02:04 12 2 cfg(*) -rw- 2966...

  • Page 315

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 311 - (optional) enter the drive id used here. Examples are c: or d: - specify the file to be deleted. If it is specified in the associated form, then it is related to the current directory. Restrictions only admin...

  • Page 316

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 312 33-10 move description this command is used to move a file around the file system. Files in a drive located in a unit can be moved to another drive located in another unit. Note that when a file is moved, it ca...

  • Page 317

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 313 format copy {{unit } } {{unit } } parameters unit - (optional) unit id in the stacking system. If not specified, it refers to the master unit. - enter the unit id here. - (optional) enter the drive id. Examples...

  • Page 318

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 314 restrictions only administrator and operator-level users can issue this command. Example to format a drive: dgs-3120-24tc:admin#format d: fat32 aaaa command: format d: fat32 aaaa formatting........................

  • Page 320

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 316 that the system received a arp request packet that is sent by an ip address that match the system’s own ip address. In this case, the system knows that some body out there uses an ip address that is conflict wi...

  • Page 321

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 317 restrictions only administrator, operator and power-user level users can issue this command. Example to show the global gratuitousarp state: dgs-3120-24tc:admin# config gratuitous_arp learning enable command: c...

  • Page 322

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 318 34-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 disable...

  • Page 323

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 319 restrictions only administrator, operator and power-user level users can issue this command. Example to disable system interface’s gratuitous arp log and trap: dgs-3120-24tc:admin# disable gratuitous_arp ipif s...

  • Page 324

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 320 dgs-3120-24tc: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 : system gratuit...

  • Page 325: Chapter 35

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 321 chapter 35 igmp / mld snooping command list the internet group management protocol (igmp) is a l3 protocol used to manage the membership of internet protocol multicast groups. Igmp is used by ip hosts and adjac...

  • Page 327

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 323 parameters vlan_name - specify the name of the vlan for which igmp snooping is to be configured. - enter the vlan name here. The vlan name can be up to 32 characters long. Vlanid - specify the vlan id for which...

  • Page 328

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 324 vlanid - specify a range of vlans to be configured. - enter the vlan id list here. - configure the rate of the igmp control packet that the switch can process on a specific port/vlan. The rate is specified in p...

  • Page 329

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 325 and 25 seconds. Robustness_variable - (optional) provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the following igmp message interv...

  • Page 330

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 326 35-4 config igmp access_authentication ports description this command is used to enable or disable the igmp access control function for the specified ports. If the igmp access control function is enabled and th...

  • Page 331

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 327 delete - specify to delete the router ports. - specify a range of ports to be configured. (unitid:port number) restrictions only administrator, operator and power-user level users can issue this command. Exampl...

  • Page 332

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 328 35-7 enable igmp_snooping description this command is used to enable igmp snooping on the switch. Format enable igmp_snooping parameters none. Restrictions only administrator, operator and power-user level user...

  • Page 333

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 329 example to disable igmp snooping on the switch: dgs-3120-24tc:admin# disable igmp_snooping command: disable igmp_snooping success. Dgs-3120-24tc:admin# 35-9 create igmp_snooping static_group description this co...

  • Page 334

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 330 dgs-3120-24tc:admin# create igmp_snooping static_group vlan default 239.1.1.1 command: create igmp_snooping static_group vlan default 239.1.1.1 success. Dgs-3120-24tc:admin# 35-10 delete igmp_snooping static_gr...

  • Page 336

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 332 restrictions none. Example to display all the igmp snooping static groups: dgs-3120-24tc:admin# show igmp_snooping static_group vlan id/name ip address static member ports -------------- ------------------ ----...

  • Page 337

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 333 vlanid - specify the vlan id to be configured. - enter the vlan id here. State - (optional) specify to enable or disable the data driven learning of an igmp snooping group. Enable - enter enable to enable the d...

  • Page 338

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 334 restrictions only administrator, operator and power-user level users can issue this command. Example to set the maximum number of groups that can be learned by data driven: dgs-3120-24tc:admin# config igmp_snoo...

  • Page 340

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 336 dgs-3120-24tc:admin#show igmp_snooping command: show igmp_snooping igmp snooping global state : enabled data driven learning max entries : 128 vlan name : default query interval : 125 max response time : 10 rob...

  • Page 341

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 337 example to display the igmp snooping rate limit for ports 1 to 15: dgs-3120-24tc:admin# show igmp_snooping rate_limit ports 1-15 command: show igmp_snooping rate_limit ports 1-15 port rate limit -------- ------...

  • Page 342

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 338 dgs-3120-24tc:admin# show igmp_snooping group command: show igmp_snooping group source/group : 10.0.0.1/225.0.0.1 vlan name/vid : default/1 member ports : 1:5 up time : 6 expiry time : 254 filter mode : include...

  • Page 343

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 339 member ports : 1:5 up time : 10 expiry time : 258 filter mode : exclude source/group : null/226.0.0.2 vlan name/vid : default/1 member ports : 1:5 up time : 9 expiry time : 259 filter mode : exclude source/grou...

  • Page 344

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 340 - enter the vlan id list here. If no parameter is specified, the system will display all current igmp snooping forwarding table entries of the switch. Restrictions none. Example to show all igmp snooping forwar...

  • Page 345

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 341 all - specify all vlans on which the router port resides. Static - (optional) displays router ports that have been statically configured. Dynamic - (optional) displays router ports that have been dynamically co...

  • Page 346

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 342 - enter the list of port to be displayed here. Restrictions none. Example to display the igmp snooping statistics counter: dgs-3120-24tc:admin# show igmp_snooping statistics counter vlanid 1 command: show igmp_...

  • Page 347

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 343 to display the igmp snooping statistics counter for a port: dgs-3120-24tc:admin# show igmp_snooping statistics counter ports 1 command: show igmp_snooping statistics counter ports 1 port #1 --------------------...

  • Page 349

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 345 1:16 disabled 1:17 disabled 1:18 disabled 1:19 disabled 1:20 disabled ctrl+c esc q quit space n next page enter next entry a all 35-23 clear igmp_snooping statistics counter description this command is used to ...

  • Page 350

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 346 - enter the vlan name here. The vlan name can be up to 32 characters long. Vlanid - specify the id of the vlan for which mld snooping is to be configured. - enter the vlan id list here. All - specify all vlans ...

  • Page 351

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 347 - enter the vlan id list here. All - specify all vlans for which mld snooping querier is to be configured. Query_interval - specify the amount of time in seconds between general query transmissions. The default...

  • Page 352

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 348 35-26 config mld_snooping 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...

  • Page 353

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 349 parameters vlan - specify the name of the vlan on which the router port resides. - enter the vlan name here. The vlan name can be up to 32 characters long. Vlanid - specify the id of the vlan on which the route...

  • Page 354

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 350 example to enable mld snooping on the switch: dgs-3120-24tc:admin# enable mld_snooping command: enable mld_snooping success. Dgs-3120-24tc:admin# 35-29 disable mld_snooping description this command is used to d...

  • Page 355

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 351 parameters vlan - (optional) specify the name of the vlan for which you want to view the igmp snooping configuration. - enter the vlan name here. The vlan name can be up to 32 characters long. Vlanid - (optiona...

  • Page 357

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 353 dgs-3120-24tc: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 sou...

  • Page 358

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 354 35-32 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...

  • Page 360

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 356 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 des...

  • Page 361

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 357 long. Vlanid - specify the id of the vlan on which the static group resides. - enter the vlan id list here. - specify the multicast group ip address. Restrictions only administrator, operator and power-user lev...

  • Page 362

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 358 example to unset port range 9-10 from mld snooping static member ports for group ff1e::1 on default vlan: dgs-3120-24tc:admin# config mld_snooping static_group vlan default ff1e::1 delete 2:9-2:10 command: crea...

  • Page 363

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 359 when data-driven learning is enabled for the vlan, when the switch receives the ip multicast traffic, on this vlan, an mld snooping group will be created. That is, the learning of an entry is not activated by m...

  • Page 364

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 360 35-39 config mld_snooping data_driven_learning max_learned_entry description this command is used to configure the maximum number of groups that can be learned by data driven. When the table is full, the system...

  • Page 365

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 361 parameters all - specify all vlans to which igmp snooping groups will be deleted. Vlan_name - specify the vlan name. - enter the vlan name here. Vlanid - specify the vlan id. - enter the vlan id list here. - sp...

  • Page 366

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 362 dgs-3120-24tc:admin# show mld_snooping statistics counter vlanid 1 command: show mld_snooping statistics counter vlanid 1 vlan name : default ----------------------------------------------- total groups : 10 re...

  • Page 367

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 363 restrictions only administrator, operator and power-user level users can issue this command. Example to clear mld snooping statistics counter: dgs-3120-24tc:admin# clear mld_snooping statistic counter command: ...

  • Page 368

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 364 dgs-3120-24tc:admin# config mld_snooping ports 1 rate_limit 100 command: config mld_snooping ports 1 rate_limit 100 success. Dgs-3120-24tc:admin# 35-44 show mld_snooping rate_limit description this command is u...

  • Page 370

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 366 will be applied to all ports. - enter a list of ports used for this configuration here. All - specify that all the ports will be included. Restrictions only administrator, operator and power-user level users ca...

  • Page 371

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 367 enable - specify that the allow zero ip option will be enabled. Disable - specify that the allow zero ip option will be disabled. Forward_dhcppkt - (optional) by default, dhcp packets with a broadcast da will b...

  • Page 372

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 368 example to delete a blocked address: dgs-3120-24tc: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...

  • Page 374

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 370 example to show the impb global configuration: dgs-3120-24tc:admin#show address_binding command: show address_binding trap/log : disabled dhcp snoop : disabled function version : 3.92 dgs-3120-24tc:admin# to sh...

  • Page 375

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 371 parameters all - specify that all the addresses in the database that the system has auto learned and blocked to be displayed. Vlan_name - specify the name of the vlan to which the blocked mac address belongs. -...

  • Page 376

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 372 example to show impb entries: dgs-3120-24tc:admin#show address_binding ip_mac all command: show address_binding ip_mac all m(mode) - d:dhcp, s:static acl - a:active i:inactive ip address mac address m acl ports...

  • Page 377

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 373 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable dhcp ipv4 snooping mode: dgs-3120-24tc:admin# enable address_binding dhcp_snoop co...

  • Page 378

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 374 36-11 clear address_binding dhcp_snoop binding_entry ports description this command is used to clear the dhcp snooping entries learned for the specified ports. Format clear address_binding dhcp_snoop binding_en...

  • Page 379

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 375 example to show the dhcp snooping state: dgs-3120-24tc:admin#show address_binding dhcp_snoop command: show address_binding dhcp_snoop dhcp snoop(ipv4) : disabled dgs-3120-24tc:admin# to display dhcp snooping ma...

  • Page 380

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 376 - enter the port number used here. Restrictions none. Example to display the dhcp snooping binding entries: dgs-3120-24tc:admin#show address_binding dhcp_snoop binding_entry command: show address_binding dhcp_s...

  • Page 381

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 377 example to set the maximum number of dhcp ipv4 snooping entries that ports 1:1–1:3 can learned to 10: dgs-3120-24tc:admin#config address_binding dhcp_snoop max_entry ports 1:1-1:3 limit 10 command: config addre...

  • Page 382

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 378 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable impb traps and logs: dgs-3120-24tc:admin# disable address_binding trap_log comman...

  • Page 384

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 380 example to stop impb debug: starting when the impb module receives an arp/ip or dhcp packet: dgs-3120-24tc:admin# no debug address_binding command: no debug address_binding success. Dgs-3120-24tc:admin#.

  • Page 386

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 382 37-2 delete ipv6 neighbor_cache description this command is used to delete a neighbor cache entry or static neighbor cache entries from the address cache or all address cache entries on this ip interface. Both ...

  • Page 387

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 383 - enter the ip interface name here. This name can be up to 12 characters long. All - specify that all the interface will be displayed. Ipv6address - the neighbor’s address. - enter the ipv6 address here. Static...

  • Page 388

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 384 example to configure the retrans_time of ipv6 nd neighbor solicitation: dgs-3120-24tc:admin# config ipv6 nd ns ipif zira retrans_time 1000000 command: config ipv6 nd ns ipif zira retrans_time 1000000 success. D...

  • Page 390

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 386 38-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 addre...

  • Page 391

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 387 restrictions - (optional) the destination network of the route. - (optional) specify the destination 128-bit length ipv6 address to be displayed. Static - (optional) specify to display only the static route ent...

  • Page 393

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 389 using the jwac function, pc users need to pass two stages of authentication. The first stage is to do the authentication with the quarantine server and the second stage is the authentication with the switch. Fo...

  • Page 394

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 390 dgs-3120-24tc:admin#disable jwac command: disable jwac success. Dgs-3120-24tc:admin# 39-3 config jwac description this command is used to configure the quarantine server url. If the redirection is enabled and t...

  • Page 395

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 391 39-4 show jwac description this command is used to display the jwac configuration settings. Format show jwac parameters none. Restrictions none. Example to display the current jwac configuration: dgs-3120-24tc:...

  • Page 396

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 392 url. When redirect jwac_login_page is enabled, the unauthenticated host will be redirected to the jwac_login_page on the switch to finish authentication. When enable redirect to quarantine server is in effect, ...

  • Page 397

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 393 dgs-3120-24tc:admin#disable jwac redirect command: disable jwac redirect success. Dgs-3120-24tc:admin# 39-7 config jwac redirect description this command is used to configure redirect destination and delay time...

  • Page 398

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 394 format enable jwac forcible_logout parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable jwac forcible logout: dgs-3120-24tc:admin#enabl...

  • Page 399

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 395 dgs-3120-24tc:admin#disable jwac forcible_logout command: disable jwac forcible_logout success. Dgs-3120-24tc:admin# 39-10 enable jwac udp_filtering description this command is used to enable the jwac udp filte...

  • Page 400

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 396 restrictions only administrator, operator and power-user level users can issue this command. Example to disable jwac udp filtering: dgs-3120-24tc:admin#disable jwac udp_filtering command: disable jwac udp_filte...

  • Page 401

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 397 39-13 disable jwac quarantine_server_monitor description this command is used to disable jwac quarantine server monitoring. Format disable jwac quarantine_server_monitor parameters none. Restrictions only admin...

  • Page 402

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 398 example to set the quarantine server error timeout: dgs-3120-24tc:admin#config jwac quarantine_server_error_timeout 60 command: config jwac quarantine_server_error_timeout 60 success. Dgs-3120-24tc:admin# 39-15...

  • Page 403

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 399 need to be able to have access to accomplish authentication. Before the client passes authentication, it should be added to the switch with its ip address. For example, the client may need to access update.Micr...

  • Page 405

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 401 state. Infinite - specify to indicate the idle state of the authenticated host on the port will never be checked. The default value is infinite. - specify an idle time between 1 and 1440 minutes. Block_time - i...

  • Page 406

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 402 dgs-3120-24tc:admin#show jwac ports 1-4 command: show jwac ports 1:1-1:4 port state aging time idle time block time max (min) (min) (sec) hosts ----- -------- ---------- --------- ---------- ----- 1:1 disabled ...

  • Page 407

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 403 39-21 create jwac user description this command is used to create jwac users in the local database. When “local” is chosen while configuring the jwac radius protocol, the local database will be used. Format cre...

  • Page 408

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 404 restrictions only administrator, operator and power-user level users can issue this command. Example to configure a jwac user: dgs-3120-24tc:admin#config jwac user 112233 command: config jwac user 112233 enter ...

  • Page 409

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 405 39-24 show jwac user description this command is used to display jwac users in the local database. Format show jwac user parameters none. Restrictions none. Example to display the current jwac local users: dgs-...

  • Page 410

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 406 authenticating - (optional) specify the state of host to delete. Blocked - (optional) specify the state of host to delete. Mac_addr - delete a specified host with this mac address. - enter the mac address here....

  • Page 411

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 407 dgs-3120-24tc: show jwac auth_state ports 1-3c ommand: show jwac auth_state ports 1-3 pri - priority. State - a:authenticated, b:blocked, -:authenticating time - aging time/idle time for authenticated entries. ...

  • Page 412

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 408 example to disable the configuration authorized from the local database: dgs-3120-24tc:admin#config jwac authorization attributes local disable command: config jwac authorization attributes local disable succes...

  • Page 415

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 411 dgs-3120-24tc:admin#show jwac authenticate_page command: show jwac authenticate_page current page : english version english page element ----------------------------------------------------------- page title : ...

  • Page 416: Chapter 40

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 412 chapter 40 jumbo frame command list enable jumbo_frame disable jumbo_frame show jumbo_frame 40-1 enable jumbo_frame description this command is used to configure the jumbo frame setting as enable. Format enable...

  • Page 417

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 413 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable the jumbo frame: dgs-3120-24tc:admin# disable jumbo_frame command: disable jumbo_frame succes...

  • Page 419

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 415 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the layer 2 protocol tunneling function: dgs-3120-24tc:admin#disable l2protocol_t...

  • Page 420

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 416 01-00-0c-cc-cc-cd - specify the mac address as 01-00-0c-cc-cc-cd. All - all tunnel-abled layer 2 protocols will be tunneled on the ports. Threshold - (optional) specify the drop threshold for packets-per-second...

  • Page 421

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 417 dgs-3120-24tc:admin# show l2protocol_tunnel command: show l2protocol_tunnel global state : enabled uni ports : 1:1-1:4 nni ports : dgs-3120-24tc:admin# to show layer 2 protocol tunneling information summary: dg...

  • Page 423

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 419 42-2 delete link_aggregation group_id description this command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id parameters group_id - specify the group i...

  • Page 424

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 420 are separated by a dash. For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and swit ch 2, port 4 − in num...

  • Page 425

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 421 destination port. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure link aggregation algorithm for mac-source-dest: dgs-3120-24tc:admin# config li...

  • Page 426

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 422 dgs-3120-24tc:admin#show link_aggregation command: show link_aggregation link aggregation algorithm = mac-source-dest group id : 1 type : lacp master port : 1:5 member port : 1:5-1:7 active port : 7 status : en...

  • Page 427

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 423 dgs-3120-24tc:admin#show link_aggregation command: show link_aggregation link aggregation algorithm = mac-source-dest group id : 1 type : lacp master port : 1:5 member port : 1:5-1:7 active port : status : disa...

  • Page 428

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 424 42-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. (unitid:port numb...

  • Page 430

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 426 format enable lldp parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable lldp: dgs-3120-24tc:admin# enable lldp command: enable lldp suc...

  • Page 432

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 428 parameters notification_interval - specify the timer of notification interval for sending notification to configured snmp trap receiver(s). The default setting is 5 seconds. - enter the notification interval va...

  • Page 433

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 429 packets from neighbor devices. Rx_only - configure the specified port(s) to receive lldp packets from neighbors, but block outbound packets to neighbors. Tx_and_rx - configure the specified port(s) to both tran...

  • Page 434

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 430 numerous vendor proprietary variations are responsible for maintaining the topology and connectivity of the network. If eapol, gvrp, stp (including mstp), and lacp protocol identity is enabled on this port and ...

  • Page 435

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 431 dgs-3120-24tc:admin# config lldp ports 1:1-1:5 admin_status tx_and_rx command: config lldp ports 1:1-1:5 admin_status tx_and_rx success. Dgs-3120-24tc:admin# to enable ports 1-2 for manage address entry: dgs-31...

  • Page 436

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 432 dgs-3120-24tc:admin# config lldp ports all dot1_tlv_vlan_name vlanid 1-3 enable command: config lldp ports all dot1_tlv_vlan_name vlanid 1-3 enable success. Dgs-3120-24tc:admin# to configure exclude the protoco...

  • Page 437

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 433 dgs-3120-24tc:admin# config lldp forward_message enable command: config lldp forward_message enable success. Dgs-3120-24tc:admin# 43-7 show lldp description this command is used to display the switch’s general ...

  • Page 439

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 435 restrictions none. Example to display the lldp port 1 tlv option configuration: dgs-3120-24tc:admin#show lldp ports 1:1 command: show lldp ports 1:1 port id : 1:1 -----------------------------------------------...

  • Page 440

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 436 mode - (optional) specify the display mode. Brief - display the information in brief mode. Normal - display the information in normal mode. This is the default display mode. Detailed - display the information i...

  • Page 441

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 437 aggregation port id : 0 maximum frame size : 1536 dgs-3120-24tc:admin# to display outbound lldp advertisements for port 1 in normal mode: dgs-3120-24tc:admin#show lldp local_ports 1:1 mode normal command: show ...

  • Page 442

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 438 parameters - (optional) specified a range of ports to be configured. When port list is not specified, information for all ports will be displayed. Mode – (optional) specify to display the information in various...

  • Page 443

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 439 entity 3 chassis id subtype : macaddress chassis id : 00-01-02-03-04-05 port id subtype : local port id : 2/3 port description : rmon port 2 on unit 3 dgs-3120-24tc:admin# to display remote table in normal mode...

  • Page 444

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 440 power via mdi : (see detail) link aggregation : (see detail) maximum frame size : 1536 dgs-3120-24tc:admin# to display remote table in detailed mode: dgs-3120-24tc:admin# show lldp remote_ports 1:1 mode detaile...

  • Page 445

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 441 ppvid enable : enable vlan name entries entry 1 vlan id : 1 vlan name : v1 entry 2 vlanid : 2 vlan name : v2 entry 3 vlan id : 3 vlan name : v3 protocol identity entries entry 1 protocol index : 1 protocol id :...

  • Page 446

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 442 unknown tlv type : 31 unknown tlv information bytes : xx xx xx xx xx xx(hex) dgs-3120-24tc:admin# 43-12 show lldp statistics description this command is used to display an overview of neighbor detection activit...

  • Page 447

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 443 information for all ports will be displayed. Restrictions none. Example to display statistics information of port 1: dgs-3120-24tc:admin# show lldp statistics ports 1:1 command: show lldp statistics ports 1:1 p...

  • Page 448

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 444 dgs-3120-24tc:admin#config lldp_med fast_start repeat_count 5 command: config lldp_med fast_start repeat_count 5 success. Dgs-3120-24tc:admin# 43-15 config lldp_med log state description this command is used to...

  • Page 449

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 445 state - enable or disable the snmp trap notification of topology change detected state. Enable - enable the snmp trap notification of topology change detected. Disable - disable the snmp trap notification of to...

  • Page 450

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 446 restrictions only administrator and operator-level users can issue this command. Example to enable transmitting all capabilities on all ports: dgs-3120-24tc:admin#config lldp_med ports all med_transmit_capabili...

  • Page 451

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 447 43-19 show lldp_med description this command is used to display the switch’s general lldp-med configuration status. Format show lldp_med parameters none. Restrictions none. Example to display the switch’s gener...

  • Page 452

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 448 format show lldp_med local_ports {} parameters - (optional) specify a range of ports to be displayed. Restrictions none. Example to display lldp-med information currently available for populating outbound lldp-...

  • Page 453

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 449 restrictions none. Example to display remote entry information: dgs-3120-24tc:admin#show lldp_med remote_ports 1:1 command: show lldp_med remote_ports 1:1 port id : 1:1 -----------------------------------------...

  • Page 454

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 450 location information : location subtype: civicaddress location information : extended power via mdi power device type: pd device power priority : high power source : from pse power request : 8 watts inventory m...

  • Page 456

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 452 example to set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify vlan-based mode: dgs-3120-24tc:admin# config loopdetect recover_timer 0 interval 20 ...

  • Page 457

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 453 format enable loopdetect parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable the lbd function globally: dgs-3120-24tc:admin# enable lo...

  • Page 458

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 454 dgs-3120-24tc:admin# disable loopdetect command: disable loopdetect success. Dgs-3120-24tc:admin# 44-5 show loopdetect description this command is used to display the lbd global configuration. Format show loopd...

  • Page 459

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 455 format show loopdetect ports {} parameters ports - specify 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 configuratio...

  • Page 460

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 456 restrictions only administrator, operator and power-user level users can issue this command. Example to specify that traps will be sent when the loop condition is detected or cleared: dgs-3120-24tc:admin# confi...

  • Page 462

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 458 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable mac_notification function: dgs-3120-24tc:admin# disable mac_notification command: disable mac...

  • Page 464

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 460 example to show the switch’s mac address table notification global settings: dgs-3120-24tc:admin# show mac_notification command: show mac_notification global mac notification settings state : enabled interval :...

  • Page 465

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 461 dgs-3120-24tc:admin# show mac_notification ports command: show mac_notification ports port # mac address table notification state ------ ------------------------------------ 1:1 disabled 1:2 disabled 1:3 disabl...

  • Page 466: Chapter 46

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 462 chapter 46 mac-based access control command list enable mac_based_access_control disable mac_based_access_control config mac_based_access_control password config mac_based_access_control password_type [manual_s...

  • Page 467

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 463 example to enable the mac-based access control global state: dgs-3120-24tc:admin# enable mac_based_access_control command: enable mac_based_access_control success. Dgs-3120-24tc:admin# 46-2 disable mac_based_ac...

  • Page 468

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 464 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 “defaul...

  • Page 470

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 466 example to set the mac-based access control guest vlan membership: dgs-3120-24tc:admin# config mac_based_access_control guest_vlan ports 1-8 command: config mac_based_access_control guest_vlan ports 1-8 success...

  • Page 471

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 467 parameters ports - specify a range of ports for configuring the mac-based access control function parameters. - enter the list of port used for this configuration here. All - specify all existed ports of switch...

  • Page 472

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 468 dgs-3120-24tc:admin# config mac_based_access_control ports 1:1-1:8 aging_time infinite block_time 120 command: config mac_based_access_control ports 1:1-1:8 aging_time infinite block_time 120 success. Dgs-3120-...

  • Page 474

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 470 example to clear mac-based access control clients’ authentication information for all ports: dgs-3120-24tc:admin# clear mac_based_access_control auth_state ports all command: clear mac_based_access_control auth...

  • Page 475

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 471 example to create one mac-based access control local database entry for mac address 00-00-00-00-00- 01 and specify that the host will be assigned to the “default” vlan after the host has been authorized: dgs-31...

  • Page 476

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 472 dgs-3120-24tc:admin# config mac_based_access_control_local mac 00-00-00-00-00- 01 vlan default command: config mac_based_access_control_local mac 00-00-00-00-00-01 vlan default success. Dgs-3120-24tc:admin# 46-...

  • Page 477

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 473 dgs-3120-24tc:admin# delete mac_based_access_control_local vlan vlan3 command: delete mac_based_access_control_local vlan vlan3 success. Dgs-3120-24tc:admin# 46-14 config mac_based_access_control authorization ...

  • Page 478

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 474 46-15 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 m...

  • Page 479

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 475 address. - enter the mac address used here. Vlan - (optional) displays mac-based access control local database entries for a specific target vlan name. - enter the vlan name here. This name can be up to 32 char...

  • Page 480

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 476 dgs-3120-24tc:admin#show mac_based_access_control auth_state ports 1:1-1:4 command: show mac_based_access_control auth_state ports 1:1-1:4 (p): port-based port mac address state vid priority aging time/ block t...

  • Page 482

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 478 example to disable log state of mac-based access control: dgs-3120-24tc:admin# config mac_based_access_control log state disable command: config mac_based_access_control log state disable success. Dgs-3120-24tc...

  • Page 484

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 480 dgs-3120-24tc:admin# create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 100 command: create mac_based_vlan mac_address 00-11-22-33-44-55 vlanid 100 success. Dgs-3120-24tc:admin# 47-2 delete mac_based_vl...

  • Page 487

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 483 48-2 enable mirror description this command is used to enable mirror function without having to modify the mirror session configuration. Format enable mirror parameters none. Restrictions only administrator and...

  • Page 488

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 484 example to disable mirroring function: dgs-3120-24tc:admin# disable mirror command: disable mirror success. Dgs-3120-24tc:admin# 48-4 show mirror description this command is used to display the current mirror f...

  • Page 490

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 486 dgs-3120-24tc:admin# debug stp config ports all all state brief command: debug stp config ports all all state brief warning: only support local device. Success. Dgs-3120-24tc:admin# 49-2 debug stp show informat...

  • Page 491

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 487 regional root bridge : 32768/00-01-70-33-21-02 internal root cost : 0 designated bridge : 32768/00-01-70-33-21-02 designated port : 0 message age : 0 max age : 20 forward delay : 15 hello time : 2 -------------...

  • Page 492

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 488 1:3 brief brief brief 1:4 brief brief brief 1:5 brief brief brief 1:6 brief brief brief 1:7 brief brief brief 1:8 brief brief brief 1:9 brief brief brief 1:10 brief brief brief 1:11 brief brief brief 1:12 brief...

  • Page 493

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 489 dgs-3120-24tc:admin# debug stp show counter ports 1:9 command: debug stp show counter ports 1:9 stp counters -------------------------------------- port 1:9 : receive: transmit: total stp packets : 0 total stp ...

  • Page 494

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 490 dgs-3120-24tc:admin# debug stp clear counter ports all command: debug stp clear counter ports all warning: only support local device. Success. Dgs-3120-24tc:admin# 49-6 debug stp state description this command ...

  • Page 497

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 493 dgs-3120-24tc:admin# create mcast_filter_profile profile_id 2 profile_name mod command: create mcast_filter_profile profile_id 2 profile_name mod success. Dgs-3120-24tc:admin# 50-2 config mcast_filter_profile d...

  • Page 499

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 495 profile_name - specify 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 only administrator, operator and power-...

  • Page 500

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 496 example to display all the defined multicast address profiles: dgs-3120-24tc:admin# show mcast_filter_profile command: show mcast_filter_profile profile id name multicast addresses ---- ---------------- -------...

  • Page 501

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 497 all - specify to delete all multicast address profile.. Access - specify the access of packets matching the addresses defined in the profiles. Permit - specify that packets matching the addresses defined in the...

  • Page 502

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 498 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the maximum number of multicast group that ports 1 and 3 can join to 100: dgs-3120-24tc:admin# c...

  • Page 503

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 499 dgs-3120-24tc:admin#show max_mcast_group ports 1:1-1:2 command: show max_mcast_group ports 1:1-1:2 port max multicast group number action ------ ---------------------------- --------- 1:1 infinite drop 1:2 100 ...

  • Page 504

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 500 restrictions none. Example to show the limited multicast address range on ports 1 and 3: dgs-3120-24tc:admin# show limited_multicast_addr ports 1,3 command: show limited_multicast_addr ports 1,3 port : 1 access...

  • Page 506

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 502 dgs-3120-24tc:admin#show cpu_filter l3_control_pkt ports 1:1-1:2 command: show cpu_filter l3_control_pkt ports 1:1-1:2 port igmp query dvmrp pim ---- ---------- -------- -------- 1:1 disabled enabled disabled 1...

  • Page 509

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 505 parameters multicast_vlan - the name of the multicast vlan to be configured. - enter the vlan here. The vlan name can be up to 32 characters long. Add - specify that the entry will be added to the specified mul...

  • Page 510

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 506 51-3 config mld_snooping multicast_vlan description this command is used to add member ports and source ports to a list of multicast vlan member ports. Member ports automatically become untagged members of the ...

  • Page 511

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 507 restrictions only administrator, operator and power-user level users can issue this command. Example to configure an mld snooping multicast vlan with the name “v1”, make ports 1 and 3 members of the vlan, and s...

  • Page 512

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 508 51-5 config igmp_snooping multicast_vlan_group_profile description this command is used to configure an igmp snooping multicast group profile on the switch and add or delete multicast addresses for the profile....

  • Page 514

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 510 parameters igmp_snooping - specify to delete an igmp snooping group profile. Mld_snooping - specify to delete an mld snooping group profile. Profile_name - specify the multicast vlan profile name. - enter the m...

  • Page 515

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 511 dgs-3120-24tc:admin# show igmp_snooping multicast_vlan_group_profile command: show igmp_snooping multicast_vlan_group_profile profile name multicast addresses --------------------- -----------------------------...

  • Page 516

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 512 restrictions only administrator, operator and power-user level users can issue this command. Example to add an igmp snooping profile to a multicast vlan group with the name “v1”: dgs-3120-24tc:admin# config igm...

  • Page 518

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 514 restrictions only administrator-level users can issue this command. Example to enable the igmp snooping multicast vlan function globally: dgs-3120-24tc:admin# enable igmp_snooping multicast_vlan command: enable...

  • Page 520

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 516 parameters igmp_snooping - specify that igmp snooping multicast vlans will be displayed. Mld_snooping - specify that mld snooping multicast vlans will be displayed. Multicast_vlan - the name of the multicast vl...

  • Page 522

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 518 dgs-3120-24tc:admin# enable stp command: enable stp success. Dgs-3120-24tc:admin# 52-2 disable stp description this command is used to disable stp globally. Format disable stp parameters none. Restrictions only...

  • Page 523

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 519 - enter the maximum age value here. This value must be between 6-40. Maxhops - (optional) used to restrict the forwarded times of one bpdu. The default value is 20. - enter the maximum hops value here. This val...

  • Page 524

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 520 example to show stp: dgs-3120-24tc:admin#show stp command: show stp stp bridge global settings --------------------------- stp status : enabled stp version : rstp max age : 25 hello time : 2 forward delay : 15 ...

  • Page 525

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 521 dgs-3120-24tc:admin# create stp instance_id 2 command: create stp instance_id 2 success. Dgs-3120-24tc:admin# 52-6 config stp instance_id description this command is used to map or remove the vlan range of the ...

  • Page 526

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 522 52-7 delete stp instance_id description this command is used to delete an mst instance. Format delete stp instance_id parameters instance_id - specify the mstp instance id. Instance 0 represents for default ins...

  • Page 527

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 523 example to change the name and revision level of the mst configuration identification: dgs-3120-24tc:admin# config stp mst_config_id name r&d_blockg revision_level 1 commands: config stp mst_config_id name r&d_...

  • Page 529

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 525 hellotime - (optional) the default value is 2 . This parameter is for mstp version. For stp and rstp version, uses the per system hellotime parameter. - enter the hello time value here. This value must be betwe...

  • Page 530

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 526 format show stp ports {} parameters ports - to show parameters of the designated port numbers, to be distinguished from showing parameters of the bridge. - (optional) enter a list of ports used for the configur...

  • Page 531

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 527 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the stp instance id: dgs-3120-24tc:admin# config stp priority 61440 instance_id 0 command: confi...

  • Page 533

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 529 parameters instance - specify the mstp instance id. - (optional) enter the mstp instance id value here. This value must be between 0 and 15. Restrictions none. Example to show stp instance: dgs-3120-24tc:admin#...

  • Page 536

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 532 dgs-3120-24tc:admin#delete nlb unicast_fdb 02-bf-01-01-01-01 command: delete nlb unicast_fdb 02-bf-01-01-01-01 success. Dgs-3120-24tc:admin# 53-4 create nlb multicast_fdb description this command is used to cre...

  • Page 537

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 533 dgs-3120-24tc: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. Dgs-3120-24tc:admin# 53-5 config nlb multicast_fdb description this c...

  • Page 539

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 535 dgs-3120-24tc:admin# show nlb fdb command: show nlb fdb mac address vlan id egress ports ----------------- ---------- ---------------------------------- 03-bf-01-01-01-01 100 1:1-1:5,1:24,2:24 03-bf-01-01-01-01...

  • Page 541

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 537 dgs-3120-24tc:admin#show packet ports 1:7 command: show packet ports 1:7 port number : 1:7 ================================================================== frame size/type frame counts frames/sec ------------...

  • Page 542

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 538 dgs-3120-24tc:admin#show error ports 1:3 command: show error ports 1:3 port number : 1:3 rx frames tx frames --------- --------- crc error 0 excessive deferral 0 undersize 0 crc error 0 oversize 0 late collisio...

  • Page 543

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 539 dgs-3120-24tc:admin# show utilization ports command: show utilization ports port tx/sec rx/sec util port tx/sec rx/sec util ----- ---------- ---------- ---- ----- ---------- ---------- ---- 1:1 0 0 0 1:21 0 0 0...

  • Page 544

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 540 dgs-3120-24tc:admin#show utilization cpu command: show utilization cpu cpu utilization ------------------------------------------------------------------------------- five seconds - 10 % one minute - 10 % five ...

  • Page 545

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 541 dgs-3120-24tc:admin#show utilization dram command: show utilization dram unit 1 dram utilization : total dram : 131072 kb used dram : 128128 kb utilization : 97 % ctrl+c esc q quit space n next page p previous ...

  • Page 546

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 542 format clear counters {ports } parameters ports - (optional) specify a range of ports to be configured. The port list is specified by listing the lowest switch number and the beginning port number on that switc...

  • Page 549

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 545 critical_link_event –specify critical link event. Dying_gasp - an unrecoverable local failure condition has occurred. Critical_event - an unspecified critical event has occurred. Notify_state - specify the even...

  • Page 550

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 546 dgs-3120-24tc:admin# config ethernet_oam ports 1 link_monitor error_frame threshold 2 window 1000 notify_state enable command: config ethernet_oam ports 1 link_monitor error_frame threshold 2 window 1000 notify...

  • Page 551

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 547 dgs-3120-24tc:admin# config ethernet_oam ports 1 received_remote_loopback process command: config ethernet_oam ports 1 received_remote_loopback process success. Dgs-3120-24tc:admin# 55-2 show ethernet_oam ports...

  • Page 552

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 548 4. Variable: it indicates that the oam entity can send and receive variable requests to monitor the attribute value as described in the ieee 802.3 clause 30 mib. The event log displays ethernet oam event log in...

  • Page 553

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 549 dgs-3120-24tc:admin# show ethernet_oam ports 1 statistics command: show ethernet_oam ports 1 statistics port 1 ------------------------------------------------------------ information oampdu tx : 0 information ...

  • Page 554

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 550 dgs-3120-24tc:admin# clear ethernet_oam ports 1 statistics command: clear ethernet_oam ports 1 statistics success. Dgs-3120-24tc:admin# to clear port 1 oam events: dgs-3120-24tc:admin# clear ethernet_oam ports ...

  • Page 555: Chapter 56

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 551 chapter 56 password recovery command list enable password_recovery disable password_recovery show password_recovery 56-1 enable password_recovery description this command is used to enable the password recovery...

  • Page 556

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 552 format disable password_recovery parameters none. Restrictions only administrator-level users can issue this command. Example to disable the password recovery mode: dgs-3120-24tc:admin# disable password_recover...

  • Page 557

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 553 example to display the password recovery state: dgs-3120-24tc:admin# show password_recovery command: show password_recovery running configuration : enabled nv-ram configuration : enabled dgs-3120-24tc:admin#.

  • Page 559

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 555 57-2 show environment description this command is used to display current status of power(s) and fan(s) on the system. Format show environment parameters none. Restrictions none. Example to display the standalo...

  • Page 560

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 556 dgs-3120-24tc:admin#show environment command: show environment high warning temperature threshold(celsius) : 79 low warning temperature threshold(celsius) : -10 unit 1 internal power : active external power : f...

  • Page 561

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 557 - enter the high threshold temperature here. Low - (optional) to configure low threshold value. N is the low threshold value. - enter the low threshold temperature here. Restrictions only administrator and oper...

  • Page 563

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 559 dgs-3120-24tc:admin#config power trap state enable command: config power trap state enable success. Dgs-3120-24tc:admin#.

  • Page 565

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 561 58-2 ping6 (ei mode only) description this command is used to send ipv6 internet control message protocol (icmp) echo messages to a remote ipv6 address. The remote ipv6 address will then “echo” or return the me...

  • Page 567

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 563 dgs-3120-24tc:admin# config port_security system max_learning_addr 256 command: config port_security system max_learning_addr 256 success. Dgs-3120-24tc:admin# 59-2 config port_security ports description this c...

  • Page 568

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 564 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the port-based port security setting so that the maximum number of port security entries is rest...

  • Page 569

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 565 example to configure the maximum number of vlan-based port security entries on vlan 1 to be 64: dgs-3120-24tc:admin# config port_security vlan vlanid 1 max_learning_addr 64 command: config port_security vlan vl...

  • Page 571

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 567 restrictions none. Example to show all the port security entries: dgs-3120-24tc:admin# show port_security_entry command: show port_security_entry mac address vid port lock mode ----------------- ---- ----- ----...

  • Page 572

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 568 dgs-3120-24tc:admin#show port_security command: show port_security port security trap state : disabled port security log state : disabled system maximum address : 256 vlan configuration (only vlans with limitat...

  • Page 573

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 569 59-9 config port_security log state description this command is used to enable or disable the port security log. When the port security log is enabled, if there is a new mac that violates the pre-defined port s...

  • Page 575

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 571 restrictions only administrator, operator and power-user level users can issue this command. Example to config poe system-wise was setting: dgs-3120-24pc:admin# config poe system power_limit 250 power_disconnec...

  • Page 576

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 572 device connected to this port. Enable - specify that state will be enabled. Disable - specify that state will be disabled. Time_range - (optional) specify the time range that applies to the port of the poe. If ...

  • Page 577

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 573 60-3 show poe system description this command is used to display the setting and actual values of the whole poe system. Format show poe system {units } parameters units - (optional) specified units that will be...

  • Page 578

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 574 format show poe ports {} parameters - (optional) specified a list of ports to be displayed. If no parameter specified, the system will display the status for all ports. Restrictions none. Example to display poe...

  • Page 580

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 576 led - (optional) specify to configure the power saving state of port led. Port - (optional) specify to configure the power saving state of port. Hibernation - (optional) specify to configure the power saving st...

  • Page 581

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 577 dgs-3120-24tc:admin#config power_saving hibernation add time_range range_1 command: config power_saving hibernation add time_range range_1 success. Dgs-3120-24tc:admin# 61-3 config power_saving led description ...

  • Page 583

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 579 parameters length_detection - (optional) display the length detection configuration of power saving. Link_detection - (optional) display the link detection configuration of power saving. Led - (optional) displa...

  • Page 584

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 580 restrictions only administrator and operator-level users can issue this command. Example to disable the led admin state: dgs-3120-24tc:admin#config led state disable command: config led state disable success. D...

  • Page 586

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 582 62-2 config pppoe circuit_id_insertion ports description this command is used to configure port’s pppoe circuit id insertion function. When the port’s state and the global state are enabled, the system will ins...

  • Page 587

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 583 parameters none. Restrictions none. Example to display pppoe circuit id insertion status: dgs-3120-24tc:admin#show pppoe circuit_id_insertion command: show pppoe circuit_id_insertion global pppoe state: enabled...

  • Page 588

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 584 dgs-3120-24tc:admin#.

  • Page 590

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 586 63-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. F...

  • Page 591

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 587 parameters group_id - specify the group id to be deleted. - enter the group id used here. Group_name - specify the name of the group to be deleted. - enter the group name here. This name can be up to 32 charact...

  • Page 592

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 588 dgs-3120-24tc:admin# show dot1v_protocol_group group_id 10 command: show dot1v_protocol_group group_id 10 protocol protocol frame type protocol group id group name value --------- --------------- ------------ -...

  • Page 593

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 589 restrictions only administrator, operator and power-user level users can issue this command. Example the example is to assign vlan marketing-1 for untaged ipv6 packet ingress from port 3. To configure the group...

  • Page 594

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 590 dgs-3120-24tc:admin# show port dot1v ports 1:1 command: show port dot1v ports 1:1 port: 1:1 protocol group id vlan name protocol priority ------------------- --------------------------------- ----------------- ...

  • Page 596

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 592 dgs-3120-24tc:admin# enable qinq command: enable qinq success. Dgs-3120-24tc:admin# 64-2 disable qinq description this command is used to disable the qinq. When qinq is disabled, all dynamic learned l2 addresse...

  • Page 597

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 593 parameters inner_tpid - specify the inner-tpid of the system. - enter the inner-tpid of the system here. Restrictions only administrator, operator and power-user level users can issue this command. Example to c...

  • Page 598

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 594 restrictions only administrator, operator and power-user level users can issue this command. Example to configure port list 1-4 as nni port and set the tpid to 0x88a8: dgs-3120-24tc:admin# config qinq ports 1:1...

  • Page 599

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 595 format show qinq inner_tpid parameters none. Restrictions none. Example to display the inner-tpid of a system: dgs-3120-24tc:admin# show qinq inner_tpid command: show qinq inner_tpid inner tpid: 0x9100 dgs-3120...

  • Page 600

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 596 dgs-3120-24tc:admin# show qinq ports 1:1-1:2 command: show qinq ports 1:1-1:2 port id: 1:1 --------------------------------------------------------- role: nni miss drop: disabled outer tpid: 0x88a8 add inner ta...

  • Page 601

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 597 restrictions only administrator, operator and power-user level users can issue this command. Example to replace the c-tag in which the cvid is 20, with the s-tag and the s-vid is 200 at uni port 1: dgs-3120-24t...

  • Page 602

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 598 dgs-3120-24tc:admin# delete vlan_translation ports 1:1-1:4 command: delete vlan_translation ports 1:1-1:4 success. Dgs-3120-24tc:admin# 64-10 show vlan_translation description this command is used to display th...

  • Page 604

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 600 not exceed it.. The actual limit recognized by the device, will be displayed when the command is executed. - enter the transmitting data rate here. This value must be between 64 and 1024000. Restrictions only a...

  • Page 605

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 601 dgs-3120-24tc:admin#show bandwidth_control 1:1-1:10 command: show bandwidth_control 1:1-1:10 bandwidth control table port rx rate tx rate effective rx effective tx (kbit/sec) (kbit/sec) (kbit/sec) (kbit/sec) --...

  • Page 606

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 602 receive. If the specified rate is not multiple of minimum granularity, the rate will be adjusted. Restrictions only administrator level can issue this command. Example to configure the ports 1:1-1:10 cos bandwi...

  • Page 607

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 603 dgs-3120-24tc:admin#show per_queue bandwidth_control 1:10 command: show per_queue bandwidth_control 1:10 queue bandwidth control table on port: 1:10 queue min rate(kbit/sec) max rate(kbit/sec) 0 640 no limit 1 ...

  • Page 609

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 605 parameters - (optional) specify 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...

  • Page 610

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 606 example to show scheduling mechanism: dgs-3120-24tc:admin#show scheduling_mechanism command: show scheduling_mechanism port mode ----- ------ 1:1 strict 1:2 strict 1:3 strict 1:4 strict 1:5 strict 1:6 strict 1:...

  • Page 611

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 607 priority queues available. They are numbered between 0 (the lowest priority) and 7 (the highest priority). Restrictions only administrator, operator and power-user level users can issue this command. Example to...

  • Page 612

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 608 dgs-3120-24tc:admin# show 802.1p user_priority command: show 802.1p user_priority qos class of traffic: priority-0 -> priority-1 -> priority-2 -> priority-3 -> priority-4 -> priority-5 -> priority-6 -> priority...

  • Page 613

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 609 dgs-3120-24tc:admin# config 802.1p default_priority all 5 command: config 802.1p default_priority all 5 success. Dgs-3120-24tc:admin# 65-12 show 802.1p default_priority description this command is used to displ...

  • Page 614

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 610 dgs-3120-24tc:admin# show 802.1p default_priority 1:1-1:10 command: show 802.1p default_priority 1:1-1:10 port priority effective priority ---- ----------- ------------------ 1:1 5 5 1:2 5 5 1:3 5 5 1:4 5 5 1:5...

  • Page 615

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 611 format disable hol_prevention parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable hol prevention on the switch: dgs-3120-24tc:admin# ...

  • Page 616

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 612 dgs-3120-24tc:admin# show hol_prevention command: show hol_prevention device hol prevention state: enabled dgs-3120-24tc:admin# 65-16 config dscp trust description this command is used to configure the state of...

  • Page 617

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 613 parameters - (optional) a range of ports to display. If not specify the port, all ports for dscp trust status on the switch will be displayed. Restrictions none. Example display dscp trust status on ports 1:1-1...

  • Page 618

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 614 parameters - enter the list of port used for this configuration here. All - specify that all the ports will be included in this configuration. Dscp_priority - specify a list of dscp value to be mapped to a spec...

  • Page 619

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 615 dscp_dscp - specify a list of dscp value to be mapped to a specific dscp. Dscp - (optional) this specifies dscp value that will be mapped. - enter the dscp list here. Restrictions none. Example in case of proje...

  • Page 621

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 617 dgs-3120-24tc:admin# enable rspan command: enable rspan success. Dgs-3120-24tc:admin# 66-2 disable rspan description this command is used to disable the rspan function. Format disable rspan parameters none. Res...

  • Page 622

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 618 restrictions only administrator and operator-level users can issue this command. Example to create an rspan vlan entry by vlan name “v2”: dgs-3120-24tc:admin# create rspan vlan vlan_name v2 command: create rspa...

  • Page 623

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 619 dgs-3120-24tc:admin# delete rspan vlan vlan_name v2 command: delete rspan vlan vlan_name v2 success. Dgs-3120-24tc:admin# to delete an rspan vlan entry by vlan id “3”: dgs-3120-24tc:admin# delete rspan vlan vla...

  • Page 624

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 620 restrictions only administrator and operator-level users can issue this command. Example to configure an rspan source entry without source target port: dgs-3120-24tc:admin# config rspan vlan vlan_name vlan2 sou...

  • Page 625

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 621 - enter the vlan name here. Vlan_id - (optional) specify the rspan vlan by vlan id. - enter the vlan id here. This value must be between 1 and 4094. Restrictions none. Example display the specific settings: dgs...

  • Page 627

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 623 parameters none. Restrictions none. Example to display the rpc portmapper state: dgs-3120-24tc:admin#show filter rpc_portmapper command: show filter rpc_portmapper enabled ports: 1:1-1:10 dgs-3120-24tc:admin#.

  • Page 629

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 625 dgs-3120-24tc: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....

  • Page 631

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 627 example to create a backup schedule on time range "range_1": dgs-3120-24tc:admin#create backup config time_range range_1 filename c:/bk- confi g-1 command: create backup config time_range range_1 filename c:/bk...

  • Page 633

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 629 example to show all backup schedules: dgs-3120-24tc:admin#show backup command: show backup backup schedule entry 1 time range : range_1 type : configuration filename : c:/bk-config-1 state : disabled total entr...

  • Page 634

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 630 dgs-3120-24tc:admin#create execute_config time_range range-1 config c:/vlan- config state enable command: create execute_config time_range range-1 config c:/vlan-config state enable success. Dgs-3120-24tc:admin...

  • Page 636

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 632 example to display all the executive schedules: dgs-3120-24tc:admin#show execute_config command: show execute_config time range : range-1 filename : c:/vlan-config method : reset state : enabled total entries1 ...

  • Page 638

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 634 example to enable ssh server public key algorithm: dgs-3120-24tc:admin#show ssh server command: show ssh server the ssh server configuration maximum session : 8 connection timeout : 120 authentication fail atte...

  • Page 639

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 635 dgs-3120-24tc:admin# show ssh algorithm command: show ssh algorithm encryption algorithm -------------------------- 3des : enabled aes128 : enabled aes192 : enabled aes256 : enabled arcfour : enabled blowfish :...

  • Page 640

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 636 example to configure user authentication method: dgs-3120-24tc:admin# config ssh authmode publickey enable command: config ssh authmode publickey enable success. Dgs-3120-24tc:admin# 70-4 show ssh authmode desc...

  • Page 642

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 638 example to show user information about ssh configuration: dgs-3120-24tc:admin# show ssh user authmode command: show ssh user authmode current accounts: user name authentication host name host ip ---------- --- ...

  • Page 643

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 639 example to configure ssh server maximum session number is 3: dgs-3120-24tc:admin# config ssh server maxsession 3 command: config ssh server maxsession 3 success. Dgs-3120-24tc:admin# 70-8 enable ssh description...

  • Page 644

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 640 restrictions only administrator, operator and power-user level users can issue this command. Example to disable the ssh server services: dgs-3120-24tc:admin#disable ssh command: disable ssh success. Dgs-3120-24...

  • Page 646

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 642 dgs-3120-24tc: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. Dgs-3120-24tc...

  • Page 647

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 643 dgs-3120-24tc:admin# enable ssl command: enable ssl success. Dgs-3120-24tc:admin# note: web will be disabled when ssl is enabled. 71-3 disable ssl description this command is used to disable ssl feature and sup...

  • Page 648

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 644 dgs-3120-24tc:admin# disable ssl command: disable ssl success. Dgs-3120-24tc:admin# 71-4 delete ssl certificate description this command is used to delete a certification on the switch. Format delete ssl certif...

  • Page 649

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 645 - (optioanl) specify the certification file name on the switch. Restrictions none. Example to show ssl: dgs-3120-24tc:admin# show ssl commands: show ssl ssl status enabled rsa_with_rc4_128_md5 enabled rsa_with_...

  • Page 650

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 646 example to show ssl cache timeout: dgs-3120-24tc:admin# show ssl cachetimeout commands: show ssl cachetimeout cache timeout is 600 second(s) dgs-3120-24tc:admin# 71-7 config ssl cachetimeout description this co...

  • Page 653

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 649 72-2 disable surveillance_vlan description this command is used to disable surveillance vlan globally. Format disable surveillance_vlan parameters none. Restrictions only administrator, operator and power-user ...

  • Page 654

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 650 dgs-3120-24tc:admin#config surveillance_vlan priority 6 command: config surveillance_vlan priority 6 success. Dgs-3120-24tc:admin# 72-4 config surveillance_vlan oui description this command is used to configure...

  • Page 656

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 652 restrictions only administrator, operator and power-user level users can issue this command. Example to set the aging time of the surveillance vlan to 60 minutes: dgs-3120-24tc:admin#config surveillance_vlan ag...

  • Page 659

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 655 been sampled that will be encapsulated and forwarded to the server. If not specified, the default value is 128. - enter the maximum header size here. This value must be between 18 and 256. Restrictions only adm...

  • Page 660

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 656 example configure the sflow sampler the rate of port 1 to be 0: dgs-3120-24tc:admin#config sflow flow_sampler ports 1:1 rate 0 maxheadersize 18 command: config sflow flow_sampler ports 1:1 rate 0 maxheadersize ...

  • Page 661

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 657 parameters ports - specify the list of ports to be configured. - enter the list of ports that will be used for this configuration here. All - specify all ports on the switch. Analyzer_server_id - the id of a an...

  • Page 662

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 658 example configure the interval of sflow counter poller port 1 to be 0: dgs-3120-24tc:admin#config sflow counter_poller ports 1:1 interval disable command: config sflow counter_poller ports 1:1 interval disable ...

  • Page 665

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 661 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 administrator and operator-level users...

  • Page 666

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 662 73-11 disable sflow description this command is used to disable the sflow function on the switch. Format disable sflow parameters none. Restrictions only administrator and operator-level users can issue this co...

  • Page 667

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 663 example to show the sflow information: dgs-3120-24tc:admin#show sflow command: show sflow sflow version : v5 sflow address : 10.90.90.90 sflow state : disabled dgs-3120-24tc:admin# 73-13 show sflow flow_sampler...

  • Page 668

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 664 73-14 show sflow counter_poller description this command is used to display the sflow counter pollers which have been configured for port. Format show sflow counter_poller parameters none. Restrictions none. Ex...

  • Page 669

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 665 example to show the sflow flow sampler information of ports which have been created: dgs-3120-24tc:admin#show sflow analyzer_server command: show sflow analyzer_server sflow analyzer_server information --------...

  • Page 670: Chapter 74

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 666 chapter 74 show technical support command list show tech_support upload tech_support_totftp 74-1 show tech_support description this command is especially used by the technical support personnel to dump the devi...

  • Page 671

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 667 des-3200-28p:admin#show tech_support command: show tech_support #------------------------------------------------------------------------------- # dgs-3120-24tc gigabit ethernet switch # technical support infor...

  • Page 672

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 668 • basic system information • system log • running configuration • layer 1 information • layer 2 information • layer 3 information • application • os status • controller’s status this command can be interrupted ...

  • Page 674

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 670 format disable smtp parameters none. Restrictions only administrator-level users can issue this command. Example to disable smtp status: dgs-3120-24tc:admin#disable smtp command: disable smtp success. Dgs-3120-...

  • Page 675

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 671 example to configure an smtp server ip address: dgs-3120-24tc:admin#config smtp server 172.18.208.9 command: config smtp server 172.18.208.9 success. Dgs-3120-24tc:admin# to configure an smtp server port: dgs-3...

  • Page 676

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 672 format show smtp parameters none. Restrictions none. Example to display the current smtp information: dgs-3120-24tc:admin#show smtp command: show smtp smtp status : disabled smtp server address : 172.18.208.9 s...

  • Page 677

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 673 restrictions only administrator-level users can issue this command. Example to test whether the smtp server can be reached: dgs-3120-24tc:admin#smtp send_testmsg command: smtp send_testmsg subject:e-mail headin...

  • Page 679

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 675 76-1 create snmp community description this command is used to create an snmp community string. Use an snmp community string to define the relationship between the snmp manager and the agent. The community stri...

  • Page 681

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 677 restrictions only administrator-level users can issue this command. Example to delete a snmp community “system”: dgs-3120-24tc:admin# delete snmp community system command: delete snmp community system success. ...

  • Page 683

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 679 dgs-3120-24tc:admin# create snmp user user123 group123 encrypted by_password auth md5 12345678 priv des 12345678 command: create snmp user user123 group123 encrypted by_password auth md5 12345678 priv des 12345...

  • Page 684

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 680 parameters none. Restrictions none. Example to show snmp user: dgs-3120-24tc:admin# show snmp user command: show snmp user username group name verauthpriv -------------------------------- ----------------------...

  • Page 685

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 681 long. Restrictions only administrator-level users can issue this command. Example to create snmp group “group123”: dgs-3120-24tc:admin# create snmp group group123 v3 auth_priv read_view communityview write_view...

  • Page 686

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 682 76-10 show snmp groups description this command is used to display the names of groups on the switch and the security model, level, the status of the different views. Format show snmp groups parameters none. Re...

  • Page 687

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 683 dgs-3120-24tc:admin# show snmp groups command: show snmp groups vacm access table settings group name : public readview name : communityview writeview name : notify view name : communityview securiy model : snm...

  • Page 688

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 684 - object-identified tree, mib tree. View_type - specify the access type of the mib tree in this view. Included - includes for this view. Excluded - excluded for this view. Restrictions only administrator-level ...

  • Page 689

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 685 76-13 show snmp view description this command is used to display the snmp view record. Format show snmp view {} parameters view - (optional) view name of the user who likes to show. - enter the view name here. ...

  • Page 690

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 686 parameters host - specify the recipient for which the traps are targeted. - the ip address of the recipient for which the traps are targeted. V6host - specify the ipv6 host address to which the trap packet will...

  • Page 691

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 687 example to delete snmp host “10.0.0.1”: dgs-3120-24tc:admin# delete snmp host 10.0.0.1 command: delete snmp host 10.0.0.1 success. Dgs-3120-24tc:admin# 76-16 show snmp host description this command is used to d...

  • Page 692

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 688 76-17 show snmp v6host (ei mode only) description this command is used to display the recipient for which the traps are targeted. Format show snmp v6host {} parameters v6host - (optional) specify the ipv6 host ...

  • Page 693

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 689 76-18 config snmp engineid description this command is used to configure a identifier for the snmp engine on the switch. Format config snmp engineid parameters engineid - identify for the snmp engine on the swi...

  • Page 694

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 690 restrictions none. Example to show snmp engine id: dgs-3120-24tc:admin# show snmp engineid command: show snmp engineid snmp engine id : 1023457890 dgs-3120-24tc:admin# 76-20 enable snmp description this command...

  • Page 695

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 691 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable snmp: dgs-3120-24tc:admin# disable snmp command: disable snmp success. Dgs-3120-24tc:admin# 7...

  • Page 696

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 692 76-23 config snmp system_location description this command is used to enter a description of the location of the switch. Format config snmp system_location {} parameters system_location - a maximum of 128 chara...

  • Page 697

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 693 dgs-3120-24tc:admin# config snmp system_contact "mis department ii" command: config snmp system_contact "mis department ii" success. Dgs-3120-24tc:admin# 76-25 enable snmp traps description this command is used...

  • Page 698

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 694 restrictions only administrator and operator-level users can issue this command. Example to prevent snmp traps from being sent from the switch: dgs-3120-24tc:admin# disable snmp traps command: disable snmp trap...

  • Page 699

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 695 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable snmp authentication trap support: dgs-3120-24tc:admin# disable snmp authenticate_traps comman...

  • Page 700

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 696 76-30 disable snmp linkchange_traps description this command is used to configure the sending of linkchange traps. Format disable snmp linkchange_traps parameters none. Restrictions only administrator and opera...

  • Page 701

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 697 example to configure the sending of linkchange traps: dgs-3120-24tc:admin# config snmp linkchange_traps ports 1:1-1:4 enable command: config snmp linkchange_traps ports 1:1-1:4 enable success. Dgs-3120-24tc:adm...

  • Page 702

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 698 parameters enable - enable the trap of the warmstart event. The default state is enabled. Disable - disable the trap of the warmstart event. Restrictions only administrator-level users can issue this command. E...

  • Page 703

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 699 dgs-3120-24tc:admin#show snmp traps command: show snmp traps snmp traps : enabled authenticate trap : enabled linkchange traps : enabled coldstart traps : enabled warmstart traps : enabled dgs-3120-24tc:admin# ...

  • Page 704

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 700 format show rmon parameters none. Restrictions only administrator-level users can issue this command. Example to display the rmon related setting: dgs-3120-24tc:admin# show rmon command: show rmon rmon rising a...

  • Page 705

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 701 76-38 disable community_encryption description this command is used to disable the encryption state on snmp community string. Format disable community_encryption parameters none. Restrictions only administrator...

  • Page 706

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 702 dgs-3120-24tc:admin#show community_encryption command: show community_encryption snmp community encryption state : enabled dgs-3120-24tc:admin#.

  • Page 708

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 704 77-2 disable sim description this command is used to disable single ip management on the switch. Format disable sim parameters none. Restrictions only administrator, operator and power-user level users can issu...

  • Page 709

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 705 restrictions none. Example to show the self information in detail: dgs-3120-24tc:admin#show sim command: show sim sim version : ver-1.61 firmware version : 2.50.015 device name : mac address : 00-00-00-01-02-03...

  • Page 710

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 706 dgs-3120-24tc:admin# show sim member command: show sim member id mac address platform / hold firmware device name capability time version --- ----------------- ------------------------ ----- --------- ---------...

  • Page 711

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 707 dgs-3120-24tc:admin# show sim neighbor command: show sim neighbor neighbor table port mac address role ------ ------------------ --------- 23 00-35-26-00-11-99 commander 23 00-35-26-00-11-91 member 24 00-35-26-...

  • Page 714

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 710 dgs-3120-24tc:admin# config sim dp_interval 30 command: config sim dp_interval 30 success. Dgs-3120-24tc:admin# to change the hold time of discovery protocol: dgs-3120-24tc:admin# config sim hold_time 200 comma...

  • Page 715

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 711 dgs-3120-24tc:admin# download sim_ms configuration_from_tftp 10.55.47.1 d:\dwl600x.Tfp members 1 commands: download sim_ms configuration_from_tftp 10.55.47.1 d:\dwl600x.Tfp members 1 this device is updating con...

  • Page 716

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 712 restrictions only administrator, operator and power-user level users can issue this command. Example to upload configuration: dgs-3120-24tc:admin# upload sim_ms configuration_to_tftp 10.55.47.1 d:\configuration...

  • Page 718

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 714 78-2 config box_id description this command is used to configure the box id. By default, the box id is automatically assigned by the system based topology election results. Administrators can assign box ids sta...

  • Page 719

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 715 message 2: stack topology status: new device is detected; hot insert may happen after n seconds. When this message is shown, it means hot insert of new device is detected. The stack system will do the hot inser...

  • Page 720

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 716 dgs-3120-24tc:admin#show stack_information command: show stack_information topology :duplex_chain my box id :1 master id :1 box count :1 force master role: disabled trap state :enabled log state :enabled box us...

  • Page 721

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 717 dgs-3120-24tc:admin#show stack_device command: show stack_device box id box type h/w version serial number ------ ---------------- ----------- -------------------- 1 dgs-3120-24tc a1 abcd1234 dgs-3120-24tc:admi...

  • Page 722

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 718 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to display stacking mode: dgs-3120-24tc:admin# show stacking_mode command: show stacking_mod...

  • Page 723

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 719 dgs-3120-24tc:admin# config stacking force_master_role state enable command: config stacking force_master_role state enable success. Dgs-3120-24tc:admin# 78-8 config stacking trap state description this command...

  • Page 724

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 720 restrictions only administrator, operator and power-user level users can issue this command. Example to enable the stacking log state: dgs-3120-24tc:admin#config stacking log state enable command: config stacki...

  • Page 726

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 722 dgs-3120-24tc:admin# config syslog source_ipif none command: config syslog source_ipif none success dgs-3120-24tc:admin# 79-2 show syslog source_ipif description this command is used to display the syslog sourc...

  • Page 727

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 723 parameters ipif - specify the ip interface name. If only specify 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 n...

  • Page 728

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 724 example show trap source ip interface: dgs-3120-24tc:admin# show trap source_ip command: show trap source_ip trap source ip interface configuration: ip interface : system ipv4 address : none dgs-3120-24tc:admin...

  • Page 731

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 727 dgs-3120-24tc:admin#show log index 1-3 command: show log index 1-3 index date time level log text ----- ---------- -------- ------- ---------------------------------------------- 3 2011-05-10 04:06:40 crit(2) u...

  • Page 732

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 728 format enable syslog parameters none. Restrictions only administrator and operator-level users can issue this command. Example to enable the sending of syslog messages: dgs-3120-24tc:admin# enable syslog comman...

  • Page 733

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 729 80-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: dgs-312...

  • Page 734

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 730 emergency - severity level 0 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 ...

  • Page 736

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 732 dgs-3120-24tc:admin#config syslog host all severity debug facility local0 command: config syslog host all severity debug facility local0 success. Dgs-3120-24tc:admin# 80-9 delete syslog host description this co...

  • Page 737

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 733 if no parameter is specified, all hosts will be displayed. Restrictions none. Example to show the syslog host information: dgs-3120-24tc:admin#show syslog host command: show syslog host syslog global state: dis...

  • Page 738

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 734 dgs-3120-24tc:admin# config log_save_timing on_demand command: config log_save_timing on_demand success. Dgs-3120-24tc:admin# 80-12 show log_save_timing description this command is used to show the method for s...

  • Page 739

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 735 parameters unit - (optional) the attack log messages on the specified unit will be displayed. If unit id is specified, then it will be referred to as the master unit. - enter the unit id value here. This value ...

  • Page 740

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 736 dgs-3120-24tc:admin# clear attack_log command: clear attack_log success. Dgs-3120-24tc:admin#.

  • Page 742

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 738 81-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 show severity level c...

  • Page 745

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 741 apply the setting to the system. If increment is specified, the existing configuration will not be cleared before applying to the new configuration. If it is not specified, the existing configuration will be cl...

  • Page 746

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 742 parameters cfg_totftp – specify that the configuration file will be uploaded to the tftp server. - the ip address of the tftp server. - the ipv6 address of the tftp server. (ei mode only) dest_file - used to id...

  • Page 747

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 743 long. Attack_log_totftp – specify that the attack log will be uploaded to the tftp server. - the ip address of the tftp server. - the ipv6 address of the tftp server. (ei mode only) dest_file - used to identify...

  • Page 748

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 744 to upload configuration from tftp: dgs-3120-24tc:admin#upload cfg_totftp 10.90.90.99 dest_file 111.Cfg unit 1 src_file c:/config.Cfg command: upload cfg_totftp 10.90.90.99 dest_file 111.Cfg unit 1 src_file c:/c...

  • Page 750

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 746 dgs-3120-24tc: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. Dgs-3120-24tc:admin# 84-2 config sntp ip...

  • Page 751

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 747 parameters none. Restrictions none. Example to show sntp: dgs-3120-24tc:admin#show sntp command: show sntp current time source : system clock sntp status : disabled ipv4 primary sntp server : none ipv4 secondar...

  • Page 752

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 748 dgs-3120-24tc:admin# enable sntp command: enable sntp success. Dgs-3120-24tc:admin# 84-5 disable sntp description this command is used to turn off sntp support. Format disable sntp parameters none. Restrictions...

  • Page 753

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 749 restrictions only administrator and operator-level users can issue this command. Example to configure time: dgs-3120-24tc:admin# config time 30jun2003 16:30:30 command: config time 30jun2003 16:30:30 success. D...

  • Page 755

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 751 - enter the starting time of daylight saving time here. This value must be in the hh:mm format. - enter the starting time of daylight saving time here. This value must be in the hh:mm format. Offset - (optional...

  • Page 756

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 752 dgs-3120-24tc:admin#show time command: show time current time source : system clock boot time : 9 may 2011 06:20:55 current time : 9 may 2011 07:46:10 time zone : gmt +00:00 daylight saving time : disabled offs...

  • Page 758

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 754 dgs-3120-24tc:admin# traceroute 10.48.74.121 probe 3 command: traceroute 10.48.74.121 probe 3 1 2 3 trace complete. Dgs-3120-24tc:admin# 85-2 traceroute6 (ei mode only) description this command is used to trace...

  • Page 759

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 755 dgs-3120-24tc:admin# traceroute6 3000::1 probe 3 command: traceroute6 3000::1 probe 3 1 2 3 trace complete. Dgs-3120-24tc:admin# trace the ipv6 routed path between the switch and 1210:100::11 with port 40000: d...

  • Page 761

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 757 the switch that will trigger the storm traffic control measure. The threshold is expressed as pps (packets per second) and must be an unsigned integer. - enter the upper threshold value here. This value must be...

  • Page 762

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 758 parameters none - no trap state is specified for storm control. Storm_occurred - occurred mode is enabled and cleared mode is disabled. Storm_cleared - occurred mode is disabled and cleared mode is enabled. Bot...

  • Page 763

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 759 dgs-3120-24tc:admin#show traffic control 1:1-1:10 command: show traffic control 1:1-1:10 traffic control trap : [both] traffic control log : enabled traffic control auto recover time: 0 minutes port broadcast/ ...

  • Page 764

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 760 disable - neither occurred nor cleared is logged. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure the traffic log state on the switch: dgs-3120-...

  • Page 765

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 761.

  • Page 767

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 763 format show traffic_segmentation {} parameters - (optional) specify a range of ports to be displayed. If no parameter is specified, the system will display all current traffic segmentation tables. Restrictions ...

  • Page 769

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 765 dgs-3120-24tc:admin# create trusted_host 10.48.74.121 command: create trusted_host 10.48.74.121 success. Dgs-3120-24tc:admin# 88-2 delete trusted_host description this command is used to delete a trusted host e...

  • Page 771

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 767 restrictions none. Example to display trusted host: dgs-3120-24tc:admin#show trusted_host command: show trusted_host management stations ip address access interface ---------------------------------------------...

  • Page 773

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 769 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the udp helper function: dgs-3120-24tc:admin#disable udp_helper command: disable ...

  • Page 774

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 770 dgs-3120-24tc:admin#config udp_helper udp_port add 55 command: config udp_helper udp_port add 55 success. Dgs-3120-24tc:admin# 89-4 config udp_helper udp_port delete description this command is used to delete a...

  • Page 775

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 771 parameters - enter the name of the ip interface that receives udp broadcast. - enter the udp helper server ip address. Restrictions only administrator, operator and power-user level users can issue this command...

  • Page 778

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 774 example to add a floating static route and a static multipath route: dgs-3120-24tc:admin# create iproute default 10.1.1.254 primary command: create iproute default 10.1.1.254 primary success. Dgs-3120-24tc:admi...

  • Page 779

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 775 parameters - (optional) specify the destination network address of the route to be displayed. (ei mode only) - (optional) specify the destination ip address of the route to be displayed. The longest prefix matc...

  • Page 780

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 776 restrictions none. Example to display network address forwarding table: dgs-3120-24tc:admin# show ipfdb command: show ipfdb interface ip address port learned ------------ --------------- ------ --------- system...

  • Page 781

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 777 dgs-3120-24tc:admin#show route preference command: show route preference route preference settings protocol preference ---------- ---------- static 60 default 1 local 0 dgs-3120-24tc:admin#.

  • Page 783

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 779 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable the vlan trunk: dgs-3120-24tc:admin# disable vlan_trunk command: disable vlan_trunk success. ...

  • Page 784

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 780 parameters - enter a list of ports used for the configuration here. All - specify that all the ports will be used for this configuration. State - specify that the port is a vlan trunk port or not. Enable - spec...

  • Page 785

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 781 dgs-3120-24pc:admin#config vlan_trunk ports 1:7 state disable command: config vlan_trunk ports 1:7 state disable success. Dgs-3120-24pc:admin# port 6, 7 have the same vlan configuration before enabling vlan tru...

  • Page 786

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 782 dgs-3120-24tc:admin#show vlan_trunk command: show vlan_trunk vlan trunk global setting ---------------------------- vlan trunk status : enabled vlan trunk member ports : 1:1-1:5 dgs-3120-24tc:admin# the followi...

  • Page 788

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 784 dgs-3120-24tc:admin# enable voice_vlan v2 command: enable voice_vlan v2 success. Dgs-3120-24tc:admin# 92-2 disable voice_vlan description the command is used to disable the voice vlan function on a switch. When...

  • Page 789

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 785 restrictions only administrator, operator and power-user level users can issue this command. Example to set the priority of the voice vlan to be six: dgs-3120-24tc:admin# config voice_vlan priority 6 command: c...

  • Page 790

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 786 restrictions only administrator, operator and power-user level users can issue this command. Example to add a user-defined oui for a voice device: dgs-3120-24tc:admin# config voice_vlan oui add 00-0a-ob-00-00-0...

  • Page 791

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 787 example to configure voice vlan ports 4-6 to enable: dgs-3120-24tc:admin#config voice_vlan ports 1:4-1:6 state enable command: config voice_vlan ports 1:4-1:6 state enable success. Dgs-3120-24tc:admin# to set t...

  • Page 792

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 788 dgs-3120-24tc:admin# config voice_vlan aging_time 60 command: config voice_vlan aging_time 60 success. Dgs-3120-24tc:admin# 92-7 config voice_vlan log state description this command is used to configure the log...

  • Page 793

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 789 restrictions none. Example to display the voice vlan global information when voice vlan is enabled: dgs-3120-24tc:admin#show voice_vlan command: show voice_vlan voice vlan state : enabled vlan id : 2 vlan name ...

  • Page 794

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 790 restrictions none. Example to display the oui information of voice vlan: dgs-3120-24tc:admin#show voice_vlan oui command: show voice_vlan oui oui address mask description ------------------ ----------------- --...

  • Page 795

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 791 dgs-3120-24tc:admin#show voice_vlan ports 1:1-1:5 command: show voice_vlan ports 1:1-1:5 ports status mode ----- --------- -------------- 1:1 disabled auto untagged 1:2 disabled auto untagged 1:3 disabled auto ...

  • Page 796

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 792 dgs-3120-24tc:admin# show voice_vlan voice_device port 1:1-1:5 command: show voice_vlan voice_device ports 1:1-1:5 ports voice device start time last active time ----- ----------------- ---------------- -------...

  • Page 797

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 793 dgs-3120-24tc:admin# show voice_vlan lldp_med voice_device command: show voice_vlan lldp_med voice_device index : 1 local port : 1:1 chassis id subtype : mac address chassis id : 00-e0-bb-00-00-11 port id subty...

  • Page 799

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 795 dgs-3120-24tc:admin# enable wac command: enable wac success. Dgs-3120-24tc:admin# 93-2 disable wac description this command is used to disable wac function; all authentication entries related to wac will be del...

  • Page 800

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 796 all - configure all the switch ports’ wac state. State - (optional) to specify the port state of wac enable - specify that the port state of wac will be enabled. Disable - specify that the port state of wac wil...

  • Page 801

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 797 restrictions only administrator, operator and power-user level users can issue this command. Example to configure wac auth method: dgs-3120-24tc:admin# config wac method radius command: config wac method radius...

  • Page 802

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 798 93-6 config wac clear_default_redirpath description this command is used to clear the wac default redirect path. When the string is cleared, the client will not be redirected to another url after successful aut...

  • Page 803

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 799 example set virtual ip address: dgs-3120-24tc:admin# config wac virtual_ip 1.1.1.1 command: config wac virtual_ip 1.1.1.1 success. Dgs-3120-24tc:admin# 93-8 config wac switch_http_port description this command ...

  • Page 804

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 800 93-9 create wac user description this command is used to create account for web-base access control. This user account is independent with login user account. If vlan is not specified, the user will not get a v...

  • Page 805

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 801 parameters user - to specify the user name to be deleted - enter the username used here. This name can be up to 15 characters long. All_users - all user accounts in local db will be deleted. Restrictions only a...

  • Page 806

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 802 dgs-3120-24tc:admin# config wac user jim vlanid 3 command: config wac user jim vlanid 3 enter a old password: *** enter a case-sensitive new password: *** enter the new password again for confirmation: *** succ...

  • Page 808

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 804 format show wac parameters none. Restrictions none. Example show global configuration about wac: dgs-3120-24tc:admin#show wac command: show wac web-based access control -------------------------------- state : ...

  • Page 809

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 805 example to show wac port state and other parameters: dgs-3120-24tc:admin# show wac ports 1-3 command: show wac ports 1-3 port state aging time idle time block time (min) (min) (sec) ------- ------------- ------...

  • Page 810

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 806 format show wac auth_state ports {} parameters ports - specify a range of member ports to show the status. - (optional) enter a list of ports to display here. Restrictions none. Example supposed that port 1 is ...

  • Page 811

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 807 dgs-3120-24tc:admin#show wac auth_state ports 1:1-1:3 command: show wac auth_state ports 1:1-1:3 p:port-based pri: priority port mac address original state vid pri aging time/ idle rx vid block time time ------...

  • Page 812

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 808 password title : password logout window title : logout from the network notification : copyright @ 2011 d-link all rights reserved dgs-3120-24tc:admin# 93-19 clear wac auth_state description this command is use...

  • Page 814

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 810 94-2 disable wred description this command is used to disable the wred global state. Format disable wred parameters none. Restrictions only administrator, operator and power-user level users can issue this comm...

  • Page 815

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 811 dgs-3120-24tc:admin#create wred profile 2 profile_name profilename command: create wred profile 2 profile_name profilename success. Dgs-3120-24tc:admin# 94-4 config wred profile description this command is used...

  • Page 816

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 812 dgs-3120-24tc:admin#config wred profile profile_id 2 min_threshold 30 max_threshold 50 max_drop_rate 10 command: config wred profile profile_id 2 min_threshold 30 max_threshold 50 max_drop_rate 10 success. Dgs-...

  • Page 817

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 813 dgs-3120-24tc:admin#config wred ports 1:1 cos 2 profile profile_id 2 command: config wred ports 1:1 cos 2 profile profile_id 2 success. Dgs-3120-24tc:admin# 94-6 delete wred profile description this command is ...

  • Page 818

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 814 - (optional) enter a range of ports. Restrictions none. Example to display wred of port 1:1 and 1:2 settings: dgs-3120-24tc:admin#show wred ports 1:1-1:2 command: show wred ports 1:1-1:2 global wred : disabled ...

  • Page 819

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 815 parameters default - (optional) specify the default profile to be displayed. Profile_id - (optional) specify the profile id to be displayed. - enter the profile id between 2 and 128. - (optional) specify the pr...

  • Page 820: Appendix A

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 816 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 addr...

  • Page 821

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 817 table 2 ethernet frame format when the switch receives the frame, it will check the “source address” in the ethernet frame’s header. If the address is not in its forwarding table, the switch will learn pc a’s m...

  • Page 822

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 818 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...

  • Page 823

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 819 attack). The principle of arp spoofing is to send the fake, or spoofed arp messages to an ethernet network. Generally, the aim is to associate the attacker's or random mac address with the ip address of another...

  • Page 824

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 820 can be seen in figure 5 all traffic will be then sniffed by the hacker but the users will not discover. Prevent arp spoofing via packet content acl d-link managed switches can effectively mitigate common dos at...

  • Page 825

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 821 byte 2 6 10 14 18 22 26 30 34 38 42 46 50 54 58 62 offset chunk offset chunk16 offset chunk17 offset chunk18 offset chunk19 offset chunk20 offset chunk21 offset chunk22 offset chunk23 offset chunk24 offset chun...

  • Page 826

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 822 step 4: config access_profile profile_id 2 add access_id 1 packet_content offset_chunk_1 0x806 offset_chunk_2 0xa5a offset_chunk_3 0x5a5a0000 configure access profile 2. The rest of the arp packets whose sender...

  • Page 827: Appendix B

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 823 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...

  • Page 828

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 824 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 n...

  • Page 829: Appendix C

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 825 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 severi...

  • Page 830

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 826 unsuccessful! (username: , ip: ) " are xor shown in log string, which means if user login by console, there will no ip information for logging. Configuration successfully downloaded configuration successfully d...

  • Page 831

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 827 firmware successfully uploaded firmware successfully uploaded by console (username: , ip: ) informational "by console" and "ip: " are xor shown in log string, which means if user login by console, there will no...

  • Page 832

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 828 ) successful login through web(ssl) successful login through web(ssl) (username: , ip: ) informational login failed through web(ssl) login failed through web(ssl) (username: , ip: ) warning logout through web(s...

  • Page 833

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 829 1. The soure ip is same as switch's interface ip but the source mac is different 2. Source ip is the same as the switch's ip in arp packet 3. Self ip packet detected , mac: , port: ssh successful login through ...

  • Page 834

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 830 successful login through web(ssl) authenticated by aaa none method successful login through web(ssl) from authenticated by aaa none method (username: ) informational successful login through telnet authenticate...

  • Page 835

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 831 successful enable admin through console authenticated by aaa local_enable method successful enable admin through console authenticated by aaa local_enable method (username: ) informational enable admin failed t...

  • Page 836

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 832 authenticated by aaa server by aaa server (username: ) enable admin failed through console authenticated by aaa server enable admin failed through console authenticated by aaa server (username: ) warning enable...

  • Page 837

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 833 radius vid assigned from radius server after radius client is authenticated by radius server successfully .This vid will be assigned to the port and this port will be the vlan untagged port member. Radius serve...

  • Page 839

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 835 which means if user login by console, there will no ip information for logging. Safeguard engine safeguard engine is in normal mode [unit ] safeguard engine enters normal mode informational safeguard engine is ...

  • Page 840

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 836 mac:) can not receive remote mep's ccm packet cfm remote down. Md level:, vlan:, local(port , direction:) warning remote mep's mac reports an error status cfm remote mac error. Md level:, vlan:, local(port , di...

  • Page 841

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 837 sd card management execute configuration error. Error when execute configuration line: at time . Warning schedule backup fail. Backup : at time failure. Warning execute configuration success. Execute configurat...

  • Page 842: Appendix D

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 838 appendix d trap log entries this table lists the trap logs found on the switch. Log entry description oid swl2macnotification this trap indicate the mac addresses variation in the address table . Binding 1: swl...

  • Page 843

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 839 uccess control host is successfully logged in. Binding 1. Swmacbasedauthinfomacindex 2. Swmacbasedauthinfoportindex 3. Swmacbasedauthvid swmacbasedaccesscontrolloggedfa il the trap is sent when a mac-based acce...

  • Page 844

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 840 entity with the oid of the mep that has detected the fault. Binding 1. Dot1agcfmmephighestprdefect swcfmextaisoccurred a notification is generated when local mep enters ais status. Binding 1. Dot1agcfmmdindex 2...

  • Page 845

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 841 2. Swpowerid 3. Swpowerstatus swpowerrecover power recover notification. Binding 1. Swpowerunitindex 2. Swpowerid 3. Swpowerstatus 1.3.6.1.4.1.171.12.11.2.2.2.0.3 swunitinsert unit hot insert notification. Bind...

  • Page 846

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 842 detected by the local entity, while a remote event is detected by the reception of an ethernet oam event notification oampdu that indicates a non-threshold crossing event. Binding 1. Dot3oameventlogtimestamp 2....

  • Page 847

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 843 of ifoperstatus. Binding 1: ifindex 2: ifadminstatus 3: ifoperstatus linkup a linkup trap signifies that the snmp entity, acting in an agent role, has detected that the ifoperstatus object for one of its commun...

  • Page 848

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 844 traps. Binding 1: alarmindex 2: alarmvariable 3: alarmsampletype 4: alarmvalue 5: alarmfallingthreshold lldp this trap is initialed when a lldp entry is added to or deleted from remote db. 1.3.6.1.2.1.1.3.0 1.3...

  • Page 849: Appendix E

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 845 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, web-based access control (...

  • Page 850

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 846 the parameters of the vendor-specific attributes are: vendor-specific attribute description value usage vendor-id defines the vendor. 171 (dlink) required vendor-type defines the attribute. 4 required attribute...

  • Page 851

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 847 tag field value string field format note 0x01 vlan name (ascii) a tag field of greater than 0x1f is interpreted as the first octet of the following field. 0x02 vlan id (ascii) others (0x00, 0x03 ~ 0x1f, >0x1f) ...

  • Page 852

    Xstack ® dgs-3120 series layer 2 managed stackable gigabit switch cli reference guide 848 if the user has configured the acl attribute of the radius server (for example, acl profile: create access_profile profile_id 6 profile_name 1 ethernet; acl rule: config access_profile profile_id 6 add access_i...