D-Link xStack DGS-3400 Series Reference Manual - Cli

Other manuals for xStack DGS-3400 Series: User Manual, Manual, Cli Reference Manual, Reference Manual
Manual is about: Layer 2 Managed Gigabit Ethernet Switch

Summary of xStack DGS-3400 Series

  • Page 1

    ® cli reference guide product model: xstack ® dgs-3400 series layer 2 managed gigabit ethernet switch release 3.0

  • Page 2

    T able of c ontents introduction .................................................................................................................................................................... 1 using the console cli .................................................................................

  • Page 3

    Ipv6 route commands ................................................................................................................................................ 332 ipv6 tunnel commands .................................................................................................................

  • Page 4

    Time range commands ............................................................................................................................................... 584 trace route commands ..................................................................................................................

  • Page 5: Introduction

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 1 1 introduction the switch can be managed through the switch’s serial port, telnet, or the web-based management agent. The command line interface (cli) can be used to configure and manage the switch via the serial port or t...

  • Page 6

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 2 boot procedure 1.00-b13 ------------------------------------------------------------------------------- power on self test ...................................... 100 % mac address : 00-22-b0-de-f0-46 h/w version : a2 pleas...

  • Page 7: Cli

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 3 2 u sing the c onsole cli the switch supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation prog...

  • Page 8

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 4 .. ? Cable_diag ports cfm linktrace cfm lock md cfm loopback clear clear address_binding dhcp_snoop binding_entry ports clear address_binding nd_snoop binding_entry ports clear arptable clear attack_log clear cfm pkt_cnt c...

  • Page 9

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 5 enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed. All commands in the cli function in this way. In addition, the synt...

  • Page 10

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 6 3 c ommand s yntax the following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the cli and available through the console inter...

  • Page 11

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 7 {braces} necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified. Therefore, with this example there are three possible outcomes of performing a ...

  • Page 15

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 11 delete account purpose used to delete an existing user account. Syntax delete account {} description the delete account command deletes a user account that has been created using the create account command. Parameters – e...

  • Page 16

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 12 show switch purpose used to display general information about the switch. Syntax show switch description this command displays information about the switch. Parameters none. Restrictions none. Example usage: to display th...

  • Page 17

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 13 dgs-3450:admin# show serial_port command: show serial_port baud rate : 115200 data bits : 8 parity bits : none stop bits : 1 auto-logout : 10 mins dgs-3450:admin# config serial_port purpose used to configure the serial po...

  • Page 18

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 14 dgs-3450:admin# enable clipaging command: enable clipaging success. Dgs-3450:admin# disable clipaging purpose used to disable the pausing of the console screen scrolling at the end of each page when the show command displ...

  • Page 19

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 15 disable telnet purpose used to disable the telnet protocol on the switch. Syntax disable telnet description this command is used to disable the telnet protocol on the switch. Parameters none. Restrictions only administrat...

  • Page 20

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 16 enable web purpose used to enable the http-based management software on the switch. Syntax enable web {} description this command is used to enable the web-based management software on the switch. The user can specify the...

  • Page 23

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 19 logout purpose used to log out a user from the switch’s console. Syntax logout description this command terminates the current user’s session on the switch’s console. Parameters none. Restrictions none. Example usage: to ...

  • Page 24

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 20 example usage: to configure the command prompt: dgs-3450:admin# config command_prompt tiberius command: config command_prompt tiberius success. Tiberius:admin# config greeting_message purpose used to configure the greetin...

  • Page 25

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 21 dgs-3450:admin# config greeting_message command: config greeting_message greeting messages editor =============================================================================== dgs-3450 gigabit ethernet switch command li...

  • Page 26: 802.1X

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 22 5 802.1x c ommands the switch implements the server-side of the ieee 802.1x port-based and mac-based network access control. This mechanism is intended to allow only authorized users, or other network devices, access to n...

  • Page 29

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 25 create 802.1x user syntax create 802.1x user description the create 802.1x user command create an 802.1x user. Parameters username - specifies adding user name. Restrictions only administrator and operator-level users can...

  • Page 30

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 26 to display the 802.1x user information: dgs-3450:admin# show 802.1x user command: show 802.1x user username password ---------- ---------- user1 abcds total entries : 1 dgs-3450:admin# config 802.1x auth_protocol purpose ...

  • Page 31

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 27 dgs-3450:admin# config 802.1x fwd_pdu system enable command: config 802.1x fwd_pdu system enable success. Dgs-3450:admin# config 802.1x fwd_pdu ports purpose used to configure if the port will flood eapol pdu when 802.1x ...

  • Page 32

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 28 dgs-3450:admin# config 802.1x authorization network radius disable command: config 802.1x authorization network radius disable success. Dgs-3450:admin# show 802.1x purpose used to display the 802.1x state or configuration...

  • Page 33

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 29 dgs-3450:admin#show 802.1x command: show 802.1x 802.1x : disabled authentication mode : none authentication protocol : radius_eap forward eapol pdu : disabled max users : 4000 radius authorization : enabled dgs-3450:admin...

  • Page 34

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 30 dgs-3450:admin# config 802.1x capability ports 1:1-1:10 authenticator command: config 802.1x capability ports 1:1-1:10 authenticator success. Dgs-3450:admin# config 802.1x max_users purpose used to configure the maximum n...

  • Page 35

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 31 config 802.1x auth_parameter force_unauthorized - force a specific port to be unconditionally unauthorized. Quiet_period - it is the initialization value of the quietwhile timer. The default value is 60 seconds and can be...

  • Page 37

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 33 create 802.1x guest_vlan purpose used to assign a static vlan to be guest vlan. Syntax create 802.1x guest_vlan { } description the create 802.1x guest_vlan command will assign a static vlan to be guest vlan. The specific...

  • Page 38

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 34 config 802.1x guest_vlan enable - join the guest vlan. Disable - remove from guest vlan. Restrictions only administrator and operator-level users can issue this command. Example usage: enable on port 1 – 8 to configure 80...

  • Page 39

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 35 config radius add encrypt user’s authentication data before being transmitted over internet. The maximum length of the key is 32. Encryption_key - specifies the encryption key. - enter the encryption key here. This can be...

  • Page 41

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 37 dgs-3450:admin# show radius command: show radius index 1 ip address : fe80:fec0:56ab:34b0:20b2:6aff:fecf:7ec6 auth-port : 1812 acct-port : 1513 timeout : 5 retransmit : 2 key : adfdslkfjefiefdkgjdassdwtgjk6y1w index 2 ip ...

  • Page 42

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 38 dgs-3450:admin# show auth_statistics ports 1 command: show auth_statistics ports 1 port number : 1 eapolframesrx 0 eapolframestx 6 eapolstartframesrx 0 eapolreqidframestx 6 eapollogoffframesrx 0 eapolreqframestx 0 eapolre...

  • Page 43

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 39 dgs-3450:admin# show auth_diagnostics ports 1 command: show auth_diagnostics ports 1 port number : 1 entersconnecting 20 eaplogoffswhileconnecting 0 entersauthenticating 0 successwhileauthenticating 0 timeoutswhileauthent...

  • Page 44

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 40 dgs-3450:admin# show auth_session_statistics ports 1 command: show auth_session_statistics ports 1 port number : 1 sessionoctetsrx 0 sessionoctetstx 0 sessionframesrx 0 sessionframestx 0 sessionid sessionauthenticmethod r...

  • Page 45

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 41 dgs-3450:admin# show auth_client command: show auth_client radiusauthclient ==> radiusauthclientinvalidserveraddresses 0 radiusauthclientidentifier d-link radiusauthserverentry ==> radiusauthserverindex :1 radiusauthserve...

  • Page 46

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 42 dgs-3450:admin# show acct_client command: show acct_client radiusacctclient ==> radiusacctclientinvalidserveraddresses 0 radiusacctclientidentifier d-link radiusauthserverentry ==> radiusaccserverindex : 1 radiusaccserver...

  • Page 47

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 43 dgs-3450:admin# config accounting service shell state enable command: config accounting service shell state enable success. Dgs-3450:admin# show accounting service purpose used to show the status of radius accounting serv...

  • Page 48

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 44 6 a ccess a uthentication c ontrol c ommands the tacacs / xtacacs / tacacs+ / radius commands allow users to secure access to the switch using the tacacs / xtacacs / tacacs+ / radius protocols. When a user logs in to the ...

  • Page 49

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 45 please note that user granted access to the switch will be granted normal user privileges on the switch. To gain access to admin level privileges, the user must enter the enable admincommand and then enter a password, whi...

  • Page 51

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 47 disable password encryption the password will be in plan text form. However, if the user specifies the password in encrypted form, or if the password has been converted to encrypted form by the last enable password encryp...

  • Page 52

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 48 config account user to input the password interactively. In this case, the user can only input a plain text password. If the user specifies a password in the command, the user can select to input the password in plain tex...

  • Page 53

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 49 dgs-3450:admin# show account command: show account current accounts: username access level --------------- ------------ system user dlink admin total entries : 2 dgs-3450:admin# delete account purpose this command is used...

  • Page 54

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 50 dgs-3450:admin# enable authen_policy command: enable authen_policy success. Dgs-3450:admin# disable authen_policy purpose this command is used to disable the system access authentication policy. Syntax disable authen_poli...

  • Page 55

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 51 create authen_login method_list_name purpose this command is used to create a user-defined method list of authentication methods for users attempting to log in to the switch. Syntax create authen_login method_list_name de...

  • Page 56

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 52 to configure a user-defined method list called “login_list_1”, that specifies a sequence of the built-in “tacacs+” server group, followed by the “tacacs” server group, and finally the local account database for users atte...

  • Page 57

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 53 dgs-3450:admin# show authen_login method_list_name login_list_1 command: show authen_login method_list_name login_list_1 method list name priority method name comment ---------------- -------- --------------- ------------...

  • Page 58

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 54 config authen_enable tacacs+ - specify authentication by the built-in server group “tacacs+”. Radius - specify authentication by the built-in server group “radius”. Server_group - specify authentication by the user-define...

  • Page 59

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 55 show authen_enable method_list_name - display the specific user-defined method list for promoting a user's privilege to admin level. All - display all the method lists for promoting a user's privilege to admin level. Rest...

  • Page 60

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 56 dgs-3450:admin# config authen application telnet login method_list_name login_list_1 command: config authen application telnet login method_list_name login_list_1 success. Dgs-3450:admin# show authen application purpose t...

  • Page 62

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 58 dgs-3450:admin# delete authen server_group mix_1 command: delete authen server_group mix_1 success. Dgs-3450:admin# show authen server_group purpose this command is used to display the authentication server groups. Syntax...

  • Page 63

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 59 create authen server_host tacacs/xtacacs/tacacs+ is 49. Default value for radius is 1812. Key - the key for tacacs+ and radius authentication. If the value is null, no encryption will apply. This value is meaningless for ...

  • Page 64

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 60 example usage: to configure the tacacs+ authentication server host with an ip address of 10.1.1.222 to have the key value “this is a secret”: dgs-3450:admin# config authen server_host 10.1.1.222 protocol tacacs+ key "this...

  • Page 65

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 61 dgs-3450:admin# show authen server_host command: show authen server_host srv ip address protocol port timeout retransmit key --------------- -------- ----- ------- ---------- ------------------------- 10.1.1.222 tacacs+ 1...

  • Page 66

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 62 dgs-3450:admin# config authen parameter attempt 9 command: config authen parameter attempt 9 success. Dgs-3450:admin# show authen parameter purpose this command is used to display the parameters of authentication. Syntax ...

  • Page 67

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 63 config admin local_enable purpose this command is used to configure the local enable password of the administrator level privilege. Syntax config admin local_enable description configure the local enable password for the ...

  • Page 68

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 64 disable authen_policy_encryption description when disabled, tacacs+ and radius key will be in the plain text form. Parameters none. Restrictions only administrator and operator-level users can issue this command. Example ...

  • Page 69: (Acl)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 65 7 a ccess c ontrol l ist (acl) c ommands the access control list (acl) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create acce...

  • Page 71

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 67 create access_profile description the create access_profile command creates access list rules. Parameters vlan - specifies a vlan mask. Only the last 12 bits of the mask will be considered. Source_mac - specifies the sour...

  • Page 72

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 68 dgs-3450:admin# create access_profile ethernet vlan source_mac 00-00-00-00-00-01 destination_mac 00-00-00-00-00-02 802.1p ethernet_type profile_id 1 command: create access_profile ethernet vlan source_mac 00-00-00-00-00-0...

  • Page 74

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 70 config access_profile src_port - specifies the range of tcp source port range. Dst_port - specifies the range of tcp destination port mask. Protocod_id - specifies that the rule applies to the value of ip protocol id traf...

  • Page 75

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 71 dgs-3450:admin# config access_profile profile_id 5 add access_id auto_assign packet_content offset_chunk_1 0xaaaaaaaa offset_chunk_2 0xbbbbbbbb offset_chunk_3 0xffffffff offset_chunk_4 0xeeeeeeee port all permit command: ...

  • Page 77

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 73 create cpu access_profile profile_id - specify the udp source port mask. Dst_port_mask - (optional) specify the udp destination port mask. - specify the udp destination port mask. Protocol_id_mask - specify that the rule ...

  • Page 78

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 74 dgs-3450:admin#create cpu access_profile profile_id 1 ethernet vlan command: create cpu access_profile profile_id 1 ethernet vlan success. Dgs-3450:admin#create cpu access_profile profile_id 2 ip source_ip_mask 255.255.25...

  • Page 79

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 75 config cpu access_profile profile_id vlanid - specify the vlan id. - specify the vlan id between 1 and 4094. Source_ip - specify an ip source address. - specify an ip source address. Destination_ip - specify an ip destina...

  • Page 80

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 76 config cpu access_profile profile_id - specify the mask for packet bytes 24-27. - specify the mask for packet bytes 28-31. Offset_32-47 - specify the mask for packet bytes 32-47 - specify the mask for packet bytes 32-35. ...

  • Page 82

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 78 dgs-3450:admin#show cpu access_profile command: show cpu access_profile cpu interface filtering state: disabled cpu interface access profile table access profile id: 1 type : ethernet =====================================...

  • Page 83

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 79 ================================================================================ mask option : class flow label ----- ---------- access id : 1 mode: permit ports: 1:1 ----- ---------- 10 fffff ============================...

  • Page 84

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 80 dgs-3450:admin#disable cpu_interface_filtering command: disable cpu_interface_filtering success. Dgs-3450:admin#.

  • Page 85: Acl

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 81 8 acl flow m etering c ommands before configuring the acl flow meter, here is a list of acronyms and terms users will need to know. Trtcm – two rate three color marker. This, along with the srtcm, are two methods availabl...

  • Page 88

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 84 config flow_meter profile_id • replace_dscp − packets that are in the yellow flow may have their dscp field rewritten using this parameter and entering the dscp value to replace. • drop – enter this parameter to drop pack...

  • Page 89

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 85 dgs-3450:admin# show flow_meter profile_id 1 access_id 1 command: show flow_meter profile_id 1 access_id 1 profile id : 1 access id : 1 mode: trtcm cir: 1000(64kbps) cbs: 200(kbyte) pir: 2000(64kbps) pbs : 200(kbyte) acti...

  • Page 90: (Arp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 86 9 a ddress r esolution p rotocol (arp) c ommands the address resolution protocol (arp) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parame...

  • Page 91

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 87 example usage: to delete an entry of ip address 10.48.74.121 from the arp table: dgs-3450:admin# delete arpentry 10.48.74.121 command: delete arpentry 10.48.74.121 success. Dgs-3450:admin# config arpentry purpose used to ...

  • Page 92

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 88 config arp_retry times purpose used to set the arp retry times. Syntax config arp_retry times description you can set the value for arp retry,if the values is setting to 0 means there will only send one arp request for on...

  • Page 93

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 89 show arpentry restrictions none. Example usage: to display the arp table: dgs-3450:admin#show arpentry command: show arpentry arp aging time : 30 arp retry times : 2 interface ip address mac address type ------------- ---...

  • Page 94: Arp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 90 10 arp s poofing p revention c ommands the arp spoofing prevention commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config arp_spoo...

  • Page 95

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 91 show arp_spoofing_prevention purpose used to show the arp spoofing prevention entry. Syntax show arp_spoofing_prevention description this command is used to show the arp spoofing prevention entry. Parameters none. Restric...

  • Page 96: Bpdu

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 92 11 bpdu a ttack p rotection c ommands users at different sites connected across a service-provider network need to use various layer 2 protocols to scale their topologies to include all remote sites, as well as the local ...

  • Page 97

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 93 config bpdu_protection ports restrictions only administrator and operator-level users can issue this command..

  • Page 98

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 94 example usage: to set the port state enable and drop mode: dgs-3450:admin# config bpdu_protection ports 1 state enable mode drop commands: config bpdu_protection ports 1 state enable mode drop success. Dgs-3450:admin# con...

  • Page 99

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 95 example usage: to config the bpdu_protection trap state as both for the entire switch: dgs-3450:admin# config bpdu_protection trap both commands: config bpdu_protection trap both success. Dgs-3450:admin# enable bpdu_prote...

  • Page 100

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 96 show bpdu_protection purpose used to show bpdu_protection status. Syntax show bpdu_protection {ports { }} description the show bpdu_protection command is used to display bpdu_protection global configuration or per port co...

  • Page 101

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 97 12 c ommand h istory l ist the switch history commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters ? {} config command_history show com...

  • Page 102

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 98 dgs-3450:admin# ? .. ? Cd clear clear address_binding dhcp_snoop binding_entry ports clear arptable clear attack_log clear counters clear dhcp_binding clear fdb clear log clear mac_based_access_control auth_mac clear port...

  • Page 103

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 99 dgs-3450:admin# config command_history 20 command: config command_history 20 success. Dgs-3450:admin# show command_history purpose used to display the command history. Syntax show command_history description this command ...

  • Page 104

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 100 13 c ommand l ogging c ommands the command logging function is used to log the commands that have successfully been configured to the switch via the command line interface. The requirement is to log the command itself, a...

  • Page 105

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 101 disable command logging restrictions only administrator and operator-level users can issue this command. Example usage: to disable the command logging function: dgs-3450:admin# disable command logging command: disable co...

  • Page 106

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 102 14 c ompound a uthentication c ommands the compound authentication chapter describes the common feature for access control functionalities and specifications. The compound authentication commands in the command line inte...

  • Page 107

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 103 example usage: to create an authentication guest vlan: dgs-3450:admin# create authentication guest_vlan vlan guestvlan command: create authentication guest_vlan vlan guestvlan success. Dgs-3450:admin# delete authenticati...

  • Page 108

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 104 dgs-3450:admin# config authentication guest_vlan vlan gv add ports all command: config authentication guest_vlan vlan gv add ports all success. Dgs-3450:admin# config authentication ports purpose used to configure securi...

  • Page 109

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 105 dgs-3450:admin# config authentication ports all auth_mode host_based vlanid 1-3 state enable command: config authentication ports all auth_mode host_based vlanid 1-3 state enable success. Dgs-3450:admin# show authenticat...

  • Page 110

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 106 dgs-3450:admin# show authentication ports command: show authentication ports port methods auth mode authentication vlan(s) ---- ------------ ----------- --------------------- 1 none host based 1,3,5,9,11,88,16 18,56 2 an...

  • Page 111

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 107 example usage: this example sets authorization global state disabled: dgs-3450:admin# disable authorization attributes command: disable authorization attributes success. Dgs-3450:admin# show authorization purpose used to...

  • Page 112

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 108 set authentication server auth fail over state: dgs-3450:admin# config authentication server failover local command: config authentication server failover local success. Dgs-3450:admin# show authentication purpose used t...

  • Page 113

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 109 15 c onfiguration c ommands configuration function is used to conserve several configuration files in switch. With configuration function, user could conserve several same configurations in switch, one for currently use,...

  • Page 114

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 110 example usage: to download the configuration file “desxxxx.Cfg” from tftp server at ip address 10.54.71.1: dgs-3450:admin# download cfg_fromtftp 10.54.71.1 src_file desxxxx.Cfg command: download cfg_fromtftp 10.54.71.1 s...

  • Page 115

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 111 upload cfg_totftp dest_file - the pathname specifies the dos pathname on the tftp server. It can be a relative pathname or an absolute pathname. Config_id - specifies the configuration file id. If configuration id is not...

  • Page 116

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 112 show config the relationship of multiple filter strings following the same filter type is or. That is, one line is qualified if one of specified filter strings is matched. If more than one filter evaluation is specified;...

  • Page 117

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 113 dgs-3450:admin#config configuration 1 boot_up command: config configuration 1 boot_up success. Dgs-3450:admin# save config purpose used to save the current configuration to a file. Syntax save {config } description used ...

  • Page 118: (Cfm)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 114 16 c onnectivity f ault m anagement (cfm) c ommands the connectivity fault management (cfm) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command ...

  • Page 121

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 117 dgs-3450:admin#create cfm ma op1 ma_index 1 md op_domain command: create cfm ma op1 ma_index 1 md op_domain success. Dgs-3450:admin# config cfm ma purpose used to configure the parameters of a maintenance association. Sy...

  • Page 122

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 118 config cfm ma created maintenance association. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure a cfm ma: dgs-3450:admin#config cfm ma op1 md op_domain vlanid 1...

  • Page 124

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 120 to configure a cfm mep: dgs-3450:admin#config cfm mep mepname mep1 state enable ccm enable command: config cfm mep mepname mep1 state enable ccm enable success. Dgs-3450:admin# delete cfm mep purpose used to delete a pre...

  • Page 126

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 122 disable cfm purpose used to disable the cfm globally. Syntax disable cfm description this command is used to disable the cfm globally. Parameters none. Restrictions only administrator and operator-level users can issue t...

  • Page 127

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 123 show cfm ports restrictions none. Example usage: to show the cfm ports: dgs-3450: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...

  • Page 128

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 124 mip creation: explicit senderid tlv: none ma index ma name vid ---------- ---------------------- ---- 1 op1 1 dgs-3450:admin#show cfm md op_domain ma op1 command: show cfm md op_domain ma op1 ma index : 1 ma name : op1 m...

  • Page 130

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 126 dgs-3450:admin#show cfm port 1:2 command: show cfm port 1:2 mac address: 00-22-b0-de-f0-46 md name ma name mepid level direction vid ----------- ----------- ----- ----- --------- ---- op_domain op1 1 2 inward 1 dgs-3450:...

  • Page 131

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 127 cfm loopback md_index - specify the maintenance domain index. Ma - specify the maintenance association name. Ma_index - specify the maintenance association index. Num - number of lbms to be sent. The default value is 4. ...

  • Page 132

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 128 dgs-3450:admin#cfm linktrace 00-01-02-03-04-05 mepname mep1 command: cfm linktrace 00-01-02-03-04-05 mepname mep1 transaction id: 26 success. Dgs-3450:admin# show cfm linktrace purpose used to show the link trace respons...

  • Page 133

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 129 dgs-3450: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 address ...

  • Page 134

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 130 example usage: to show mip ccm database entries: dgs-3450:admin#show cfm mipccm command: show cfm mipccm ma vid mac address port ---------- ---- ----------------- ----- opma 1 00-11-22-33-44-55 2 opma 1 00-22-33-44-55-66...

  • Page 136

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 132 show cfm pkt_cnt restrictions none. Example usage: to show the cfm packet’s rx/tx counters:.

  • Page 137

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 133 dgs-3450:admin#show cfm pkt_cnt command: show cfm pkt_cnt cfm rx statistics ----------------------------------------------------------------------------- port allpkt ccm lbr lbm ltr ltm viddrop opcodrop ----- -------- --...

  • Page 139

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 135 dgs-3450:admin#config cfm ais md op_domain ma op1 mepid 1 state enable level 5 command: config cfm ais md op_domain ma op1 mepid 1 state enable level 5 success. Dgs-3450:admin# config cfm lock md purpose used to configur...

  • Page 140

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 136 17 c ounter c ommands the counter commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters show packet ports show error ports show utiliza...

  • Page 141

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 137 dgs-3450:admin# show packet ports 2:7 command: show packet ports 2:7 port number : 2:7 frame size/type frame counts frames/sec --------------- ---------------------- ----------- 64 0 0 65-127 0 0 128-255 0 0 256-511 0 0 ...

  • Page 142

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 138 show utilization purpose use to show real-time port utilization statistics. Syntax show utilization ports {} description the show utilization command displays real-time ports utilization statistics. Parameters portlist -...

  • Page 143

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 139 clear counter if no parameter is specified, system will counter all of the ports. Restrictions only administrator and operator-level users can issue this command. Example usage: to clear the switch’s statistics counters:...

  • Page 144

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 140 18 d ebug c ommands software debug is used to define the common behavior of each module’s debug function and collect and save basic os information when exceptions happen. The debug commands in the command line interface ...

  • Page 145

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 141 example usage: to dump the error log: dgs-3450:admin# debug error_log dump command: debug error_log dump ************************************************************************** # debug log: 1 # level: fatal # clock: 1...

  • Page 147

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 143 debug output description set specified module’s debug message output to debug buffer or local console. Parameters - the module list. All - control output method of all modules. Buffer - direct the debug message of the mo...

  • Page 148

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 144 debug show status parameters - the module list. Restrictions only administrator and operator-level users can issue this command. Example usage: to show the specified module’s debug state: dgs-3450:admin# debug show statu...

  • Page 149

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 145 debug show error_reboot state purpose use the command to show the error reboot status. Syntax debug show error_reboot state description show the error reboot status. Parameters none. Restrictions only administrator and o...

  • Page 150

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 146 dgs-3450:admin#debug show error ports sio1 command: debug show error ports sio1 port number : 1:49 rx frames tx frames --------- --------- crc error 0 excessive deferral 0 undersize 0 crc error 0 oversize 0 late collisio...

  • Page 151

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 147 dgs-3450:admin#debug show packet ports sio1 command: debug show packet ports sio1 port number : 1:49 frame size/type frame counts frames/sec --------------- ---------------------- ----------- 64 0 0 65-127 0 0 128-255 0 ...

  • Page 152: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 148 19 dhcp l ocal r elay c ommands the dhcp local relay commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config dhcp_local _relay vla...

  • Page 153

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 149 example usage: to enable the dhcp local relay function: dgs-3450:admin# enable dhcp_local_relay command: enable dhcp_local_relay success. Dgs-3450:admin# disable dhcp_local_relay purpose used to disable the dhcp local re...

  • Page 155

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 151 dgs-3450:admin# config dhcp_relay hops 4 time 2 command: config dhcp_relay hops 4 time 2 success. Dgs-3450:admin# config dhcp_relay add purpose used to add an ip destination address to the switch’s dhcp relay table. Used...

  • Page 157

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 153 enable dhcp_relay parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to enable the dhcp relay function: dgs-3450:admin# enable dhcp_relay command: enable dhcp...

  • Page 158

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 154 dgs-3450:admin#show dhcp_relay ipif system command: show dhcp_relay ipif system dhcp/bootp relay status : disabled dhcp/bootp hops count limit : 4 dhcp/bootp relay time threshold : 0 second(s) dhcp vendor class identifie...

  • Page 159

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 155 config dhcp_relay option_60 add the system will relay the packet to all the matching servers. Parameters string - the specified string. Relay - specify a relay server ip address. Exact-match - the option 60 string in the...

  • Page 161

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 157 dgs-3450:admin#show dhcp_relay option_60 command: show dhcp_relay option_60 default processing mode: drop default servers: matching rules: string match type ip address ------- --------- --------- 101 partial match 110.1....

  • Page 162

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 158 config dhcp_relay option_61 add only one relay server can be specified for a mac-address or a string, if relay servers are determined based on option 60, and one relay server is determined based on option 61, the final r...

  • Page 163

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 159 config dhcp_relay option_61 delete string - the entry with the specified string will be deleted. All - all rules excluding the default rule will be deleted. Restrictions only administrator and operator-level users can is...

  • Page 164: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 160 21 dhcp s erver s creening c ommands the dhcp server screening commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The dhcp server screening commands al...

  • Page 165

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 161 config filter dhcp_server illegal_server_log_suppress_duration - specify the suppress duration of illegal dhcp server feature. Trap_log – enable or disable trap/log related to dhcp server filter. Restrictions only admini...

  • Page 166

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 162 to display the dhcp server/client filter list created on the switch the log ceasing unauthorized duration and the log/trap state: dgs-3450:admin# show filter dhcp_server command: show filter dhcp_server filter dhcp serve...

  • Page 167: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 163 22 dhcp s erver c ommands for this release, the switch now has the capability to act as a dhcp server to devices within its locally attached network. Dhcp, or dynamic host configuration protocol, allows the switch to del...

  • Page 169

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 165 delete dhcp pool parameters − enter an name of up to 12 alphanumeric characters to identify the pool to be deleted with this command. All – enter this command to delete all created dhcp pool. Restrictions only administra...

  • Page 171

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 167 show dhcp_binding purpose used to show the dhcp binding information. Syntax show dhcp_binding {} description this command is used to display the dhcp binding information by created pool. Entering the command without the ...

  • Page 172

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 168 config dhcp ping_packets purpose used to set the number of ping packets that will be sent out to find if an ip address is available. Syntax config dhcp ping_packets description this command will set the number of ping pa...

  • Page 173

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 169 config dhcp pool boot_file purpose used to specify the boot file that will be used as the boot image of the dhcp client syntax config dhcp pool boot_file description this command is used to specify the boot file that wil...

  • Page 174

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 170 config dhcp pool dns_server_address purpose used to configure the ip addresses of dns servers for a specific dhcp pool. Syntax config dhcp pool dns_server_address {} {} description this command is used to configure the d...

  • Page 176

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 172 dgs-3450:admin# config dhcp pool netbios_name_server accounting 10.98.254.2 command: config dhcp pool netbios_name_server accounting 10.98.254.2 success. Dgs-3450:admin# config dhcp pool netbios_node_type purpose used to...

  • Page 177

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 173 dgs-3450:admin# config dhcp pool network_addr accounting 10.1.1.1/8 command:config dhcp pool network_addr accounting 10.1.1.1/8 success. Dgs-3450:admin# config dhcp pool next_server purpose used to configure the ip addre...

  • Page 178

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 174 dgs-3450:admin# enable dhcp_server command: enable dhcp_server success. Dgs-3450:admin# disable dhcp_server purpose used to disable the dhcp function on the switch. Syntax disable dhcp_server description this command, al...

  • Page 179

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 175 create dhcp excluded_address begin_address purpose used to configure ip addresses that will be excluded from the dhcp server pool of addresses. Syntax create dhcp excluded_address begin_address end_address description th...

  • Page 180

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 176 dgs-3450:admin# delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 command: delete dhcp excluded_address begin_address 10.10.10.1 end_address 10.10.10.10 success. Dgs-3450:admin# show dhcp excl...

  • Page 181

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 177 dgs-3450:admin#show dhcp pool floor2 command: show dhcp pool floor2 pool name :floor2 network address :10.0.0.0/8 domain name : dns server address :0.0.0.0 netbios name server :0.0.0.0 netbios node type :broadcast defaul...

  • Page 182

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 178 config dhcp pool option_profile delete - specifies to delete an option profile from the dhcp pool. - enter the profile name used here. This name can be up to 12 characters long. Restrictions only administrator and operat...

  • Page 183

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 179 delete dhcp option_profile description this command is used to delete a dhcp option profile. Parameters - enter the profile name used here. This name can be up to 12 characters long. Restrictions only administrator and o...

  • Page 184

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 180 dgs-3450:admin#config dhcp option_profile profile1 add option 56 string "11-22-33-44-55- 66" command: config dhcp option_profile profile1 add option 56 string "11-22-33-44-55-66" success. Dgs-3450:admin# show dhcp option...

  • Page 185: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 181 23 dhcp v 6 c lient c ommands the dhcpv6 client commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters debug dhcpv6_client state [enable...

  • Page 186

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 182 dgs-3450:admin# debug dhcpv6_client output console command: debug dhcpv6_client output console success. Dgs-3450:admin# debug dhcpv6_client packet purpose used to enable or disable the debug information flag for dhcpv6 c...

  • Page 187: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 183 24 dhcp v 6 r elay c ommands the dhcpv6 relay commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config dhcpv6_relay hop_count confi...

  • Page 188

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 184 config dhcpv6_relay parameters add - add an ipv6 destination to the dhcpv6 relay table. Delete - delete an ipv6 destination from the dhcpv6 relay table ipif_name - the name of the ip interface in which dhcpv6 relay is to...

  • Page 189

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 185 show dhcpv6_relay if no ip interface is specified, all configured dhcpv6 relay interfaces will be displayed. Restrictions only administrator and operator-level users can issue this command. Example usage: this is an exam...

  • Page 190

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 186 dgs-3450:admin# enable dhcpv6_relay command: enable dhcpv6_relay success. Dgs-3450:admin# disable dhcpv6_relay purpose used to disable the dhcpv6 relay function on the switch syntax disable dhcpv6_relay description this ...

  • Page 191

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 187 debug dhcpv6_relay output description this command is used to set the debug message to output to a buffer or a console. Parameters output - see below: buffer - let the debug message output to buffer. Console - let the de...

  • Page 192

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 188 debug dhcpv6_relay hop_count state enable - enable the hop_count state. Disable - disable the hop_count state. Restrictions only administrator and operator-level users can issue this command. Example usage: to enable deb...

  • Page 193: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 189 25 dhcp v 6 s erver c ommands the dhcpv6 server commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create dhcpv6 pool delete dhcpv6 ...

  • Page 194

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 190 to create a dhcpv6 pool pool1: dgs-3450:admin# create dhcpv6 pool pool1 command : create dhcpv6 pool pool1 success dgs-3450:admin# delete dhcpv6 pool purpose this command is used to delete one or all dhcpv6 pools. Syntax...

  • Page 195

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 191 dgs-3450:admin#show dhcpv6 pool pool1 command: show dhcpv6 pool pool1 pool name : pool1 begin network address : 2000::1/64 end network address : 2000::32/64 domain name : d_link.Com dns server address : 2000::200 : 2000:...

  • Page 196

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 192 dgs-3450:admin#config dhcpv6 pool ipv6network_addr pool1 begin 2000::1/64 end 2000::32/64 command: config dhcpv6 pool ipv6network_addr pool1 begin 2000::1/64 end 2000::32/64 success. Dgs-3450:admin# config dhcpv6 pool do...

  • Page 197

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 193 to configure the dns server address for a dhcpv6 pool: dgs-3450:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201 command: config dhcpv6 pool dns_server pool1 2000::200 2000::201 success. Dgs-3450:admin# con...

  • Page 198

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 194 config dhcpv6 pool manual_binding manual binding entry. Add - enter the ipv6 address to be statically bound to a device. - enter the ipv6 prefix to be statically bound to a device. Client_duid - enter the duid of the dev...

  • Page 199

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 195 dgs-3450:admin# show dhcpv6 manual_binding command: show dhcpv6 manual_binding pool name: pool1 entry 1 ipv6 address : 3000::21 duid : 00010006124dd584002191454d33 entry 2 ipv6 address : 3000::28 duid : 000300060022d7e50...

  • Page 200

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 196 clear dhcpv6 binding purpose this command is used to clear the dhcpv6 dynamic binding information. Syntax clear dhcpv6 binding {} description this command is used to clear the dhcpv6 dynamic binding information, not incl...

  • Page 201

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 197 example usage: to configure the dhcpv6 server global state to disable: dgs-3450:admin# disable dhcpv6_server command: disable dhcpv6_server success. Dgs-3450:admin# show dhcpv6_server purpose this command is used to disp...

  • Page 202

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 198 config dhcpv6 pool excluded_address all - delete all excluded address ranges of a specified pool. Restrictions only administrator and operator-level users can issue this command. Example usage: to add the ipv6 addresses ...

  • Page 203

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 199 dgs-3450:admin# show dhcpv6 excluded_address command: show dhcpv6 excluded_address pool1 range 1 begin address: 2000::2 end address : 2000::5 range 2 begin address: 2000::8 end address : 2000::8 pool name: pool2 range 1 ...

  • Page 204

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 200 debug dhcpv6_server state parameters state - see below: enable - enable the dhcpv6 server debug function disable - disable the dhcpv6 server debug function restrictions only administrator and operator-level users can iss...

  • Page 205

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 201 config dhcpv6 pool prefix_delegation - enter the ipv6 networks address of the dhcpv6 pool here. - enter the prefix length value here. This can be between 1 and 128. - enter the ip interface name here. This can be up to 1...

  • Page 206: (Ddm)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 202 26 d igital d iagnostic m onitoring (ddm) c ommands this ddm ui specification describes the digital diagnostic monitoring functionality and specifications based on sff-8472 standard. Functions of this software module app...

  • Page 207

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 203 config ddm ports high_alarm - specify the high threshold for the alarm. When the operating parameter rises above this value, the action associated with the alarm is taken. - enter the high threshold alarm value used here...

  • Page 208

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 204 config ddm ports take effect. Enable - specify to enable the ddm state. Disable - specify to disable the ddm state. Shutdown - specify whether or not to shutdown the port when the operating parameter exceeds the correspo...

  • Page 209

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 205 dgs-3450:admin# config ddm ports 9 tx_power_threshold high_alarm 0.625 low_alarm 0.006 high_warning 0.55 low_warning 0.008 command: config ddm ports 9 tx_power_threshold high_alarm 0.625 low_alarm 0.006 hi gh_warning 0.5...

  • Page 210

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 206 config ddm trap description the command configures the ddm trap action when encounter an exceeding alarm or warning thresholds event. Parameters trap - specifies whether or not to send trap, when the operating parameter ...

  • Page 211

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 207 dgs-3450:admin# show ddm ports 10-12 status command: show ddm ports 10-12 status port temperature voltage bias current tx power rx power (in celsius) (v) (ma) (mw) (mw) ------ ------------- --------- ------------- ------...

  • Page 212

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 208 show ddm description the command displays the ddm global setting. Parameters none. Restrictions none. Example usage: to display the global ddm setting: dgs-3450:admin# show ddm command: show ddm ddm log : enabled ddm tra...

  • Page 213: D-L

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 209 27 d-l ink s ingle ip m anagement c ommands simply put, d-link single ip management is a concept that will stack switches together over ethernet instead of using stacking ports or modules. Switches using d-link single ip...

  • Page 214

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 210 after configuring one switch to operate as the cs of a sim group, additional xstack ® dgs-3400 series switches may join the group by either an automatic method or by manually configuring the switch to be a ms. The cs wil...

  • Page 217

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 213 dgs-3450:admin#show sim command: show sim sim version : ver-1.61 firmware version : 3.00.B10 device name : mac address : 00-22-b0-de-f0-46 capabilities : l2 platform : dgs-3450 l2 switch sim state : disabled role state :...

  • Page 218

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 214 dgs-3450:admin# show sim group command: show sim group sim group name : default id mac address platform / hold firmware device name capability time version --- ---------------- ------------------ ----- --------- --------...

  • Page 220

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 216 config sim alphanumeric string of up to 64 characters to rename the sim group. Candidate – used to change the role of a cs (commander) to a cas (candidate). Dp_interval – the user may set the discovery protocol interval,...

  • Page 221

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 217 dgs-3450:admin# config sim commander group_name demetrius command: config sim commander group_name demetrius success. Dgs-3450:admin# download sim_ms purpose used to download firmware or configuration file to an indicate...

  • Page 222

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 218 dgs-3450:admin# download sim_ms configuration_from_tftp 10.53.13.94 c:/dgs3450.Txt all command: download sim_ms configuration_from_tftp 10.53.13.94 c:/dgs3450.Txt all this device is updating configureation. Please wait s...

  • Page 223

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 219 dgs-3450: admin#upload sim_ms configuration_to_tftp 10.55.47.1 d:\configuration.Txt members 1 command: upload sim_ms configuration_to_tftp 10.55.47.1 d:\configuration.Txt memebers 1 this device is uploading configuration...

  • Page 224: D-L

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 220 28 d-l ink u nidirectional l ink d etection (duld) c ommands the d-link unidirectional link detection (duld) resolver commands in the command line interface (cli) are listed (along with the appropriate parameters) in the...

  • Page 225

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 221 show duld 1. Unknown: either local or remote do not support oam or unidirectional detection. 2. Bidirectional 3. Tx fault 4. Rx fault 5. Link down oper status: indicates the detection is operational or not. 1. Enabled: t...

  • Page 226: (Dns)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 222 29 d omain n ame s erver (dns) r esolver c ommands the domain name server (dns) resolver commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command par...

  • Page 227

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 223 dgs-3450:admin# config name_server add 10.10.10.10 primary command: config name_server add 10.10.10.10 primary success. Dgs-3450:admin# to delete dns resolver name server 10.10.10.1: dgs-3450:admin# config name_server de...

  • Page 228

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 224 dgs-3450:admin# show name_server command: show name_server name server timeout: 3 seconds static name server table: server ip address priority ---------------------- -------------- 20.20.20.20 secondary 10.1.1.1 primary ...

  • Page 229

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 225 to delete the static host name entry “www.Example.Com”: dgs-3450:admin# delete host_name www.Example.Com command: delete host_name www.Example.Com success. Dgs-3450:admin# show host_name purpose used to display the curre...

  • Page 230

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 226 example usage: to configure the dns resolver state to enabled: dgs-3450:admin# enable dns_resolver command: enable dns_resolver success. Dgs-3450:admin# disable dns_resolver purpose used to configure the dns resolver sta...

  • Page 231: (Dns)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 227 30 d omain n ame s erver (dns) r elay c ommands the domain name server (dns) relay commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameter...

  • Page 232

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 228 dgs-3450:admin# config dnsr add static dns1 10.43.21.12 command: config dnsr add static dns1 10.43.21.12 success. Dgs-3450:admin# example usage: to delete an entry domain name dns1, ip address 10.43.21.12 from dns static...

  • Page 234

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 230 show dnsr syntax show dnsr {static} description this command is used to display the current dns relay status. Parameters static − allows the display of only the static entries into the dns relay table. If this parameter ...

  • Page 235: (Erps)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 231 31 e thernet r ing p rotection s witching (erps) c ommands itu-t g.8032 ethernet ring protection switching (erps) is used to provide a reliable mechanism of malfunction recovery in an ethernet ring topology network. The ...

  • Page 236

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 232 example usage: to enable erps: dgs-3450:admin# enable erps command: enable erps success. Dgs-3450:admin# disable erps purpose used to disable the global erps function on a switch. Syntax disable erps description this com...

  • Page 237

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 233 delete erps raps_vlan purpose used to delete an r-aps vlan on a switch. Syntax delete erps raps_vlan description this command is used to delete an r-aps vlan on a switch. When an r-aps vlan is deleted, all parameters rel...

  • Page 238

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 234 config erps raps_vlan ring_port configured as a ring port by specifying the master port of the link aggregation port. Only the master port can be specified as a ring port. If the specified link aggregation group is elimi...

  • Page 239

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 235 dgs-3450:admin# config erps raps_vlan 4094 rpl port west owner enable command: config erps raps_vlan 4094 rpl port west owner enable success. Dgs-3450:admin# config erps raps_vlan protected_vlan purpose used to configure...

  • Page 240

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 236 config erps raps_vlan timer the original unblocked rpl port and start to send r-aps pdu with an rb flag after the link recovery is confirmed within this period of time. Parameters holdoff_time - specifies the holdoff tim...

  • Page 241

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 237 show erps example, the rpl owner conflict occurs. "active" is used to indicate that the rpl owner administrative state is enabled and the device is operated as the active rpl owner. "inactive" is used to indicate that th...

  • Page 242

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 238 dgs-3450:admin# show erps command: show erps erps information global status : enabled log status : disabled trap status : disabled ------------------------ r-aps vlan : 4092 ring status : enabled west port : 5 (blocking)...

  • Page 243

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 239 config erps trap restrictions only administrator and operator-level users can issue this command. Example usage: to configure the trap state of the erps: dgs-3450:admin# config erps trap enable command: config erps trap ...

  • Page 244

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 240 config erps raps_vlan sub_ring description this command is used to configure a sub-ring connected to another ring. This command is applied on the interconnection node. Parameters raps_vlan - specifies the r-aps vlan. Add...

  • Page 245: (Fdb)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 241 32 f ilter d atabase (fdb) c ommands this section describes the filter database functionality and specifications based on ieee 802.1d 2001 standard and ieee 802.1q-2003 standard. Functions of this software module apply o...

  • Page 246

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 242 create multicast_fdb purpose used to create a static entry in the multicast mac address forwarding table (database). Syntax create multicast_fdb description the create multicast_fdb is used to make an entry in the switch...

  • Page 247

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 243 config fdb aging_time parameters aging_time - specifies the time, in seconds, that a dynamically learned mac address will remain in the switch’s mac address forwarding table, without being accessed, before being dropped ...

  • Page 248

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 244 delete fdb restrictions only administrator and operator-level users can issue this command. Example usage: to delete a permanent fdb entry: dgs-3450:admin# delete fdb default 00-00-00-00-01-02 command: delete fdb default...

  • Page 249

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 245 example usage: to display the multicast mac address table: dgs-3450:admin# show multicast_fdb command: show multicast_fdb vlan name : default mac address : 01-00-00-00-00-01 egress ports : 1:1-1:5,1:26,2:26 mode : static...

  • Page 250

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 246 dgs-3450:admin# show fdb command: show fdb unicast mac address aging time = 300 vid vlan name mac address port type ---- ---------------- ----------------- ------ ---------------- 1 default 00-00-00-00-01-02 2:5 permanen...

  • Page 251

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 247 dgs-3450:admin# show multicast filtering_mode command: show multicast filtering_mode vlan name multicast filter mode -------------------------------- ----------------------------- default forward_unregistered_groups n61 ...

  • Page 253

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 249 dgs-3450:admin#show cpu port l3 command: show cpu port l3 type pps total drop ------------------- ---------- ----------- ----------- rip 0 0 0 ripng 0 0 0 dhcp 0 0 0 dhcpv6 0 0 0 reserved ipv4 ipmc 0 0 0 reserved ipv6 ip...

  • Page 254

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 250 clear cpu port purpose used to reset all counters for l2/l3 control packets that are trapped to cpu. Syntax clear cpu port description this command is use to reset all counters for l2/l3 control packets that are trapped ...

  • Page 255

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 251 dgs-3450:admin#disable password_recovery command: disable password_recovery success. Dgs-3450:admin# show password_recovery purpose used to display the password recovery state. Syntax show password_recovery description t...

  • Page 256: Arp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 252 34 g ratuitous arp c ommands the gratuitous arp commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config gratuitous_arp send ipif_s...

  • Page 257

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 253 config gratuitous_arp send dup_ip_detected detected means that the system received an 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...

  • Page 258

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 254 config gratuitous_arp periodical_send parameters ipif - interface name of l3 interface. Interval - periodically send gratuitous arp interval time in seconds.0 means not send gratuitous arp periodically. Restrictions only...

  • Page 259

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 255 to disable system interface’s gratuitous arp log and trap: dgs-3450:admin# disable gratuitous_arp ipif system trap log command: disable gratuitous_arp ipif system trap log success. Dgs-3450:admin# show gratuitous_arp pur...

  • Page 260: Ieee

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 256 35 ieee 802.1q vlan c ommands along with normal vlan configurations, this switch now incorporate double vlans. Better known as q-in-q vlans, double vlans allow network providers to expand their vlan configurations to pla...

  • Page 262

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 258 create vlan restrictions each vlan name can be up to 32 characters. Only administrator and operator-level users can issue this command. Example usage: to create a vlan v1, tag 2: dgs-3450:admin# create vlan v1 tag 2 comm...

  • Page 264

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 260 example usage: to set the ingress checking status, the sending and receiving gvrp information : dgs-3450:admin# config gvrp 1:1-1:4 state enable ingress_checking enable acceptable_frame tagged_only pvid 2 command: config...

  • Page 265

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 261 to disable the generic vlan registration protocol (gvrp): dgs-3450:admin# disable gvrp command: disable gvrp success. Dgs-3450:admin# show vlan purpose used to display the current vlan configuration on the switch. Syntax...

  • Page 266

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 262 show gvrp purpose used to display the gvrp status for a port list on the switch. Syntax show gvrp {} description this command displays the gvrp status for a port list on the switch. Parameters − specifies a range of port...

  • Page 267

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 263 example usage: to enable the double vlan feature on the switch, thus disabling normal vlans and gvrp. Dgs-3450:admin# enable double_vlan command: enable double_vlan current double vlan mode : disabled enable double vlan ...

  • Page 268

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 264 to create a double vlan on the switch dgs-3450:admin# create double_vlan rg spvid 2 tpid 0x9100 command: create double_vlan rg spvid 2 tpid 0x9100 success. Dgs-3450:admin# config double_vlan purpose used to config the pa...

  • Page 269

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 265 dgs-3450:admin# config double_vlan rg delete 1:4-1:8 command: config double_vlan rg delete 1:4-1:8 success. Dgs-3450:admin# show double_vlan purpose used to display the double vlan settings on the switch. Syntax show dou...

  • Page 270

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 266 dgs-3450:admin# enable pvid auto_assign command: enable pvid auto_assign success. Dgs-3450:admin# disable pvid auto_assign purpose used to disable auto assignment of pvid. Syntax disable pvid auto_assign description if “...

  • Page 272

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 268 show private_vlan restrictions only administrator and operator-level users can issue this command. Example usage: to display private vlan settings: dgs-3450:admin# show private_vlan command: show private_vlan private vla...

  • Page 273: Ieee

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 269 36 ieee 802.1q in q c ommands the ieee 802.1qinq commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable qinq disable qinq show qi...

  • Page 274

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 270 disable qinq description when qinq is disabled, all dynamic learned l2 address will be cleared, all dynamic registered vlan entries will be cleared, and gvrp will be disabled. If need to run gvrp on the switch, administr...

  • Page 277

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 273 create vlan_translation ports description use this command to create the cvid vlan translation rules. Parameters portlist - a range of ports on which the s-vlan will be translated to c-vlan add - the action indicates to ...

  • Page 278: Igmp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 274 37 igmp and mld s nooping c ommands the internet group management protocol (igmp) is a layer 2 or layer 3 protocol used to manage the membership of internet protocol multicast groups. Igmp is used by ip hosts and adjacen...

  • Page 281

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 277 config igmp_snooping querier query_interval - specify the amount of time in seconds between general query transmissions. The default setting is 125 seconds. Max_reponse_time - specify the maximum time in seconds to wait ...

  • Page 283

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 279 enable igmp_snooping function. If the forward multicast router only is enabled, the switch will forward all multicast traffic to the multicast router only. Otherwise, the switch forwards all multicast traffic to any ip r...

  • Page 284

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 280 example usage: to disable igmp snooping on the switch: dgs-3450:admin# disable igmp_snooping command: disable igmp_snooping success. Dgs-3450:admin# create igmp_snooping static_group purpose used to configure an igmp sno...

  • Page 285

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 281 delete igmp_snooping static_group restrictions only administrator and operator-level users can issue this command. Example usage: to delete an igmp snooping static group for “vlan1”, group 239.1.1.1: dgs-3450:admin# dele...

  • Page 286

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 282 show igmp_snooping static_group restrictions none. Example usage: to display all the igmp snooping static groups: dgs-3450:admin#show igmp_snooping static_group command: show igmp_snooping static_group vlan id/name ip ad...

  • Page 287

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 283 dgs-3450:admin# show igmp_snooping group command: show igmp_snooping group source/group : 10.0.0.2 / 225.0.0.2 vlan name/vid : n172/172 port member : 1-2 mode : include source/group : 10.0.0.2 / 225.0.0.3 vlan name/vid :...

  • Page 288

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 284 dgs-3450:admin# show router_ports command: show router_ports vlan name : default static router port : 1-10 dynamic router port : forbidden router port: vlan name : vlan2 static router port : dynamic router port : forbidd...

  • Page 291

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 287 enable mld_snooping multicast router, only. Otherwise, the switch forwards all multicast traffic to any ip router. Parameters forward_mcrouter_only - if specified, the switch will learn the router port based on identific...

  • Page 292

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 288 example usage: to disable mld snooping on the switch: dgs-3450:admin# disable mld_snooping command: disable mld_snooping success. Dgs-3450:admin# show mld_snooping purpose used to show the current status of mld snooping ...

  • Page 293

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 289 show mld_snooping group description this command displays the current mld snooping group information on the switch. Parameters vlan - specify the name of the vlan for which you want to view mld snooping group information...

  • Page 294

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 290 dgs-3450:admin# show mld_snooping group command: show mld_snooping group source/group : 2001::1/ff1e::1 vlan name/vid :default/1 reports : 1 member ports : 1-2 router ports : 24 up time : 26 expiry time : 258 filter mode...

  • Page 295

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 291 show mld_snooping mrouter_ports description this command displays the currently configured router ports on the switch. Parameters vlan - specify the name of the vlan on which the router port resides. Static - displays ro...

  • Page 296

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 292 config igmp_snooping data_driven_learning according to the multicast filtering mode. Note that if a data-driven group is created and igmp member ports are learned later, the entry will become an ordinary igmp snooping en...

  • Page 297

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 293 example usage: to set the maximum number of groups that can be learned by data driven: prompt# config igmp_snooping data_driven_learning max_learned_entry 50 command: config igmp_snooping data_driven_learning max_learned...

  • Page 298

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 294 prompt# config mld_snooping data_driven_learning vlan default state enable command: config mld_snooping data_driven_learning vlan default state enable success. Prompt# config mld_snooping data_driven_learning max_learned...

  • Page 299

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 295 dgs-3450:admin#config igmp_snooping forward_lookup_mode mac command: config igmp_snooping forward_lookup_mode mac success. Dgs-3450:admin# show igmp_snooping forward_lookup_mode purpose used to show igmp snooping forward...

  • Page 300

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 296 38 ip d irected b roadcast c ommands the ip directed broadcast commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create ipif { seco...

  • Page 301

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 297 create ipif when proxy arp is enabled for an interface, the system will do the proxy reply for the arp packets destined for ip address located in a different interface. For arp packets destined for ip address located in ...

  • Page 302

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 298 config ipif letter or digit, and have only letters, digits, and hyphen as interior characters; the maximal length is 63. Dhcp_option12 clear_hostname - to clear the hostname setting. If host name is empty, system name wi...

  • Page 303

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 299 dgs-3450:admin# config ipif system dhcpv6_client state enable command : config ipif system dhcpv6_client state enable success dgs-3450:admin# to display ip interface settings: dgs-3450:admin#show ipif system command: sho...

  • Page 304

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 300 disable ipif description this command is used to disable the state for an ipif. Parameters ipif_name - specifies the name of the ip interface used. All - specifies that all the interfaces will be disabled. Restrictions o...

  • Page 305

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 301 disable ipif_ipv6_link_local_auto all - specifies that all the interfaces will be disabled. Restrictions only administrator and operator-level users can issue this command. Example usage: to disable the automatic configu...

  • Page 306

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 302 dgs-3450:admin#show ipif command: show ipif ip interface : inters ip interface : inters interface admin state : enabled link status : linkup ipv4 address : 192.168.69.1/24 (manual) secondary proxy arp : disabled (local :...

  • Page 307

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 303 delete ipif description this command is used to delete an interface or all the interfaces. Note that the system interface can not be deleted. By using this command, a ipv6 address can be deleted from the ipif. Parameters...

  • Page 308: Ip-Mac-P

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 304 39 ip-mac-p ort b inding (impb) c ommands ip-mac-port binding (impb) is a security application found on edge switches which are usually directly connected to hosts. Impb enables administrators to configure (or snoop) pai...

  • Page 311

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 307 dgs-3450:admin# config address_binding ip_mac ports 1 state enable command: config address_binding ip_mac ports 1 state enable success. Dgs-3450:admin# create address_binding ip_mac purpose used to create an impb entry. ...

  • Page 312

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 308 dgs-3450:admin# create address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00- 00-11 command: create address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-00-00-11 success. Dgs-3450:admin# to create a...

  • Page 313

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 309 dgs-3450:admin# delete address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00-00-00-00-00-11 command: delete address_binding ip_mac ipv6address fe80::240:5ff:fe00:28 mac_address 00- 00-00-00-00-11 succes...

  • Page 314

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 310 config address_binding ip_mac is applied to all ports. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure an impb entry: dgs-3450:admin# config address_binding ip...

  • Page 315

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 311 dgs-3450:admin# show address_binding command: show address_binding trap/log : enabled dhcp snoop(ipv4) : disabled dhcp snoop(ipv6) : enabled nd snoop : disabled dgs-3450:admin# to show the impb ports: dgs-3450:admin#show...

  • Page 316

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 312 enable address_binding dhcp_snoop statically configured entry the auto-learned entry will not be created. In a situation where the entry is statically configured in arp mode the auto learned entry will not be created. In...

  • Page 317

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 313 dgs-3450:admin# disable address_binding dhcp_snoop ipv6 command: disable address_binding dhcp_snoop ipv6 success. Dgs-3450:admin# clear address_binding dhcp_snoop binding_entry purpose used to clear the dhcp snooping ent...

  • Page 318

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 314 dgs-3450:admin# show address_binding dhcp_snoop command: show address_binding dhcp_snoop dhcp snoop(ipv4) : enabled dhcp snoop(ipv6) : enabled dgs-3450:admin# config address_binding dhcp_snoop max_entry purpose used to s...

  • Page 319

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 315 example usage: to enable the impb traps and logs: dgs-3450:admin# enable address_binding trap_log command: enable address_binding trap_log success. Dgs-3450:admin# disable address_binding trap_log purpose used to disable...

  • Page 320

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 316 enable address_binding nd_snoop purpose use to enable nd snooping on the switch. Syntax enable address_binding nd_snoop description this command allows the user to enable nd snooping on the switch. Parameters none. Restr...

  • Page 321

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 317 dgs-3450:admin# show address_binding nd_snoop command: show address_binding nd_snoop nd snoop : enabled dgs-3450:admin# to show nd snooping maximum entry: dgs-3450:admin# show address_binding nd_snoop ports 1-12 command:...

  • Page 323

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 319 example usage: to stop impb debug: starting when the impb module receives an arp/ip or dhcp packet: dgs-3450:admin# no debug address_binding command: no debug address_binding success. Dgs-3450:admin#.

  • Page 324: Vlan

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 320 40 ip m ulticast vlan r eplication c ommands the ip multicast vlan replication commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters en...

  • Page 325

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 321 disable ipmc_vlan_replication parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to disable static ip multicast vlan replication: dgs-3450:admin# disable ipmc...

  • Page 326

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 322 create an ip multicast vlan replication entry named mr1: dgs-3450:admin# create ipmc_vlan_replication_entry mr1 command: create ipmc_vlan_replication_entry mr1 success. Dgs-3450:admin# config ipmc_vlan_replication_entry ...

  • Page 327

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 323 config ipmc_vlan_replication_entry destination vlan - the outgoing vlan name. Vlanid - the outgoing vlan id. Ports - the outgoing port list. Restrictions only administrator and operator-level users can issue this command...

  • Page 328

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 324 dgs-3450:admin# show ipmc_vlan_replication command: show ipmc_vlan_replication ip multicast vlan replication state : enabled ttl : no decrease source mac address : no replace dgs-3450:admin# show ipmc_vlan_replication_en...

  • Page 329

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 325 dgs-3450:admin# show ipmc_vlan_replication_entry hardware command: show ipmc_vlan_replication_entry hardware name : ipmc_vlan_replication_entry name src-v : the source vlan dest-v : the destination vlan name src-v group ...

  • Page 330

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 326 41 ip v 6 n eighbor d iscover c ommands the ipv6 neighbor discover commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create ipv6 ne...

  • Page 331

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 327 delete ipv6 neighbor_cache all] description deletes 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 dynamic entries can be...

  • Page 332

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 328 dgs-3450:admin# show ipv6 neighbor_cache ipif system all command: show ipv6 neighbor_cache ipif system all ipv6 address: 2000::221:91ff:fe8d:4d9f state: reachable mac address : 00-21-91-8d-4d-9f port : 1:31 interface : i...

  • Page 334

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 330 config ipv6 nd ra prefix_option valid_life_time - indicates the number of seconds that an address, based on the specified prefix, using the stateless address configuration, remains valid. For an infinite valid lifetime t...

  • Page 335

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 331 dgs-3450:admin# show ipv6 nd ipif system command: show ipv6 nd ipif system interface name : system hop limit : 64 ns retransmit time : 0 (ms) router advertisement : disabled ra max router advinterval : 600 (s) ra min rou...

  • Page 337

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 333 dgs-3450:admin# create ipv6route 3004::/64 intface_1 3000::4 command: create ipv6route 3004::/64 intface_1 3000::4 success. Dgs-3450:admin# to add an ip tunnel route entry: dgs-3450:admin# create ipv6route default ip_tun...

  • Page 338

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 334 show ipv6route ripng - display the ripng route entries. Hardware - display the hardware route entries. Restrictions only administrator and operator-level users can issue this command. Example usage: show the ipv6 route e...

  • Page 339

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 335 dgs-3450:admin#enable ipv6_route_longprefix log command: enable ipv6_route_longprefix log success. Dgs-3450:admin# disable ipv6_route_longprefix purpose used to disable to record syslog for the function supporting ipv6 r...

  • Page 340

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 336 43 ip v 6 t unnel c ommands industry is in the early stages of large scale ipv6 production deployment, and first-generation products need to make tradeoffs between available ipv6 services. Although the success of ipv6 wi...

  • Page 341

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 337 delete ip_tunnel purpose used to delete an ipv6 tunnel interface. Syntax delete ip_tunnel description the delete ip_tunnel command is used to delete a specific ipv6 tunnel on the switch. Parameters - ipv6 tunnel interfac...

  • Page 342

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 338 dgs-3450:admin# config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 command: config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2 success. Dgs-3450:admin# config ip_tunnel manual tn2 ipv6address 2001...

  • Page 344

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 340 dgs-3450:admin#show ip_tunnel tn2 command: show ip_tunnel tn2 tunnel interface : tn2 interface admin state : enabled tunnel mode : isatap ipv6 link-local address : fe80::5efe:a00:1/128 ipv6 global unicast address : 2001:...

  • Page 345

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 341 dgs-3450:admin# disable ip_tunnel tn2 command: disable ip_tunnel tn2 success. Dgs-3450:admin#.

  • Page 346: (Jwac)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 342 44 j apanese w eb - based a ccess c ontrol (jwac) c ommands the japanese web-based access control (jwac) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following ta...

  • Page 347

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 343 command parameters enable jwac disable jwac enable jwac redirect disable jwac redirect enable jwac forcible_logout disable jwac forcible_logout enable jwac udp_filtering disable jwac udp_filtering enable jwac quarantine_...

  • Page 349

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 345 enable jwac redirect purpose used to enable jwac redirect function. Syntax enable jwac redirect description when redirecting quarantine server is specified, the unauthenticated host will be redirected to quarantine serve...

  • Page 350

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 346 enable jwac forcible_logout back to unauthenticated state. Parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to enable jwac forcibly logout function: dgs-345...

  • Page 351

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 347 dgs-3450:admin# enable jwac udp_filtering command: enable jwac udp_filtering success. Dgs-3450:admin# disable jwac udp_filtering purpose used to disable jwac udp filtering function. Syntax disable jwac udp_filtering desc...

  • Page 352

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 348 disable jwac quarantine_server_monitor syntax disable jwac quarantine_server_monitor description disable jwac quarantine server function enabled previously. Parameters none. Restrictions only administrator and operator-l...

  • Page 353

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 349 example usage: to configure the redirect destination and delay time: dgs-3450:admin# config jwac redirect destination jwac_login_page delay_time 5 command: config jwac redirect_ destination jwac_login_page delay_time 5 s...

  • Page 354

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 350 to configure quarantine server url: dgs-3450:admin# config jwac quarantine_server_url http://10.90.90.88/authpage.Html command: config jwac quarantine_server_url http://10.90.90.88/authpage.Html success. Dgs-3450:admin# ...

  • Page 355

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 351 example usage: to configure the update server which the un-authenticated host need to access: dgs-3450:admin# config jwac update_server add ipaddress 10.90.90.109/24 command: config jwac update_server add ipaddress 10.90...

  • Page 356

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 352 config jwac ports parameters - a port range to set their jwac state. All - all the switch ports’ jwac state is to be configured. State - to specify the port state of jwac max_authenticating_host - max number of host proc...

  • Page 357

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 353 dgs-3450:admin# config jwac radius_protocol ms_chapv2 command: config jwac radius_protocol ms_chapv2 success. Dgs-3450:admin# create jwac user purpose used to create jwac user into local db. Syntax create jwac user {vlan...

  • Page 358

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 354 dgs-3450:admin# create jwac user juser_tom vlan 3 command: create jwac user juser_tom vlan 3 enter a case-sensitive new password:*** enter the new password again for confirmation:*** success. Dgs-3450:admin# delete jwac ...

  • Page 360

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 356 show jwac purpose used to display the configuration of jwac. Syntax show jwac description the show jwac command allows you to show all the configuration of jwac. Parameters none. Restrictions none. Example usage: to disp...

  • Page 361

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 357 dgs-3450:admin# show jwac update_server command: show jwac update_server index ip tcp/udp port state ----- ------------------ ------- ----- -------- 1 10.0.0.0/8 - - inactive 2 10.1.1.1/32 udp 90 inactive 3 10.3.3.3/32 t...

  • Page 362

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 358 dgs-3450:admin# show jwac auth_state ports 1-2 command: show jwac auth_state ports 1-2 pri - priority. State - a:authenticated, b:blocked, -:authenticating time - aging time/idle time for authenticated entries. Port mac ...

  • Page 363

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 359 config jwac authentication_page element parameters japanese - change to japanese page. English - changeto english page. Default - reset the page element to default. Page_title - the title of the authenticate page. Login_...

  • Page 364

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 360 dgs-3450:admin# show jwac authenticate_page command: show jwac authenticate_page current page :english version english page element ------------------------------------------------------------ page title : alpha networks...

  • Page 365

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 361 45 j umbo f rame c ommands certain switches can support jumbo frames (frames larger than the ethernet frame size of 1536 bytes). To transmit frames of up to 9k (and 9216 bytes tagged), the user can increase the maximum t...

  • Page 366

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 362 to disable the jumbo frame function on the switch: dgs-3450:admin# disable jumbo_frame command: disable jumbo_frame success. Dgs-3450:admin# config jumbo_frame ports purpose used to configure the jumbo frame state on spe...

  • Page 367

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 363 dgs-3450:admin#show jumbo_frame command: show jumbo_frame jumbo frame global state : enable maximum jumbo frame size : 9216 bytes port jumbo frame state ------- -------------------- 1:1 enable 1:2 enable 1:3 enable 1:4 e...

  • Page 368

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 364 46 l imited ip m ulticast a ddress the limited ip multicast command allows the administrator to permit or deny access to a port or range of ports by specifying a range of multicast addresses. The limited ip multicast com...

  • Page 369

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 365 dgs-3450:admin# config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable command: config limited multicast address 1-3 from 224.1.1.1 to 224.1.1.2 access permit state enable success. Dg...

  • Page 370

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 366 to show the limited multicast address on ports 1 to 2: dgs-3450:admin# show limited multicast address 1-2 command: show limited multicast address 1-2 port from to access status ---- -------------- --------------- -------...

  • Page 371

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 367 47 l ink a ggregation c ommands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Link aggregation, also known as trunking, is a ...

  • Page 372

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 368 dgs-3450:admin# create link_aggregation group_id 1 command: create link_aggregation group_id 1 success. Dgs-3450:admin# delete link_aggregation group_id purpose used to delete a previously created link aggregation group....

  • Page 373

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 369 to define a load-sharing group of ports, group-id 1,master port 5 with group members ports 5-7 plus port 9: dgs-3450:admin# config link_aggregation group_id 1 master_port 1:5 ports 1:5-1:7,9 command: config link_aggregat...

  • Page 374

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 370 to display link aggregation configuration: dgs-3450:admin# show link_aggregation command: show link_aggregation link aggregation algorithm = ip-source group id : 1 type : trunk master port : 1:5 member port : 1:5-1:7,1:9...

  • Page 375

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 371 show lacp_port syntax show lacp_port {} description this command will display the lacp mode settings as they are currently configured. Parameters − specifies a port or range of ports to be configured. The beginning and e...

  • Page 376: (Lldp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 372 48 l ink l ayer d iscovery p rotocol (lldp) c ommands the link layer discovery protocol (lldp) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The l...

  • Page 377

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 373 each command is listed, in detail, in the following sections. Enable lldp purpose used to enable lldp operation on the switch. Syntax enable lldp description this is a global control for the lldp function. When this func...

  • Page 378

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 374 config lldp message_tx_interval purpose used to change the packet transmission interval. Syntax config lldp message_tx_interval description this interval controls how often active ports retransmit advertisements to their...

  • Page 379

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 375 config lldp tx_delay purpose used to change the minimum time (delay-interval) lldp ports will delay in advertising successive lldp advertisements due to a change in lldp mib content. The tx_delay defines the minimum inte...

  • Page 380

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 376 config lldp notification _interval purpose used to configure the timer of the notification interval for sending notification to configured snmp trap receiver(s). Syntax config lldp notification_interval description globa...

  • Page 382

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 378 dgs-3450:admin# config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable command: config lldp ports 1:1-1:2 mgt_addr ipv4 192.168.254.10 enable success. Dgs-3450:admin# config lldp ports basic_tlvs purpose used to c...

  • Page 383

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 379 config lldp dot1_tlv_pvid purpose used to configure an individual port or group of ports to exclude one or more of ieee 802.1 organization port vlan id tlv data types from outbound lldp advertisements. Syntax config lldp...

  • Page 384

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 380 config lldp dot1_tlv_vlan_name purpose used to configure an individual port or group of ports to exclude one or more of ieee 802.1 organization vlan name tlv data types from outbound lldp advertisements. Syntax config ll...

  • Page 385

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 381 to configure exclude the protocol identity tlv from the outbound lldp advertisements for all ports: dgs-3450:admin# config lldp ports all dot1_tlv_protocol_identity all enable command: config lldp ports all dot1_tlv_prot...

  • Page 388

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 384 dgs-3450:admin# show lldp ports 1 command: show lldp ports 1 port id : 1:1 ------------------------------------------------------------------- admin status : tx_and_rx notification status : disabled advertised tlvs optio...

  • Page 389

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 385 dgs-3450:admin#show lldp local_ports 1:1 command: show lldp local_ports 1:1 port id : 1:1 ----------------------------------------------------------------------------- port id subtype : mac address port id : 00-22-b0-de-...

  • Page 390

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 386 show lldp statistics purpose used to display the system lldp statistics information. Syntax show lldp statistics description the global lldp statistics displays an overview of neighbor detection activity on the switch. P...

  • Page 391: Lldp-Med

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 387 49 lldp-med c ommands the lldp-med commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config lldp_med fast_start repeat_count config...

  • Page 393

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 389 config lldp_med ports med_transit_capabilities - select to send the lldp-med tlv capabilities specified. All - select to send capabilities, network policy, and inventory. Capabilities - specify that the lldp agent should...

  • Page 394

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 390 show lldp_med local_ports purpose used to display the per-port lldp-med information currently available for populating outbound lldp-med advertisements. Syntax show lldp_med local_ports {} description this command is use...

  • Page 395

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 391 dgs-3450:admin#show lldp_med ports 1:1 command: show lldp_med ports 1:1 port id : 1:1 ----------------------------------------------------------------- topology change notification status :enabled lldp-med capabilities t...

  • Page 396

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 392 priority : dscp : unknown : true tagged : application type : softphone voice vlan id : 200 priority : 7 dscp : 5 unknown : false tagged : true location identification: location subtype: coordinatebased location informati...

  • Page 397

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 393 50 l oopback d etection c ommands the loopback detection commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config loopdetect {recov...

  • Page 398

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 394 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-3450:admin#config loopdetect recover_timer 0 interval 20 mode vlan-based command:...

  • Page 399

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 395 dgs-3450:admin#enable loopdetect command: enable loopdetect success. Dgs-3450:admin# disable loopdetect purpose used to disable the lbd function globally on the switch. Syntax disable loopdetect description this command ...

  • Page 400

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 396 dgs-3450:admin#show loopdetect command: show loopdetect lbd global settings --------------------------- status : enabled mode : vlan-based interval : 20 sec recover time : 0 sec trap state : none enabled vlans : 1-4094 l...

  • Page 401

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 397 dgs-3450:admin#show loopdetect ports 1:1-1:9 command: show loopdetect ports 1:1-1:9 port loopdetect state loop vlan ------ ------------------ ---------- 1:1 enabled none 1:2 enabled none 1:3 enabled none 1:4 enabled none...

  • Page 402

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 398 config loopdetect log state description this command is used to configure the log state for lbd. Parameters state - specify the state of the lbd log feature. Enable - enable the lbd log feature. Disable - disable the lbd...

  • Page 403: Mac

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 399 51 mac n otification c ommands the mac notification commands in the command line interface (cli) are listed, in the following table, along with their appropriate parameters. Command parameters enable mac_notification dis...

  • Page 405

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 401 dgs-3450:admin# config mac_notification ports 7 enable command: config mac_notification ports 7 enable success. Dgs-3450:admin# show mac_notification purpose used to display the switch’s mac address table notification gl...

  • Page 406

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 402 dgs-3450:admin# show mac_notification ports command: show mac_notification ports port # mac address table notification state ------ ----------------------------------------- 1 disabled 2 disabled 3 disabled 4 disabled 5 ...

  • Page 407: Mac-

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 403 52 mac- based a ccess c ontrol c ommands the mac-based access control commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable mac_...

  • Page 408

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 404 enable mac_based_access_control parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to enable the mac-based access control global state: dgs-3450:admin# enable...

  • Page 409

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 405 dgs-3450:admin# config mac_based_access_control password switch command: config mac_based_access_control password switch success. Dgs-3450:admin# config mac_based_access_control method purpose used to configure the mac-b...

  • Page 411

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 407 dgs-3450:admin# config mac_based_access_control ports 1-8 mode host_based command: config mac_based_access_control ports 1-8 mode host_based success. Dgs-3450:admin# to configure an unlimited number of maximum users for ...

  • Page 413

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 409 dgs-3450:admin# clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65 command: clear mac_based_access_control auth_state mac_addr 00-00-00-47-04-65 success. Dgs-3450:admin# create mac_based_access_control_...

  • Page 414

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 410 dgs-3450: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-3450:admin# delete mac_based_access_...

  • Page 415

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 411 config mac_based_access_control authorization network accepted if the global authorization status is enabled. The default state is enabled. Restrictions only administrator and operator-level users can issue this command....

  • Page 416

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 412 show mac_based_access_control_local name. Vlanid - displays mac-based access control local database entries for a specific target vlan id. Restrictions none. Example usage: to show the mac-based access control local data...

  • Page 417

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 413 show mac_based_access_control auth_state description this command is used to display the mac-based access control authentication status. Parameters - display authentication status by specific port. If not specified port(...

  • Page 420

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 416 dgs-3450: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-3450:admin# enable mirror purpose used to enable mirror globally. Syntax en...

  • Page 421

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 417 show mirror description the show mirror command displays the current mirror function state and mirror session configuration on the switch. If don’t specify the “group_id” parameter, display the all mirror settings. Param...

  • Page 422

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 418 delete mirror group_id parameters group_id - the mirror groups identify. Value - the mirror groups identify value. Restrictions only administrator and operator-level users can issue this command. Example usage: to delete...

  • Page 423: Mstp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 419 54 mstp d ebug e nhancement c ommands the mstp debug enhancement commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters debug buffer [ut...

  • Page 425

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 421 debug stp show information purpose used to show the stp debug information. Syntax debug stp show information description this command used to display stp detailed information, such as the hardware tables, the stp state m...

  • Page 426

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 422 dgs-3450:admin# debug stp show information command: debug stp show information spanning tree debug information: ---------------------------------------- port status in hardware table: instance 0: port 1 :blk port 2 :blk ...

  • Page 427

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 423 debug stp show flag purpose used to show the per-port stp debug level. Syntax debug stp show flag {ports } description this command used to display the stp debug level on specified ports. Parameters ports - specifies the...

  • Page 428

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 424 dgs-3450:admin#debug stp show counter ports 9 command: debug stp show counter ports 9 stp counters -------------------------------------- port 9 : receive: transmit: total stp packets :32 total stp packets :32 configurat...

  • Page 429

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 425 debug stp state parameters state - see below: enable - enable the stp debug state. Disable - disable the stp debug state. Restrictions only administrator and operator-level users can issue this command. Example usage: to...

  • Page 430: Igmp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 426 55 igmp s nooping m ulticast (ism) vlan c ommands the igmp snooping multicast (ism) vlan commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command par...

  • Page 431

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 427 to create an igmp snooping multicast vlan with the vlan name mv1 and the vid 2: dgs-3450:admin# create igmp_snoop multicast_vlan mv1 2 command: create igmp_snooping multicast_vlan mv1 2 success. Dgs-3450:admin# config ig...

  • Page 432

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 428 dgs-3450:admin# config igmp_snooping multicast_vlan v1 member_port 1:1,1:3 state enable command: config igmp_snooping multicast_vlan v1 member_port 1:1,1:3 state enable success. Dgs-3450:admin# config igmp_snooping multi...

  • Page 433

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 429 should be " dgs-3450:admin# show igmp_snooping multicast_vlan_group command: show igmp_snooping multicast_vlan_group vlan name vlan id multicast group profiles ------------------------------ ------------- ---------------...

  • Page 434

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 430 dgs-3450:admin# show igmp_snooping multicast_vlan command: show igmp_snooping multicast_vlan igmp multicast vlan global state : disabled igmp multicast vlan forward unmatched: disabled vlan name :test vid :100 member(unt...

  • Page 435: (Mstp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 431 56 m ultiple s panning t ree p rotocol (mstp) c ommands the multiple spanning tree protocol (mstp) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. C...

  • Page 436

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 432 dgs-3450:admin#show stp command: show stp stp bridge global settings --------------------------- stp status : disabled stp version : rstp max age : 20 hello time : 2 forward delay : 15 max hops : 20 tx hold count : 6 for...

  • Page 437

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 433 dgs-3450:admin# show stp instance command: show stp instance stp instance settings --------------------------- instance type : cist instance status : enabled instance priority : 32768(bridge priority : 32768, sys id ext ...

  • Page 438

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 434 dgs-3450:admin# show stp ports command: show stp ports mstp port information port index : 1 , hello time: 2 /2 , port stp : enabled , lbd : no external pathcost : auto/20000 , edge port : false/no , p2p : auto /yes port ...

  • Page 439

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 435 example usage: to create mstp instance: dgs-3450:admin#create stp instance_id 2 command: create stp instance_id 2 warning:there is no vlan mapping to this instance_id! Success. Dgs-3450:admin# delete stp instance_id purp...

  • Page 440

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 436 dgs-3450:admin#config stp instance_id 2 add_vlan 1-3 command: config stp instance_id 2 add_vlan 1-3 success. Dgs-3450:admin# to remove vlan id from mstp instance: dgs-3450:admin# config stp instance_id 2 remove_vlan 2 co...

  • Page 441

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 437 dgs-3450:admin# enable stp command: enable stp success. Dgs-3450:admin# disable stp purpose used to disable stp globally. Syntax disable stp description to disable stp functionality in every existed instance. Parameters ...

  • Page 442

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 438 dgs-3450:admin# config stp version mstp command: config stp version mstp configure value is the same with current value. Fail! Dgs-3450:admin# config stp priority purpose used to configure the instance priority. Syntax c...

  • Page 443

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 439 dgs-3450:admin# config stp maxage 25 command: config stp maxage 25 success. Dgs-3450:admin# config stp ports purpose used to configure the ports management parameters only at cist level. Syntax config stp ports {external...

  • Page 445: (Nlb)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 441 57 n etwork l oad b alancing (nlb) c ommands the nlb indicates the network load balancing: it is a mac forwarding control for supporting microsoft’s network load balancing technique. The network load balancing (nlb) comm...

  • Page 446

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 442 delete nlb multicast_fdb parameters - specify the vlan of the nlb multicast fdb entry to be deleted. Vlanid - specify the vlan by vlan id. - specify the mac address of the nlb multicast fdb entry to be deleted. Restricti...

  • Page 447

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 443 dgs-3450: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:26,2:26 03-bf-01-01-01-01 1 1:1-1:5,1:26...

  • Page 448

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 444 58 p assword e ncryption c ommands the password encryption commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable password encryp...

  • Page 449

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 445 disable password encryption parameters none. Restrictions only administrator users can issue this command. Example usage: to disable the password encryption: dgs-3450:admin# disable password encryption command: disable p...

  • Page 450

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 446 config account sha_1 - select to specify the password in the sha-i enacrpted form. - the password for the user account. The length for of password in plain-text form and in encrypted form are different. For the plain-tex...

  • Page 451

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 447 dgs-3450:admin# show account command: show account current accounts: username access level --------------- ------------ system user dlink admin total entries : 2 dgs-3450:admin# delete account purpose used to delete an e...

  • Page 452

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 448 59 p assword r ecovery c ommands the password recovery commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters reset config {force_agree(...

  • Page 453

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 449 dgs-3450:admin# reboot command: reboot save current setting before system restart?(y/n) please wait, the switch is rebooting... Reset account purpose used to delete the created account. Syntax reset account description t...

  • Page 454

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 450 show account description the show account command display all already created accounts. Parameters none. Restrictions this command is only available in password recovery mode. Example usage: to show the created account: ...

  • Page 456

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 452 dgs-3450: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 pack...

  • Page 457

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 453 ping6 size - specify the size of the test packet. Timeout - specify the time-out period while waiting for a response from the remote device. A value of 1 to 10 seconds can be specified. The default is 1 second. Source_ip...

  • Page 458

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 454 dgs-3450:admin# enable broadcast_ping_reply command: enable broadcast_ping_reply success. Dgs-3450:admin# disable broadcast_ping_reply purpose used to disable the broadcast ping reply state. Syntax disable broadcast_ping...

  • Page 460

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 456 dgs-3450:admin# config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode permanent command: config port_security ports 1:6 admin_state enable max_learning_addr 10 lock_address_mode permane...

  • Page 461

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 457 show port_security purpose this command is to used to display port security configuration. Syntax show port_security {ports } description the show port_security command displays the port security related information. Par...

  • Page 462

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 458 62 p ower over e thernet (p o e) c ommands the power over ethernet (poe) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config p...

  • Page 463

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 459 example usage: to config poe system-wise was setting: dgs-3450:admin# config poe system power_limit 250 power_disconnect_method deny_low_priority_port command: config poe system power_limit 250 power_disconnect_method de...

  • Page 464

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 460 to config poe port: dgs-3426p:admin# config poe ports 1-4 state enable priority critical power_limit class_1 command: config poe ports 1-4 state enable priority critical power_limit class_1 power limit has been set to 40...

  • Page 465

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 461 show poe ports if no parameter specified, the system will display the status for all ports. Restrictions none. Example usage: to display poe port: dgs-3426p:admin# show poe ports 1-6 command: show poe ports 1-6 port stat...

  • Page 466: Vlan

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 462 63 p rotocol vlan g roup c ommands for bridges that implement port-and-protocol-based vlan classification, the vid associated with an untagged or priority-tagged frame is determined based on the port of arrival of the fr...

  • Page 467

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 463 dgs-3450:admin# create dot1v_protocol_group group_id 1 command: create dot1v_protocol_group group_id 1 success. Dgs-3450:admin# config dot1v_protocol_group purpose used to configure the parameters for a protocol vlan gro...

  • Page 468

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 464 delete dot1v_protocol_group purpose used to delete a protocol vlan group. Syntax delete dot1v_protocol_group group_id description this command will delete a protocol vlan group. Parameters group_id − enter an integer fro...

  • Page 470

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 466 dgs-3450:admin# show port dot1v ports 1:6-1:8 command: show port dot1v ports 1:6-1:8 port: 1:6 protocol group id vlan name ------------------------- ---------------- 1 building1 port: 1:7 protocol group id vlan name ----...

  • Page 471

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 467 64 q uality of s ervice (q o s) c ommands the quality of service (qos) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config ban...

  • Page 472

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 468 config bandwidth_control the device, will be displayed when the command is executed. Actual rate = (inputted rate/ minimum granularity) * minimal granularity tx_rate - specifies the limitation applied to the transmit dat...

  • Page 473

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 469 dgs-3450:admin# show bandwidth_control 1:1-1:10 command: show bandwidth_control 1:1-1:10 bandwidth control table port rx rate tx rate effective rx effective tx (kbit/sec) (kbit/sec) (kbit/sec) (kbit/sec) ---- ---------- ...

  • Page 474

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 470 config scheduling_mechanism description there are two sets of commands that the project can be choose to implement. If the project only supports the scheduling mechanism to be set globally, the portlist parameter will no...

  • Page 475

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 471 dgs-3450:admin#show scheduling 1:1 command: show scheduling 1:1 qos output scheduling on port: 1:1 class id max. Packets -------- ------ class-0 1 class-1 2 class-2 3 class-3 4 class-4 5 class-5 6 class-6 7 dgs-3450:admi...

  • Page 476

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 472 config 802.1p user_priority class_id - the number of the switch’s hardware priority queue. The switch has 7 hardware priority queues available. They are numbered between 0 (the lowest priority) and 6 (the highest priorit...

  • Page 477

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 473 config 802.1p default_priority of untagged packets received by the switch. The priority value entered with this command will be used to determine the hardware priority queues that the packet will be forwarded to. Paramet...

  • Page 478

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 474 dgs-3450: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 0 0 1:2 0 0 1:3 0 0 1:4 0 0 1:5 0 0 1:6 0 0 1:7...

  • Page 479

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 475 dgs-3450:admin# disable hol_prevention command: disable hol_prevention success. Dgs-3450:admin# show hol_prevention purpose use to show the hol prevention state. Syntax show hol_prevention description the show hol_preven...

  • Page 480

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 476 config per_queue bandwidth_control if the specified rate does not have multiple of minimum granularity, the rate will be adjusted: actual rate = (inputted rate/ minimum granularity) * minimal granularity. Max_rate - spec...

  • Page 481

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 477 dgs-3450: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 (64kbit/sec) max_rate (64kbit/sec) ---- --------------------...

  • Page 482

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 478 dgs-3450:admin#show dscp trust 1:1-1:8 command: show dscp trust 1:1-1:8 port dscp-trust ---- ---------- 1:1 enabled 1:2 enabled 1:3 enabled 1:4 enabled 1:5 enabled 1:6 enabled 1:7 enabled 1:8 enabled dgs-3450:admin# conf...

  • Page 483

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 479 show dscp map description this command is used to show dscp trusted port list and mapped color, priority and dscp. Parameters dscp_priority - specify a list of dscp value to be mapped to a specific priority. Dscp_dscp - ...

  • Page 484: (Rcp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 480 65 r emote c opy p rotocol (rcp) c ommands rcp is a unix remote shell service which allows files to be copied between a server and client. Rcp is an application that operates above the tcp protocols, and uses port number...

  • Page 485

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 481 example usage: to configure the global rcp server: dgs-3450:admin# config rcp server ipaddress 172.18.212.106 username rcp_user command: config rcp server ipaddress 172.18.212.106 username rcp_user success. Dgs-3450:admi...

  • Page 486

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 482 example usage: to display the global rcp server configuration: dgs-3450:admin#show rcp server command: show rcp server rcp server address : 172.18.212.106 rcp server username : rcp_user dgs-3450:admin# download firmware_...

  • Page 487

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 483 dgs-3450:admin# download firmware_fromrcp rcp: rcp_user@10.1.1.1/home/rcp_user/dgs- xxxx.Had command: download firmware_fromrcp rcp: rcp_user@10.1.1.1/home/rcp_user/dgs-xxxx.Had connecting to server................... Do...

  • Page 488

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 484 dgs-3450:admin# download firmware_fromrcp src_file /home/dgs-xxxx.Had command: download firmware_fromrcp src_file /home/dgs-xxxx.Had no rcp server ip configured. Would you like to specify a rcp server ip ?(n) 172.18.211....

  • Page 489

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 485 download cfg_fromrcp note: if a user specifies the relative file path, the path search strategy will depend on the server system. For some systems, the current user working directory will be searched first, followed by t...

  • Page 490

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 486 upload cfg_torcp if a user only specifies the path_filename parameter, only the current device configuration will be uploaded. Config_id - specifies the configuration file id. There is no need to support this argument wh...

  • Page 491

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 487 upload log_torcp rcp: - syntax: rcp: username@ipaddr/directory/filename example for full path: user_name@10.1.1.1/home/user_name/desxxxx.Had example for relative path: user_name@10.1.1.1./desxxxx.Had note: no spaces are ...

  • Page 492

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 488 example usage: to upload the attack log from the device to an rcp server: dgs-3450:admin# upload attack_log_torcp username rcp_user 172.18.212.104 dest_file /home/dgs-xxxx.Alog unit 2 command: upload attack_log_torcp use...

  • Page 493: (Rspan)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 489 66 r emote s witched p ort a nalyzer (rspan) c ommands the remote switched port analyzer (rspan) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Com...

  • Page 494

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 490 disable rspan purpose used to disable the rspan globally. Syntax disable rspan description this command controls the rspan function. Parameters none. Restrictions only administrator and operator-level users can issue thi...

  • Page 496

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 492 example usage: to configure an rspan source entry without source target port: dgs-3450:admin#config rspan vlan vlan_name vlan2 source add ports 2-5 rx command:config rspan vlan vlan_name vlan2 source add ports 2-5 rx suc...

  • Page 497

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 493 example usage: to add redirect ports for special rspan vlan on intermediate or destination switch: dgs-3450:admin# config rspan vlan vlan_name vlan2 redirect add port 1:18 command: config rspan vlan vlan_name vlan2 redir...

  • Page 498

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 494 dgs-3450:admin# show rspan command: show rspan rspan: enabled rspan vlan id: 1 -------------------- mirror group id : 1 target port : 1:1 source ports rx: tx: rspan vlan id: 2 -------------------- redirect ports : 1:6 rs...

  • Page 499: (Rip)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 495 67 r outing i nformation p rotocol (rip) c ommands the routing information protocol (rip) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command pa...

  • Page 500

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 496 dgs-3450:admin# config rip ipif system rx_mode v1_only command: config rip ipif system rx_mode v1_only success. Dgs-3450:admin# enable rip purpose used to enable rip. Syntax enable rip description this command is used to...

  • Page 501

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 497 show rip purpose used to display the rip configuration and statistics for the switch. Syntax show rip {ipif } description this command will display the rip configuration and statistics for a given ip interface or for all...

  • Page 502: Rip

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 498 68 rip ng c ommands the routing information protocol next generation (ripng) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enab...

  • Page 503

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 499 example usage: to disable ripng globally: dgs-3450:admin#disable ripng command: disable ripng success. Dgs-3450:admin# show ripng purpose used to display the ripng state on all or specified interfaces. Syntax show ripng ...

  • Page 504

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 500 config ripng poison_reverse - configured to use split horizon with poison reverse. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure the ripng method as poison r...

  • Page 505

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 501 to enable ripng debug globally: dgs-3450:admin#debug ripng state enable command: debug ripng state enable success. Dgs-3450:admin# debug ripng show flag purpose used to display the ripng debug flag setting. Syntax debug ...

  • Page 506

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 502 dgs-3450:admin#debug ripng flag interface state enable command: debug ripng flag interface state enable success. Dgs-3450:admin# after enabling ripng on an interface, the following information may appear when the interfa...

  • Page 507

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 503 69 s afeguard e ngine c ommands periodically, malicious hosts on the network will attack the switch by utilizing packet flooding (arp storm) or other methods. These attacks may increase the cpu utilization beyond its cap...

  • Page 509

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 505 to display the safeguard engine status: dgs-3450:admin# show safeguard_engine command: show safeguard_engine safeguard engine state : disabled safeguard engine current status : normal mode ===============================...

  • Page 510: (Ssh)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 506 70 s ecure s hell (ssh) c ommands the secure shell (ssh) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config ssh algorithm [3d...

  • Page 511

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 507 config ssh algorithm restrictions only administrator and operator-level users can issue this command. Example usage: to enable ssh server public key algorithm: dgs-3450:admin# config ssh algorithm dss enable rsa enable c...

  • Page 513

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 509 config ssh user parameters username - specifies the user name. Publickey - specifies user authentication method. Password - specifies user authentication method. Hostbased - specifies user authentication method. Hostname...

  • Page 515

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 511 example usage: to disable the ssh server service: dgs-3450:admin# disable ssh command: disable ssh success. Dgs-3450:admin# show ssh server purpose used to show the ssh server. Syntax show ssh server description the show...

  • Page 516

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 512 config ssh publickey bypass_login_screen state authentication. Restrictions only administrator and operator-level users can issue this command. Example usage: to disable the secondary username/password authentication for...

  • Page 517

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 513 upload ssh client_pub_key through tftp protocol. Parameters - specifies the ipv4 address of the tftp server. - specifies the domain name of the tftp server. This name can be up to 255 characters long. Dest_file - specifi...

  • Page 518: (Ssl)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 514 71 s ecure s ockets l ayer (ssl) c ommands secure sockets layer or ssl is a security feature that will provide a secure communication path between a host and client through the use of authentication, digital signatures a...

  • Page 521

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 517 example usage: to set the ssl cachetimeout for 7200 seconds: dgs-3450:admin# config ssl cachetimeout 7200 command: config ssl cachetimeout 7200 success. Dgs-3450:admin# show ssl cachetimeout purpose used to show the ssl ...

  • Page 522

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 518 dgs-3450:admin# show ssl command: show ssl ssl status disabled rsa_with_rc4_128_md5 0x0004 enabled rsa_with_3des_ede_cbc_sha 0x000a enabled dhe_dss_with_3des_ede_cbc_sha 0x0013 enabled rsa_export_with_rc4_40_md5 0x0003 e...

  • Page 523

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 519 config ssl certificate chain description this command used to specify the certificate chain on the switch. The format of the certificate should be kept consistent. Parameters default - specifies that all the certificates...

  • Page 525

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 521 create sflow flow_sampler value is 128 restrictions only administrator and operator-level users can issue this command. Example usage: create sflow flow sampler: dgs-3450:admin# create sflow flow_sampler ports 1 analyzer...

  • Page 526

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 522 delete the sflow sampler port 1: dgs-3450:admin# delete sflow flow_sampler ports 1 command: delete sflow flow_sampler ports 1 success. Dgs-3450:admin# create sflow counter_poller purpose used to create the sflow counter_...

  • Page 527

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 523 dgs-3450:admin# config sflow counter_poller ports 1 interval disable command: config sflow counter_poller ports 1 interval disable success. Dgs-3450:admin# delete sflow counter_poller purpose used to delete the sflow cou...

  • Page 528

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 524 dgs-3450:admin# create sflow analyzer_server 2 owner monitor timeout infinite collect oraddress 10.0.0.1 collectorport 65524 maxdatagramsize 300 command: create sflow analyzer_server 2 owner monitor timeout infinite coll...

  • Page 529

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 525 dgs-3450:admin# delete sflow analyzer_server 1 command: delete sflow analyzer_server 1 success. Dgs-3450:admin# enable sflow purpose used to enable the sflow function. Syntax enable sflow description enable the sflow fun...

  • Page 530

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 526 show sflow sflow state: the current state of the sflow agent. Parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to show the sflow information: dgs-3450:admin...

  • Page 531

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 527 show sflow flow_poller port. Parameters none. Restrictions none. Example usage: to show the sflow counter_poller information of ports which have been created: dgs-3450:admin# show sflow counter_poller command: show sflow...

  • Page 532: (Snmp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 528 73 s imple n etwork m anagmement p rotocol (snmp) c ommands the simple network management protocol (snmp) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following t...

  • Page 534

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 530 show snmp community purpose used to display the community string configurations. Syntax show snmp community {} description this command is used to display the community string configurations. Note: this is snmpv3 command...

  • Page 535

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 531 create snmp user restrictions only administrator and operator-level users can issue this command. Example usage: to create a snmp user “user123” with group “group123”: dgs-3450:admin#create snmp user user123 group123 enc...

  • Page 536

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 532 dgs-3450:admin#show snmp user command: show snmp user username group name verauthpriv -------------------------------- -------------------------------- ----------- initial initial v3 nonenone user123 group123 v3 md5 des ...

  • Page 537

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 533 example usage: to delete snmp group “group123”: dgs-3450:admin#delete snmp group group123 command: delete snmp group group123 success. Dgs-3450:admin# show snmp groups purpose used to display the names of groups on the s...

  • Page 539

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 535 show snmp view syntax show snmp view {} description this command is used to display the snmp view record. Parameters view_name - view name of the user who likes to show. Restrictions none. Example usage: to show snmp vie...

  • Page 540

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 536 to create snmp host “10.0.0.1” with community string “public”: dgs-3450:admin#create snmp host 10.0.0.1 v1 public command: create snmp host 10.0.0.1 v1 public success. Dgs-3450:admin# to create snmp host “3ffe::51” with ...

  • Page 541

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 537 show snmp host note: this is snmpv3 command, if it is used; all snmpv1/v2 commands are not necessary. Parameters - the ip address of the recipient for which the traps are targeted. If no parameter specified, all snmp hos...

  • Page 542

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 538 config snmp engineid purpose used to configure a identifier for the snmp engine on the switch. Syntax config snmp engineid description this command is used to configure an identifier for the snmp engine on the switch. As...

  • Page 543

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 539 create snmp community_masking view the user inputs will be displayed as “*”, and the user will have to double input (confirm) the snmp community string when creating an snmp community. Parameters - enter the mib view nam...

  • Page 544

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 540 example usage: to disable the encryption state on snmp community string: dgs-3450:admin#disable community_encryption command: disable community_encryption success. Dgs-3450:admin# show community_encryption purpose used t...

  • Page 545

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 541 74 s tacking c ommands stacking protocol is a special communication mechanism between devices. It is responsible for allowing multiple devices to combine together, working in the same configuration. To users, these devic...

  • Page 546

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 542 show stacking_mode purpose used to display the current stacking mode. Syntax show stacking_mode description the show stacking_mode command displays the current stacking mode. Parameters none. Restrictions only administra...

  • Page 547

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 543 config box_id new_box_id - specifies the new id that will be assigned to the box. The parameter range is 1-12. Auto - allows the box id to be assigned automatically by the stack system. The new box id will take effect af...

  • Page 548

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 544 dgs-3450:admin#show stack_information command: show stack_information topology :duplex_chain my box id :1 master id :1 box count :1 force master role: disabled box user prio- prom firmware h/w id set type exist rity mac ...

  • Page 549

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 545 dgs-3450:admin# show stack_device command: show stack_device box id box type h/w version serial number ------- --------------- ------------ ---------------- 1 dgs-3450 0a1 1234567890123 3 dgs-3450 0a1 2345678901234 dgs-3...

  • Page 550: Mac-B

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 546 75 s tatic mac-b ased vlan c ommands the static mac-based vlan commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. For bridges that implement mac-based ...

  • Page 553

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 549 dgs-3450:admin#create subnet_vlan ipv6network fe80:250:baff::/64 vlan v2 priority 2 command: create subnet_vlan ipv6network fe80:250:baff::/64 vlan v2 priority 2 success. Dgs-3450:admin# delete subnet_vlan purpose use th...

  • Page 554

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 550 show subnet_vlan vlan - if specify the vlan, all subnet vlan entries that associated with this vlan will be displayed. If no parameter is specified, all subnet vlan entries will be displayed. Vidlist - specifies a list o...

  • Page 555

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 551 config vlan_precedence ports if a port’s vlan classification is subnet vlan precedence, the subnet vlan classification will process at first. If subnet vlan classification fails, the mac-based vlan classification will be...

  • Page 558

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 554 dgs-3450:admin# config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable command: config ports 1:1-1:3 speed 10_full learning enable state enable flow_control enable success. Dgs-3450:admin# to...

  • Page 559

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 555 dgs-3450:admin# show ports command: show ports port port settings connection address state speed/duplex/flowctrl speed/duplex/flowctrl learning ------- -------- --------------------- ---------------------- --------- 1:1 ...

  • Page 560

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 556 to display the error disabled ports: dgs-3450:admin# show ports err_disabled command : show ports err_disabled port port connection status reason state ------ -------- --------------------- ---------------- 1:2 enabled e...

  • Page 561

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 557 78 s yslog or t rap s ource -i nterface c ommands the syslog or trap source-interface function is used for selecting a fixed interface as the source interface to send syslog or trap message. It also provides a mechanism ...

  • Page 562

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 558 show syslog source_ipif purpose show syslog source ip interface. Syntax show syslog source_ipif description this command is used to display the syslog source ip interface. Parameters none. Restrictions none. Example usag...

  • Page 563

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 559 dgs-3450:admin# config trap source_ipif none command: config trap source_ipif none success dgs-3450:admin# show trap source_ipif purpose show trap source ip interface. Syntax show trap source_ipif description this comman...

  • Page 566

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 562 enable syslog parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to enable the sending of syslog messages: dgs-3450:admin# enable syslog command: enable syslo...

  • Page 568

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 564 config syslog host state - the syslog protocol is used for the transmission of event notification messages across networks to a host. The option enables or disables the host to receive such messages. Restrictions only ad...

  • Page 569

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 565 create syslog host local5 user-defined facility local6 user-defined facility local7 user-defined facility udp_port - the udp port number. State - the syslog protocol is used for the transmission of event notification mes...

  • Page 570

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 566 show syslog host restrictions none. Example usage: to display syslog host configurations: dgs-3450:admin# show syslog host command: show syslog host syslog global state: disabled host 1 ip address : 10.1.1.2 severity : w...

  • Page 571

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 567 dgs-3450:admin# config log_save_timing on_demand command: config log_save_timing on_demand success. Dgs-3450:admin# show log_save_timing purpose used to show the method for saving the log. Syntax show log_save_timing des...

  • Page 572

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 568 dgs-3450:admin# show attack_log index 1 command: show attack_log index 1 index date time level log text ----- ---------- -------- -------- ---------------------------------------------- 1 2008-10-17 15:00:14 crit(2) land...

  • Page 573

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 569 dgs-3450:admin# upload attack_log_totftp 10.9.68.9 dest_file test command: upload attack_log_totftp 10.9.68.9 dest_file test success. Dgs-3450:admin# upload attack_log_torcp purpose used to upload the attack log file fro...

  • Page 574

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 570 80 t echnical s upport c ommands the technical support commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters show tech_support upload t...

  • Page 575

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 571 dgs-3450:admin# show tech_support command: show tech_support #------------------------------------------------------------------------------- # dgs-3450 gigabit ethernet switch # technical support information # # firmwar...

  • Page 576

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 572 dgs-3450:admin# upload tech_support_to_tftp 10.0.0.66 tech_report.Txt command: upload tech_support_to_tftp 10.0.0.66 tech_report.Txt connecting to server................... Done. Upload techsupport file................ D...

  • Page 579

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 575 dgs-3450:admin# download firmware_fromtftp 10.54.71.1 src_file px.Had command: download firmware_fromtftp 10.54.71.1 src_file px.Had connecting to server................... Done. Download firmware...................... D...

  • Page 580

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 576 upload cfg_totftp ipv6addr - the ipv6 address of the tftp server. Domain_name - the domain name of the tftp server. Dest_file - used to identify the parameter “path_filename”. Path_filename - the pathname specifies the p...

  • Page 582: Sntp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 578 83 t ime and sntp c ommands the simple network time protocol (sntp) (an adaptation of the network time protocol (ntp)) commands in the command line interface (cli) are listed (along with the appropriate parameters) in th...

  • Page 583

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 579 dgs-3450: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-3450:admin# show sntp purpose used to display the sn...

  • Page 584

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 580 dgs-3450:admin# enable sntp command: enable sntp success. Dgs-3450:admin# disable sntp purpose to disable sntp server support. Syntax disable sntp description this will disable sntp support. Sntp service must be separate...

  • Page 586

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 582 config dst s_week – configure the week of the month in which dst begins. – the number of the week during the month in which dst begins where 1 is the first week, 2 is the second week and so on, last is the last week of t...

  • Page 587

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 583 show time purpose used to display the current time settings and status. Syntax show time description this will display system time and date configuration as well as display current system time. Parameters none. Restricti...

  • Page 588

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 584 84 t ime r ange c ommands the time range commands are used in conjunction with the access profile commands listed in the previous chapter to determine a starting point and an ending point, based on days of the week, when...

  • Page 589

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 585 config time_range restrictions only administrator and operator-level users can issue this command. Example usage: to configure the time range time1 to be between 6:30 a.M. And 9:40 p.M., monday to friday: dgs-3450:admin#...

  • Page 591

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 587 dgs-3450:admin# traceroute 10.48.74.121 probe 3 command: traceroute 10.48.74.121 probe 3 * request timed out. Trace complete. Dgs-3450:admin# to trace the routed path between the switch and intra.Example.Com: dgs-3450:ad...

  • Page 592

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 588 dgs-3450:admin# traceroute6 3000::1 probe 3 command: traceroute6 3000::1 probe 3 * request timed out. Trace complete. Dgs-3450:admin# to trace the ipv6 routed path between the switch and 1210:100::11 with port 40000: dgs...

  • Page 593

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 589 86 t raffic c ontrol c ommands there are two modes used for packet storm control on the switch, drop mode and shutdown mode. Drop mode is hardware-based (chip-based) and shutdown mode is a function of software. The two m...

  • Page 594

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 590 config traffic control multicast - enable or disable multicast storm control. Dlf - enable or disable unknown packet storm control. ( supported for drop mode only) action - one of the two options for action are specified...

  • Page 595

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 591 dgs-3450:admin# config traffic trap both command: config traffic trap both success. Dgs-3450:admin# show traffic control purpose used to display the current traffic control settings. Syntax show traffic control { } descr...

  • Page 596

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 592 config traffic control auto_recover_time restrictions only administrator and operator-level users can issue this command. Example usage: to configure the auto recover time to 5 minutes: dgs-3450:admin# config traffic con...

  • Page 597

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 593 87 t raffic s egmentation c ommands traffic segmentation allows users to further sub-divide vlans into smaller groups of ports that will help to reduce traffic on the vlan. The vlan rules take precedence, and then the tr...

  • Page 598

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 594 show traffic_segmentation purpose used to display the current traffic segmentation configuration on the switch. Syntax show traffic_segmentation {} description the show traffic_segmentation command is used to display the...

  • Page 599

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 595 88 t rusted h ost c ommands trusted host is a security feature which denies an illegal network address to access the switch. The trusted host commands in the command line interface (cli) are listed (along with the approp...

  • Page 600

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 596 delete trusted_host all - all trusted hosts will be deleted. Restrictions only administrator and operator-level users can issue this command. Example usage: to delete the trusted host: dgs-3450:admin# delete trusted_host...

  • Page 602

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 598 dgs-3450:admin# create iproute 10.48.74.121/255.0.0.0 10.1.1.254 primary command: create iproute 10.48.74.121/8 10.1.1.254 primary success. Dgs-3450:admin# delete iproute default purpose used to delete an ip route entry ...

  • Page 603

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 599 dgs-3450: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 local 192...

  • Page 604

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 600 example usage: to configure the route preference for static routes to 70: dgs-3450:admin# config route preference static 70 command: config route preference static 70 success. Dgs-3450:admin# show route preference purpos...

  • Page 605

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 601 create route redistribute dst rip restrictions only administrator and operator-level users can issue this command. Example usage: to add route redistribution settings: dgs-3450:admin# create route redistribute dst rip sr...

  • Page 606

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 602 dgs-3450:admin# config route redistribute dst rip src static command: config route redistribute dst rip src static succuss. Dgs-3450:admin# show route redistribute purpose used to display the route redistribution setting...

  • Page 608

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 604 dgs-3450: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:22 0 0 0 1:2 0 0 0 1:23 ...

  • Page 609

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 605 dgs-3450:admin# show utilization dram command: show utilization dram dram utilization : total dram : 262,144 kb used dram : 212,568 kb utilization : 81% success. Dgs-3450:admin# to display flash utilization: dgs-3450:adm...

  • Page 611

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 607 dgs-3450:admin#enable voice_vlan v2 command: enable voice_vlan v2 success. Dgs-3450:admin# disable voice_vlan purpose used to disable the voice vlan function on a switch. Syntax disable voice_vlan description when the vo...

  • Page 612

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 608 config voice_vlan oui user can further define the user-defined ouis if needed. The user-defined oui cannot be the same as the pre-defined oui. Parameters add - specify to add a user-defined oui of voice device vendor. De...

  • Page 613

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 609 dgs-3450:admin#config voice_vlan ports 1:4-1:6 state enable command: config voice_vlan ports 1:4-1:6 state enable success. Dgs-3450:admin# to set voice vlan ports 1:4 to 1:6 to auto mode: dgs-3450:admin#config voice_vlan...

  • Page 614

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 610 dgs-3450:admin#config voice_vlan aging_time 60 command: config voice_vlan aging_time 60 success. Dgs-3450:admin# show voice_vlan purpose used to display voice vlan global information. Syntax show voice_vlan description t...

  • Page 615

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 611 dgs-3450:admin#show voice_vlan oui command: show voice_vlan oui oui address mask description ------------------ ----------------- -------------- 00-01-e3-00-00-00 ff-ff-ff-00-00-00 siemens 00-03-6b-00-00-00 ff-ff-ff-00-0...

  • Page 616

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 612 to display voice vlan device ports 1:1 to 1:2: dgs-3450:admin#show voice_vlan voice_device ports 1:1-1:2 command: show voice_vlan voice_device ports 1:1-1:2 ports voice device start time last active time ----- ----------...

  • Page 617: (Wac)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 613 92 w eb - based a ccess c ontrol (wac) c ommands the web-based access control (wac) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command paramete...

  • Page 618

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 614 dgs-3450:admin# enable wac command: enable wac success. Dgs-3450:admin# disable wac purpose used to disable wac function. Syntax disable wac description the disable wac command disables wac function; all authentication e...

  • Page 620

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 616 dgs-3450:admin# config wac default_redirpath http://www.Dlink.Com command: config wac default_redirpath http://www.Dlink.Com success. Dgs-3450:admin# config wac clear_default_redirpath purpose used to clear wac default r...

  • Page 621

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 617 dgs-3450:admin# config wac virtual_ip 30::20 command: config wac virtual_ip 30::20 success. Dgs-3450:admin# config wac switch_http_port purpose used to config http(s) port of the switch used by wac. Syntax config wac swi...

  • Page 622

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 618 dgs-3450:admin# create wac user vlan jim command: create wac user vlan jim enter a case-sensitive new password:** enter the new password again for confirmation:** success. Dgs-3450:admin# delete wac user purpose used to ...

  • Page 624

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 620 dgs-3450:admin# show wac command: show wac web-base access control ----------------------------- state : enabled method : radius redirect path : http://tw.Yaholl.Com virtual ip : 0.0.0.0 virtual ipv6 : 2000::20 switch ht...

  • Page 625

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 621 dgs-3450:admin# show wac user command: show wac user username password vid --------- ---------- ------ jim pasx 1000 total entries: 1 dgs-3450:admin# show wac auth_state purpose used to display the authentication state o...

  • Page 626

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 622 clear wac auth_state authenticated - specified to clear all authenticated users for a port. Authenticating - specified to clear all authenticating users for a port. Restrictions only administrator and operator-level user...

  • Page 627

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 623 a t echnical s pecifications specifications listed here apply to all switches in the dgs-3400 series except where otherwise noted. General standards ieee 802.3 10base-t ethernet ieee 802.3u 100base-tx fast ethernet ieee ...

  • Page 628

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 624 physical and environmental internal power supply redundant power supply ac input: 100 - 240 vac, 50-60 hz power consumption dgs-3400 series dgs-3426 (78.2 watts) dgs-3426p (496 watts) dgs-3427 (86.68 watts) dgs-3450 (144...

  • Page 629

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 625 b p assword r ecovery p rocedure this chapter describes the procedure for resetting passwords on d-link switches. Authenticating any user who tries to access networks is necessary and important. The basic authentication ...