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

Other manuals for xStack DGS-3400 Series: User Manual, Manual, 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 2.7.

  • Page 2

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

  • Page 3

    Jumbo frame commands .......................................................................................................................................... 315 limited ip multicast address...............................................................................................................

  • Page 4

    Web-based access control (wac) commands ................................................................................................ 524 technical specifications .........................................................................................................................................

  • 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 the switch is also assigned a unique mac address by the factory. This mac address cannot be changed, and can be found on the initial boot console screen – shown below. Boot procedure 1.00-b13 ------------------------------...

  • 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 dgs-3450:admin# ? Command: ? .. ? Cable_diag ports clear clear address_binding dhcp_snoop binding_entry ports clear address_binding nd_snoop binding_entry ports clear arptable clear attack_log clear counters clear dhcp_bin...

  • Page 9

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 5 dgs-3450:admin# config account command: config account next possible completions: dgs-3450:admin# config account figure 2- 4. Using the up arrow to re-enter a command in the above example, the command config account was en...

  • Page 10

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 6 dgs-3450:admin# create command: create next possible completions: 802.1x access_profile account address_binding arpentry authen authen_enable authen_login authentication cpu dhcp dhcpv6 dot1v_protocol_group double_vlan erp...

  • Page 11

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 7 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 12

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 8 {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 16

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 12 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 17

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 13 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 18

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 14 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 19

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 15 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 20

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 16 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 21

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 17 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 24

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 20 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 25

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 21 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 26

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

  • Page 27: 802.1X

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 23 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 each command is listed, in detail, in the following sections. Enable 802.1x purpose used to enable the 802.1x function. Syntax enable 802.1x description the enable 802.1x command enables 802.1x function. Parameters none. ...

  • Page 30

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 26 to create an 802.1x user “test”: dgs-3450:admin# create 802.1x user test command: create 802.1x user test enter a case-sensitive new password: enter the new password again for confirmation: success. Dgs-3450:admin# delete...

  • Page 31

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 27 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 used to configure the 802.1x auth protoc...

  • Page 32

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 28 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 33

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 29 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 34

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

  • Page 35

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 31 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 36

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 32 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 dgs-3450:admin# config 802.1x auth_mode port_based command: config 802.1x auth_mode port_based success. Dgs-3450:admin# config 802.1x init purpose used to initialize the authentication state machine of some or all ports. ...

  • Page 38

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 34 dgs-3450:admin# config 802.1x reauth port_based ports all command: config 802.1x reauth port_based ports all success. Dgs-3450:admin# create 802.1x guest_vlan purpose used to assign a static vlan to be guest vlan. Syntax ...

  • Page 42

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 38 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 43

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 39 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 44

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 40 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 45

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 41 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 46

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

  • Page 47

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

  • Page 48

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 44 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 49

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 45 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 50

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 46 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 52

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 48 command parameters config admin local_enable each command is listed, in detail, in the following sections. Enable password encryption purpose this command is used to enable password encryption. Syntax enable password encr...

  • Page 54

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 50 example usage: to configure the user password of the “alpha” account: dgs-3450:admin# config account alpha command: config account alpha enter an old password:**** enter a case-sensitive new password:**** enter the new pa...

  • Page 55

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

  • Page 56

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 52 show authen_policy purpose this command is used to display if the system access authentication policy is enabled or disabled. Syntax show authen_policy description displays if the system access authentication policy is en...

  • Page 57

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 53 config authen_login hosts in the tacacs+ group are missing, the authentication request will be sent to the first server host in the tacacs group. If all server hosts in the tacacs group are missing, the local account data...

  • Page 58

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 54 dgs-3450:admin# delete authen_login method_list_name login_list_1 command: delete authen_login method_list_name login_list_1 success. Dgs-3450:admin# show authen_login purpose this command is used to display the method li...

  • Page 59

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 55 dgs-3450:admin# create authen_enable method_list_name enable_list_1 command: create authen_enable method_list_name enable_list_1 success. Dgs-3450:admin# config authen_enable purpose this command is used to configure a us...

  • Page 60

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 56 delete authen_enable method_list_name description deletes a user-defined method list of authentication methods for promoting a user's privilege to admin level. Parameters - the user-defined method list name restrictions o...

  • Page 62

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 58 create authen server_group purpose this command is used to create a user-defined authentication server group. Syntax create authen server_group description creates a user-defined authentication server group. The maximum n...

  • Page 63

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 59 dgs-3450:admin# config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ command: config authen server_group mix_1 add server_host 10.1.1.222 protocol tacacs+ success. Dgs-3450:admin# delete authen ser...

  • Page 64

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 60 dgs-3450:admin# show authen server_group command: show authen server_group server group : mix_1 group name ip address protocol --------------- --------------- -------- mix_1 10.1.1.222 tacacs+ 10.1.1.223 tacacs radius 10....

  • Page 65

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 61 dgs-3450:admin# reate authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 command: create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 success. Dgs-3450:admin# config authen server...

  • Page 66

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 62 delete authen server_host protocol xtacacs - specify that the server host’s authentication protocol is xtacacs. Protocol tacacs+ - specify that the server host’s authentication protocol is tacacs+. Protocol radius - speci...

  • Page 67

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 63 example usage: to configure the amount of time the switch will wait for a user to authenticate through a console, telnet, or ssh application to 60 seconds: dgs-3450:admin# config authen parameter response_timeout 60 comma...

  • Page 68

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 64 dgs-3450:admin# show authen parameter command: show authen parameter response timeout : 60 seconds user attempts : 9 dgs-3450:admin# enable admin purpose this command is used to enter the administrator level privilege syn...

  • Page 69

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 65 dgs-3450:admin# config admin local_enable command: config admin local_enable enter the old password: enter the case-sensitive new password:****** enter the new password again for confirmation:****** success. Dgs-3450:admi...

  • Page 70: (Acl)

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

  • Page 73

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 69 example usage: to create an ethernet access profile: 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 acc...

  • Page 74

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 70 dgs-3450:admin#delete access_profile profile_id 6 command: delete access_profile profile_id 6 success. Dgs-3450:admin# config access_profile purpose used to configure access list entry. Syntax config access_profile profil...

  • Page 75

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 71 config access_profile igmp – see below: type - specifies that the rule applies to the value of igmp type traffic tcp – see below: src_port - specifies that the rule applies the range of tcp source port dst_port - specifie...

  • Page 76

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 72 to configure an rule entry for packet content mask profile: 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 0x...

  • Page 77

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 73 dgs-3450:admin# show access_profile command: show access_profile access profile table total unused rule entries: 765 total used rule entries : 3 access profile id: 1 type : packet content =================================...

  • Page 78

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 74 config flow_meter profile_id treated the exceeding action, and the red color packet will be treated the violating action. Parameters profile_id - specifies the profile_id. Access_id - specifies the access_id. Tr_tcm - spe...

  • Page 79

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 75 dgs-3450:admin# config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 pbs 200 exceed replace_dscp 21 violate drop command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir 2000 ...

  • Page 80

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 76 config time_range acl entries, the delete of this time_range profile will fail. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure the range of time to activate a ...

  • Page 81: Acl

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 77 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 84

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 80 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 85

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 81 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 86: (Arp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 82 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 87

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 83 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: create arpentry 10.48.74.121 success. Dgs-3450:admin# config arpentry purpose used to configure a sta...

  • Page 88

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 84 clear arptable purpose used to clear all the dynamic arp entries from the arp table. Syntax clear arptable description this command is used to clear all the dynamic entries from arp table. Parameters none. Restrictions on...

  • Page 89

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 85 dgs-3450:admin# show arpentry command: show arpentry arp aging time : 20 interface ip address mac address type ------------- --------------- ----------------- --------------- system 10.0.0.0 ff-ff-ff-ff-ff-ff local/broadc...

  • Page 90: Bpdu

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 86 10 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 91

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

  • Page 92

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 88 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 93

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 89 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 94

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 90 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 95

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 91 11 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 96

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 92 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 97

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 93 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 98

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 94 12 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, al...

  • Page 99

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 95 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 com...

  • Page 100

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 96 13 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 inter...

  • Page 101

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 97 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 authenticatio...

  • Page 102

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 98 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 securit...

  • Page 103

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 99 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 authenticati...

  • Page 104

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 100 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 105

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 101 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 106

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 102 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 107

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 103 14 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 108

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 104 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 109

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 105 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 110

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 106 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 111

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 107 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 112

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 108 15 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 113

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 109 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 114

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 110 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 115

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 111 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 116

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 112 16 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 117

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 113 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 119

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 115 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 120

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 116 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 121

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 117 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 122: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 118 17 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 123

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 119 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 125

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 121 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 127

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 123 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 128

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 124 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 dhcp relay agent information option ...

  • Page 129

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 125 config dhcp_relay option_60 add parameters string - the specified string. Relay - specify a relay server ip address. Exact-match - the option 60 string in the packet must full match with the specified string. Partial-mat...

  • Page 131

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

  • Page 132

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 128 config dhcp_relay option_61 add description this command adds a rule to determine the relay server based on option 61. The match rule can base on either mac address or a user-specified string. Only one relay server can b...

  • Page 133

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 129 config dhcp_relay option_61 delete description this command is used to delete an option 61 rule. Parameters mac_address - the entry with the specified mac address will be deleted. String - the entry with the specified st...

  • Page 134: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 130 19 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 135

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 131 config filter dhcp_server restrictions only administratorand operator-level users can issue this command. Enabling the dhcp filter will create one access profile and create one access rule per port (udp port 67). Additio...

  • Page 136

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 132 dgs-3450:admin# show filter dhcp_server command: show filter dhcp_server filter dhcp server trap_log state: disabled enabled ports: 1:1-1:3 illegal server log suppress duration:5 minutes filter dhcp server/client table s...

  • Page 137

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 133 dgs-3450:admin# config filter dhcp_server illegal_server_log_suppress_duration 30min command: config filter dhcp_server illegal_server_log_suppress_duration 30min success. Dgs-3450:admin#.

  • Page 138: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 134 20 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 140

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 136 create dhcp pool purpose used to create a dhcp pool. Syntax create dhcp pool description this command will create a dchp pool for the dhcp server. Once created, this pool may be modified for accepting dhcp clients into t...

  • Page 142

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 138 dgs-3450:admin# delete dhcp pool manual_binding floor2 10.10.10.1 command: delete dhcp pool manual_binding floor2 10.10.10.1 success. Dgs-3450:admin# show dhcp pool manual_binding purpose used to display the manual bindi...

  • Page 143

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 139 dgs-3450:admin# show dhcp_binding command:show dhcp_binding pool name ip address hardware address type status life time (secs) ----------- ----------- -------------------- --------- --------- ---------------- engineering...

  • Page 144

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 140 dgs-3450:admin# config dhcp ping_packets 2 command: config dhcp ping_packets 2 success. Dgs-3450:admin# config dhcp ping_timeout purpose used to set the time the switch will wait before timing out a ping packet. Syntax c...

  • Page 145

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 141 config dhcp pool default_router purpose used to configure the default router for the dhcp client. Syntax config dhcp pool default_router {} {} description this command is used to configure the default router for dhcp cli...

  • Page 146

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 142 config dhcp pool domain_name purpose used to configure the domain name for the dhcp pool of the switch. Syntax config dhcp pool domain_name description this command is used to configure the domain name for the dhcp pool ...

  • Page 147

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 143 config dhcp pool netbios_name_server purpose used to configure the ip address(es) for the net bios name server, syntax config dhcp pool netbios_name_server {} {} description this command is used to enter the ip address o...

  • Page 148

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 144 config dhcp pool network_addr purpose used to configure the network address and corresponding subnet mask for the dhcp pool. Syntax config dhcp pool network_addr description this command will allow users to enter the ip ...

  • Page 149

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 145 enable dhcp_server purpose used to enable the dhcp function on the switch. Syntax enable dhcp_server description this command, along with the disable dhcp_server will enable and disable the dhcp server function without a...

  • Page 150

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 146 show dhcp_server purpose used to display the dhcp server settings. Syntax show dhcp_server description this command will display the dhcp server settings for its global state, ping packet count and ping timeout. Paramete...

  • Page 152

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 148 show dhcp pool purpose used to show the dhcp pool information. Syntax show dhcp pool {} description this command is used to display the dhcp pool information. Entering the command without the pool name will display all d...

  • Page 154

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

  • Page 155

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 151 debug dhcpv6_client output restrictions only administrator and operator-level users can issue this command. Example usage: to set debug information to output to console: dgs-3450:admin# debug dhcpv6_client output console...

  • Page 156: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 152 22 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 157

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 153 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 158

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 154 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 159

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 155 enable dhcpv6_relay parameters none. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure the dhcpv6 relay global state to enable: dgs-3450:admin# enable dhcpv6_rel...

  • Page 160

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 156 dgs-3450:admin# debug dhcpv6_relay state enable command: debug dhcpv6_relay state enable success. Dgs-3450:admin# debug dhcpv6_relay output purpose this command is used to set the debug message to output to a buffer or a...

  • Page 161

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 157 dgs-3450:admin# debug dhcpv6_relay packet sending state enable command: debug dhcpv6_relay packet sending state enable success. Dgs-3450:admin# debug dhcpv6_relay hop_count state purpose this command is used to enable or...

  • Page 162: Dhcp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 158 23 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 164

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 160 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::200/64 domain name : domain.Com dns server address : 2000::ff : 2000...

  • Page 165

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

  • Page 166

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 162 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 167

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 163 config dhcpv6 pool manual_binding add - enter the ipv6 address to be statically bound to a device. Client_duid - enter the duid of the device to be statically bound to the ipv6 address entered in the previous field. The ...

  • Page 168

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 164 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 169

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 165 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 170

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 166 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 171

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 167 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 172

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

  • Page 173

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 169 debug dhcpv6_server state description this command is used to enable or disable dhcpv6 server debug functions. Parameters state - see below: enable - enable the dhcpv6 server debug function disable - disable the dhcpv6 s...

  • Page 174: (Ddm)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 170 24 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 175

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 171 config ddm ports temperature_threshold 127.996 celsius degrees. Restrictions only administrator and operator-level users can issue this command. Example usage: to configure the port 9’s temperature threshold: dgs-3450:ad...

  • Page 177

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 173 example usage: to configure the port 9’s transmit power threshold: 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...

  • Page 178

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 174 config ddm ports state parameters portlist - specified a range of ports to be configured. (unitid: port number). All - if ‘all’ parameter is chosen, all sfp ports’ operating parameters will be configured. State - specifi...

  • Page 179

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 175 example usage: to configure the port 11’s trap state to enable: dgs-3450:admin# config ddm trap enable command: config ddm trap enable success. Dgs-3450:admin# show ddm ports status purpose used to show the current opera...

  • Page 180

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 176 to show the port 11’s configuration: dgs-3450:admin# show ddm ports 11 configuration command: show ddm ports 11 configuration port 11 ----------------------------------- ddm state : enabled shutdown : alarm threshold tem...

  • Page 181: D-L

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 177 25 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 182

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 178 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 185

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 181 dgs-3450:admin# show sim command: show sim sim version : ver-1.61 firmware version : 2.70.B56 device name : mac address : 00-19-5b-f5-26-c0 capabilities : l3 platform : dgs-3450 l3 switch sim state : disabled role state ...

  • Page 186

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 182 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 188

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 184 config sim group_name – used to update the name of the group. Enter an alphanumeric string of up to 64 characters to rename the sim group. Dp_interval – the user may set the discovery protocol interval, in seconds that t...

  • Page 189

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 185 dgs-3450:admin# config sim commander command: config sim commander success. Dgs-3450:admin# to update the name of a group: dgs-3450:admin# config sim commander group_name demetrius command: config sim commander group_nam...

  • Page 190

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 186 dgs-3450:admin# download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3450.Had all command: download sim_ms firmware_from_tftp 10.53.13.94 c:/dgs3450.Had all this device is updating firmware. Please wait... Download statu...

  • Page 191

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 187 example usage: to upload configuration files to a tftp server: dgs-3450:admin# upload sim_ms configuration 10.55.47.1 d:\configuration.Txt 1 command: upload sim_ms configuration 10.55.47.1 d:\configuration.Txt 1 success....

  • Page 192: D-L

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 188 26 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 193

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 189 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 194: (Dns)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 190 27 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 195

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 191 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 196

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 192 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 197

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 193 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 198

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 194 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 199: (Dns)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 195 28 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 200

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 196 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 202

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 198 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 203: (Erps)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 199 29 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 204

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 200 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 205

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 201 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 206

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 202 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 207

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 203 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 208

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 204 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 209

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 205 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 210

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 206 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 211

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 207 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 212

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 208 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 213: (Fdb)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 209 30 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 214

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 210 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 215

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 211 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 216

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 212 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 217

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 213 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 218

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 214 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 219

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

  • Page 220: Arp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 216 31 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 221

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 217 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 222

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 218 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 223

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 219 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 224: Ieee

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 220 32 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 227

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 223 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 228

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 224 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 229

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 225 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 230

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 226 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 231

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 227 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 232

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

  • Page 233

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 229 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 234: Ieee

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 230 33 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 235

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 231 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 238

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 234 create vlan_translation ports 1-4094> {priority } 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 ...

  • Page 239: Igmp

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

  • Page 242

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 238 config igmp_snooping querier the default setting is 10 seconds. Robustness_variable - provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the fo...

  • Page 243

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 239 config router_ports enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc. Parameters vlan - specify the name of the...

  • Page 244

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 240 enable igmp_snooping parameters forward_mcrouter_only - if specified, the switch will learn the router port based on identification of the multicast routing protocol packet and igmp control packet. If not specified, the ...

  • Page 245

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 241 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 snooping multicast static group. Syntax create igmp_snoopi...

  • Page 246

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 242 example usage: to delete an igmp snooping static group for vlan 1, group 239.1.1.1: dgs-3450:admin# delete igmp_snooping static_group vlan vlan1 239.1.1.1 command: delete igmp_snooping static_group vlan vlan1 239.1.1.1 s...

  • Page 247

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 243 dgs-3450:admin# show igmp_snooping static_group command: show igmp_snooping static_group vlan id/name ip address static member ports -------------- ------------------ ------------------------ 1 / default 239.1.1.1 2:9-2:...

  • Page 248

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 244 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 249

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 245 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 252

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 248 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 253

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 249 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 254

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 250 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 255

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

  • Page 256

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 252 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 257

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 253 config igmp_snooping data_driven_learning - enter the vlan id here. All - specify all vlans to be configured. State - (optional) specify to enable or disable the data driven learning of an igmp snooping group. Enable - e...

  • Page 258

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 254 prompt# config igmp_snooping data_driven_learning max_learned_entry 50 command: config igmp_snooping data_driven_learning max_learned_entry 50 success. Prompt# config mld_snooping data_driven_learning purpose this comman...

  • Page 259

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 255 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 260

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 256 35 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 261

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 257 dgs-3450:admin# create ipif inters 192.168.69.1/24 default secondary command: create ipif inters 192.168.69.1/24 default secondary success. Dgs-3450:admin# config ipif purpose this command is used to configure the ip dir...

  • Page 262

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 258 dgs-3450:admin# show ipif system command: show ipif system ip interface : system vlan name : default interface admin state : enabled ipv4 address : 10.90.90.90/8 (manual) primary proxy arp : disabled (local: disabled) ip...

  • Page 263: Ip-Mac-P

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 259 36 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 266

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 262 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 267

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 263 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 268

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 264 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 269

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 265 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 270

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 266 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 271

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 267 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 272

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 268 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 273

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 269 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 274

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 270 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 275

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 271 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 276

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 272 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 278

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 274 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 279: Vlan

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 275 37 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 280

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 276 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 281

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 277 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 282

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 278 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 283

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 279 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 284

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 280 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 285

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 281 38 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 286

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 282 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 287

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 283 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 289

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 285 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 290

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 286 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 292

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 288 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 293

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 289 show ipv6route ripng - display the ripng route entries. Restrictions only administrator and operator-level users can issue this command. Example usage: show the ipv6 route entries without specified address or route proto...

  • Page 294

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 290 40 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 295

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 291 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 296

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 292 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 298

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 294 dgs-3450:admin# show ip_tunnel tn2 command: show ip_tunnel tn2 tunnel interface : tn2 interface admin state : enabled tunnel mode : manual ipv6 address : 2000::1/64 tunnel source : 1.0.0.1 tunnel destination : 1.0.0.2 su...

  • Page 299

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

  • Page 300: (Jwac)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 296 41 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 301

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 297 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 303

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 299 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 304

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 300 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 305

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 301 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 306

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 302 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 307

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 303 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 308

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 304 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 309

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 305 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 310

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 306 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 311

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 307 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 312

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 308 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 314

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 310 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 315

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 311 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 316

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 312 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 317

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 313 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 318

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

  • Page 319

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 315 42 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 320

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 316 dgs-3450:admin# disable jumbo_frame command: disable jumbo_frame success. Dgs-3450:admin# show jumbo_frame purpose used to show the status of the jumbo frame function on the switch. Syntax show jumbo_frame description th...

  • Page 321

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 317 43 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 322

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 318 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 323

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 319 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 324

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 320 44 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 325

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 321 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 326

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 322 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 327

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 323 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 328

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 324 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 329: (Lldp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 325 45 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 330

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 326 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 331

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 327 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 332

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 328 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 333

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 329 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 335

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 331 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 336

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 332 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 337

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 333 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 338

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 334 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 341

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 337 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 342

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 338 dgs-3450:admin# show lldp local_ports 1 command: show lldp local_ports 1 port id : 1:1 ---------------------------------------------------------------- port id subtype : local port id : 1/1 port description : port pvid :...

  • Page 343

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 339 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 344: Mac

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 340 46 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 346

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 342 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 347

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 343 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 348: Mac-

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 344 47 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 349

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 345 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 350

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 346 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 352

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 348 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 354

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 350 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 355

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 351 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 356

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 352 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 357

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 353 show mac_based_access_control_local mac - displays mac-based access control local database entries for a specific mac address. Vlan - displays mac-based access control local database entries for a specific target vlan na...

  • Page 358

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 354 show mac_based_access_control auth_state purpose used to display the mac-based access control authentication status. Syntax show mac_based_access_control auth_state ports description this command is used to display the m...

  • Page 359

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 355 dgs-3450:admin# show mac_based_access_control auth_state ports 1-3 command: show mac_based_access_control auth_state ports 1-3 (p):port based port mac address state vid priority aging time/ block time ---- --------------...

  • Page 361

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 357 dgs-3450:admin# config mirror port 1:3 add source ports 1:7-1:12 both command: config mirror port 1:5 add source ports 1:1-1:5 both success. Dgs-3450:admin# enable mirror purpose used to enable mirror globally. Syntax en...

  • Page 362

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 358 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 363

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 359 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: create mi...

  • Page 364: Mstp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 360 49 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 366

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 362 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 367

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 363 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 368

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 364 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 369

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 365 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 370

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 366 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 371: Igmp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 367 50 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 372

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 368 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 373

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 369 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 374

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 370 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 375

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 371 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 376: (Mstp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 372 51 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 377

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 373 dgs-3450:admin# show stp command: show stp stp bridge global settings ----------------------------- stp status : enabled stp version : mstp max age : 20 forward delay : 15 max hops : 20 tx hold count : 3 forwarding bpdu ...

  • Page 378

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 374 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 379

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 375 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 380

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 376 example usage: to create mstp instance: dgs-3450:admin# create stp instance_id 2 command: create stp instance_id 2 success. Dgs-3450:admin# delete stp instance_id purpose used to delete mst instance. Syntax delete stp in...

  • Page 381

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

  • Page 382

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 378 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 383

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 379 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 384

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 380 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 386: (Nlb)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 382 52 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 387

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 383 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 388

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 384 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 389

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 385 53 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 390

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 386 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 391

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 387 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 392

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 388 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 393

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 389 54 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 394

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 390 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 395

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 391 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 397

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 393 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 398

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 394 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 399

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 395 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 401

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 397 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 402

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 398 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 403

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 399 57 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 404

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 400 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 deny_low_priority...

  • Page 405

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 401 dgs-3450: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 4000mw (class 1 pd uppe...

  • Page 406

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 402 show poe ports restrictions none. Example usage: to display poe port: dgs-3450:admin# show poe ports 1-6 command: show poe ports 1-6 port state priority power limit(mw) time range class power(mw) voltage(decivolt) curren...

  • Page 407: Vlan

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 403 58 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 408

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 404 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 409

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 405 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 411

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 407 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 412

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 408 59 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 413

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 409 config bandwidth_control bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit may be equal to the user specified limit, but will not exceed it. The actual limit recognized by the de...

  • Page 414

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 410 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 415

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 411 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 416

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 412 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 417

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 413 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 418

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 414 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 419

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 415 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 420

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 416 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 421

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 417 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 422

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 418 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 423: (Rcp)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 419 60 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 424

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 420 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 425

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 421 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 426

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 422 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 427

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 423 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 428

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 424 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 429

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 425 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 430

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 426 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 431

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 427 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 432: (Rspan)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 428 61 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 433

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 429 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 435

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 431 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 436

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

  • Page 437

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 433 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 438: (Rip)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 434 62 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 439

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 435 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 440

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 436 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 441

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 437 63 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 443

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 439 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 444: (Ssh)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 440 64 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 445

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 441 dgs-3450:admin# config ssh algorithm dss enable rsa enable command: config ssh algorithm dss enable rsa enable success. Dgs-3450:admin# show ssh algorithm purpose used to show ssh server algorithm. Syntax show ssh algori...

  • Page 446

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 442 example usage: to config user authentication method: dgs-3450:admin# config ssh authmode publickey enable command: config ssh authmode publickey enable success. Dgs-3450:admin# show ssh authmode purpose used to show user...

  • Page 447

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 443 dgs-3450:admin# config ssh user test publickey command: config ssh user test publickey success. Dgs-3450:admin# show ssh user authmode purpose used to show ssh user information. Syntax show ssh user authmode description ...

  • Page 448

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 444 dgs-3450:admin# config ssh server maxsession 3 command: config ssh server maxsession 3 success. Dgs-3450:admin# enable ssh purpose used to enable the ssh server. Syntax enable ssh description the enable ssh command enabl...

  • Page 449

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 445 show ssh server parameters none. Restrictions none. Example usage: to show the ssh server: dgs-3450:admin# show ssh server command: show ssh server the ssh server configuration max session : 3 connection timeout : 300 au...

  • Page 450: (Ssl)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 446 65 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 453

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 449 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 454

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 450 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 456

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

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 453 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 458

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 454 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 459

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 455 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 460

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 456 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 461

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 457 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 462

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 458 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 463

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 459 67 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 464

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 460 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 465

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 461 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 466

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 462 show stack_device purpose used to display information about the devices in the stack. Syntax show stack_device description the show stack_device command displays stack device information. Parameters none. Restrictions no...

  • Page 467: Mac-B

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 463 68 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 470

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

  • Page 471

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 467 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 472

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 468 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 475

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 471 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 476

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

  • Page 477

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 473 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 478

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 474.

  • Page 479

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 475 71 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 480

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 476 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 481

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 477 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 484

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 480 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 486

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 482 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 487

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 483 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 488

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 484 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 489

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 485 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 490

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 486 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 491

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 487 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 492

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 488 73 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 493

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

  • Page 494

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 490 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 497

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 493 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 498

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 494 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 500: Sntp

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 496 76 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 501

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 497 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 502

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 498 disable sntp purpose to disable sntp server support. Syntax disable sntp description this will disable sntp support. Sntp service must be separately configured (see config sntp). Parameters none. Restrictions only admini...

  • Page 504

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 500 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 505

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 501 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 506

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 502 77 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 507

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 503 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 509

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 505 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 510

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 506 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 511

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 507 79 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 512

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 508 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 513

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 509 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 514

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 510 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 515

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 511 80 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 516

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 512 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 517

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 513 81 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 518

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 514 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 520

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 516 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 521

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 517 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 522

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 518 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 523

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 519 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 524

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 520 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 526

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 522 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 527

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 523 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 528: (Wac)

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 524 84 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 529

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 525 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 531

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 527 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 532

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 528 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 533

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 529 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 535

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 531 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 536

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 532 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 537

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 533 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 538

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 534 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 539

    Xstack ® dgs-3400 series layer 2 gigabit ethernet managed switch cli manual 535 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 540

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