D-Link xStack Reference manual

Manual is about: DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch

Summary of xStack

  • Page 2: Table Of Contents

    Xstack ® dgs-3120 series layer 3 managed 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 3 managed gigabit switch cli reference guide ii chapter 34 ethernet ring protection switching (erps) command list (ri and ei mode only) ........ 360 chapter 35 fdb command list ...............................................................................................

  • Page 4

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide iii chapter 70 ospf version 3 command list (ri mode only) .............................................................. 694 chapter 71 password recovery command list ............................................................

  • Page 5

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide iv chapter 106 tftp client command list ............................................................................................... 989 chapter 107 time and sntp command list ................................................

  • Page 6: Chapter 1

    Xstack ® dgs-3120 series layer 3 managed 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 manage the sw...

  • Page 7

    Xstack ® dgs-3120 series layer 3 managed 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 mac address...

  • Page 8

    Xstack ® dgs-3120 series layer 3 managed 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 drive clear cl...

  • Page 9

    Xstack ® dgs-3120 series layer 3 managed 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 parameter , the cli...

  • Page 10

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 5 authen_enable authen_login authen_policy authentication authorization autoconfig backup bandwidth_control boot_file bpdu_protection cfm command command_history community_encryption config cpu cpu_filter current_config ddm ...

  • Page 11

    Xstack ® dgs-3120 series layer 3 managed 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 entries for w...

  • Page 12

    Xstack ® dgs-3120 series layer 3 managed 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 pages. Esc esc...

  • Page 14

    Xstack ® dgs-3120 series layer 3 managed 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 entries: 1...

  • Page 16

    Xstack ® dgs-3120 series layer 3 managed 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 clipaging ...

  • Page 17

    Xstack ® dgs-3120 series layer 3 managed 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 description this ...

  • Page 18

    Xstack ® dgs-3120 series layer 3 managed 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 3.00.522 copyright(c) 2013 d-link corpora...

  • Page 19

    Xstack ® dgs-3120 series layer 3 managed 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 command_history...

  • Page 20

    Xstack ® dgs-3120 series layer 3 managed 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:admin# 2-11 ...

  • Page 21

    Xstack ® dgs-3120 series layer 3 managed 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 entry. Rest...

  • Page 22

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 17 parameters none. 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 24

    Xstack ® dgs-3120 series layer 3 managed 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 description the ...

  • Page 26

    Xstack ® dgs-3120 series layer 3 managed 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 display the curr...

  • Page 27

    Xstack ® dgs-3120 series layer 3 managed 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 bandwidth : 100000...

  • Page 29

    Xstack ® dgs-3120 series layer 3 managed 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 advertisement comm...

  • Page 30

    Xstack ® dgs-3120 series layer 3 managed 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 name here. ...

  • Page 31

    Xstack ® dgs-3120 series layer 3 managed 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 vlan based ...

  • Page 32

    Xstack ® dgs-3120 series layer 3 managed 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 vlanid {[add ...

  • Page 33

    Xstack ® dgs-3120 series layer 3 managed 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 switch num...

  • Page 34

    Xstack ® dgs-3120 series layer 3 managed 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 advertisement : en...

  • Page 35

    Xstack ® dgs-3120 series layer 3 managed 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 vlanid descrip...

  • Page 36

    Xstack ® dgs-3120 series layer 3 managed 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 number). If...

  • Page 37

    Xstack ® dgs-3120 series layer 3 managed 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 configures a po...

  • Page 38

    Xstack ® dgs-3120 series layer 3 managed 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_assign success...

  • Page 40

    Xstack ® dgs-3120 series layer 3 managed 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 milliseconds nni bpdu...

  • Page 41

    Xstack ® dgs-3120 series layer 3 managed 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 command: di...

  • Page 42

    Xstack ® dgs-3120 series layer 3 managed 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 to show t...

  • Page 44

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 39 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 success. ...

  • Page 45

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 40 format create 802.1x user parameters - enter the username to be added. This value can be up to 15 characters long. Restrictions only administrator, operator and power-user level users can issue this command. Example to cr...

  • Page 46

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 41 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 user paramete...

  • Page 47

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 42 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 this command....

  • Page 48

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 43 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 forwardin...

  • Page 50

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 45 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 quietperiod : 60 ...

  • Page 51

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 46 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-12 config...

  • Page 53

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 48 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-24tc:admin#...

  • Page 55

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 50 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 ports all comm...

  • Page 56

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 51 format delete 802.1x guest_vlan parameters - 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 this command. Example to...

  • Page 57

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 52 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 show 802....

  • Page 59

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 54 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 delete a ra...

  • Page 60

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 55 - 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 to transmi...

  • Page 61

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 56 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-port : 1812 ...

  • Page 62

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 57 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 eapolreqframestx...

  • Page 63

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 58 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 timeoutswh...

  • Page 64

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 59 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 sessionauthen...

  • Page 65

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

  • Page 66

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

  • Page 67: Chapter 5

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 62 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_policy show ...

  • Page 69

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 64 dgs-3120-24tc:admin#enable authen_policy_encryption command: enable authen_policy_encryption success. Dgs-3120-24tc:admin# 5-2 disable authen_policy_encryption description this command is used to disable the authenticatio...

  • Page 70

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 65 parameters none. Restrictions only administrator-level users can issue this command. Example to enable the password encryption: dgs-3120-24tc:admin#enable password encryption command: enable password encryption success. D...

  • Page 71

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 66 5-5 enable authen_policy description this command is used to enable system access authentication policy. Enable system access authentication policy. When authentication is enabled, the device will adopt the login authenti...

  • Page 72

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 67 restrictions only administrator-level users can issue this command. Example to disable system access authentication policy: dgs-3120-24tc:admin# disable authen_policy command: disable authen_policy success. Dgs-3120-24tc:...

  • Page 73

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 68 format create authen_login method_list_name parameters - the user-defined method list name. This value can be up to 15 characters long. Restrictions only administrator-level users can issue this command. Example to create...

  • Page 74

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 69 tacacs - (optional) authentication by the built-in server group “tacacs”. Xtacacs - (optional) authentication by the built-in server group “xtacacs”. Tacacs+ - (optional) authentication by the built-in server group “tacac...

  • Page 76

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 71 restrictions only administrator-level users can issue this command. Example to create a user-defined method list for promoting user's privilege to admin level: dgs-3120-24tc:admin# create authen_enable method_list_name en...

  • Page 77

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 72 example to configure a user-defined method list for promoting user's privilege to admin level: dgs-3120-24tc:admin# config authen_enable method_list_name enable_list_1 method tacacs+ tacacs local_enable command: config au...

  • Page 79

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 74 restrictions only administrator-level users can issue this command. Example to configure the login method list for telnet: dgs-3120-24tc:admin# config authen application telnet login method_list_name login_list_1 command:...

  • Page 80

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 75 5-18 create authen server_group description this command is used to create a user-defined authentication server group. The maximum supported number of server groups including built-in server groups is 8. Each group consis...

  • Page 81

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 76 add - add a server host to a server group. Delete - remove a server host from a server group. Server_host - server host’s ip address. - enter the server host ip address here. Protocol - specify the authentication protocol...

  • Page 82

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 77 dgs-3120-24tc:admin# delete authen server_group mix_1 command: delete authen server_group mix_1 success. Dgs-3120-24tc:admin# 5-21 show authen server_group description this command is used to display the authentication se...

  • Page 86

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 81 example to display all authentication server hosts: dgs-3120-24tc:admin#show authen server_host command: show authen server_host ip address protocol port timeout retransmit key -------------------- -------- ----- ------- ...

  • Page 87

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 82 format config authen parameter attempt parameters - the amount of attempts for user's trying to login or promote the privilege on console or telnet or ssh. This value must be between 1 and 255. Default value is 3. Restric...

  • Page 88

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 83 dgs-3120-24tc:admin# show authen parameter command: show authen parameter response timeout : 60 seconds user attempts : 9 dgs-3120-24tc:admin# 5-29 enable admin description this command is used to enter the administrator ...

  • Page 89

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 84 system will prompt the user to input the password interactively. For this case, the user can only input the plain text password. If the password is present in the command, the user can select to input the password in the ...

  • Page 90

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 85 parameters - specify the user-defined server group name. Restrictions only administrator level can issue this command. Example to create a user-defined aaa server group called “mix_1”: dgs-3120-24tc:admin#create aaa serve...

  • Page 91

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 86 example to add an aaa server host with an ip address of 10.1.1.222 to server group “mix_1”, specifying the tacacs+ protocol: dgs-3120-24tc:admin# config aaa server_group group_name mix_1 add server_host 10.1.1.222 protoco...

  • Page 92

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 87 parameters - (optional) specify the built-in or user-defined server group name. Restrictions only administrator level can issue this command. Example to display all aaa server groups: dgs-3120-24tc:admin#show aaa server_g...

  • Page 93

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 88 example to a user-defined accounting method list called “shell_acct”: dgs-3120-24tc:admin#create accounting method_list_name shell_acct command: create accounting method_list_name shell_acct success. Dgs-3120-24tc:admin# ...

  • Page 94

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 89 5-37 delete accounting method_list_name description this command is used to delete a user-defined method list of accounting methods. Format delete accounting method_list_name parameters - specify the built-in or user-defi...

  • Page 95

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 90 example to display the user-defined accounting method list called “shell_acct”: dgs-3120-24tc:admin#show accounting method_list_name shell_acct command: show accounting method_list_name shell_acct method list name priorit...

  • Page 99

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 94 dgs-3120-24tc:admin#show aaa server_host command: show aaa server_host ip address protocl port acct time retry key port out -------------------- ------- ----- ----- ---- ----- --------------------------- 10.1.1.222 radius...

  • Page 100

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

  • Page 101

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 96 - enter the value between 1 and 65535. The default value is 49. Timeout - (optional) specify the time in second to wait for the server to reply. - enter the value between 1 and 255. The default value is 5. Retransmit - (o...

  • Page 102

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 97 dgs-3120-24tc:admin#config xtacacs server_host 10.1.1.224 retransmit 5 command: config xtacacs server_host 10.1.1.224 retransmit 5 key is meaningless for tacacs and xtacacs. Success. Dgs-3120-24tc:admin# 5-48 create tacac...

  • Page 104

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 99 restrictions only administrator level can issue this command. Example to enable aaa server password encryption: dgs-3120-24tc:admin#enable aaa_server_password_encryption command: enable aaa_server_password_encryption succ...

  • Page 105

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 100 format show aaa parameters none. Restrictions none. Example to display aaa global configuration: dgs-3120-24tc:admin#show aaa command: show aaa authentication policy: enabled accounting network service state: aaa method ...

  • Page 106

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 101 radius server. By default, the service is disabled. System - accounting service for system events: reset, reboot. By default, the service is disabled. State - specify the state of the specified service. Enable - specify ...

  • Page 107

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 102 dgs-3120-24tc:admin# show accounting service command: show accounting service accounting service ------------------- network : enabled shell : enabled system : enabled dgs-3120-24tc:admin#.

  • Page 110

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 105 dscp - (optional) specify the dscp mask. Icmp - (optional) specify that the rule applies to icmp traffic. Type - (optional) specify the type of icmp traffic. Code - (optional) specify the code of icmp traffic igmp - (opt...

  • Page 111

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 106 icmp - (optional) specify a mask for icmp filtering. Type - (optional) specify the inclusion of the icmp type field in the mask. Code - (optional) specify the inclusion of the icmp code field in the mask. Restrictions on...

  • Page 112

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 107 - enter the profile name here. This value must be between 1 and 32. All - specify that the whole access list profile will be deleted. Restrictions only administrator, operator and power-user level users can issue this co...

  • Page 113

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 108 parameters profile_id - specify the index of the access list profile. - enter the profile id value here. This value must be between 1 and 6. A lower value denotes a higher priority. Profile_name - specify the name of the...

  • Page 114

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 109 and 255. Igmp - (optional) specify to configure the igmp parameters. Type - (optional) specify that the rule will apply to the igmp type traffic value. - enter the igmp type traffic value here. This value must be between...

  • Page 115

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 110 class - (optional) specify the value of the ipv6 class. - enter the ipv6 class value here. This value must be between 0 and 255. Flowlabel - (optional) specify the value of the ipv6 flow label. - enter the ipv6 flow labe...

  • Page 116

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 111 replace_tos_precedence_with - (optional) specify that the ip precedence of the outgoing packet is changed with the new value. If used without an action priority, the packet is sent to the default tc. - enter the replace ...

  • Page 117

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 112 - enter the profile name used here. This name can be up to 32 characters long. Restrictions none. Example to display the current access list table: dgs-3120-24tc:admin#show access_profile command: show access_profile acc...

  • Page 118

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 113 match on vlan id : 1 dscp : 0 action: permit ============================================================================== ============================================================================== profile id: 3 pro...

  • Page 119

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 114 dgs-3120-24tc:admin# the following example displays an access profile that supports an entry mask for each rule: dgs-3120-24tc:admin# show access_profile profile_id 2 command: show access_profile profile_id 2 access prof...

  • Page 120

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 115 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 offset_chu...

  • Page 121

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 116 the replace dscp action can be performed on packets that conform (green) and packets that do not conform (yellow and red). If drop yellow/red is selected, the action to replace the dscp will not take effect. Format confi...

  • Page 122

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 117 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 color-blind...

  • Page 123

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 118 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 to the “yel...

  • Page 124

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 119 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 name of the ...

  • Page 125

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 120 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 start_time ...

  • Page 126

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 121 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 weekdays : sun,t...

  • Page 127

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

  • Page 129

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 124 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 source ipv6 ...

  • Page 130

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 125 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 to 'all'....

  • Page 131

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 126 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 [profile_id...

  • Page 133

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

  • Page 134

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 129 - 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 destination address ...

  • Page 135

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 130 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 access rule ar...

  • Page 136

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 131 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 - (optional) ...

  • Page 137

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

  • Page 138

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

  • Page 139

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 134 dgs-3120-24tc:admin# show current_config egress_access_profile command: show current_config egress_access_profile #------------------------------------------------------------------------------- # egress acl create egres...

  • Page 140

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 135 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. - enter the rat...

  • Page 141

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 136 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 committed informa...

  • Page 142

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 137 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 1 tr_tcm ...

  • Page 143

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 138 dgs-3120-24tc:admin#show egress_flow_meter command: show egress_flow_meter flow meter information ------------------------------------------------------------------------------ profile id:1 aceess id:1 mode : trtcm / col...

  • Page 144

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 139 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 list to a p...

  • Page 145

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 140 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 16 charact...

  • Page 146

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 141 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:admin#.

  • Page 149

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 144 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 used to set ...

  • Page 150

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 145 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:admin# 8-6 s...

  • Page 151

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 146 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-ff local/...

  • Page 153

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 148 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-00-00-11-1...

  • Page 154: Chapter 10

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 149 chapter 10 asymmetric vlan command list enable asymmetric_vlan disable asymmetric_vlan show asymmetric_vlan 10-1 enable asymmetric_vlan description this command is used to enable the asymmetric vlan function on the switc...

  • Page 155

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 150 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 asymmetric_...

  • Page 156: Chapter 11

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 151 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 on initiali...

  • Page 157

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 152 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: disable autoconf...

  • Page 159

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 154 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 password for t...

  • Page 160

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 155 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 - select to s...

  • Page 161

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 156 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 access level -...

  • Page 162

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 157 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 information. Dgs-3...

  • Page 163

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 158 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 - (optional) t...

  • Page 164

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 159 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 management softwar...

  • Page 165

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 160 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-10 reboot ...

  • Page 166

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 161 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 the nvram...

  • Page 167

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 162 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 apply command....

  • Page 168

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 163 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 the arp p...

  • Page 169

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

  • Page 170

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 165 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 description this comman...

  • Page 171

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 166 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. Restrictions only...

  • Page 172

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

  • Page 174

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 169 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 description this command is used to displa...

  • Page 176

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

  • Page 178

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 173 dgs-3120-24tc:admin#enable bpdu_protection command: enable bpdu_protection success. Dgs-3120-24tc:admin# 13-5 disable bpdu_protection description this command is used to disable bpdu protection function globally for the ...

  • Page 179

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

  • Page 181

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 176 • 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 no link pa...

  • Page 182

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 177 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 183: Chapter 15

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 178 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. Note: when ...

  • Page 184

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 179 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: disable co...

  • Page 185

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 180

  • Page 187

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 182 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 (ri and ei mode only) desc...

  • Page 188

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 183 parameters vlan - assigned a vlan as guest vlan. The vlan must be an existed static vlan. - enter the vlan name here. This name can be up to 32 characters long. Vlanid - assigned a vlan as guest vlan. The vlan must be an...

  • Page 189

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 184 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 if the cli...

  • Page 190

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 185 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 specifying...

  • Page 191

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 186 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 ports descrip...

  • Page 192

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 187 dgs-3120-24tc:admin#show authentication ports command: show authentication ports port methods auth mode authentication vlan(s) ---- -------------- ----------- ---------------------- 1:1 none host-based 1:2 none host-base...

  • Page 193

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 188 dgs-3120-24tc:admin# enable authorization attributes command: enable authorization attributes success. Dgs-3120-24tc:admin# 16-9 disable authorization attributes description this command is used to disable authorization....

  • Page 194

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 189 restrictions none. Example this example displays authorization status: dgs-3120-24tc:admin#show authorization command: show authorization authorization for attributes: enabled dgs-3120-24tc:admin# 16-11 config authentica...

  • Page 195

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 190 format show authentication parameters none. Restrictions none. Example to show authentication global configuration: dgs-3120-24tc:admin#show authentication command: show authentication authentication server failover: blo...

  • Page 196

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 191 dgs-3120-24tc:admin#show authentication mac_format command: show authentication mac_format case : uppercase delimiter : hyphen delimiter number : 5 dgs-3120-24tc:admin#.

  • Page 198

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 193 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 the comman...

  • Page 199

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 194 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 loopdetect ena...

  • Page 200

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 195 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 save descri...

  • Page 201

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 196 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:/config.C...

  • Page 203

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 198.

  • Page 206

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 201 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 between 1 an...

  • Page 207

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 202 - 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 characters ...

  • Page 208

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 203 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 - (optional) ...

  • Page 210

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 205 • 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 mep, only t...

  • Page 211

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 206 - 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-alarmed. Th...

  • Page 212

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 207 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 success. Dgs...

  • Page 213

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 208 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 maintenance dom...

  • Page 214

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 209 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-3120-24tc...

  • Page 215

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 210 19-12 config cfm ports description this command is used to enable or disable the cfm function on a per-port basis. By default, the cfm function is disabled on all ports. If the cfm is disabled on a port: 1. Mips are neve...

  • Page 216

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 211 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-24tc:admin#...

  • Page 217

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 212 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 218

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 213 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) alarm reset t...

  • Page 220

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 215 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. - enter th...

  • Page 221

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 216 - 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 must be betw...

  • Page 222

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 217 - 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 domain name. -...

  • Page 223

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 218 - 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 - specify the ma...

  • Page 224

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 219 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 ingress mac add...

  • Page 225

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 220 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 command i...

  • Page 228

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 223 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 : blocked in...

  • Page 229

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 224 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 tx statisti...

  • Page 231

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 226 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:admin#conf...

  • Page 233

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 228 - 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 be set to...

  • Page 234

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 229 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 lck frame. -...

  • Page 235

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 230 - 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 and 8191. Re...

  • Page 238

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 233 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 of the fr...

  • Page 239

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 234 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 ethernet vlan s...

  • Page 241

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 236 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) specify the va...

  • Page 242

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 237 - 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 frame bet...

  • Page 243

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 238 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 100. Restr...

  • Page 244

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 239 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 operator-level...

  • Page 245

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 240 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 : 3 =======...

  • Page 246

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 241 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-22-b0-61-5...

  • Page 249

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 244 dgs-3120-24tc:admin# debug error_log dump command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 10000ms # time : 2009/03/11 13:00:...

  • Page 250

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 245 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 state command: debug show error_reboot state er...

  • Page 251

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 246 example to show the debug buffer’s state: dgs-3120-24tc:admin# debug buffer utilization command: debug buffer utilization allocate from : system memory pool total size : 2 mb utilization rate : 30% dgs-3120-24tc:admin# t...

  • Page 252

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 247 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 - direct the...

  • Page 253

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 248 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 debug. Form...

  • Page 254

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 249 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 success. ...

  • Page 255

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 250 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:0 tx:0 2 ...

  • Page 256

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 251 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 00 00 00 ...

  • Page 257

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 252 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# 22-11 de...

  • Page 258

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 253 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 dhcpv6_clien...

  • Page 260

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 255 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 disable descri...

  • Page 261

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 256 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 information to outpu...

  • Page 263

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 258 restrictions only administrator level can issue this command. Example to print out all debug impb messages: dgs-3120-24tc:admin# debug address_binding all state enable command: debug address_binding all state enable succ...

  • Page 264

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 259 parameters none. Restrictions only administrator level can issue this command. Example to disable ripng debug globally: dgs-3120-24tc:admin#debug ripng state disable command: debug ripng state disable success. Dgs-3120-2...

  • Page 266

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 261 restrictions only administrator level can issue this command. 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 a...

  • Page 268

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 263 dgs-3120-24tc:admin#debug ospf neighbor_state_change state enable command: debug ospf neighbor_state_change state enable success. Dgs-3120-24tc:admin# to enable ospf interface state change debug: dgs-3120-24tc:admin#debu...

  • Page 270

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 265 example to enable the ospf debug log: dgs-3120-24tc:admin#debug ospf log state enable command: debug ospf log state enable success. Dgs-3120-24tc:admin# 22-30 debug ospf show counter (ri mode only) description this comma...

  • Page 271

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 266 dgs-3120-24tc:admin#debug ospf show counter command: debug ospf show counter ospf debug statistic counters packet receiving: total : 30 hello : 30 dd : 0 lsr : 0 lsu : 0 lsack : 0 drop : 0 auth fail : 0 packet sending: t...

  • Page 272

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 267 example to display all as external lsas with detail information: dgs-3120-24tc:admin#debug ospf show detail external_link command: debug ospf show detail external_link ospf phase2 external link: =========== area 0.0.0.0:...

  • Page 273

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 268 restrictions only administrator level can issue this command. Example to display all network lsas with detail information: dgs-3120-24tc:admin#debug ospf show detail net_link command: debug ospf show detail net_link ospf...

  • Page 274

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 269 restrictions only administrator level can issue this command. Example to display all router lsas with detail information: dgs-3120-24tc:admin#debug ospf show detail rt_link command: debug ospf show detail rt_link ospf ph...

  • Page 275

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 270 parameters none. Restrictions only administrator level can issue this command. Example to display all summary lsas with detail information: dgs-3120-24tc:admin#debug ospf show detail summary_link command: debug ospf show...

  • Page 276

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 271 format debug ospf show detail type7_link parameters none. Restrictions only administrator level can issue this command. Example to display all type-7 lsas with detail information: dgs-3120-24tc:admin#debug ospf show deta...

  • Page 277

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 272 22-36 debug ospf show flag (ri mode only) description this command is used to display the ospf debug flag’s settings. Format debug ospf show flag parameters none. Restrictions only administrator level can issue this comm...

  • Page 278

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 273 format debug ospf show log state parameters none. Restrictions only administrator level can issue this command. Example to display the ospf debug log state: dgs-3120-24tc:admin#debug ospf show log state command: debug os...

  • Page 279

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 274 dgs-3120-24tc:admin#debug ospf show redistribution command: debug ospf show redistribution ospf redistribution list: ip nexthop state type tag ------------------ --------------- ----- ---- --------------- 1.1.1.0/24 0.0....

  • Page 280

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 275 dgs-3120-24tc:admin#debug ospf show request_list command: debug ospf show request_list ospf request list: area 0.0.0.0: circuit: 1.1.1.1 neighbor: 90.2.0.1 ip: 1.1.1.2 lsid: 192.194.134.0 rtid: 90.2.0.1 lsid: 192.194.135...

  • Page 281

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 276 dgs-3120-24tc:admin#debug ospf show summary_list command: debug ospf show summary_list ospf summary list: area 0.0.0.0: circuit: 1.1.1.1 neighbor: 90.2.0.1 ip: 1.1.1.2 lsid: 1.1.1.1 rtid: 1.1.1.1 circuit: 2.2.2.1 circuit...

  • Page 283

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 278 to enable the vrrp interface state change debug flag: dgs-3120-24tc:admin#debug vrrp interface_change state enable command: debug vrrp interface_change state enable success. Dgs-3120-24tc:admin# to enable the vrrp timers...

  • Page 285

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 280 dgs-3120-24tc:admin#debug vrrp show counter command: debug vrrp show counter vrrp debug statistic counters received adv : 9 drop : 52 auth fail : 0 sent adv : 0 dgs-3120-24tc:admin# 22-46 debug vrrp show flag (ri mode on...

  • Page 286

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 281 22-47 debug vrrp show log state (ri mode only) description the command is used to display the vrrp debug log state. Format debug vrrp show log state parameters none. Restrictions only administrator level can issue this c...

  • Page 287

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 282 dgs-3120-24tc:admin#debug vrrp state enable command: debug vrrp state enable success. Dgs-3120-24tc:admin# 22-49 debug pim ssm (ri mode only) description this command is used to enable the pim-ssm debug function. Format ...

  • Page 288

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 283 parameters none. Restrictions only administrator level can issue this command. Example to disable the pim-ssm debug function: dgs-3120-24tc:admin#no debug pim ssm command: no debug pim ssm success. Dgs-3120-24tc:admin#.

  • Page 290

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 285 dgs-3120-24tc:admin#config dos_prevention dos_type land_attack blat_attack action drop state enable command: config dos_prevention dos_type land_attack blat_attack action drop state enable success. Dgs-3120-24tc:admin# 2...

  • Page 291

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 286 dgs-3120-24tc:admin#show dos_prevention command: show dos_prevention trap:disabled log:disabled function version : 1.01 dos type state action frame counts -------------------------- -------- ---------------- ------------...

  • Page 292

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 287 dgs-3120-24tc:admin#config dos_prevention trap disable command: config dos_prevention trap disable success. Dgs-3120-24tc:admin# 23-4 config dos_prevention log description this command is used to enable or disable the do...

  • Page 295

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 290 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# 24-4 disable dhcp_local_relay description this command is used ...

  • Page 296

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 291 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 : 1,3-4 dg...

  • Page 298

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 293 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the dhcp relay hops and time parameters: dgs-3120-24tc:admin# config dhcp_relay hops 4 time 2 command: con...

  • Page 299

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 294 interface level, then the configuration at the interface level has higher priority. In this case, the dhcp server configured on the vlan will not be used to forward the dhcp packets. Format config dhcp_relay add vlanid p...

  • Page 300

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 295 dgs-3120-24tc:admin#show dhcp_relay command: show dhcp_relay dhcp/bootp relay status : disabled dhcp/bootp hops count limit : 4 dhcp/bootp relay time threshold : 2 dhcp vendor class identifier option 60 state: disabled d...

  • Page 301

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 296 dgs-3120-24tc:admin# config dhcp_relay delete ipif system 10.43.21.12 command: config dhcp_relay delete ipif system 10.43.21.12 success. Dgs-3120-24tc:admin# 25-5 config dhcp_relay delete vlanid description this command ...

  • Page 302

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 297 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable the dhcp relay function. Dgs-3120-24tc:admin# enable dhcp_relay command: enable dhcp_relay s...

  • Page 303

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 298 format show dhcp_relay {ipif } 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 wil...

  • Page 305

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 300 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the dhcp relay option 60 option: dgs-3120-24tc:admin# config dhcp_relay option_60 add string "abc" relay 1...

  • Page 306

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 301 example to configure the dhcp relay option 60 default drop option: dgs-3120-24tc:admin#config dhcp_relay option_60 default mode drop command: config dhcp_relay option_60 default mode drop success. Dgs-3120-24tc:admin# 25...

  • Page 308

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 303 if the relay servers are determined based on option 60 or option 61, then per ipif configured servers will be ignored. If the relay servers are not determined either by option 60 or option 61, then per ipif configured se...

  • Page 309

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 304 long. Relay - specify to relay the packet to a ip address. - enter the ip address used for this configuration here. Drop - specify to drop the packet. Restrictions only administrator, operator and power-user level users ...

  • Page 311

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 306 example to display dhcp relay rulers for option 61: 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 -----------...

  • Page 313

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 308 vendor4 - if configure to vendor4, the circuit id uses the following format: a. B. C. D. E. F. G. H. I. 1 n system name - module id / port id - cvid 1 byte 1 byte 0-128 bytes 1 byte 1 byte 1 byte 1-2 bytes 1 byte 1-4 byt...

  • Page 314

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 309 restrictions only administrator, operator and power-user level users can issue this command. Example to configure dhcp relay option 82 policy: dgs-3120-24tc:admin#config dhcp_relay option_82 policy replace command: confi...

  • Page 317

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 312 - specify the ending address of the ip address range. Restrictions only administrator, operator and power-user level users can issue this command. Example to specify the ip address that dhcp server should not assign to c...

  • Page 318

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 313 26-3 show dhcp excluded_address description this command is used to display the groups of ip addresses which are excluded from being a legal assigned ip address. Format show dhcp excluded_address parameters none. Restric...

  • Page 319

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 314 restrictions only administrator, operator and power-user level users can issue this command. Example to create a dhcp pool: dgs-3120-24tc:admin#create dhcp pool dhcppool01 command: create dhcp pool dhcppool01 success. Dg...

  • Page 320

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 315 a request from the client, the server will automatically find a pool to allocate the address. If the request is relayed to the server by the intermediate device, the server will match the gateway ip address carried in th...

  • Page 321

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 316 example to configure the domain name option of the dhcp pool: dgs-3120-24tc:admin#config dhcp pool domain_name dhcppool01 nba.Com command: config dhcp pool domain_name dhcppool01 nba.Com success. Dgs-3120-24tc:admin# 26-...

  • Page 322

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 317 windows internet naming service (wins) is a name resolution service that microsoft dhcp clients use to correlate host names to ip addresses within a general grouping of networks. If a netbios name server is not specified...

  • Page 323

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 318 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the netbios node type: dgs-3120-24tc:admin#config dhcp pool netbios_node_type dhcppool01 hybrid command: c...

  • Page 324

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 319 26-12 config dhcp pool lease description this command is used to specify the duration of the dhcp pool lease. By default, each ip address assigned by a dhcp server comes with a one-day lease, which is the amount of time ...

  • Page 325

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 320 parameters - specify the dhcp pool name. - (optional) specify the file name of the boot image. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure the boot fi...

  • Page 326

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 321 26-15 config dhcp ping_packets description this command is used to specify the number of ping packets the dhcp server sends to an ip address before assigning this address to a requesting client. By default, the dhcp serv...

  • Page 327

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 322 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the time out value for ping packets: dgs-3120-24tc:admin#config dhcp ping_timeout 500 command: config dhcp...

  • Page 328

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 323 dgs-3120-24tc:admin#create dhcp pool manual_binding dhcppool01 10.10.10.1 hardware_address 00-80-c8-02-02-02 type ethernet command: create dhcp pool manual_binding dhcppool01 10.10.10.1 hardware_address 00-80-c8-02-02-02...

  • Page 329

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 324 parameters - specify the dhcp pool name to clear. - specify the ip address to clear. All - specify to clear all ip addresses. All - specify to clear all dhcp pool names and ip addresses. Restrictions only administrator, ...

  • Page 330

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 325 total entries: 4 dgs-3120-24tc:admin# 26-21 show dhcp pool description this command is used to display the information for dhcp pool. If pool name is not specified, information for all pools will be displayed. Format sho...

  • Page 331

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 326 format show dhcp pool manual_binding {} parameters - (optional) specify the dhcp pool name. Restrictions none. Example to display the configured manual binding entries: dgs-3120-24tc:admin#show dhcp pool manual_binding c...

  • Page 332

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 327 example to enable dhcp server: dgs-3120-24tc:admin#enable dhcp_server command: enable dhcp_server success. Dgs-3120-24tc:admin# 26-24 disable dhcp_server description this command is used to disable the dhcp server functi...

  • Page 333

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 328 restrictions none. Example to display the dhcp server status: dgs-3120-24tc:admin#show dhcp_server command: show dhcp_server dhcp server global state: enabled ping packet number : 4 ping timeout : 500 ms dgs-3120-24tc:ad...

  • Page 334

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 329 26-27 show dhcp conflict_ip description this command is used to display the ip address that has been identified as being in conflict. The dhcp server will use ping packet to determine whether an ip address is conflicting...

  • Page 336

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 331 - 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 server to be f...

  • Page 337

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 332 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:10 trap s...

  • Page 338

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 333 dgs-3120-24tc:admin#config filter dhcp_server log disable command: config filter dhcp_server log disable success. Dgs-3120-24tc:admin# 27-4 config filter dhcp_server trap description this command is used to enable or dis...

  • Page 340

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 335 format disable dhcpv6_relay 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...

  • Page 341

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 336 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# 28-4 config dhcpv6...

  • Page 342

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 337 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 administrator, oper...

  • Page 343

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 338 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the dhcpv6 relay option 37: dgs-3120-24tc:admin#config dhcpv6_relay option_37 state enable command: config...

  • Page 344

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 339 dgs-3120-24tc:admin#show dhcpv6_relay command: show dhcpv6_relay dhcpv6 relay global state : enabled dhcpv6 hops count limit : 4 dhcpv6 relay information option 37 state : enabled dhcpv6 relay information option 37 check...

  • Page 346

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 341 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 enable suc...

  • Page 347

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 342 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 operating parame...

  • Page 348

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 343 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_alarm 84.95...

  • Page 349

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 344 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 high_warning ...

  • Page 350

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 345 29-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 administrative...

  • Page 351

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 346 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 temperature voltage ...

  • Page 353

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 348 restrictions only administrator, operator and power-user level users can issue this command. Example to configure dvmrp configurations of ip interface called ‘system’: dgs-3120-24tc:admin#config dvmrp ipif system neighbo...

  • Page 354

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 349 format disable dvmrp parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable dvmrp: dgs-3120-24tc:admin#disable dvmrp command: disable dvmrp succes...

  • Page 355

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 350 dgs-3120-24tc:admin#show dvmrp command: show dvmrp dvmrp global state : disabled interface ip address neighbor timeout probe metric state ------------ ----------------- ---------------- ----- ------ -------- system 10.90...

  • Page 356

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 351 dgs-3120-24tc:admin#show dvmrp neighbor command: show dvmrp neighbor dvmrp neighbor address table interface neighbor address generation id expire time --------------- ---------------- ------------- ----------- system 10....

  • Page 357

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 352 dgs-3120-24tc:admin#show dvmrp nexthop command: show dvmrp nexthop dvmrp routing next hop table source address/netmask interface name type ---------------------- --------------- ------ 10.0.0.0/8 ip2 leaf 10.0.0.0/8 ip3 ...

  • Page 358

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 353 dgs-3120-24tc:admin#show dvmrp routing_table command: show dvmrp routing_table dvmrp routing table source address/netmask upstream neighbor metric learned interface expire ---------------------- ----------------- ------ ...

  • Page 359: Chapter 31

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 354 chapter 31 d-link license management system (dlms) command list install dlms activation_code {unit } show dlms license {unit } 31-1 install dlms activation_code description this command is used to install an activation c...

  • Page 360

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 355 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:admin#show...

  • Page 362

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

  • Page 364

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 359 parameters - (optional) specify a list of ports to be displayed. Restrictions none. Example to display the eee state: dgs-3120-24tc:admin#show eee ports 1:1-1:6,1:9 command: show eee ports 1:1-1:6,1:9 port state --------...

  • Page 366

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

  • Page 367

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 362 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 command: create erps raps_vlan 4094 success. D...

  • Page 368

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 363 the ring mel is one field in the r-aps pdu. Note that if cfm (connectivity fault management) and erps are used at the same time, the r-aps pdu is one of a suite of ethernet oam pdu. The behavior for forwarding of r-aps p...

  • Page 369

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 364 when both the global state and the specified ring erps state are enabled, the specified ring will be activated. Stp and lbd should be disabled on the ring ports before the specified ring is activated. The ring cannot be ...

  • Page 370

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 365 enable - enable the propagation state of topology change for the sub-ring. Disable - disable the propagation state of topology change for the sub-ring. The default value is disabled. Add - connect the sub-ring to another...

  • Page 371

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 366 to configure the rpl port for a specific r-aps vlan: dgs-3120-24tc:admin#config erps raps_vlan 4094 rpl_port west command: config erps raps_vlan 4094 rpl_port west success. Dgs-3120-24tc:admin# to configure the protected...

  • Page 372

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 367 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 4093 tc_pr...

  • Page 373

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 368 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 only admi...

  • Page 374

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 369 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 : 4092 ring...

  • Page 376

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 371 to filter a unicast mac: dgs-3120-24tc:admin# create fdb default 00-00-00-00-01-02 drop command: create fdb default 00-00-00-00-01-02 drop success. Dgs-3120-24tc:admin# 35-2 create fdb vlanid description this command is ...

  • Page 377

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 372 35-3 create multicast_fdb description this command is used to create a static entry in the multicast mac address forwarding table (database). Format create multicast_fdb parameters - the name of the vlan on which the mac...

  • Page 378

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 373 are ip multicast addresses, which cannot be specified as the static l2 multicast mac address. Add - specify to add ports to the multicast forwarding table. Delete - specify to remove ports from the multicast forwarding t...

  • Page 379

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 374 dgs-3120-24tc:admin# config fdb aging_time 600 command: config fdb aging_time 600 success. Dgs-3120-24tc:admin# 35-6 config multicast vlan_filtering_mode description this command is used to configure the multicast packet...

  • Page 380

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 375 35-7 delete fdb description this command is used to delete an entry from the forwarding database. Format delete fdb parameters - the name of the vlan on which the mac address resides. The maximum name length is 32. - the...

  • Page 381

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

  • Page 382

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 377 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# 35-10 show fdb description...

  • Page 383

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

  • Page 384

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 379 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 multicast ...

  • Page 386

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

  • Page 387

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 382 36-4 show filter extensive_netbios description this command is used to display the extensive netbios state on the switch. Format show filter extensive_netbios parameters none. Restrictions none. Example to display the ex...

  • Page 389

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 384 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.1 dgs-3120...

  • Page 390

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 385 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 d: - speci...

  • Page 391

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

  • Page 392

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 387 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 d: - (opti...

  • Page 393

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

  • Page 394

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 389 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- 29661 2000/04/...

  • Page 395

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 390 - (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 administrator a...

  • Page 396

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 391 37-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 can be speci...

  • Page 397

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 392 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 are c: or...

  • Page 398

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 393 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........................... Don...

  • Page 400

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 395 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 with the sys...

  • Page 401

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 396 restrictions only administrator, operator and power-user level users can issue this command. Example to enable the gratuitous arp learning state: dgs-3120-24tc:admin# config gratuitous_arp learning enable command: config...

  • Page 402

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 397 38-5 enable gratuitous_arp description the command is used to enable gratuitous arp trap and log state. The switch can trap and log the ip conflict event to inform the administrator. By default, trap is disabled and even...

  • Page 403

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 398 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 system trap...

  • Page 404

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 399 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 gratuitous arp tr...

  • Page 406

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 401 state - specify the igmp state on a router interface. Enable - specify that the igmp state will be enabled. Disable - specify that the igmp state will be disabled. Restrictions only administrator, operator and power-user...

  • Page 407

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 402 dgs-3120-24tc:admin#show igmp command: show igmp igmp interface configurations interface ip address/netmask ver- query maximum robust- last state sion response ness member time value query interval ------------ ---------...

  • Page 408

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 403 dgs-3120-24tc:admin#show igmp group command: show igmp group interface multicast group last reporter ip querier ip expire ------------ --------------- --------------- --------------- --------- system 224.0.0.2 10.42.73.1...

  • Page 409

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 404 dgs-3120-24tc:admin#config igmp check_subscriber_source_network ipif system enable command: config igmp check_subscriber_source_network ipif system enable success. Dgs-3120-24tc:admin# 39-5 show igmp check_subscriber_sou...

  • Page 410

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 405 dgs-3120-24tc:admin#show igmp check_subscriber_source_network command: show igmp check_subscriber_source_network interface ip address/netmask check subscriber source network ------------ ------------------ --------------...

  • Page 412

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 407 12 characters long. If no parameter is specified, the system will display all igmp static groups. Restrictions none. Example to display all igmp static groups on the interface “n20”: dgs-3120-24tc:admin#show igmp static_...

  • Page 414

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 409 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the igmp proxy: dgs-3120-24tc:admin#disable igmp_proxy command: disable igmp_proxy success....

  • Page 415

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 410 dgs-3120-24tc:admin#config igmp_proxy downstream_if add vlan vlanid 2-7 command: config igmp_proxy downstream_if add vlan vlanid 2-7 success. Dgs-3120-24tc:admin# 40-4 config igmp_proxy upstream_if description this comma...

  • Page 416

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 411 dgs-3120-24tc:admin#config igmp_proxy upstream_if vlan default router_ports add 1:3 command: config igmp_proxy upstream_if vlan default router_ports add 1:3 success. Dgs-3120-24tc:admin# 40-5 show igmp_proxy description ...

  • Page 417

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 412 dgs-3120-24tc:admin#show igmp_proxy group command: show igmp_proxy group dest-v : the destination vlan. A : active i : inactive dest ip source ip dest-v member ports status ----------- ------------- ------ --------------...

  • Page 418: Chapter 41

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 413 chapter 41 igmp 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 adjacent multicast ro...

  • Page 421

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 416 parameters vlan_name - specify the name of the vlan for which igmp snooping querier 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 i...

  • Page 422

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 417 example to configure the igmp snooping querier: dgs-3120-24tc:admin# config igmp_snooping querier vlan_name default query_interval 125 state enable command: config igmp_snooping querier vlan_name default query_interval 1...

  • Page 423

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 418 41-5 config router_ports description this command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach ...

  • Page 424

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 419 add - specify to add the router ports. 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 c...

  • Page 425

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 420 41-8 disable igmp_snooping description this command is used to disable igmp snooping on the switch. Disabling igmp snooping allows all igmp and ip multicast traffic to flood within a given ip interface. Note that disable...

  • Page 427

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 422 example to delete an igmp snooping static group for vlan 1, group 239.1.1.1: dgs-3120-24tc:admin# delete igmp_snooping static_group vlan default 239.1.1.1 command: delete igmp_snooping static_group vlan default 239.1.1.1...

  • Page 428

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 423 dgs-3120-24tc:admin# config igmp_snooping static_group vlan default 239.1.1.1 delete 2:9-2:10 command: create igmp_snooping static_group vlan default 239.1.1.1 delete 2:9- 2:10 success. Dgs-3120-24tc:admin# 41-12 show ig...

  • Page 429

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

  • Page 430

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 425 dgs-3120-24tc:admin# config igmp_snooping data_driven_learning vlan default state enable command: config igmp_snooping data_driven_learning vlan default state enable success. Dgs-3120-24tc:admin# 41-14 config igmp_snoopi...

  • Page 432

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 427 restrictions none. Example to show igmp snooping: command: show igmp_snooping igmp snooping global state : disabled vlan name : default query interval : 125 max response time : 10 robustness value : 2 last member query i...

  • Page 433

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 428 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 -------- ----------- 1 no...

  • Page 434

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 429 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 source/gr...

  • Page 435

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 430 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/group : null/2...

  • Page 436

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 431 - 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 forwarding entri...

  • Page 437

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 432 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 configured. ...

  • Page 438

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 433 restrictions none. Example to display the igmp snooping statistics counter: dgs-3120-24tc:admin# show igmp_snooping statistics counter vlanid 1 command: show igmp_snooping statistics counter vlanid 1 vlan name : default ...

  • Page 439

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 434 dgs-3120-24tc:admin# show igmp_snooping statistics counter ports 1 command: show igmp_snooping statistics counter ports 1 port #1 ------------------------------------------------ group number : 10 receive statistics quer...

  • Page 441

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 436 1:18 disabled 1:19 disabled 1:20 disabled ctrl+c esc q quit space n next page enter next entry a all 41-23 clear igmp_snooping statistics counter description this command is used to clear the igmp snooping statistics cou...

  • Page 444

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 439 packets are detected. If not specified strict or loose, default is strict. Disable - disable arp inspection function. The default value is disabled. Ip_inspection - (optional) specify that the ip inspection option will b...

  • Page 445

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 440 parameters - specify the ipv6 address. Mac_address - specify the mac address. - enter the mac address here. Ports - (optional) configure the portlist or all ports. - specify a range of ports to be configured. All - speci...

  • Page 446

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 441 example to configure a static ipv6 impb entry so that that ipv6 address fe80::240:5ff:fe00:28 is bound to the mac address 00-00-00-00-00-11: dgs-3120-24tc:admin#config address_binding ip_mac ipv6address fe80::240:5ff:fe0...

  • Page 448

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 443 - enter the list of port used here. All - specify that all the ports will be used. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure an impb entry: dgs-3120...

  • Page 449

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 444 dgs-3120-24tc:admin#show address_binding command: show address_binding trap/log : disabled dhcp snoop(ipv4) : disabled dhcp snoop(ipv6) : disabled nd snoop : disabled function version : 3.96 dgs-3120-24tc:admin# to show ...

  • Page 450

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 445 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. - enter the...

  • Page 451

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 446 restrictions none. 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 ...

  • Page 453

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 448 dgs-3120-24tc:admin# disable address_binding dhcp_snoop command: disable address_binding dhcp_snoop success. Dgs-3120-24tc:admin# 42-13 clear address_binding dhcp_snoop binding_entry ports description this command is use...

  • Page 454

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 449 ports - specify the ports used for this configuration. - enter a list of ports used here. If no parameters are specified, show dhcp snooping displays the enable/disable state. Restrictions none. Example to show the dhcp ...

  • Page 455

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 450 42-15 show address_binding dhcp_snoop binding_entry description this command is used to display the dhcp snooping binding entries. Format show address_binding dhcp_snoop binding_entry {port } parameters port – (optional)...

  • Page 456

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 451 restrictions none. Example to display the dhcp snooping limit rate entries: dgs-3120-24tc:admin#show address_binding dhcp_snoop limit_rate command: show address_binding dhcp_snoop limit_rate port rate limit (pps) action ...

  • Page 457

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 452 parameters - enter the list of ports you would like to set the maximum number of entries that can be learned. All - specify that all the ports to be used. Limit - specify the maximum number. - enter the limit value here....

  • Page 458

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 453 dgs-3120-24tc:admin#enable address_binding nd_snoop command: enable address_binding nd_snoop success. Dgs-3120-24tc:admin# 42-19 disable address_binding nd_snoop description this command is used to disable nd snooping on...

  • Page 459

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 454 - enter the list of ports used for this configuration here. All - specify that all the ports will be usd for this configuration. Max_entry - specify the maximum number of entries. - enter the maximum number of entries us...

  • Page 460

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 455 dgs-3120-24tc:admin#show address_binding nd_snoop ports 1:1-1:5 command: show address_binding nd_snoop ports 1:1-1:5 port max entry ---- --------- 1:1 10 1:2 10 1:3 10 1:4 no limit 1:5 no limit dgs-3120-24tc:admin# 42-22...

  • Page 462

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 457 example to enable the impb traps and logs: dgs-3120-24tc:admin# enable address_binding trap_log command: enable address_binding trap_log success. Dgs-3120-24tc:admin# 42-25 disable address_binding trap_log description th...

  • Page 463

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 458 parameters ports - specify the list of ports that need to recover the impb check. - enter the list of port used here. All - specify that all the ports will be used. Restrictions only administrator, operator and power-use...

  • Page 464

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 459 dgs-3120-24tc:admin#config address_binding dhcp snooping ports 1:1 limit rate 10 mode drop command: config address_binding dhcp snooping ports 1:1 limit rate 10 mode drop success. Dgs-3120-24tc:admin# 42-28 config addres...

  • Page 466

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 461 43-2 show ipmc cache description this command is used to display the ip multicast forwarding cache. Format show ipmc cache {group } {ipaddress } parameters group - (optional) specify the multicast group. - enter the mult...

  • Page 469

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 464 example to delete an access list named by “list1”: dgs-3120-24tc:admin#delete ip standard access_list list_name list1 command: delete ip standard access_list list_name list1 success. Dgs-3120-24tc:admin# 44-4 show ip sta...

  • Page 470

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 465 parameters - enter the route map name. Restrictions only administrator, operator and power-user level users can issue this command. Example to create a route map named map1: dgs-3120-24tc:admin#create route_map map1 comm...

  • Page 471

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 466 - enter the name of the ip access list. Metric - specify to match the metric of the routes. - enter the value of the metric. Route_type - specify to match the type of the routes. Internal - specify to match the as- inter...

  • Page 472

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 467 route map still exists. All – delete all route maps. Restrictions only administrator, operator and power-user level users can issue this command. Example to delete the route map: dgs-3120-24tc:admin#delete route_map map_...

  • Page 473

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 468 dgs-3120-24tc:admin#show route_map command: show route_map route_map : map1 -------------------------- sequence : 10 (permit) match clauses: set clauses: ----------------- sequence : 20 (permit) match clauses: set clause...

  • Page 475

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 470 45-2 delete ip_tunnel description this command is used to delete an ip tunnel interface. Format delete ip_tunnel parameters - enter the ip tunnel interface name used here. This name can be up to 12 characters long. Restr...

  • Page 476

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 471 address. - enter the ipv6 address used here. Source - (optional) specify the source ipv4 address of the ipv6 tunnel interface. It is used as the source address for packets in the ipv6 tunnel. - enter the ipv4 source addr...

  • Page 477

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 472 configured. The 32 bits following the initial 2002::/16 prefix correspond to an ipv4 address assigned to the tunnel source. - enter the ipv6 address used here. Source - (optional) specify the ipv4 source address for a pa...

  • Page 478

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 473 - enter the ipv6 address used here. Source - (optional) specify the source ipv4 address of this ipv6 tunnel interface. It is used as the source address for packets in the ipv6 tunnel. The tunnel destination ipv4 address ...

  • Page 479

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 474 destination - (optional) specify the destination address of the gre tunnel interface. It is used as the destination address for packets in the tunnel. - enter the ipv4 destination address. - enter the ipv6 destination ad...

  • Page 480

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 475 parameters - (optional) enter the ip tunnel interface name used here. This name can be up to 12 characters long. Restrictions none. Example to show an ip tunnel interface’s information (tunnel name is “tn2”): dgs-3120-24...

  • Page 481

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 476 dgs-3120-24tc:admin#enable ip_tunnel tn2 command: enable ip_tunnel tn2 success. Dgs-3120-24tc:admin# 45-9 disable ip_tunnel description this command is used to disable a single specified ip tunnel or all ip tunnels on th...

  • Page 483

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 478 46-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 static and...

  • Page 484

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 479 parameters ipif - specify the ipv6 interface name - 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 addres...

  • Page 485

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 480 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the retrans_time of ipv6 nd neighbor solicitation: dgs-3120-24tc:admin# config ipv6 nd ns ipif zira retran...

  • Page 487

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 482 dgs-3120-24tc:admin#config ipv6 nd ra ipif system state enable life_time 1000 command: config ipv6 nd ra ipif system state enable life_time 1000 success. Dgs-3120-24tc:admin# 46-7 config ipv6 nd ra prefix_option ipif des...

  • Page 488

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 483 dgs-3120-24tc:admin#config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64 preferred_life_time 1000 command: config ipv6 nd ra prefix_option ipif ip1 3ffe:501:ffff:100::/64 preferred_life_time 1000 success. Dgs-...

  • Page 490

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 485 dgs-3120-24tc:admin#create ipv6route default system 3ffc::1 1 primary command: create ipv6route default system 3ffc::1 1 primary success. Dgs-3120-24tc:admin# 47-2 delete ipv6route description this command is used to del...

  • Page 493

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 488 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. For the seco...

  • Page 494

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

  • Page 495

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 490 48-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:admin#show...

  • Page 496

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 491 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, a quaranti...

  • Page 497

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

  • Page 498

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 493 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#enable jwac for...

  • Page 499

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 494 dgs-3120-24tc:admin#disable jwac forcible_logout command: disable jwac forcible_logout success. Dgs-3120-24tc:admin# 48-10 enable jwac udp_filtering description this command is used to enable the jwac udp filtering funct...

  • Page 500

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 495 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_filtering succe...

  • Page 501

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 496 48-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 administrator, ...

  • Page 502

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 497 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# 48-15 config jw...

  • Page 503

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 498 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.Microsoft.Com ...

  • Page 505

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 500 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 - if a host f...

  • Page 506

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 501 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 1440 infin...

  • Page 507

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 502 48-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 create jwac u...

  • Page 508

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 503 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 a old pass...

  • Page 509

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

  • Page 510

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 505 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. Restricti...

  • Page 511

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 506 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. Port mac a...

  • Page 512

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 507 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 success. Dgs-312...

  • Page 515

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

  • Page 516: Chapter 49

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

  • Page 517

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 512 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 success. Dgs-312...

  • Page 519

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 514 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_tunnel comm...

  • Page 520

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 515 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 accepted ...

  • Page 521

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 516 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: dgs-3120-24t...

  • Page 523

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 518 51-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 id. The num...

  • Page 524

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 519 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 numerical ord...

  • Page 525

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 520 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 link_aggrega...

  • Page 526

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 521 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 : enabled floo...

  • Page 527

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 522 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 : disabled flood...

  • Page 528

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 523 51-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 number). - ent...

  • Page 530

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 525 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 success. Dgs-...

  • Page 532

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 527 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 value here. ...

  • Page 533

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 528 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 transmit and r...

  • Page 534

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 529 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 it is enab...

  • Page 535

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

  • Page 536

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 531 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 protocol identity...

  • Page 537

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

  • Page 539

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 534 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 540

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 535 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 in detailed...

  • Page 541

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 536 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 lldp local...

  • Page 542

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 537 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 modes. Br...

  • Page 543

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 538 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: dgs-3120...

  • Page 544

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 539 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 detailed command:...

  • Page 545

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 540 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 : 00 16 42 ...

  • Page 546

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 541 unknown tlv type : 31 unknown tlv information bytes : xx xx xx xx xx xx(hex) dgs-3120-24tc:admin# 52-12 show lldp statistics description this command is used to display an overview of neighbor detection activity on the s...

  • Page 547

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 542 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 port id: 1 ...

  • Page 548

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 543 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# 52-15 config lldp_med log state description this command is used to configure...

  • Page 549

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 544 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 topology cha...

  • Page 550

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 545 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_capabilities all s...

  • Page 551

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 546 52-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 general lldp-me...

  • Page 552

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 547 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-med advert...

  • Page 553

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 548 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 554

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 549 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 management:...

  • Page 556

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 551 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 mode vlan-...

  • Page 557

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 552 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 loopdetect c...

  • Page 558

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

  • Page 559

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 554 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 configuration for all ...

  • Page 560

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 555 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# config loopdete...

  • Page 563

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 558 example to delete the loopback interface named loopback1: dgs-3120-24tc:admin#delete loopback ipif loopback1 command: delete loopback ipif loopback1 success. Dgs-3120-24tc:admin# 54-4 show loopback ipif description this ...

  • Page 565

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 560 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_notificat...

  • Page 567

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 562 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 : 1 history...

  • Page 568

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 563 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 disabled 1:4 dis...

  • Page 570

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 565 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# 56-2 disable mac_based_access_contr...

  • Page 571

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 566 parameters password - in radius mode, the switch will communicate with the radius server using this password. The maximum length of the key is 16. - enter the password used here. The default password is “default”. Restri...

  • Page 573

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 568 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. Dgs-3120...

  • Page 574

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 569 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 for confi...

  • Page 575

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

  • Page 577

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 572 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_state por...

  • Page 578

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

  • Page 579

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 574 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# 56-13 delete ...

  • Page 580

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 575 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# 56-14 config mac_based_access_control authorization attributes...

  • Page 581

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 576 56-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 mac-based a...

  • Page 582

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 577 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 characters lon...

  • Page 583

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 578 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 time ---- -...

  • Page 585

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 580 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:admin#.

  • Page 587

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 582 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# 57-2 delete mac_based_vlan descrip...

  • Page 589: Chapter 58

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 584 chapter 58 md5 configuration command list (ri mode only) create md5 key config md5 key delete md5 key show md5 {key } 58-1 create md5 description this command is used to create an md5 key table. Format create md5 key par...

  • Page 590

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 585 authenticate every packet exchanged between ospf routers. It is used as a security mechanism to limit the exchange of network topology information to the ospf routing domain. Format config md5 key parameters key_id 1-255...

  • Page 591

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 586 dgs-3120-24tc:admin#delete md5 key 1 command: delete md5 key 1 success. Dgs-3120-24tc:admin# 58-4 show md5 description this command is used to display the md5 key table. Format show md5 {key } parameters key - (optional)...

  • Page 593

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 588 dgs-3120-24tc:admin#config mirror port 1:3 add source ports 1:7-1:12 both command: config mirror port 1:3 add source ports 1:7-1:12 both success. Dgs-3120-24tc:admin# 59-2 enable mirror description this command is used t...

  • Page 594

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 589 restrictions only administrator and operator-level users can issue this command. Example to disable mirroring function: dgs-3120-24tc:admin# disable mirror command: disable mirror success. Dgs-3120-24tc:admin# 59-4 show ...

  • Page 595

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 590 59-5 create mirror group_id description this command is used to a mirror group on the switch format create mirror group_id parameters - enter a mirro group identify value. Restrictions only administrator and operator-lev...

  • Page 596

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 591 mirror group target port. Tx - only the sent packets on the mirror group source ports will be mirrored to the mirror group target port. Both - both the received and sent packets on the mirror group source ports will be m...

  • Page 598

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 593 disable - specify that the mld state will be disabled. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure the mld on the ip interface “system”: dgs-3120-24tc...

  • Page 599

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 594 dgs-3120-24tc:admin#show mld command: show mld mld interface configurations mrt = maximum response time, llqi = last listener query interval interface version query mrt robustness llqi state ------------ ------- ------ -...

  • Page 601

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 596 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the mld proxy: dgs-3120-24tc:admin#disable mld_proxy command: disable mld_proxy success. Dg...

  • Page 602

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 597 dgs-3120-24tc:admin#config mld_proxy downstream_if add vlan vlanid 2-7 command: config mld_proxy downstream_if add vlan vlanid 2-7 success. Dgs-3120-24tc:admin# 61-4 config mld_proxy upstream_if description this command ...

  • Page 603

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 598 dgs-3120-24tc:admin#config mld_proxy upstream_if vlan default router_ports add 1:3 command: config mld_proxy upstream_if vlan default router_ports add 1:3 success. Dgs-3120-24tc:admin# 61-5 show mld_proxy description thi...

  • Page 604

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 599 dgs-3120-24tc:admin#show mld_proxy group command: show mld_proxy group source : null group : ff1e::0202 downstream vlan : 4 member ports : 3,6 status : active source : ff80::200 group : ff1e::0202 downstream vlan : 2 mem...

  • Page 605: Chapter 62

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 600 chapter 62 mld snooping command list the multicast listener discovery (mld) is used by ipv6 routers to discover multicast listeners on a directly attached link, much as igmp is used in ipv4. The protocol is embedded in i...

  • Page 608

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 603 example to configure the mld snooping querier: dgs-3120-24tc:admin# config mld_snooping querier vlan_name default query_interval 125 state enable command: config mld_snooping querier vlan_name default query_interval 125 ...

  • Page 609

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 604 62-4 config mld_snooping router_ports_forbidden description this command is used to designate a range of ports as being not connected to multicast-enabled routers. This ensures that the forbidden router port will not pro...

  • Page 610

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 605 parameters when the switch receives an mld report packet from a port, this port will be learned as a member port of the multicast group that the port is reported, and the router will be a default member of this multicast...

  • Page 613

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 608 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 source/group ...

  • Page 614

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 609 62-9 show mld_snooping forwarding description this command is used to display the switch’s current mld snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group that...

  • Page 616

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 611 the static group will only take effect when mld snooping is enabled on the vlan. For those static member ports, the device needs to emulate the mld protocol operation to the querier, and forward the traffic destined to t...

  • Page 617

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 612 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 level users c...

  • Page 618

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 613 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: create mld_sno...

  • Page 619

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 614 62-15 config mld_snooping data_driven_learning (ei and si mode only) description this command is used to enable or disable the data-driven learning of an mld snooping group. When data-driven learning is enabled for the v...

  • Page 620

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 615 dgs-3120-24tc:admin# config mld_snooping data_driven_learning vlan default state enable command: config mld_snooping data_driven_learning vlan default state enable success. Dgs-3120-24tc:admin# 62-16 config mld_snooping ...

  • Page 622

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 617 example to show mld snooping statistics counters: dgs-3120-24tc:admin# show mld_snooping statistics counter vlanid 1 command: show mld_snooping statistics counter vlanid 1 vlan name : default ----------------------------...

  • Page 623

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 618 parameters none. 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 co...

  • Page 624

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 619 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# 62-21 show mld_snooping rate_limit description this command is used to con...

  • Page 626

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 621 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# 63-2 debug stp show information descri...

  • Page 627

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 622 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 628

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 623 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 brief bri...

  • Page 629

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 624 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 packets : ...

  • Page 630

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 625 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# 63-6 debug stp state description this command is used to...

  • Page 633

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 628 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# 64-2 config mcast_filter_profile description...

  • Page 635

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 630 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-user level...

  • Page 636

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 631 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 637

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 632 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 profiles ...

  • Page 638

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 633 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# config max_...

  • Page 639

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 634 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 drop total...

  • Page 640

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 635 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 : deny pr...

  • Page 642

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 637 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:2 disable...

  • Page 645

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 640 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 multicast vla...

  • Page 646

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 641 65-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 multicast ...

  • Page 647

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 642 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 set the sta...

  • Page 648

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 643 65-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. Format co...

  • Page 650

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 645 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 multicast v...

  • Page 651

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 646 dgs-3120-24tc:admin# show igmp_snooping multicast_vlan_group_profile command: show igmp_snooping multicast_vlan_group_profile profile name multicast addresses --------------------- -------------------------------- mod 23...

  • Page 652

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 647 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 igmp_snooping...

  • Page 654

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 649 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 igmp_snoo...

  • Page 656

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 651 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 vlan to be s...

  • Page 659

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 654 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# 66-4 create nlb multicast_fdb description this command is used to create a nlb ...

  • Page 660

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 655 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# 66-5 config nlb multicast_fdb description this command is ...

  • Page 662

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 657 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 1 1:1-1:5...

  • Page 664

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 659 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 665

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 660 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 collision 0 fragme...

  • Page 666

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 661 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 1:2 0 0 0...

  • Page 667

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

  • Page 668

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 663 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 r ref...

  • Page 669

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 664 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 switch, separat...

  • Page 672

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 667 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 event notifica...

  • Page 673

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 668 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_state ena...

  • Page 674

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 669 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# 68-2 show ethernet_oam ports descripti...

  • Page 675

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 670 • 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 information. ...

  • Page 676

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

  • Page 677

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 672 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 1 event_lo...

  • Page 680

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 675 dgs-3120-24tc:admin#config ospf ipif system priority 2 hello_interval 20 metric 2 state enable command: config ospf ipif system priority 2 hello_interval 20 metric 2 state enable success. Dgs-3120-24tc:admin# 69-2 create...

  • Page 682

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 677 parameters - a 32-bit number in the form of an ip address (xxx.Xxx.Xxx.Xxx) that uniquely identifies the ospf area in the ospf domain. - the ip address that uniquely identifies the network that corresponds to the ospf ar...

  • Page 683

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 678 dgs-3120-24tc:admin#show ospf aggregation command: show ospf aggregation ospf area aggregation settings area id aggregated lsdb advertise network address type --------------- ------------------ -------- --------- 10.48.7...

  • Page 684

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 679 example to create an ospf area: dgs-3120-24tc:admin#create ospf area 10.48.74.122 type stub stub_summary enable metric 1 command: create ospf area 10.48.74.122 type stub stub_summary enable metric 1 success. Dgs-3120-24t...

  • Page 685

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 680 dgs-3120-24tc:admin#config ospf area 10.48.74.122 type stub stub_summary enable metric 1 command: config ospf area 10.48.74.122 type stub stub_summary enable metric 1 success. Dgs-3120-24tc:admin# 69-8 delete ospf area d...

  • Page 686

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 681 restrictions none. Example to display ospf areas configuration: dgs-3120-24tc:admin#show ospf area command: show ospf area ospf area settings area id type stub import summary lsa stub default cost translate -------------...

  • Page 687

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 682 dgs-3120-24tc:admin#create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2 success. Dgs-3120-24tc:admin# 69-11 config ospf host_route description th...

  • Page 688

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 683 parameters - enter the host’s ip address used here. Restrictions only administrator, operator and power-user level users can issue this command. Example to delete an ospf host route: dgs-3120-24tc:admin#delete ospf host_...

  • Page 689

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 684 dgs-3120-24tc:admin#show ospf host_route command: show ospf host_route ospf host route settings host address metric area id --------------- ------ --------------- 10.48.74.122 3 10.1.1.1 total entries : 1 dgs-3120-24tc:a...

  • Page 692

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 687 format delete ospf virtual_link parameters - specify a 32-bit number in the form of an ip address (xxx.Xxx.Xxx.Xxx) that uniquely identifies the ospf area in the ospf domain. - specify the ospf router id for the remote a...

  • Page 693

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 688 dgs-3120-24tc:admin#show ospf virtual_link command: show ospf virtual_link virtual interface configuration transit virtual hello dead authentication link area id neighbor router interval interval status --------------- -...

  • Page 694

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

  • Page 695

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 690 dgs-3120-24tc:admin#show ospf command: show ospf ospf router id : 10.90.90.90 (auto selected) state : disabled ospf interface settings interface ip address area id state link metric status ------------ ------------------...

  • Page 696

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 691 restrictions none. Example to display the link state database of ospf: dgs-3120-24tc:admin#show ospf lsdb command: show ospf lsdb area lsdb advertising link state cost sequence id type router id id number ---------------...

  • Page 697

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 692 dgs-3120-24tc:admin#show ospf neighbor command: show ospf neighbor ip address of router id of neighbor neighbor neighbor neighbor priority state --------------- --------------- -------- ------------- 10.48.74.122 10.2.2....

  • Page 700

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 695 ipv4 address among the ip interfaces to be the router id. The default value of ospfv3 router id is 0.0.0.0 (auto-selected). Only with executing this command, the ospfv3 router id can be changed. Restrictions only adminis...

  • Page 701

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 696 format disable ospfv3 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable ospfv3: dgs-3120-24tc:admin#disable ospfv3 command: disable ospfv3 su...

  • Page 702

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 697 link is accomplished through an instance id contained in the ospfv3 packet header. If the instance id configured on the interface and that of a received ospfv3 packets do not match, the interface discards the packet and ...

  • Page 703

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 698 restrictions none. Example to display ospfv3 configurations: dgs-3120-24tc:admin#show ospfv3 command: show ospfv3 ospfv3 router id : 1.1.1.1 state : disabled ospfv3 interface settings interface area id state link metric ...

  • Page 704

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 699 stub_summary - (optional) specify whether the ospfv3 stub area imports inter-area prefix lsa advertisements. Enable - import inter-area prefix lsa into this stub area. Disable - stop importing inter-area prefix lsa into ...

  • Page 705

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 700 example to configure ospfv3 area: dgs-3120-24tc:admin#config ospfv3 area 2.2.2.2 type stub command: config ospfv3 area 2.2.2.2 type stub success. Dgs-3120-24tc:admin# 70-8 delete ospfv3 area description this command is u...

  • Page 706

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 701 parameters - (optional) enter the ospfv3 area id. It is a 32-bit number in the form of an ipv4 address that uniquely identifies the ospfv3 area in the ospfv3 domain. Restrictions none. Example to display ospfv3 areas: dg...

  • Page 707

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 702 example to create an ospfv3 area aggregation: dgs-3120-24tc:admin#create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable command: create ospfv3 aggregation 2.2.2.2 2000::/16 advertise enable success. Dgs-3120-24tc:...

  • Page 708

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 703 format delete ospfv3 aggregation parameters - enter the ospfv3 area id where the aggregation belongs to. - enter the ipv6 network address of the aggregation. Restrictions only administrator, operator and power-user level...

  • Page 709

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 704 dgs-3120-24tc:admin#show ospfv3 aggregation command: show ospfv3 aggregation ospfv3 area aggregation settings area id aggregated lsdb advertise network address type --------------- ------------------ -------- --------- 2...

  • Page 710

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 705 dgs-3120-24tc:admin#show ospfv3 lsdb command: show ospfv3 lsdb router lsa (area 0.0.0.0) link state id adv router age seq# link 0.0.0.0 2.2.2.2 696 0x80000003 0 link lsa (interface system) link state id adv router age se...

  • Page 711

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 706 dgs-3120-24tc:admin#show ospfv3 neighbor command: show ospfv3 neighbor router id of interface neighbor neighbor neighbor name priority state --------------- ------------ -------- ------------- 10.10.10.10 system 1 full 2...

  • Page 713

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 708 parameters - specify a 32-bit number in the form of an ipv4 address that uniquely identifies the ospfv3 area in the ospfv3 domain. This area is the transit area where the virtual link is built. - specify a 32-bit number ...

  • Page 714

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 709 restrictions only administrator, operator and power-user level users can issue this command. Example to delete an ospfv3 virtual link: dgs-3120-24tc:admin#delete ospfv3 virtual_link 1.1.1.1 60.60.60.60 command: delete os...

  • Page 715

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 710 dgs-3120-24tc:admin#show ospfv3 virtual_link command: show ospfv3 virtual_link virtual interface configuration transit virtual hello dead instance id link area id neighbor router interval interval status --------------- ...

  • Page 716

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 711 dgs-3120-24tc:admin#create ipv6route redistribute dst ospfv3 src static command: create ipv6route redistribute dst ospfv3 src static success. Dgs-3120-24tc:admin# 70-22 config ipv6route redistribute dst ospfv3 src descri...

  • Page 717

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 712 70-23 delete ipv6route redistribute dst ospfv3 src description this command is used to remove the ipv6 route redistribution to stop importing route of other protocol into ospfv3. Format delete ipv6route redistribute dst ...

  • Page 718: Chapter 71

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 713 chapter 71 password recovery command list enable password_recovery disable password_recovery show password_recovery 71-1 enable password_recovery description this command is used to enable the password recovery mode. Not...

  • Page 719

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 714 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_recovery command:...

  • Page 720

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 715 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 722

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 717 72-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 standalone device ...

  • Page 723

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 718 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 : fail right ...

  • Page 724

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 719 - 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 operator-level...

  • Page 726

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

  • Page 728

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 723 dgs-3120-24tc:admin# ping 10.51.17.1 times 4 command: ping 10.51.17.1 times 4 reply from 10.51.17.1, time reply from 10.51.17.1, time reply from 10.51.17.1, time reply from 10.51.17.1, time ping statistics for 10.51.17.1...

  • Page 729

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 724 dgs-3120-24tc:admin# ping6 3000::1 times 4 command: ping6 3000::1 times 4 reply from 3000::1, bytes=100, time reply from 3000::1, bytes=100, time reply from 3000::1, bytes=100, time reply from 3000::1, bytes=100, time pi...

  • Page 731

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 726 parameters - the policy route name. The maximum length is 32 characters. Restrictions only administrator, operator and power-user level users can issue this command. Example to delete an ip route entry in the switch’s ip...

  • Page 732

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 727 example to configure all packets which match acl rule profile id=1 and access id=1, and then route to 20.1.1.100: dgs-3120-24tc:admin#config policy_route name danilo acl profile_id 1 access_id 1 nexthop 20.1.1.100 state ...

  • Page 734

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 729 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# 75-2 config port_security ports description this command is ...

  • Page 735

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 730 vlanid - specify the vlan id used here. - enter the vlan id used here. Max_learning_addr - specify the maximum learning address value. - enter the maximum learning address value here. This value must be between 0 and 307...

  • Page 736

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 731 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the maximum number of vlan-based port security entries on vlan 1 to be 64: dgs-3120-24tc:admin# config por...

  • Page 738

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 733 parameter is null, to show the entries on all of the ports. - enter the list of port used for this configuration here. Vlan - (optional) specify the name of the vlan that the port security settings will be displayed for....

  • Page 739

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 734 example to display the global configuration of port security: dgs-3120-24tc:admin#show port_security command: show port_security port security trap state : disabled port security log state : disabled system maximum addre...

  • Page 740

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 735 75-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 security co...

  • Page 742

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 737 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_disconnect_method d...

  • Page 743

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 738 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 time range...

  • Page 744

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 739 format show poe system {units } parameters units - (optional) specified units that will be displayed. - enter the unit list that will be displayed here. If no parameter specified, the system will display the status of al...

  • Page 745

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 740 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 port: dgs-3120-24pc:admin#show poe...

  • Page 747

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 742 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 state of sys...

  • Page 748

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 743 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# 77-3 config power_saving led description this comma...

  • Page 750

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 745 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) display the port...

  • Page 751

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 746 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. Dgs-3120-24...

  • Page 753

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 748 78-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 insert the ci...

  • Page 754

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

  • Page 755

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 750 dgs-3120-24tc:admin#.

  • Page 757

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 752 - enter the hello time value here. This value must be between 1 and 18724 seconds. The default value is 30 seconds. Jp_interval - specify the interval between transmitting (flooding to all interfaces) multicast messages ...

  • Page 758

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

  • Page 760

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 755 parameters ipif - (optional) specify the name of the ip interface used to display the pim configuration. - enter the ip interface name used here. This name can be up to 12 characters long. If no parameter is specified, t...

  • Page 761

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 756 parameters ipif - specify the ip interface used for this configuration. - enter the ip interface name used here. This name can be up to 12 characters long. Priority - (optional) specify to set the c-bsr priority. The low...

  • Page 762

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 757 example to display the c-bsr settings: dgs-3120-24tc:admin#show pim cbsr command: show pim cbsr pim candidate-bsr table c-bsr hash mask len : 30 c-bsr bootstrap period : 60 interface ip address priority ------------ ----...

  • Page 763

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 758 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the candidate rendezvous point (rp) holdtime, priority and wildcard prefix count: dgs-3120-24tc:admin#conf...

  • Page 764

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 759 79-10 delete pim crp group description this command is used to delete a multicast group range from the c-rp server list. Format delete pim crp group parameters - enter the multicast group address for this switch to be re...

  • Page 765

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 760 dgs-3120-24tc:admin#show pim crp command: show pim crp pim candidate-rp table c-rp holdtime : 150 c-rp priority : 192 c-rp wildcard prefix count : 0 group interface ------------------ ------------------ 224.1.2.3/32 syst...

  • Page 766

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 761 79-13 show pim ipmroute description this command is used to list all the entries of multicast routing, includes (*,g), (s,g) and (s,g,rpt). Format show pim ipmroute parameters none. Restrictions none. Example to list all...

  • Page 767

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 762 79-14 create pim static_rp group description this command is used to create a static rp. Format create pim static_rp group rp parameters group - specify to assign the multicast group address for this static rp. - enter t...

  • Page 768

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 763 example to delete a static rp: dgs-3120-24tc:admin#delete pim static_rp group 239.1.1.0/24 command: delete pim static_rp group 239.1.1.0/24 success. Dgs-3120-24tc:admin# 79-16 show pim static_rp description this command ...

  • Page 769

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 764 79-17 show pim rpset description this command is used to list all the rpset information. Format show pim rpset parameters none. Restrictions none. Example to list all the rpset information: dgs-3120-24tc:admin#show pim r...

  • Page 770

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 765 format create pim register_checksum_include_data rp_address parameters - specify that the rp will expect to receive a register packet in which the checksum will be included in the data portion. Restrictions only administ...

  • Page 771

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 766 dgs-3120-24tc:admin#delete pim register_checksum_include_data rp_address 24.1.2.3 command: delete pim register_checksum_include_data rp_address 24.1.2.3 success. Dgs-3120-24tc:admin# 79-20 show pim register_checksum_incl...

  • Page 772

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 767 79-21 config pim-ssm description this command is used to enable the ssm (source-specific multicast) service model in pim-sm on the switch. The pim-ssm function will take active only when ssm service model and pim-sm stat...

  • Page 773

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 768 example to display pim-ssm state and group range: dgs-3120-24tc:admin#show pim-ssm command: show pim-ssm ssm service model state : enabled ssm group : 232.0.0.0/8 dgs-3120-24tc:admin#.

  • Page 775

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 770 hello_interval – specify the interval of issuing hello packets fo find neighboring routers. - enter the time between 0 and 18000 seconds. The default value is 30. Triggered_hello_delay - specify the maximum time, in seco...

  • Page 776

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 771 80-2 show pim6 description this command is used to display the pim6 configurations. Format show pim6 {ipif } parameters ipif - (optional) specify to the ip interface name to be displayed. - enter the ip interface name. R...

  • Page 777

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 772 dgs-3120-24tc:admin#show pim6 ipif system command: show pim6 ipif system interface name : system interface link-local address : - interface global address : - pim6 mode : sm state : enabled designated router : - designat...

  • Page 778

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 773 seconds. Restrictions only administrator, operator and power-user level users can issue this command. Example to configure the c-bsr on the interface “system”: dgs-3120-24tc:admin#config pim6 cbsr ipif system state enabl...

  • Page 780

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 775 restrictions only administrator, operator and power-user level users can issue this command. Example to add a multicast group range “ff1e::12ef:1023/64” into the serve list of the c-rp “system”: dgs-3120-24tc:admin#creat...

  • Page 781

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 776 format enable pim6 parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable the pim global state for an ipv6 network: dgs-3120-24tc:admin#enable pim6...

  • Page 782

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 777 80-10 config pim6 last_hop_spt_switchover description this command is used to make the last hop router to decide whether to receive the multicast data from the shared tree or switch over to the shortest path tree (spt). ...

  • Page 783

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 778 example to show the pim6 neighbors: dgs-3120-24tc:admin#show pim6 neighbor command: show pim6 neighbor pim6 neighbor address table interface neighbor address -------------- ---------------- system fe80::200:ff:fe26:66d0 ...

  • Page 784

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 779 restrictions none. Example to show the whole ipv6 multicast routing table generated on the switch: dgs-3120-24tc:admin#show pim6 mroute command: show pim6 mroute total (*,*,rp) entries : 0 total (*,g) entries : 1 total (...

  • Page 785

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 780 - enter the ipv6 interface name. Restrictions none. Example to show the whole ipv6 multicast routing table of (*, g) generated on the switch: dgs-3120-24tc:admin#show pim6 mroute star_g command: show pim6 mroute star_g (...

  • Page 786

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 781 restrictions none. Example to show all (s, g) route entries generated on the switch: dgs-3120-24tc:admin#show pim6 mroute s_g command: show pim6 mroute s_g (s, g) entry table ------------------------ group : ff13::100 so...

  • Page 787

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 782 example to create a static rp: dgs-3120-24tc:admin#create pim6 static_rp group ff02::11/64 rp 3000::12 command: create pim6 static_rp group ff02::11/64 rp 3000::12 success. Dgs-3120-24tc:admin# 80-16 delete pim6 static_r...

  • Page 788

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 783 disable - specify to disable embedded rp support in pim6. Restrictions only administrator, operator and power-user level users can issue this command. Example to enable the embedded rp state: dgs-3120-24tc:admin#config p...

  • Page 789

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 784 80-19 show pim6 static_rp description this command is used to display all static rp settings. Format show pim6 static_rp parameters none. Restrictions none. Example to show the static rp: dgs-3120-24tc:admin#show pim6 st...

  • Page 790

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 785 restrictions none. Example to show all the active rp information: dgs-3120-24tc:admin#show pim6 rpset command: show pim6 rpset bootstrap router: 3120::110 pim6 rp-set table --------------------------------------------- g...

  • Page 791

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 786 example to specify the switch calculates the register packet checksum including the data portion: dgs-3120-24tc:admin#config pim6 register_checksum_calculate include_data command: config pim6 register_checksum_calculate ...

  • Page 792

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 787 parameters - enter the period during which a pim dr stops sending register-encapsulated data to the rp after receiving a register-stop message. The default value is 60. Restrictions only administrator, operator and power...

  • Page 794

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 789 81-2 config dot1v_protocol_group add protocol description this command is used to add a protocol to a protocol group. The selection of a protocol can be a pre-defined protocol type or a user defined protocol. Format conf...

  • Page 795

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 790 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 characters long. ...

  • Page 796

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 791 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 797

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 792 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 id 10 on ...

  • Page 798

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 793 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 ------------------- --------------------------------- ----------------- 1 default ...

  • Page 800

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 795 dgs-3120-24tc:admin# enable qinq command: enable qinq success. Dgs-3120-24tc:admin# 82-2 disable qinq description this command is used to disable the qinq. When qinq is disabled, all dynamic learned l2 addresses will be ...

  • Page 801

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 796 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 configure t...

  • Page 802

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 797 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-1:4 role ...

  • Page 803

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

  • Page 804

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 799 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 tag: disable...

  • Page 805

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 800 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-24tc:admin# c...

  • Page 806

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 801 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# 82-10 show vlan_translation description this command is used to display the existing...

  • Page 808

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 803 maximum limit in kbits/sec. The actual bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit may be equal to the user specified limit, but will not exceed it.. The actual limit recog...

  • Page 809

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 804 example to display port bandwidth control table: 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/s...

  • Page 810

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 805 no_limit - specify that there will be no limit on the rate of packets received by the above specified class. - specify the packet limit, in kbps, that the above ports will be allowed to receive. If the specified rate is ...

  • Page 811

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 806 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 640 no lim...

  • Page 813

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 808 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 parameter...

  • Page 814

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 809 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:7 strict 1...

  • Page 815

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 810 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 configure...

  • Page 816

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

  • Page 817

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 812 dgs-3120-24tc:admin# config 802.1p default_priority all 5 command: config 802.1p default_priority all 5 success. Dgs-3120-24tc:admin# 83-12 show 802.1p default_priority description this command is used to display the cur...

  • Page 818

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 813 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 5 5 1:6 5...

  • Page 819

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 814 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# disable ho...

  • Page 820

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

  • Page 821

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 816 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:8. Dgs-31...

  • Page 822

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 817 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 specific prior...

  • Page 823

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

  • Page 825

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

  • Page 826

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 821 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 rspan vlan vlan...

  • Page 827

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 822 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 vlan_id 3 comma...

  • Page 828

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 823 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 v2 source add ports ...

  • Page 829

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 824 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-3120-24tc:admin#show rspan command: s...

  • Page 831

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 826 format disable rip parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable rip: dgs-3120-24tc:admin#disable rip command: disable rip success. Dgs-3...

  • Page 832

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 827 rx_mode - specify the rip receive mode. V1_only - specify to receive rip version 1 format packets. V2_only - specify to receive rip version 2 format packets. V1_or_v2 - specify to receive both v1 and v2 packets. Disable ...

  • Page 833

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 828 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the rip timers: dgs-3120-24tc:admin#config rip timers update 60 timeout 360 garbage_collection 240 command...

  • Page 834

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 829 dgs-3120-24tc:admin#show rip command: show rip rip global state : enabled update time : 30 seconds timeout time : 180 seconds garbage collection time : 120 seconds rip interface settings interface ip address tx mode rx m...

  • Page 836

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 831 format disable ripng parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable ripng globally: dgs-3120-24tc:admin#disable ripng command: disable rip...

  • Page 837

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 832 example to configure the ripng method as poison reverse: dgs-3120-24tc:admin#config ripng method poison_reverse command: config ripng method poison_reverse success. Dgs-3120-24tc:admin# 86-4 config ripng ipif description...

  • Page 838

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 833 format show ripng {ipif } parameters ipif - (optional) specify the interface name. - enter the interface name. Restrictions none. Example to display ripng information: dgs-3120-24tc:admin#show ripng command: show ripng g...

  • Page 840

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 835 restrictions only administrator, operator and power-user level users can issue this command. Example to configure the ripng route redistribution: dgs-3120-24tc:admin#config ipv6route redistribute dst ripng src local metr...

  • Page 843

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 838 - enter the ip tunnel interface name. Restrictions only administrator, operator and power-user level users can issue this command. Example to delete an ip default route: dgs-3120-24tc:admin# delete iproute default 10.1.1...

  • Page 844

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 839 dgs-3120-24tc:admin# show iproute command: show iproute routing table ip address/netmask gateway interface cost protocol ------------------ --------------- ------------ -------- -------- 10.1.1.0/24 0.0.0.0 system 1 loca...

  • Page 845

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 840 dgs-3120-24tc:admin#config route preference static 70 command: config route preference static 70 success. Dgs-3120-24tc:admin# 87-5 create route redistribute dst ospf src (ri mode only) description this command is used t...

  • Page 846

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 841 87-6 config route redistribute dst ospf src (ri mode only) description this command is used to update the metric or the route map to be associated with the redistributed routes from a specific protocol to ospf protocol. ...

  • Page 848

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 843 route_map - (optional) specify the route map for the redistributed routes. - enter the name of the route map. Restrictions only administrator, operator and power-user level users can issue this command. Example to add ro...

  • Page 849

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 844 example to configure the route redistributions: dgs-3120-24tc:admin#config route redistribute dst rip src ospf internal command: config route redistribute dst rip src ospf internal success. Dgs-3120-24tc:admin# 87-10 del...

  • Page 850

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 845 parameters none. Restrictions none. Example to display the route redistribution settings: dgs-3120-24tc:admin#show route redistribute command: show route redistribute route redistribution settings source destination type...

  • Page 851

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 846 dgs-3120-24tc:admin#show route redistribute dst ospf command: show route redistribute dst ospf route redistribution settings source destination type metric protocol protocol -------- ------------ -------- ------------ ri...

  • Page 852

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 847 dgs-3120-24tc:admin#show route redistribute dst rip command: show route redistribute dst rip route redistribution settings source destination type metric protocol protocol -------- ------------ -------- ------------ ospf...

  • Page 853

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 848 87-15 show ecmp algorithm (ri and ei mode only) description this command is used to display the ecmp route load-balancing algorithm. Format show ecmp algorithm parameters none. Restrictions none. Example to display the e...

  • Page 854

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 849 long. Port - (optional) specify a port. - enter the port number here. Restrictions none. Example to display network address forwarding table: dgs-3120-24tc:admin# show ipfdb command: show ipfdb interface ip address port ...

  • Page 855

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 850 example to display the route preference for all route types: dgs-3120-24tc:admin#show route preference command: show route preference route preference settings protocol preference ---------- ---------- static 60 default ...

  • Page 856

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 851 format disable ecmp ospf parameters none. Restrictions only administrator, operator and power-user level users can issue this command. Example to disable the ospf ecmp function: dgs-3120-24tc:admin#disable ecmp ospf comm...

  • Page 858

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 853 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 860

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 855 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. Dgs-3120-...

  • Page 862

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 857 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-config-1 ...

  • Page 864

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 859 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 entries1 dgs-3...

  • Page 865

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 860 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# 90-6 con...

  • Page 867

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

  • Page 869

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 864 restrictions only administrator, operator and power-user level users can issue this command. Example to enable ssh server public key algorithm: dgs-3120-24tc:admin#config ssh algorithm dsa enable command: config ssh algo...

  • Page 870

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

  • Page 871

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 866 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# 91-4 show ssh authmode description th...

  • Page 873

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 868 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 874

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 869 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# 91-8 enable ssh description this comm...

  • Page 875

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 870 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-24tc:admin# ...

  • Page 876

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 871 91-11 config ssh publickey bypass_login_screen state description this command is used to enable or disable bypassing login screen which is used to avoid a secondary username/password authentication for users using ssh pu...

  • Page 877

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 872 - specify the ipv6 address of the tftp server. Src_file - specify the path name and file name of the tftp server. It can be a relative path name or an absolute path name. If path name is not specified, it refers to the t...

  • Page 878

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 873 dgs-3120-24tc:admin# upload ssh client_public_key 169.168.10.100 dest_file id_rsa_keys command: upload ssh client_public_key 169.168.10.100 dest_file id_rsa_keys connecting to server................... Done. Upload ssh p...

  • Page 880

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 875 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:admin# 92...

  • Page 881

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 876 dgs-3120-24tc:admin# enable ssl command: enable ssl note: web will be disabled if ssl is enabled. Success. Dgs-3120-24tc:admin# 92-3 disable ssl description this command is used to disable ssl feature and supported ciphe...

  • Page 882

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

  • Page 883

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 878 - (optioanl) specify the certification file name on the switch. Restrictions none. Example to show ssl: dgs-3120-24tc:admin#show ssl command: show ssl ssl status enabled rsa_with_rc4_128_md5 0x0004 enabled rsa_with_3des_...

  • Page 884

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 879 example to show ssl cache timeout: dgs-3120-24tc:admin#show ssl cachetimeout command: show ssl cachetimeout cache timeout is 600 second(s) dgs-3120-24tc:admin# 92-7 config ssl cachetimeout description this command is use...

  • Page 887

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

  • Page 888

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 883 - 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 value must be...

  • Page 889

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 884 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 max hops :...

  • Page 890

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 885 dgs-3120-24tc:admin#create stp instance_id 2 command: create stp instance_id 2 warning:there is no vlan mapping to this instance_id! Success. Dgs-3120-24tc:admin# 93-6 config stp instance_id description this command is u...

  • Page 891

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 886 93-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 instance, cis...

  • Page 892

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 887 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 command: config stp mst_config_id name r&d_blockg revis...

  • Page 894

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 889 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 between 1 and 2...

  • Page 895

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 890 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 configuration here...

  • Page 896

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 891 - enter the bridge priority value here. This value must be between 0 and 61440. Instance_id - identifier to distinguish different stp instances. - enter the stp instance id here. This value must be between 0 and 15. Rest...

  • Page 898

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 893 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# show stp ...

  • Page 900

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 895 94-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 level user...

  • Page 901

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 896 dgs-3120-24tc:admin#config surveillance_vlan priority 6 command: config surveillance_vlan priority 6 success. Dgs-3120-24tc:admin# 94-4 config surveillance_vlan oui description this command is used to configure the user-...

  • Page 903

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 898 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 aging_time 6...

  • Page 906

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 901 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 administrator...

  • Page 907

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 902 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 18 success...

  • Page 908

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 903 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 analyzer ser...

  • Page 909

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 904 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 success. D...

  • Page 912

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 907 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 can issue...

  • Page 913

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 908 95-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 command. Exa...

  • Page 914

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 909 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# 95-13 show sflow flow_sampler descripti...

  • Page 915

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 910 95-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. Example to s...

  • Page 916

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 911 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 917: Chapter 96

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 912 chapter 96 show technical support command list show tech_support upload tech_support_totftp 96-1 show tech_support description this command is especially used by the technical support personnel to dump the device overall...

  • Page 918

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

  • Page 919

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 914 96-2 upload tech_support_totftp description this command is used to upload the information of technique’s support to tftp server. The information is project dependent and includes the following information. • basic syste...

  • Page 921

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

  • Page 922

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

  • Page 923

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 918 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 smtp server...

  • Page 924

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 919 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 heading content:...

  • Page 926

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 921 98-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 string acts li...

  • Page 928

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

  • Page 930

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 925 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 12345678 succes...

  • Page 931

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 926 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 932

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 927 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 community...

  • Page 933

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 928 98-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. Restrictions...

  • Page 934

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 929 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 : snmpv1 securi...

  • Page 935

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 930 - 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 users can ...

  • Page 936

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 931 98-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. The name c...

  • Page 937

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

  • Page 939

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 934 parameters host - the ip address of the recipient for which the traps are targeted. - enter the ip address used for the configuration here. V6host - the ipv6 address of the recipient for which the traps are targeted. - e...

  • Page 940

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 935 dgs-3120-24tc:admin#show snmp command: show snmp system name : system location : system contact : snmp trap : enabled snmp state : enabled dgs-3120-24tc:admin# 98-19 show snmp host description this command is used to dis...

  • Page 941

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 936 98-20 show snmp v6host 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 address. - enter the ipv6...

  • Page 942

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 937 98-21 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 switch. It is...

  • Page 943

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 938 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# 98-23 config snmp system_name description this comma...

  • Page 944

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 939 format config snmp system_location {} parameters system_location - a maximum of 128 characters is allowed. And null string is accepted - (optional) enter the system location string here. Restrictions only administrator a...

  • Page 945

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 940 98-26 enable snmp traps description this command is used to enable snmp trap support. Format enable snmp traps parameters none. Restrictions only administrator and operator-level users can issue this command. Example to ...

  • Page 946

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 941 dgs-3120-24tc:admin# disable snmp traps command: disable snmp traps success. Dgs-3120-24tc:admin# 98-28 enable snmp authenticate_traps description this command is used to enable snmp authentication failure trap support. ...

  • Page 947

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 942 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 command: disable snmp authenticat...

  • Page 948

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 943 parameters none. Restrictions only administrator and operator-level users can issue this command. Example to disable the sending of linkchange traps: dgs-3120-24tc:admin# disable snmp linkchange_traps command: disable sn...

  • Page 950

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 945 example to configure the trap state for warmstart event: dgs-3120-24tc:admin# config snmp warmstart_traps enable command: config snmp warmstart_traps enable success. Dgs-3120-24tc:admin# 98-35 show snmp traps description...

  • Page 952

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 947 dgs-3120-24tc:admin# show rmon command: show rmon rmon rising alarm trap : enabled rmon falling alarm trap : enabled dgs-3120-24tc:admin# 98-38 enable community_encryption description this command is used to enable the e...

  • Page 953

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 948 restrictions only administrator-level users can issue this command. Example to disable the encryption state on snmp community string: dgs-3120-24tc:admin#disable community_encryption command: disable community_encryption...

  • Page 955

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 950 99-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 issue this com...

  • Page 956

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 951 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 : 3.00.522 device name : mac address : 00-01-02-03-04-00 capabilit...

  • Page 957

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

  • Page 958

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 953 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-00-11-90 c...

  • Page 961

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 956 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 command: config...

  • Page 962

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 957 dgs-3120-24tc:admin#download sim_ms configuration_from_tftp 10.55.47.1 d:\dwl600x.Tfp members 1 command: download sim_ms configuration_from_tftp 10.55.47.1 d:\dwl600x.Tfp members 1 this device is updating configuration. ...

  • Page 963

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 958 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.Txt membe...

  • Page 965

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 960 100-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 statically. ...

  • Page 966

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 961 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 insert action a...

  • Page 967

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 962 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 : disable trap state : enabled log state : enabled box user p...

  • Page 968

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 963 dgs-3120-24tc:admin#show stack_device command: show stack_device box id box type h/w version serial number ------ ---------------- ----------- -------------------- 1 dgs-3120-24tc b1 pvt93cb000001 dgs-3120-24tc:admin# 10...

  • Page 969

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 964 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_mode stacking...

  • Page 970

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 965 dgs-3120-24tc:admin# config stacking force_master_role state enable command: config stacking force_master_role state enable success. Dgs-3120-24tc:admin# 100-8 config stacking trap state description this command is used ...

  • Page 971

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 966 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 stacking log sta...

  • Page 974

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 969 dgs-3120-24tc:admin#show ipmroute command: show ipmroute index source ip address rpf ip address ----- -------------------- --------------------- 1 11.0.0.0/8 20.1.1.1 total entries : 1 dgs-3120-24tc:admin#.

  • Page 976

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 971 dgs-3120-24tc:admin# config syslog source_ipif none command: config syslog source_ipif none success dgs-3120-24tc:admin# 102-2 show syslog source_ipif description this command is used to display the syslog source ip inte...

  • Page 977

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 972 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 name here. ...

  • Page 978

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 973 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 981

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 976 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) unit 1, rig...

  • Page 982

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 977 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 command: enable ...

  • Page 983

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 978 103-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-3120-24tc:ad...

  • Page 984

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 979 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 level 7 - ...

  • Page 986

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 981 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# 103-9 delete syslog host description this command is ...

  • Page 987

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 982 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: disabled host...

  • Page 988

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 983 dgs-3120-24tc:admin# config log_save_timing on_demand command: config log_save_timing on_demand success. Dgs-3120-24tc:admin# 103-12 show log_save_timing description this command is used to show the method for saving the...

  • Page 989

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

  • Page 990

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

  • Page 992

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 987 104-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 control fo...

  • Page 995

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 990 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 cleared befo...

  • Page 996

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 991 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. Dest_file - used to identify the parameter “pat...

  • Page 997

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 992 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. Dest_file - used to identify the parameter “path_file...

  • Page 998

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 993 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:/config.Cfg ...

  • Page 1000

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 995 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# 107-2 config sntp ipv6server ...

  • Page 1001

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 996 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 secondary sntp ser...

  • Page 1002

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

  • Page 1003

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 998 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. Dgs-3120-24...

  • Page 1005

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1000 - 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) indicat...

  • Page 1006

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1001 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 offset in min...

  • Page 1008

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1003 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# 108-2 traceroute6 description this command is used to trace the ipv6 routed path b...

  • Page 1009

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

  • Page 1011

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1006 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 between ...

  • Page 1012

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1007 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. Both - both ...

  • Page 1013

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1008 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/ multicast...

  • Page 1014

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

  • Page 1015

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1010

  • Page 1017

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1012 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 none. Exa...

  • Page 1019

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1014 dgs-3120-24tc:admin# create trusted_host 10.48.74.121 command: create trusted_host 10.48.74.121 success. Dgs-3120-24tc:admin# 111-2 delete trusted_host description this command is used to delete a trusted host entry mad...

  • Page 1021

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1016 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 1023

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1018 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 udp_helpe...

  • Page 1024

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1019 dgs-3120-24tc:admin#config udp_helper udp_port add 55 command: config udp_helper udp_port add 55 success. Dgs-3120-24tc:admin# 112-4 config udp_helper udp_port delete description this command is used to delete a udp por...

  • Page 1025

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1020 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. Example...

  • Page 1028

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1023 113-2 disable vrrp description this command is used to disable vrrp globally. Format disable vrrp {ping} parameters ping - (optional) specify that the ping option will be disabled. Restrictions only administrator, opera...

  • Page 1029

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1024 priority - (optional) specify the priority to be used for the virtual router master election process - enter the priority value used here. This value must be between 1 and 254. Advertisement_interval - (optional) specif...

  • Page 1030

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1025 parameters vrid - specifies the id of the virtual router used. - enter the virtual router id used here. This value must be between 1 and 255. Ipif - specify the ip interface used for this configuration. - enter the ip i...

  • Page 1032

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1027 characters long. If no parameter is specified, all the vrrp entries will be deleted. Restrictions only administrator, operator and power-user level users can issue this command. Example to delete vrrp: dgs-3120-24tc:adm...

  • Page 1033

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1028 dgs-3120-24tc:admin#show vrrp command: show vrrp global vrrp : enabled non-owner response ping: disabled interface name : system authentication type : simple text password authentication data : 12345678 vrid : 1 virtual...

  • Page 1035

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1030 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. Dgs-3120-...

  • Page 1036

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1031 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 - specify that ...

  • Page 1037

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1032 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 trunk. Port ...

  • Page 1038

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1033 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 following exampl...

  • Page 1040

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

  • Page 1041

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1036 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: config voi...

  • Page 1042

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1037 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-00 ff-ff-f...

  • Page 1043

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1038 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 the mode a...

  • Page 1044

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

  • Page 1045

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1040 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 : v2 prio...

  • Page 1046

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1041 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 1047

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1042 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 untagged ...

  • Page 1048

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1043 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 1049

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1044 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 subtype : netw...

  • Page 1051

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

  • Page 1052

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1047 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 will be disa...

  • Page 1053

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1048 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 success....

  • Page 1054

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1049 116-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 authenticat...

  • Page 1055

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1050 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# 116-8 config wac switch_http_port description this command is used ...

  • Page 1056

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1051 116-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 vlan assi...

  • Page 1057

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1052 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 administra...

  • Page 1058

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1053 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: *** success. Dgs-...

  • Page 1060

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1055 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 : enabled m...

  • Page 1061

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1056 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 1062

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1057 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 in host-b...

  • Page 1063

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1058 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 1064

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1059 password title : password logout window title : logout from the network notification : copyright @ 2011 d-link all rights reserved dgs-3120-24tc:admin# 116-19 clear wac auth_state description this command is used to cle...

  • Page 1066

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1061 117-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 command. Exa...

  • Page 1067

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

  • Page 1068

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1063 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-3120-24tc...

  • Page 1069

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1064 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# 117-6 delete wred profile description this command is used to ...

  • Page 1070

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1065 - (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 port: 1:1...

  • Page 1071

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1066 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 profile nam...

  • Page 1072: Appendix A

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1067 appendix a 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 authenti...

  • Page 1073

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1068 command parameters reset account the reset account command deletes all the previously created accounts. Reset password {} the reset password command resets the password of the specified user. If a username is not specif...

  • Page 1074: Appendix B

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1069 appendix b system log entries the following table lists all possible entries and their corresponding meanings that will appear in the system log of this switch. Category event description log information severity remark...

  • Page 1075

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1070 downloaded downloaded by console(username: , ip: ) "ip: " are xor shown in log string, which means if user login by console, there will no ip information for logging. Configuration download was unsuccessful configuratio...

  • Page 1076

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1071 port link down port link down informational stacking hot insert unit,mac: hot insertion. Informational hot remove unit,mac: hot removal. Informational firmware upgraded to slave successfully firmware upgraded to slave s...

  • Page 1078

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1073 enabled (module: aaa) authentication policy is disabled authentication policy is disabled (module: aaa) informational successful login through console authenticated by aaa local method successful login through console a...

  • Page 1079

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1074 console due to aaa server timeout or improper configuration to aaa server timeout or improper configuration (username: ) successful login through web authenticated by aaa server successful login through web from authent...

  • Page 1080

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1075 local_enable method local_enable method (username: , ) enable admin failed through web(ssl) authenticated by aaa local_enable method enable admin failed through web(ssl) from authenticated by aaa local_enable method (us...

  • Page 1081

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1076 through web due to aaa server timeout or improper configuration web from due to aaa server timeout or improper configuration (username: ) successful enable admin through web(ssl) authenticated by aaa server successful e...

  • Page 1082

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1077 radius server successfully .This egress bandwidth will be assigned to the port. (account: ) 802.1p default priority assigned from radius server after radius client is authenticated by radius server successfully. This 80...

  • Page 1084

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1079 multicast storm occurrence port multicast storm is occurring warning multicast storm cleared port multicast storm has cleared informational port shut down due to a packet storm port is currently shut down due to a packe...

  • Page 1085

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1080 , direction:) cfm extension ais condition detected ais condition detected. Md level:, vlan:, local(port , direction:, mepid:) notice ais condition cleared ais condition cleared. Md level:, vlan:, local(port , direction:...

  • Page 1086

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1081 %d, %s, port id: %d, %s, device class: %d) incompatible lldp-med tlv set detected incompatible lldp-med tlv set detected (on port %d. Chassis id: %d, %s, port id: %d, %s, device class: %d) notice surveillance vlan when ...

  • Page 1087

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1082 table. A virtual mac address is adding into switch l3 table. Added a virtual ip mac into l3 table notice a virtual mac address is deleting from switch l3 table. Deleted a virtual ip addr> mac from l3 table notice failed...

  • Page 1088: Appendix C

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1083 appendix c trap log entries this table lists the trap logs found on dgs-3120 series hardware version a2. Log entry description oid swl2macnotification this trap indicate the mac addresses variation in the address table ...

  • Page 1089

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1084 swpktstormoccurred the trap is sent when packet storm is detected by packet storm mechanism and take shutdown as action. Binding 1: swpktstormctrlportindex 1.3.6.1.4.1.171.12.25.5.0.1 swpktstormcleared the trap is sent ...

  • Page 1090

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1085 swportloopoccurred the trap is sent when a port loop occurs. Binding 1. Swloopdetectportindex 1.3.6.1.4.1.171.12.41.10.0.1 swportlooprestart the trap is sent when a port loop restarts after the interval time. Binding 1....

  • Page 1091

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1086 swcfmextaiscleared a notification is generated when local mep exits ais status. Binding 1. Dot1agcfmmdindex 2. Dot1agcfmmaindex 3. Dot1agcfmmepidentifier 1.3.6.1.4.1.171.12.86.100.0.2 swcfmextlockoccurred a notification...

  • Page 1092

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1087 3. Agentloginusername swpowerfailure power failure notification. Binding 1. Swpowerunitindex 2. Swpowerid 3. Swpowerstatus 1.3.6.1.4.1.171.12.11.2.2.2.0.2 swpowerrecover power recover notification. Binding 1. Swpoweruni...

  • Page 1093

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1088 binding 1. Swddmport 2. Swddmthresholdtype 3. Swddmthresholdexceedtype 4. Swddmthresholdexceedorrecover swddmwarningtrap the trap is sent when any parameter value exceeds the warning threshold value or recover to normal...

  • Page 1094

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1089 swsingleipmstopologychange the commander switch will send swsingleipmstopologychange notification to the indicated host when its member generates a topology change notification. Binding 1. Swsingleipmsid 2. Swsingleipms...

  • Page 1095

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1090 tree; the trap is sent by a bridge soon after its election as the new root, e.G., upon expiration of the topology change timer immediately subsequent to its election. Implementation of this trap is optional. Topologycha...

  • Page 1096

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1091 this table lists the trap logs dgs-3120 series hardware version b1 found on dgs-3120 series hardware version b1. Log entry description oid swl2macnotification this trap indicate the mac addresses variation in the addres...

  • Page 1097

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1092 swpktstormcleared the trap is sent when the packet storm is cleared by packet storm mechanism. Binding 1: swpktstormctrlportindex 1.3.6.1.4.1.171.12.25.5.0.2 swpktstormdisableport when the port is disabled by the packet...

  • Page 1098

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1093 binding 1. Swloopdetectportindex swvlanloopoccurred the trap is sent when a port with a vid loop occurs. Binding 1. Swloopdetectportindex 2. Swvlanloopdetectvid 1.3.6.1.4.1.171.12.41.10.0.3 swvlanlooprestart the trap is...

  • Page 1099

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1094 3. Dot1agcfmmepidentifier swcfmextlockoccurred a notification is generated when local mep enters lock status. Binding 1. Dot1agcfmmdindex 2. Dot1agcfmmaindex 3. Dot1agcfmmepidentifier 1.3.6.1.4.1.171.12.86.100.0.3 swcfm...

  • Page 1100

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1095 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. Binding 1. Sw...

  • Page 1101

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1096 4. Swddmthresholdexceedorrecover swddmwarningtrap the trap is sent when any parameter value exceeds the warning threshold value or recover to normal status depending on the configuration of the trap action. Binding 1. S...

  • Page 1102

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1097 1. Swsingleipmsid 2. Swsingleipmsmacaddr coldstart a coldstart trap signifies that the snmpv2 entity, acting in an agent role, is reinitializing itself and that its configuration may have been altered. 1.3.6.1.6.3.1.1.5...

  • Page 1103

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1098 subsequent to its election. Implementation of this trap is optional. Topologychange a topologychange trap is sent by a bridge when any of its configured ports transitions from the learning state to the forwarding state,...

  • Page 1104

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1099 or authentication type. Implementation of this trap is optional. Binding objects: (1) vrrptrappacketsrc (2) vrrptrapautherrortype pimneighborloss a pimneighborloss notification signifies the loss of an adjacency with a ...

  • Page 1105

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1100 piminterfaceelection a piminterfaceelection notification signifies that a new dr or df has been elected on a network. This notification is generated whenever the counter piminterfaceelectionwincount is incremented, subj...

  • Page 1106: Appendix D

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1101 appendix d 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 (wac) and ...

  • Page 1107

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1102 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-specific...

  • Page 1108

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1103 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) 1. When t...

  • Page 1109

    Xstack ® dgs-3120 series layer 3 managed gigabit switch cli reference guide 1104 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_id auto_as...