background image

 

 

 

Summary of Contents for xStack DGS-3120-24PC

Page 1: ......

Page 2: ...cation Command List 165 Chapter 17 Configuration Command List 175 Chapter 18 Configuration Trap Command List 180 Chapter 19 Connectivity Fault Management CFM Command List EI Mode Only 182 Chapter 20 C...

Page 3: ...ebug enhancement Command List 485 Chapter 50 Multicast Filter Command List 492 Chapter 51 Multicast VLAN Command List 503 Chapter 52 Multiple Spanning Tree Protocol MSTP Command List 517 Chapter 53 Ne...

Page 4: ...y Command List 737 Chapter 82 Telnet Client Command List 739 Chapter 83 TFTP Client Command List 740 Chapter 84 Time and SNTP Command List 745 Chapter 85 Trace Route Command List 753 Chapter 86 Traffi...

Page 5: ...e Switch s serial port s default settings are as follows 115200 baud no parity 8 data bits 1 stop bit A computer running a terminal emulation program capable of emulating a VT 100 terminal and a seria...

Page 6: ...command line prompt enter the commands config ipif System ipaddress xxx xxx xxx xxx yyy yyy yyy yyy Where the x s represent the IP address to be assigned to the IP interface named System and the y s r...

Page 7: ...SPACE n Next Page ENTER Next Entry a All When entering a command without its required parameters the CLI will prompt you with a Next possible completions message DGS 3120 24TC admin config account Com...

Page 8: ...cal value or character string braces indicate optional parameters or a choice of parameters and brackets indicate required parameters If a command is entered that is unrecognized by the CLI the top le...

Page 9: ...rt led limited_multicast_addr link_aggregation lldp lldp_med log log_save_timing log_software_module loopdetect mac_based_access_control mac_based_access_control_local mac_based_vlan mac_notification...

Page 10: ...DO NOT TYPE THE VERTICAL BAR braces Encloses an optional value or a list of optional arguments One or more values or arguments can be specified For example in the syntax reset config system force_agre...

Page 11: ...Q or q Escape from displayed pages R or r refresh the displayed pages A or a Display the remaining pages The screen display will not pause again Enter Display the next line The screen display pauses...

Page 12: ...ault config terminal width default value 80 200 show terminal width config ports portlist all medium_type fiber copper speed auto 10_half 10_full 100_half 100_full 1000_full master slave flow_control...

Page 13: ...n This command is used to display the current serial port settings Format show serial_port Parameters None Restrictions None Example To display the serial port setting DGS 3120 24TC admin show serial_...

Page 14: ...over 2 minutes the device will auto logout 5_minutes When idle over 5 minutes the device will auto logout 10_minutes When idle over 10 minutes the device will auto logout 15_minutes When idle over 15...

Page 15: ...clipaging Description This command is used to disable the pausing of the screen display when the show command output reaches the end of the page The default setting is enabled Format disable clipagin...

Page 16: ...ers None Restrictions None Example To login the Switch with a user name dlink DGS 3120 24TC admin login Command login UserName dlink PassWord DGS 3120 24TC admin 2 7 logout Description This command is...

Page 17: ...Link Corporation All rights reserved UserName 2 8 Description This command is used to display the usage description for all commands in the cuurent login account level or the specific one Format Para...

Page 18: ...to clear screen Format clear Parameters None Restrictions None Example To clear screen DGS 3120 24TC admin clear Command clear DGS 3120 24TC admin 2 10 show command_history Description The command is...

Page 19: ...nfigure the number of commands that the Switch can recall The Switch remembers upto the last 40 commands you entered Format config command_history value 1 40 Parameters value 1 40 Enter the number of...

Page 20: ...ample To edit the banner DGS 3120 24TC admin config greeting_message Command config greeting_message Greeting Messages Editor DGS 3120 24TC Gigabit Ethernet Switch Command Line Interface Firmware Buil...

Page 21: ...Corporation All rights reserved DGS 3120 24TC admin 2 14 config command_prompt Description This command is used to modify the command prompt The current command prompt consists of four parts product...

Page 22: ...erminal width Description The command is used to set current terminal width The usage is described as below 1 Users login and configure the terminal width to 120 this configuration take effect on this...

Page 23: ...6 show terminal width Description The command is used to display the configuration of current terminal width Format show terminal width Parameters None Restrictions None Example To display the configu...

Page 24: ...ore ports By set flow_control to enable or disable enable Specify that the flow control option will be enabled disable Specify that the flow control option will be disabled learning Optional You can t...

Page 25: ...range of ports Format show ports portlist description err_disabled details media_type Parameters ports Specify a range of ports to be displayed portlist Optional Enter the list of ports to be configu...

Page 26: ...abits Ethernet MAC Address 00 01 02 03 04 10 Bandwidth 1000000Kbit Auto Negotiation Enabled Duplex Mode Full Duplex Flow Control Disabled MDI Auto Address Learning Enabled Last Clear of Counter 0 hour...

Page 27: ...pvid auto_assign config gvrp timer join leave leaveall value 100 100000 nni_bpdu_addr dot1d dot1ad show gvrp enable gvrp disable gvrp config private_vlan vlan_name 32 vid vlanid 2 4094 add isolated co...

Page 28: ...this VLAN name is conflict with the name of an existing VLAN then it will be renamed based on the following rule VLAN ID ALT collision count For example if this conflict is the second collision then...

Page 29: ...haracters long Restrictions Only Administrator Operator and Power User level users can issue this command Example To remove a vlan v1 DGS 3120 24TC admin delete vlan v1 Command delete vlan v1 Success...

Page 30: ...d untagged or forbidden ports to the VLAN tagged Specify the additional ports as tagged untagged Specify the additional ports as untagged forbidden Specify the additional ports as forbidden delete Opt...

Page 31: ...ional Enter the list of ports used for the configuration here advertisement Optional Specify the GVRP state of this VLAN enable Specify to enable advertisement for this VLAN disable Specify to disable...

Page 32: ...e specified portlist enable Specify that ingress checking will be enabled for the specified portlist disable Specify that ingress checking will be disabled for the specified portlist acceptable_frame...

Page 33: ...atic Ports 1 1 1 24 Current Tagged Ports Current Untagged Ports 1 1 1 24 Static Tagged Ports Static Untagged Ports 1 1 1 24 Forbidden Ports Total Static VLAN Entries 1 Total GVRP VLAN Entries 0 DGS 31...

Page 34: ...ion using the VLAN ID Format show vlan vlanid vidlist Parameters vidlist Enter the VLAN ID to be displayed Restrictions None Example To display the VLAN configuration for VLAN ID 1 DGS 3120 24TC admin...

Page 35: ...e 1 1 1 Disabled Enabled All Frames 1 2 1 Disabled Enabled All Frames 1 3 1 Disabled Enabled All Frames 1 4 1 Disabled Enabled All Frames 1 5 1 Disabled Enabled All Frames 1 6 1 Disabled Enabled All F...

Page 36: ...is updated with last item of VLAN list When user removes a port from the untagged membership of the PVID s VLAN the port s PVID will be assigned with default VLAN The default setting is enabled Format...

Page 37: ...pvid auto_assign Description This command is used to display the PVID auto assignment state Format show pvid auto_assign Parameters None Restrictions None Example To display PVID auto assignment state...

Page 38: ...etermine the BPDU protocol address for GVRP in service provide site It can use 802 1d GVRP address 802 1ad service provider GVRP address or a user defined multicast address dot1d Specify that the NNI...

Page 39: ...3120 24TC admin 3 17 enable gvrp Description This commands is used to enable the Generic VLAN Registration Protocol GVRP Format enable gvrp Parameters None Restrictions Only Administrator Operator an...

Page 40: ...ters vlan_name 32 Specify the name of the private VLAN vid Specify the VLAN ID of the private VLAN vlanid 2 4094 Enter the VLAN ID used here This value must be between 2 and 4094 add Specify that a se...

Page 41: ...VLAN or its secondary VLAN This name can be up to 32 characters long vlanid Optional Specify the VLAN ID of the private VLAN or its secondary VLAN vidlist Enter the VLAN ID used here Restrictions Non...

Page 42: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 38...

Page 43: ..._based ports portlist all mac_based ports portlist all mac_address macaddr config 802 1x reauth port_based ports portlist all mac_based ports portlist all mac_address macaddr create 802 1x guest_vlan...

Page 44: ...unction DGS 3120 24TC admin enable 802 1x Command enable 802 1x Success DGS 3120 24TC admin 4 2 disable 802 1x Description This command is used to disable the 802 1X function Format disable 802 1x Par...

Page 45: ...sue this command Example To create a 802 1x user test DGS 3120 24TC admin create 802 1x user test Command create 802 1x user test Enter a case sensitive new password Enter the new password again for c...

Page 46: ...is used to display the 802 1X user Format show 802 1x user Parameters None Restrictions None Example To display the 802 1X user information DGS 3120 24TC admin show 802 1x user Command show 802 1x use...

Page 47: ...d_pdu system Description This command is used to globally control the forwarding of EAPOL PDU When 802 1X functionality is disabled globally or for a port and if 802 1X fwd_pdu is enabled both globall...

Page 48: ...enable disable Parameters portlist Enter the list of ports used for the configuration all Specify that all the ports will be used enable Enable forwarding EAPOL PDU receive on the ports disable Disabl...

Page 49: ...ssigned from the RADIUS server DGS 3120 24TC admin config 802 1x authorization attributes radius disable Command config 802 1x authorization attributes radius disable Success DGS 3120 24TC admin 4 10...

Page 50: ...q Quit SPACE n Next Page p Previous Page r Refresh 4 11 config 802 1x capability Description This command is used to configure the port capability Format config 802 1x capability ports portlist all au...

Page 51: ...limited It is specified by config 802 1x auth_parameter command Format config 802 1x max_users value 1 448 no_limit Parameters value 1 448 Enter the maximum number of users This value must be between...

Page 52: ...period The default value is 30 seconds and can be any integer value among 1 to 65535 sec 1 65535 Enter the tx period value here This value must be between 1 and 65535 seconds supp_timeout Optional Th...

Page 53: ...config 802 1x auth_mode Description This command is used to configure 802 1X authentication mode Format config 802 1x auth_mode port_based mac_based Parameters port_based Configure the authentication...

Page 54: ...the authentication state machine of some or all DGS 3120 24TC admin config 802 1x init port_based ports all Command config 802 1x init port_based ports all Success DGS 3120 24TC admin 4 16 config 802...

Page 55: ...must be existed The specific VLAN which assigned to guest VLAN can t be deleting Format create 802 1x guest_vlan vlan_name 32 Parameters vlan_name 32 Optional Specify the VLAN to be guest VLAN The VLA...

Page 56: ...mmand is used to configure guest VLAN setting If the specific port state is changed from enabled state to disable state this port will move to its original VLAN Format config 802 1x guest_vlan ports p...

Page 57: ...uest_vlan Description This command is used to show the information of guest VLANs Format show 802 1x guest_vlan Parameters None Restrictions None Example To show 802 1X guest VLAN on the Switch DGS 31...

Page 58: ...authentication UDP port number to 1812 accounting UDP port number to 1813 timeout to 5 seconds and retransmit to 2 auth_port Optional Specify the UDP port number which is used to transmit RADIUS auth...

Page 59: ...US server index here This value must be between 1 and 3 ipaddress Optional The IP address of the RADIUS server server_ip Enter the RADIUS server IP address here ipv6addr Enter the RADIUS server IPv6 a...

Page 60: ...aiting server reply The default value is 5 seconds sec 1 255 Enter the timeout value here This value must be between 1 and 255 seconds default Specify that the default timeout value will be used retra...

Page 61: ...1812 Acct Port 1813 Timeout 5 sec Retransmit 2 Key adfdslkfjefiefdkgjdassdwtgjk6y1w Total Entries 2 DGS 3120 24TC admin 4 25 show auth_statistics Description This command is used to display informatio...

Page 62: ...x 0 InvalidEapolFramesRx 0 EapLengthErrorFramesRx 0 LastEapolFrameVersion 0 LastEapolFrameSource 00 00 00 00 00 00 CTRL C ESC q Quit SPACE n Next Page p Previous Page r Refresh 4 26 show auth_diagnost...

Page 63: ...artsWhileAuthenticated 0 EapLogoffWhileAuthenticated 0 BackendResponses 0 BackendAccessChallenges 0 BackendOtherRequestsToSupplicant 0 BackendNonNakResponsesFromSupplicant 0 BackendAuthSuccesses 0 Bac...

Page 64: ...ssionFramesRx 0 SessionFramesTx 0 SessionId SessionAuthenticMethod Remote Authentication Server SessionTime 0 SessionTerminateCause SupplicantLogoff SessionUserName CTRL C ESC q Quit SPACE n Next Page...

Page 65: ...usAuthClientAccessRetransmissions 0 radiusAuthClientAccessAccepts 0 radiusAuthClientAccessRejects 0 radiusAuthClientAccessChallenges 0 radiusAuthClientMalformedAccessResponses 0 radiusAuthClientBadAut...

Page 66: ...Page r Refresh 4 30 config accounting service Description This command is used to configure the state of the specified RADIUS accounting service Format config accounting service network shell system...

Page 67: ...shell state enable Success DGS 3120 24TC admin 4 31 show accounting service Description This command is used to show the status of RADIUS accounting services Format show accounting service Parameters...

Page 68: ...t method_list_name string 15 show authen application create authen server_group string 15 config authen server_group tacacs xtacacs tacacs radius string 15 add delete server_host ipaddr protocol tacac...

Page 69: ...n Success DGS 3120 24TC admin 5 2 disable authen_policy_encryption Description This command is used to disable the authentication policy encryption When disabled TACACS and RADIUS key will be in the p...

Page 70: ...TC admin enable password encryption Command enable password encryption Success DGS 3120 24TC admin 5 4 disable password encryption Description This command is used to disable password encryption The u...

Page 71: ...s authentication policy Enable system access authentication policy When authentication is enabled the device will adopt the login authentication method list to authenticate the user for login and adop...

Page 72: ...to authenticate the enable password for promoting the user s privilege to Admin level Format disable authen_policy Parameters None Restrictions Only Administrator level users can issue this command E...

Page 73: ...GS 3120 24TC admin create authen_login method_list_name login_list_1 Command create authen_login method_list_name login_list_1 Success DGS 3120 24TC admin 5 9 config authen_login Description Configure...

Page 74: ...tacacs Optional Authentication by the built in server group tacacs xtacacs Optional Authentication by the built in server group xtacacs tacacs Optional Authentication by the built in server group taca...

Page 75: ...list_1 Success DGS 3120 24TC admin 5 11 show authen_login Description This command is used to display the method list of authentication methods for user login Format show authen_login default method_l...

Page 76: ...Administrator level users can issue this command Example To create a user defined method list for promoting user s privilege to Admin level DGS 3120 24TC admin create authen_enable method_list_name e...

Page 77: ...ation by the built in server group xtacacs tacacs Optional Authentication by the built in server group tacacs radius Optional Authentication by the built in server group radius server_group Optional A...

Page 78: ...le Description This command is used to display the method list of authentication methods for promoting user s privilege to Admin level Format show authen_enable default method_list_name string 15 all...

Page 79: ...sole Application console telnet Application telnet ssh Application SSH http Application web all Application console telnet SSH and web login Select the method list of authentication methods for user l...

Page 80: ...show authen application Command show authen application Application Login Method List Enable Method List Console default default Telnet login_list_1 default SSH default default HTTP default default D...

Page 81: ...r_host ipaddr protocol tacacs xtacacs tacacs radius Parameters server_group User defined server group tacacs Built in server group tacacs xtacacs Built in server group xtacacs tacacs Built in server g...

Page 82: ...ver_group string 15 Parameters string 15 The user defined server group name This value can be up to 15 characters long Restrictions Only Administrator level users can issue this command Example To del...

Page 83: ...n protocol services can be run on the same physical host The maximum supported number of server hosts is 16 Format create authen server_host ipaddr protocol tacacs xtacacs tacacs radius port int 1 655...

Page 84: ...his command Example To create a TACACS authentication server host its listening port number is 15555 and timeout value is 10 seconds DGS 3120 24TC admin create authen server_host 10 1 1 222 protocol t...

Page 85: ...The count for re transmit This value is meaningless for TACACS Default value is 2 int 1 20 Enter the re transmit value here This value must be between 1 and 20 Restrictions Only Administrator level us...

Page 86: ...o display the authentication server hosts Format show authen server_host Parameters None Restrictions Only Administrator level users can issue this command Example To display all authentication server...

Page 87: ...n parameter response_timeout 60 Command config authen parameter response_timeout 60 Success DGS 3120 24TC admin 5 27 config authen parameter attempt Description This command is used to configure the m...

Page 88: ...Timeout 60 seconds User Attempts 9 DGS 3120 24TC admin 5 29 enable admin Description This command is used to enter the administrator level privilege Promote the user privilege level to admin level Wh...

Page 89: ...er to input the password interactively For this case the user can only input the plain text password If the password is present in the command the user can select to input the password in the plain te...

Page 90: ...inistrator level users can issue this command Example To configure the administrator password DGS 3120 24TC admin config admin local_enable Command config admin local_enable Enter the old password Ent...

Page 91: ...psh rst syn fin udp src_port value 0 65535 mask hex 0x0 0xffff dst_port value 0 65535 mask hex 0x0 0xffff protocol_id value 0 255 user_define hex 0x0 0xffffffff mask hex 0x0 0xffffffff packet_content...

Page 92: ...hex 0x0 0xffffffff offset_chunk_2 value 0 31 hex 0x0 0xffffffff offset_chunk_3 value 0 31 hex 0x0 0xffffffff offset_chunk_4 value 0 31 hex 0x0 0xffffffff ipv6 class flowlabel source_ipv6_mask ipv6mas...

Page 93: ...hex 0x0 0xffff Enter the UDP destination port mask here protocol_id_mask Optional Specify that the rule applies to IP protocol ID traffic 0x0 0xff Enter the protocol ID mask here user_define_mask Opt...

Page 94: ...t1 ethernet vlan source_mac 00 00 00 00 00 01 destination_mac 00 00 00 00 00 02 802 1p ethernet_type Command create access_profile profile_id 1 profile_name 1 ethernet vlan source_mac 00 00 00 00 00 0...

Page 95: ...en applying an access rule to a target the setting specified in the VLAN field will not take effect if the target is a VLAN Format config access_profile profile_id value 1 6 profile_name name 1 32 add...

Page 96: ...y be assigned value 1 256 Enter the access ID used here This value must be between 1 and 256 A lower value denotes a higher priority ethernet Specify to configure the ethernet access profile vlan Opti...

Page 97: ...ce port mask here dst_port Optional Specify that the rule will apply to a range of TCP destination ports value 0 65535 Enter the TCP destination port value here This value must be between 0 and 65535...

Page 98: ...n_ipv6 Optional Specify the value of the IPv6 destination address EI Mode Only ipv6addr Enter the destination IPv6 address used for this configuration here mask Optional Specify an additional mask par...

Page 99: ...7 Enter the replace ToS precedence with value here This value must be between 0 and 7 counter Optional Specify whether the ACL counter feature is enabled or disabled This parameter is optional The def...

Page 100: ...lower value denotes a higher priority profile_name Optional Specify the name of the profile name 1 32 Enter the profile name used here This name can be up to 32 characters long Restrictions None Exam...

Page 101: ...Rule ID 1 Ports 1 2 Match on VLAN ID 1 DSCP 0 Action Permit Profile ID 3 Profile name IPv6ACL Type IPv6 MASK on Class TCP Available HW Entries 254 Rule ID 1 Ports 1 3 Match on Class 0 Action Permit Pr...

Page 102: ...3120 24TC admin show access_profile profile_id 2 Command show access_profile profile_id 2 Access Profile Table Profile ID 2 Profile Name 2 Type Ethernet Mask on VLAN 0xF Source MAC FF FF FF 00 00 00...

Page 103: ...single rate two color mode users may set the preferred bandwidth for this rule in Kbps and once the bandwidth has been exceeded overflowing packets will either be dropped or have a drop precedence set...

Page 104: ...1 and 256 A lower value denotes a higher priority rate This specifies the rate for single rate two color mode Specify the committed bandwidth in Kbps for the flow The value m and n are determined by t...

Page 105: ...ACL counter option will be disabled violate Specify the action when a packet is mapped to the red color permit Permits the packet replace_dscp Optional Changes the DSCP of the packet value 0 63 Enter...

Page 106: ...This value must be between 0 and 63 drop Drops the packet counter Optional Specify the ACL counter This is optional The default is disable The resource may be limited so that a counter cannot be turn...

Page 107: ...on Profile ID 1 Aceess ID 1 Mode trTCM ColorBlind CIR Kbps 1000 CBS Kbyte 2000 PIR Kbps 2000 PBS Kbyte 2000 Action Conform Permit Counter Enabled Exceed Permit Replace DSCP 60 Counter Enabled Violate...

Page 108: ...s Use a comma to separate specific days daylist Enter the weekdays that will be included in this configuration here For example mon fri Monday to Friday sun mon fri Sunday Monday and Friday delete Del...

Page 109: ...2 00 00 Associated ACL Entries 2 10 3 8 DGS 3120 24TC admin 6 9 show current_config access_profile Description This command is used to display the ACL part of the current configuration when logged in...

Page 110: ...show current_config access_profile ACL create access_profile ethernet vlan profile_id 1 config access_profile profile_id 1 add access_id 1 ethernet vlan default port 1 permit create access_profile ip...

Page 111: ...rt value 0 65535 mask hex 0x0 0xffff protocol_id value 0 255 user_define hex 0x0 0xffffffff mask hex 0x0 0xffffffff ipv6 class value 0 255 source_ipv6 ipv6addr mask ipv6mask destination_ipv6 ipv6addr...

Page 112: ...ed here This value must be between 1 and 4 A lower value denotes a higher priority profile_name The name of the profile must be specified The maximum length is 32 characters name 1 32 Enter the profil...

Page 113: ...tional Specify the IPv6 class source_ipv6_mask Optional Specify an IPv6 source sub mask ipv6mask Enter the IPv6 source sub mask value here destination_ipv6_mask Specify an IPv6 destination sub mask ip...

Page 114: ...le ID 1 DGS 3120 24TC admin delete egress_access_profile profile_id 1 Command delete egress_access_profile profile_id 1 Success DGS 3120 24TC admin 7 3 config egress_access_profile Description This co...

Page 115: ...r the VLAN name used for this configuration here This name can be up to 32 characters long vlanid Specify a VLAN ID vlanid 1 4094 Enter the VLAN ID used for this congfiguration here This value must be...

Page 116: ...mask value here flag Optional Specify the TCP flag fields all Specify that the TCP flag field will be set to all urg Specify that the TCP flag field will be set to urg ack Specify that the TCP flag f...

Page 117: ...ng parameters configured will apply to the ICMP configuration type Specify that the rule will apply to the ICMP type traffic value value 0 255 Enter the ICMP traffic type value here This value must be...

Page 118: ...e that when the packet go out switch which match the specified source IP DSCP and destination IP field it will not be dropped DGS 3120 24TC admin config egress_access_profile profile_id 2 add access_i...

Page 119: ...e can be up to 32 characters long If no parameter is specified will show the all egress access profile Restrictions None Example To display current egress access list table DGS 3120 24TC admin show eg...

Page 120: ...ign Ports 1 3 Match on DSCP 3 Action Permit Profile ID 3 Profile name IPv6 Type IPv6 MASK on Class Available HW Entries 126 Rule ID 1 auto assign Ports 1 4 Match on Class 10 Action Permit DGS 3120 24T...

Page 121: ...Rule ID 1 auto assign Ports 1 1 Match on 802 1p 0 Action Permit DGS 3120 24TC admin 7 5 show current_config egress_access_profile Description This command is used to display the egress ACL part of cur...

Page 122: ...egress access profile and rule Format config egress_flow_meter profile_id value 1 4 profile_name name 1 32 access_id value 1 128 rate value 0 1048576 burst_size value 0 131072 rate_exceed drop_packet...

Page 123: ...nd mode color_aware Optional Specify the meter mode to be color aware When this code is specified user could set the in coming packet color by using command config color_aware The final color of packe...

Page 124: ...ot be turned on Counters will be cleared when the function is disabled enable Specify that the ACL counter parameter will be enabled disable Specify that the ACL counter parameter will be disabled exc...

Page 125: ...ess flow based metering configuration Format show egress_flow_meter profile_id value 1 4 profile_name name 1 32 access_id value 1 128 Parameters profile_id Optional Specify the index of access list pr...

Page 126: ...BS Kbyte 100 EBS Kbyte 200 Action Conform Permit Counter Enabled Exceed Permit Replace DSCP 60 Counter Enabled Violate Drop Counter Disabled Total Entries 2 DGS 3120 24TC admin 7 8 create port_group D...

Page 127: ...pecify the port group name name 16 Enter the port group name here This name can be up to 16 characters long add Add a port list to this port group delete Delete a port list from this port group portli...

Page 128: ...dmin delete port_group id 2 Command delete port_group id 2 Success DGS 3120 24TC admin 7 11 show port_group Description This command is used to display the port group information Format show port_grou...

Page 129: ...r 2 Managed Stackable Gigabit Switch CLI Reference Guide 125 DGS 3120 24TC admin show port_group Command show port_group Port Group Table Port Group ID Port Group Name Ports 2 group2 1 1 1 3 Total Ent...

Page 130: ...create arpentry ipaddr macaddr Parameters ipaddr The IP address of the end node or station macaddr The MAC address corresponding to the IP address above Restrictions Only Administrator Operator and P...

Page 131: ...10 48 74 121 Command delete arpentry 10 48 74 121 Success DGS 3120 24TC admin 8 3 config arpentry Description This command is used to configure a static entry s MAC address in the ARP table Specify t...

Page 132: ...t being accessed before it is dropped from the table Format config arp_aging time min 0 65535 Parameters min 0 65535 Enter the ARP age out time in minutes This value must be between 0 and 65535 minute...

Page 133: ...show arpentry ipif ipif_name 12 ipaddress ipaddr static mac_address macaddr Parameters ipif Optional The name of the IP interface the end node or station for which the ARP table entry was made reside...

Page 134: ...Time 20 Interface IP Address MAC Address Type System 10 0 0 0 FF FF FF FF FF FF Local Broadcast System 10 1 1 1 00 02 03 04 05 06 Static System 10 1 1 2 00 02 03 04 05 06 Dynamic System 10 1 1 3 00 02...

Page 135: ...rp_spoofing_prevention add gateway_ip ipaddr gateway_mac macaddr ports portlist all delete gateway_ip ipaddr Parameters add Specify to add an ARP spoofing prevention entry gateway_ip Specify a gateway...

Page 136: ...y_mac 00 00 00 11 11 11 ports 1 1 1 2 Success DGS 3120 24TC admin 9 2 show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry Format show arp_spoofing_p...

Page 137: ...e the asymmetric VLAN function on the Switch Format enable asymmetric_vlan Parameters None Restrictions Only Administrator Operator and Power User level users can issue this command Example To enable...

Page 138: ...min disable asymmetric_vlan Command disable asymmetric_vlan Success DGS 3120 24TC admin 10 3 show asymmetric_vlan Description This command is used to display the asymmetric VLAN state on the Switch Fo...

Page 139: ...TFTP server IP address from the DHCP server Then the Switch will download the configuration file from the TFTP server for configuration of the system Format enable autoconfig Parameters None Restrict...

Page 140: ...disable autoconfig Command disable autoconfig Success DGS 3120 24TC admin 11 3 show autoconfig Description This command is used to display if the auto configuration is enabled or disabled Format show...

Page 141: ...able dhcpv6_client enable disable dhcp_option12 hostname hostname 63 clear_hostname state enable disable delete ipif ipif_name 12 ipv6address ipv6networkaddr all EI Mode Only enable ipif ipif_name 12...

Page 142: ...min create account admin dlink Command create account admin dlink Enter a case sensitive new password Enter the new password again for confirmation Success DGS 3120 24TC admin To create the user level...

Page 143: ...form password the length is fixed to 35 bytes long The assword is case sensitive Restrictions Only Administrator level users can issue this command Example To configure the user password of dlink acco...

Page 144: ...ame Access Level admin Admin oper Operator power Power_user user User Total Entries 4 DGS 3120 24TC admin 12 4 delete account Description This command is used to delete an existing account Format dele...

Page 145: ...24TC Gigabit Ethernet Switch Unit ID 1 MAC Address 00 00 00 01 02 03 IP Address 10 90 90 90 Manual VLAN Name default Subnet Mask 255 0 0 0 Default Gateway 0 0 0 0 Boot PROM Version Build 2 00 003 Fir...

Page 146: ...ts are numbered between 1 and 65535 The well known TCP port for the TELNET protocol is 23 Restrictions Only Administrator and Operator level users can issue this command Example To enable TELNET and c...

Page 147: ..._number 1 65535 Parameters tcp_port_number 1 65535 Optional The TCP port number TCP ports are numbered between 1 and 65535 The well known TCP port for the WEB protocol is 80 Restrictions Only Administ...

Page 148: ...120 24TC admin 12 10 reboot Description This command is used to restart the Switch Format reboot force_agree Parameters force_agree Optional When force_agree is specified the reboot command will be ex...

Page 149: ...will not do save neither reboot system Optional If you specify the system keyword all parameters are reset to default settings Then the Switch will do factory reset save and reboot force_agree Option...

Page 150: ...3120 24TC admin 12 13 create ipif EI Mode Only Description This command is used to create an IP interface Format create ipif ipif_name 12 network_address vlan_name 32 secondary state enable disable p...

Page 151: ...secondary Command create ipif Inter2 192 168 16 1 24 default state enable secondary Success DGS 3120 24TC admin 12 14 config ipif Description This command is used to configure the IP interface Format...

Page 152: ...be set to enabled or disabled EI Mode Only enable Specify that the IPv6 interface sate will be enabled disable Specify that the IPv6 interface sate will be disabled ipv4 Specify that the IPv4 configu...

Page 153: ...nterface name used here This name can be up to 12 characters long ipv6address Optional Specify the IPv6 network address The address should specify a host address and length of network prefix There can...

Page 154: ...min enable ipif newone Command enable ipif newone Success DGS 3120 24TC admin 12 17 disable ipif EI Mode Only Description This command is used to disable an IP interface Format disable ipif ipif_name...

Page 155: ...te Enabled DHCPv6 Client State Disabled Link Status LinkUp IPv4 Address 10 90 90 90 8 Manual Primary Proxy ARP Disabled Local Disabled IPv4 State Enabled IPv6 State Enabled DHCP Option12 State Disable...

Page 156: ...Example To enable the IP interface for IPv6 link local automatic DGS 3120 24TC admin enable ipif_ipv6_link_local_auto newone Command enable ipif_ipv6_link_local_auto newone Success DGS 3120 24TC admi...

Page 157: ...ocal address automatic configuration state Format show ipif_ipv6_link_local_auto ipif_name 12 Parameters ipif_name 12 Optional Enter the Ip interface name used here This name can be up to 12 character...

Page 158: ...on Thus BPDU protection can only be enabled on STP disabled port BPDU protection has high priority than fbpdu setting configured by configure STP command in determination of BPDU handling That is when...

Page 159: ...ble and re enable the port Format config bpdu_protection recovery_timer sec 60 1000000 infinite Parameters recovery_timer Specified the bpdu_protection Auto Recovery recovery_timer The default value o...

Page 160: ...of attack_detected and attack_cleared shall be trapped or logged Restrictions Only Administrator Operator and Power User level users can issue this command Example To config the bpdu_protection trap s...

Page 161: ...Restrictions Only Administrator Operator and Power User level users can issue this command Example To disable bpdu_protection function globally for the entire switch DGS 3120 24TC admin disable bpdu_p...

Page 162: ...ate None BPDU Protection Log State None DGS 3120 24TC admin To show the bpdu_protection status ports 1 12 DGS 3120 24TC admin show bpdu_protection ports 1 12 Commands show bpdu_protection ports 1 12 P...

Page 163: ...e test will obtain the distance of the cable Since the status is link up the cable will not have the short or open problem But the test may still detect the crosstalk problem When a port is in link do...

Page 164: ...errors and the link is down this command cannot detect the cable length When the link partner is powered down with errors this command can detect whether the error is open short or crosstalk In this...

Page 165: ...61 DGS 3120 24TC admin cable_diag ports 1 1 1 11 1 12 Command cable_diag ports 1 1 1 11 1 12 Perform Cable Diagnostics Port Type Link Status Test Result Cable Length M 1 1 1000BASE T Link Up OK 1 1 11...

Page 166: ...ownloading the configuration all configuration commands should not be logged When the user under AAA authentication the user name should not changed if user uses enable admin command to replace its pr...

Page 167: ...mmand disable command logging Success DGS 3120 24TC admin 15 3 show command logging Description This command is used to display the Switch s general command logging configuration status Format show co...

Page 168: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164...

Page 169: ...Mode Only show authentication ports portlist enable authorization attributes disable authorization attributes show authorization config authentication server failover local permit block show authentic...

Page 170: ...Specify the guest VLAN by VLAN name vlan_name 32 Enter the VLAN name here This name can be up to 32 characters long vlanid Specify the guest VLAN by VLAN ID vlanid 1 4094 Enter the VLAN ID here This I...

Page 171: ...rts all Success DGS 3120 24TC admin 16 4 config authentication ports Description This command is used to configure security port s Format config authentication ports portlist all auth_mode port_based...

Page 172: ...and then IMPB will be verified Both authentications need to be passed impb_wac WAC will be verified first and then IMPB will be verified Both authentications need to be passed mac_impb MAC will be ve...

Page 173: ...iters 1 Use one delimiter e g aabbcc ddeeff 2 Use two delimiters e g aabb ccdd eeff 5 Use five delimiters e g aa bb cc dd ee ff Restrictions Only Administrator Operator and Power User level users can...

Page 174: ...rts portlist Parameters portlist Enter a list of ports to be displayed If not specify the port list displays compound authentication setting of all ports Restrictions None Example This example display...

Page 175: ...n issue this command Example This example sets authorization global state enabled DGS 3120 24TC admin enable authorization attributes Command enable authorization attributes Success DGS 3120 24TC admi...

Page 176: ...ne Restrictions None Example This example displays authorization status DGS 3120 24TC admin show authorization Command show authorization Authorization for Attributes Enabled DGS 3120 24TC admin 16 11...

Page 177: ...failover local Success DGS 3120 24TC admin 16 12 show authentication Description This command is used to display authentication global configuration Format show authentication Parameters None Restric...

Page 178: ...ormat show authentication mac_format Parameters None Restrictions None Example To display the authentication MAC format settings DGS 3120 24TC admin show authentication mac_format Command show authent...

Page 179: ...ollowed by up to three filter strings ex stp A filter string is enclosed by symbol The following describes the meaning of the each filter type include includes lines that contain the specified filter...

Page 180: ...be up to 80 characters long include Optional Include lines that contain the specified filter string exclude Optional Exclude lines that contain the specified filter string begin Optional The first lin...

Page 181: ...ct port 1 28 state disabled disable sim disable stp disable ssh Output truncated DGS 3120 24TC admin 17 2 config configuration Description This command is used to select a configuration file as the ne...

Page 182: ...be specified If the configuration ID or configuration file name is not specified the next boot up configuration is implied Format save config pathname log all Parameters config Optional Specify to sav...

Page 183: ...itch CLI Reference Guide 179 Format show boot_file Parameters None Restrictions None Example To display the boot file DGS 3120 24TC admin show boot_file Command show boot_file Bootup Firmware c runtim...

Page 184: ...ave enable disable upload enable disable download enable disable Parameters save Optional Enable or disable sending the trap by the SNMP agent when the configuration is saved in NVRAM enable Send the...

Page 185: ...3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 181 DGS 3120 24TC admin config configuration trap save enable Command config configuration trap save enable Success DGS 3120 2...

Page 186: ...1 4294967295 ma string 22 ma_index uint 1 4294967295 delete cfm ma string 22 ma_index uint 1 4294967295 md string 22 md_index uint 1 4294967295 delete cfm md string 22 md_index uint 1 4294967295 enab...

Page 187: ...must be between 1 and 7294967295 level Specify the maintenance domain level int 0 7 Enter the maintenance domain level here This value must be between 0 and 7 Restrictions Only Administrator Operator...

Page 188: ...he sender ID TLV none Do not transmit the sender ID TLV This is the default value chassis Transmit the sender ID TLV with the chassis ID information manage Transmit the sender ID TLV with the managed...

Page 189: ...ified for an MA can be located in different devices MEPs must be created on the ports of these devices explicitly An MEP will transmit a CCM packet periodically across the MA The receiving MEP will ve...

Page 190: ...ed for the maintenance domain that this MA is associated with This is the default value ccm_interval Optional This is the CCM interval 100ms Specify that the CCM interval will be set to 100 millisecon...

Page 191: ...tion name string 22 Enter the maintenance association name used here This name can be up to 22 characters long ma_index Specify the maintenance association index uint 1 4294967295 Enter the maintenanc...

Page 192: ...ters long ma_index Specify the maintenance association index uint 1 4294967295 Enter the maintenance association index value here This value must be between 1 and 4294967295 state Optional This is the...

Page 193: ...n This command is used to delete a previously created MEP Format delete cfm mep mepname string 32 mepid int 1 8191 md string 22 md_index uint 1 4294967295 ma string 22 ma_index uint 1 4294967295 Param...

Page 194: ...uint 1 4294967295 md string 22 md_index uint 1 4294967295 Parameters string 22 Enter the maintenance association name This name can be up to 22 characters long ma_index Specify the maintenance associ...

Page 195: ...delete cfm md string 22 md_index uint 1 4294967295 Parameters string 22 Enter the maintenance domain name This name can be up to 22 characters long md_index Specify the maintenance domain index uint...

Page 196: ...he CFM globally DGS 3120 24TC admin enable cfm Command enable cfm Success DGS 3120 24TC admin 19 11 disable cfm Description This command is used to disable the CFM globally Format disable cfm Paramete...

Page 197: ...function is disabled on that port Format config cfm ports portlist state enable disable Parameters portlist Enter the list of ports used for this configuration here state Specify that the the CFM func...

Page 198: ...nce domain name used here This name can be up to 22 characters long md_index Optional Specify the maintenance domain index uint 1 4294967295 Enter the maintenance domain index value here This value mu...

Page 199: ...how cfm md op_domain Command show cfm md op_domain MD Index 1 MD Name op_domain MD Level 2 MIP Creation Explicit SenderID TLV None MA Index MA Name VID 1 op1 1 DGS 3120 24TC admin show cfm md op_domai...

Page 200: ...Sequence CCMs 0 received Cross connect CCMs 0 received Error CCMs 0 received Normal CCMs 0 received Port Status CCMs 0 received If Status CCMs 0 received CCMs transmitted 71 In order LBRs 0 received...

Page 201: ...dex Optional Specify the maintenance association index uint 1 4294967295 Enter the maintenance association index value here This value must be between 1 and 4294967295 Restrictions None Example To sho...

Page 202: ...ck test The MAC address represents the destination MEP or MIP that can be reached by this MAC address The MEP represents the source MEP to initiate the loopback message Format cfm loopback macaddr mep...

Page 203: ...be up to 1500 characters long pdu_priority Optional The 802 1p priority to be set in the transmitted LBMs If not specified it uses the same priority as CCMs and LTMs sent by the MA int 0 7 Enter the P...

Page 204: ...message TTL value The default value is 64 int 2 255 Enter the link trace message TTL value here This value must be between 2 and 255 pdu_priority Optional The 802 1p priority to be set in the transmi...

Page 205: ...Specify the maintenance association index uint 1 4294967295 Enter the maintenance association index value here This value must between 1 and 4294967295 trans_id Optional Specify the identifier of the...

Page 206: ...d int 1 8191 mepname string 32 Parameters md Optional Specify the maintenance domain name string 22 Enter the maintenance domain name her This name can be up to 22 characters long md_index Specify the...

Page 207: ...ase entries All entries in the MIP CCM database will be shown A MIP CCM entry is similar to a FDB which keeps the forwarding port information of a MAC entry Format show cfm mipccm Parameters None Rest...

Page 208: ...this command Example To enable the all MPs reply LTRs function DGS 3120 24TC admin config cfm mp_ltr_all enable Command config cfm mp_ltr_all enable Success DGS 3120 24TC admin 19 23 show cfm mp_ltr_...

Page 209: ...22 characters long md_index Specify the maintenance domain index uint 1 4294967295 Enter the maintenance domain index value here This value must between 1 and 4294967295 ma Specify the maintenance as...

Page 210: ...nters Format show cfm pkt_cnt ports portlist rx tx rx tx ccm Parameters ports Optional Specify the port counters to show If not specified all ports will be shown portlist Enter the list of ports used...

Page 211: ...4 3 578 578 0 0 0 0 4 578 578 0 0 0 0 5 578 578 0 0 0 0 6 578 578 0 0 0 0 7 578 578 0 0 0 0 8 578 578 0 0 0 0 9 578 578 0 0 0 0 10 578 578 0 0 0 0 11 578 578 0 0 0 0 12 578 578 0 0 0 0 DGS 3120 24TC a...

Page 212: ...CCM RX counters Restrictions Only Administrator Operator and Power User level users can issue this command Example To clear the CFM packet s RX TX counters DGS 3120 24TC admin clear cfm pkt_cnt Comman...

Page 213: ...ble the CFM trap state This is the default disable Disable the CFM trap state Restrictions Only Administrator Operator and Power User level users can issue this command Example DGS 3120 24TC admin con...

Page 214: ...ing or deleting higher level MD and MA on the device When the most immediate client layer MIPs and MEPs do not exist the default client MD level cannot be calculated If the default client MD level can...

Page 215: ...op domain ma op ma mepid 1 state enable level 5 Success DGS 3120 24TC admin 20 2 config cfm lock Description This command is used to configure the parameters of LCK function on a MEP The default clie...

Page 216: ...led disable Specify that the LCK function will be disabled Restrictions Only Administrator Operator and Power User level users can issue this command Example To configure the LCK function enabled and...

Page 217: ...ent action int 1 8191 Enter the remote MEP ID used here This value must be between 1 and 8191 action Specify to start or to stop the management lock function start Specify to start the management lock...

Page 218: ...4094 source_ip ipaddr destination_ip ipaddr dscp value 0 63 icmp type value 0 255 code value 0 255 igmp type value 0 255 tcp src_port value 0 65535 dst_port value 0 65535 flag all urg ack psh rst syn...

Page 219: ...code traffic igmp Specify that the rule applies to IGMP traffic type Optional Specify that the rule applies to IGMP type traffic tcp Specify that the rule applies to TCP traffic src_port_mask Optiona...

Page 220: ...cify the IPv6 class flowlabel Optional Specify the IPv6 flowlabel source_ipv6_mask Optional Specify an IPv6 source submask ipv6mask Enter the IPv6 source submask here destination_ipv6_mask Optional Sp...

Page 221: ...k 20 0 0 0 destination_ip_mask 10 0 0 0 dscp icmp type code Success DGS 3120 24TC admin 21 2 delete cpu access_profile Description This command is used to delete CPU access list rules Format delete cp...

Page 222: ...e ID value here This value must be between 1 and 5 access_id Specify the index of access list entry The range of this value is 1 100 value 1 100 Enter the access ID here This value must be between 1 a...

Page 223: ...y that the TCP flag field mask will be set to urg ack Specify that the TCP flag field mask will be set to ack psh Specify that the TCP flag field mask will be set to psh rst Specify that the TCP flag...

Page 224: ...meter that can be configured hex 0x0 0xffff Enter the TCP source port mask value here dst_port Optional Specify the value of the IPv6 Layer 4 TCP destination port value 0 65535 Enter the TCP destinati...

Page 225: ...1 ip vlan default source_ip 20 2 2 3 destination_ip 10 1 1 252 dscp 3 icmp type 11 code 32 port 1 deny Command config cpu access_profile profile_id 1 add access_id 1 ip vlan default source_ip 20 2 2 3...

Page 226: ...and Example To disable cpu_interface_filtering DGS 3120 24TC admin disable cpu_interface_filtering Command disable cpu_interface_filtering Success DGS 3120 24TC admin 21 6 show cpu access_profile Desc...

Page 227: ...ce Access Profile Table Total Unused Rule Entries 497 Total Used Rule Entries 3 Profile ID 1 Type IPv6 MASK on Source IPv6 Addr FFFF FFFF FFFF Unused Rule Entries 99 Rule ID 1 Ports 2 20 3 20 Match on...

Page 228: ...AC 00 00 22 B0 61 51 Action Deny Profile ID 4 Type User Defined MASK on Offset 0 15 0xFFF000FF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF Offset 16 31 0xFFFFFFFF 0xFFFFFFFF 0xFF00FFFF 0xFFFFFFFF Offset 32 47 0x...

Page 229: ...console EI Mode Only debug dhcpv6_client packet all receiving sending state enable disable EI Mode Only debug dhcpv6_relay state enable EI Mode Only debug dhcpv6_relay state disable EI Mode Only debug...

Page 230: ...802ACE98 8018C814 8028FF44 8028352C 801D703C 8013B8A4 802AE754 802A5E0C To clear the error log DGS 3120 24TC admin debug error_log clear Command debug error_log clear Success DGS 3120 24TC admin To up...

Page 231: ...in process the system s memory pool will be used as the debug buffer Then the functions which will be used in the system s memory pool resources may fail to excute these commands successfully Use the...

Page 232: ...gcontent txt Command debug buffer upload_toTFTP 10 0 0 90 debugcontent txt Connecting to server Done Upload debug file Done DGS 3120 24TC admin 22 4 debug output Description This command is used to se...

Page 233: ...C admin 22 5 debug config error_reboot Description This command is used to set if the Switch needs to be rebooted when a fatal error occurs When the error occurs the watchdog timer will be disabled by...

Page 234: ...ate enable disable Parameters enable Enable the debug state disable Disable the debug state Restrictions Only Administrator level users can issue this command Example To set the debug state to disable...

Page 235: ...ocol all IPv6 ICMP TCP UDP OSPFV3 all STACK by_priority Parameters portlist Specify a range of ports all Specify all ports by_cos Display by Cos by_reason Display by reason by_protocol Display by prot...

Page 236: ...rx 0 tx 0 3 rx 0 tx 0 4 rx 0 tx 0 5 rx 0 tx 0 6 rx 0 tx 0 7 rx 0 tx 0 unknown rx 0 tx 0 total rx 0 tx 0 Ports 2 CoS 0 rx 0 tx 0 1 rx 0 tx 0 2 rx 0 tx 0 3 rx 0 tx 0 4 rx 0 tx 0 5 rx 0 tx 0 6 rx 0 tx 0...

Page 237: ...FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F...

Page 238: ...cription This command is used to enable the DHCPv6 client debug function Format debug dhcpv6_client state enable Parameters None Restrictions Only Administrator level users can issue this command Exam...

Page 239: ...C admin 22 13 debug dhcpv6_client output EI Mode Only Description This command is used to set debug message to output to buffer or console Format debug dhcpv6_client output buffer console Parameters b...

Page 240: ...acket sending debug flag state Specify the state of the designated flags enable Enable the designated flags disable Disable the designated flags Restrictions Only Administrator level users can issue t...

Page 241: ...mand is used to disable DHCPv6 relay debug functions Format debug dhcpv6_relay state disable Parameters None Restrictions Only Administrator level users can issue this command Example To disable DHCPv...

Page 242: ...enable or disable the debug information flag of the DHCPv6 relay packet including packets receiving and sending Format debug dhcpv6_relay packet all receiving sending state enable disable Parameters a...

Page 243: ...count Format debug dhcpv6_relay hop_count state enable disable Parameters enable Specify to enable the hop count state disable Specify to disable the hop count state Restrictions Only Administrator le...

Page 244: ...change of the source MAC address and gateway address DHCP option 82 will be automatically added Format config dhcp_local_relay vlan vlan_name 32 state enable disable Parameters vlan_name 32 Specify t...

Page 245: ...for specified vlan enable Specify that the DHCP local relay function will be enabled disable Specify that the DHCP local relay function will be disabled Restrictions Only Administrator level users ca...

Page 246: ...used to globally disable the DHCP local relay function on the Switch Format disable dhcp_local_relay Parameters None Restrictions Only Administrator level users can issue this command Example To disab...

Page 247: ...itch CLI Reference Guide 243 Restrictions None Example To display local dhcp relay status DGS 3120 24TC admin show dhcp_local_relay Command show dhcp_local_relay DHCP BOOTP Local Relay Status Disabled...

Page 248: ...default config dhcp_relay option_61 state enable disable config dhcp_relay option_61 add mac_address macaddr string desc_long 255 relay ipaddr drop config dhcp_relay option_61 default relay ipaddr dro...

Page 249: ...he IP interface name used here This name can be up to 12 characters long ipaddr The DHCP BOOTP server IP address Restrictions Only Administrator Operator and Power User level users can issue this comm...

Page 250: ...relay add vlanid 1 10 10 43 21 12 Command config dhcp_relay add vlanid 1 10 10 43 21 12 Success DGS 3120 24TC admin To display the DHCP relay status DGS 3120 24TC admin show dhcp_relay Command show dh...

Page 251: ...relay table DGS 3120 24TC admin config dhcp_relay delete ipif System 10 43 21 12 Command config dhcp_relay delete ipif System 10 43 21 12 Success DGS 3120 24TC admin 24 5 config dhcp_relay delete vla...

Page 252: ...e disabled check Optional When the state is enabled For packet come from client side the packet should not have the option 82 s field If the packet has this option field it will be dropped The default...

Page 253: ...config dhcp_relay option_82 check disable Command config dhcp_relay option_82 check disable Success DGS 3120 24TC admin config dhcp_relay option_82 policy replace Command config dhcp_relay option_82...

Page 254: ...is used to disable the DHCP relay function on the Switch Format disable dhcp_relay Parameters None Restrictions Only Administrator Operator and Power User level users can issue this command Example T...

Page 255: ...cp_relay ipif System Command show dhcp_relay ipif System DHCP BOOTP Relay Status Disabled DHCP BOOTP Hops Count Limit 4 DHCP BOOTP Relay Time Threshold 0 DHCP Vendor Class Identifier Option 60 State D...

Page 256: ...n This command is used to decide whether DHCP relay will process the DHCP option 60 or not When option_60 is enabled if the packet does not have option 60 then the relay servers cannot be determined b...

Page 257: ...dd string multiword 255 relay ipaddr exact match partial match Parameters string Specify the string used multiword 255 Enter the string value here This value can be up to 255 characters long relay Spe...

Page 258: ...will be the union of option 60 default relay servers and the relay servers determined by option 61 Format config dhcp_relay option_60 default relay ipaddr mode drop relay Parameters relay Specify the...

Page 259: ...is specified by the user ipaddr Optional Enter the IP address used for this configuration here Restrictions Only Administrator Operator and Power User level users can issue this command Example To de...

Page 260: ...packet does not have option 61 then the relay servers cannot be determined based on option 61 If the relay servers are determined based on option 60 or option 61 then per IPIF configured servers will...

Page 261: ...n of these two sets of the servers Format config dhcp_relay option_61 add mac_address macaddr string desc_long 255 relay ipaddr drop Parameters mac_address The client s client ID which is the hardware...

Page 262: ...and Power User level users can issue this command Example To configure the DHCP relay option 61 function DGS 3120 24TC admin config dhcp_relay option_61 default drop Command config dhcp_relay option_6...

Page 263: ...on 61 entry DGS 3120 24TC admin config dhcp_relay option_61 delete mac_address 00 11 22 33 44 55 Command config dhcp_relay option_61 delete mac_address 00 11 22 33 44 55 Success DGS 3120 24TC admin 24...

Page 264: ...e Guide 260 DGS 3120 24TC admin show dhcp_relay option_61 Command show dhcp_relay option_61 Default Relay Rule 10 90 90 200 Matching Rules Client ID Type Relay Rule abc String Drop abcde String 10 90...

Page 265: ...lter all DHCP server packets on the specific port and to specify to allow some DHCP server packets with pre defined server IP addresses and client MAC addresses With this function we can restrict the...

Page 266: ...s detected will be logged only once within the duration The default value is 5 minutes 1min Specify that illegal server log suppress duration value will be set to 1 minute 5min Specify that illegal se...

Page 267: ...Server Log Suppress Duration 5 minutes Permit DHCP Server Client Table Server IP Address Client MAC Address Port 10 1 1 1 00 00 00 00 00 01 1 1 1 24 Total Entries 1 DGS 3120 24TC admin 25 3 config fil...

Page 268: ...cription This command is used to enable or disable the log function Format config filter dhcp_server trap enable disable Parameters enable Enable the trap function disable Disable the trap function Re...

Page 269: ...y ipif ipif_name 12 26 1 enable dhcpv6_relay Description This command is used to enable the DHCPv6 relay function on the Switch Format enable dhcpv6_relay Parameters None Restrictions Only Administrat...

Page 270: ...command is used to add or delete an IPv6 address which is a destination to forward relay DHCPv6 packets Format config dhcpv6_relay add delete ipif ipif_name 12 ipv6addr Parameters add Add an IPv6 dest...

Page 271: ...value 1 32 Enter the number of relay agents that have to be relayed in this message The range is from 1 to 32 The default value is 4 Restrictions Only Administrator Operator and Power User level user...

Page 272: ...te of the System interface to enable DGS 3120 24TC admin config dhcpv6_relay ipif System state enable Command config dhcpv6_relay ipif System state enable Success DGS 3120 24TC admin 26 6 show dhcpv6_...

Page 273: ...rence Guide 269 DGS 3120 24TC admin show dhcpv6_relay Command show dhcpv6_relay DHCPv6 Relay Global State Disabled DHCPv6 Hops Count Limit 4 IP Interface System DHCPv6 Relay Status Enabled Server Addr...

Page 274: ...watts low_alarm milliwatts high_warning milliwatts low_warning milliwatts state enable disable shutdown alarm warning none show ddm show ddm ports portlist status configuration 27 1 config ddm Descrip...

Page 275: ...er the range of ports to be configured here all Specify that all the optic ports operating parameters will be configured temperature_threshold Specify the threshold of the optic module s temperature i...

Page 276: ...n milliwatts Enter the high threshold alarm value used here low_alarm Optional Specify the low threshold for the alarm When the operating parameter falls below this value the action associated with th...

Page 277: ...ow_warning 3 Command config ddm ports 1 21 voltage_threshold high_alarm 4 25 low_alarm 2 5 high_warning 3 5 low_warning 3 Success DGS 3120 24TC admin To configure the port 21 s bias current threshold...

Page 278: ...g 0 03 Success DGS 3120 24TC admin To configure port 21 s actions associate with the alarm DGS 3120 24TC admin config ddm ports 1 21 state enable shutdown alarm Command config ddm ports 1 21 state ena...

Page 279: ...er configured else it would be the threshold read from the optic module that is being inserted Format show ddm ports portlist status configuration Parameters portlist Optional Enter the range of ports...

Page 280: ...led Shutdown Alarm Threshold Temperature Voltage Bias Current TX Power RX Power in Celsius V mA mW mW High Alarm 84 9555 A 4 2500 A 7 2500 A 0 6250 A 4 5500 A Low Alarm 10 0000 A 2 5000 A 0 0040 A 0 0...

Page 281: ...l dlms activation_code string 25 unit unit_id 1 6 Parameters string 25 Specify an activation code unit Optional Specify the Swithc in the switch stack unit_id 1 6 Enter the unit ID of the Switch Restr...

Page 282: ...ms license unit unit_id 1 6 Parameters unit Optional Specify the Swithc in the switch stack unit_id 1 6 Enter the unit ID of the Switch Restrictions None Example To display license information DGS 312...

Page 283: ...l state enable disable mode shutdown normal discovery_time sec 5 65535 1 Parameters portlist Specify a range of ports all Specify to select all ports state Specify these ports unidirectional link dete...

Page 284: ...n information Format show duld ports portlist Parameters portlist Optional Specify a range of ports Restrictions None Example To show ports 1 4 unidirectional link detection information DGS 3120 24TC...

Page 285: ...g erps log enable disable config erps trap enable disable show erps raps_vlan vlanid sub_ring 30 1 enable erps Description This command is used to enable the global ERPS function on a switch When both...

Page 286: ...dministrator Operator and Power User level users can issue this command Example To disable ERPS DGS 3120 24TC admin disable erps Command disable erps Success DGS 3120 24TC admin 30 3 create erps raps_...

Page 287: ...iption This command is used to delete an R APS VLAN on a switch When an R APS VLAN is deleted all parameters related to this R APS VLAN will also be deleted This command can only be issued when the ri...

Page 288: ...an error message will be display and the configuration will fail The R APS VLAN cannot be the protected VLAN The protected VLAN can be one that has already been created or it can be used for a VLAN th...

Page 289: ...off_time millisecond 0 10000 guard_time millisecond 10 2000 wtr_time min 5 12 Parameters raps_vlan Specify the R APS VLAN used vlanid Enter the VLAN ID used here state Specify to enable or disable the...

Page 290: ...er used holdoff_time Optional Specify the holdoff time of the R APS function The default holdoff time is 0 milliseconds millisecond 0 10000 Enter the hold off time value here This value must be in the...

Page 291: ...otected_vlan add vlanid 10 20 Success DGS 3120 24TC admin To configure the ERPS timers for a specific R APS VLAN DGS 3120 24TC admin config erps raps_vlan 4094 holdoff_time 100 guard_time 1000 wtr_tim...

Page 292: ...re the log state of ERPS events Format config erps log enable disable Parameters log Specify to enable or disable the ERPS log state enable Enter enable to enable the log state disable Enter disable t...

Page 293: ...t traffic is able to be forwarded Blocking indicates that traffic is blocked by ERPS and a signal failure is not detected on the port Signal Fail indicates that a signal failure is detected on the por...

Page 294: ...MEL 2 Holdoff Time 0 milliseconds Guard Time 500 milliseconds WTR Time 5 minutes Current Ring State Idle R APS VLAN 4093 Ring Status Enabled West Port Virtual Channel East Port 10 Forwarding RPL Port...

Page 295: ...isable Parameters portlist Specify the list of ports used all Specify that all the ports will be used for the configuration state Specify the state of the filter to block the NETBIOS packet enable Spe...

Page 296: ...o filter NETBIOS packets over 802 3 flame on the specific ports Format config filter extensive_netbios portlist all state enable disable Parameters portlist Enter the list of ports used for this confi...

Page 297: ...able Success DGS 3120 24TC admin 31 4 show filter extensive_netbios Description This command is used to display the extensive netbios state on the Switch Format show filter extensive_netbios Parameter...

Page 298: ...anid vidlist mac_address macaddr static aging_time security show multicast vlan_filtering_mode vlanid vidlist vlan vlan_name 32 32 1 create fdb Description This command is used to create a static entr...

Page 299: ...vlanid vidlist macaddr port port drop Parameters vidlist Specify a VLAN ID associated with a MAC address macaddr The MAC address to be added to the static forwarding table port The port number corres...

Page 300: ...AC address to be added to the static forwarding table here Addresses in the range 01 80 C2 XX XX XX are reserved addresses 01 00 5E XX XX XX are reserved for IPv4 multicast MAC address and 33 33 XX XX...

Page 301: ...11 22 33 add 1 1 1 5 Success DGS 3120 24TC admin 32 5 config fdb aging_time Description This command is used to configure the MAC address table aging time Format config fdb aging_time sec 10 1000000 P...

Page 302: ...pecify the name of the VLAN The maximum name length is 32 vlan_name 32 The VLAN name can be up to 32 characters long all Specify all configured VLANs forward_all_groups Both the registered group and t...

Page 303: ...try DGS 3120 24TC admin delete fdb default 00 00 00 00 01 02 Command delete fdb default 00 00 00 00 01 02 Success DGS 3120 24TC admin 32 8 clear fdb Description This command is used to clear the Switc...

Page 304: ...itch Format show multicast_fdb vlan vlan_name 32 vlanid vidlist mac_address macaddr Parameters vlan Optional The name of the VLAN on which the MAC address resides vlan_name 32 Enter the VLAN name here...

Page 305: ...r a specified port port Enter the port number here vlan Optional Displays the entries for a specific VLAN The maximum name length is 32 vlan_name 32 Enter the VLAN name here The VLAN name can be up to...

Page 306: ...1 Dynamic Drop 802 1X 1 00 00 00 10 00 02 1 2 Static Forward WAC 1 00 00 00 10 00 04 1 4 Static Forward Port Security 1 00 00 00 10 00 0A 1 5 Static Forward MAC based Access Control 1 00 00 00 10 00 0...

Page 307: ...will show all multicast filtering settings in the device Restrictions None Example To show the multicast vlan_filtering_mode for VLANs DGS 3120 24TC admin show multicast vlan_filtering_mode Command s...

Page 308: ...t unit_id drive_id pathname copy unit unit_id drive_id pathname unit unit_id drive_id pathname format unit unit_id drive_id fat16 fat32 label_name 33 1 show storage_media_info Description This command...

Page 309: ...ive Format change drive unit unit_id drive_id Parameters unit Optional Specify a unit ID if in the stacking system If not specified it refers to the master unit unit_id Enter the unit ID here drive_id...

Page 310: ...e this command Example To make a directory DGS 3120 24TC admin md c abc Command md c abc Success DGS 3120 24TC admin 33 4 rd Description This command is used to remove a directory If there are files s...

Page 311: ...e is not specified Format cd pathname Parameters pathname Optional Specify the directory to be removed The path name can be specified either as a full path name or partial name For partial path name i...

Page 312: ...ime Name 1 CFG rw 29661 2000 04 01 05 54 38 config cfg 2 RUN rw 4879040 2000 03 26 03 15 11 B019 had 3 d 0 2000 04 01 05 17 36 system 29618 KB total 24727 KB free with boot up info b with backup info...

Page 313: ...irectory are softly deleted sequentially only the last one will exist Deleting copying renaming or moving the already softly deleted file is not acceptable System will prompt if the target file is a F...

Page 314: ...ess DGS 3120 24TC admin dir Command dir Directory of unit2 c Idx Info Attr Size Update Time Name 1 CFG rw 29661 2000 04 01 05 54 38 config cfg 2 RUN rw 4879040 2000 03 26 03 15 11 B019 had 3 d 0 2000...

Page 315: ...nfo Attr Size Update Time Name 1 CFG b rw 29661 2000 04 02 06 03 19 config2 cfg 2 CFG rw 29661 2000 04 01 05 54 38 config cfg 3 RUN rw 4879040 2000 03 26 03 15 11 B019 had 4 d 0 2000 04 01 05 17 36 sy...

Page 316: ...if in the stacking system If not specified it refers to the master unit unitid 1 n Enter the unit ID here This value must be between 1 and n drive_id Optional Enter the drive ID used here Examples are...

Page 317: ...C or D pathname Specify the file to copy to The path name can be specified either as a full path name or partial name For partial path name it indicates the file is in the current directory Restricti...

Page 318: ...bit Switch CLI Reference Guide 314 Restrictions Only Administrator and Operator level users can issue this command Example To format a drive DGS 3120 24TC admin format d fat32 aaaa Command format d fa...

Page 319: ...nnounce the interface s IP address to other nodes By default the state is disabled and only one gratuitous ARP packet will be broadcast Format config gratuitous_arp send ipif_status_up enable disable...

Page 320: ...fig gratuitous_arp send dup_ip_detected enable Command config gratuitous_arp send dup_ip_detected enable Success DGS 3120 24TC admin 34 3 config gratuitous_arp learning Description This command is use...

Page 321: ...atuitous_arp send periodically ipif ipif_name 12 interval value 0 65535 Parameters ipif Interface name of L3 interface ipif_name 12 Enter the IP interface name here This name can be up to 12 character...

Page 322: ...tions Only Administrator Operator and Power User level users can issue this command Example To enable system interface s gratuitous ARP log and trap DGS 3120 24TC admin enable gratuitous_arp ipif Syst...

Page 323: ...0 24TC admin disable gratuitous_arp ipif System trap log Command disable gratuitous_arp ipif System trap log Success DGS 3120 24TC admin 34 7 show gratuitous_arp Description This command is used to di...

Page 324: ...show gratuitous_arp Command show gratuitous_arp Send on IPIF Status Up Enabled Send on Duplicate IP Detected Enabled Gratuitous ARP Learning Enabled IP Interface Name System Gratuitous ARP Trap Enabl...

Page 325: ...enable disable fast_leave enable disable proxy_reporting state enable disable source_ip ipaddr 1 1 config igmp_snooping rate_limit ports portlist vlanid vlanid_list value 1 1000 no_limit config igmp_s...

Page 326: ...addr data_driven show mld_snooping forwarding vlan vlan_name 32 vlanid vlanid_list show mld_snooping mrouter_ports vlan vlan_name 32 vlanid vlanid_list all static dynamic forbidden create mld_snooping...

Page 327: ...ping fast leave function proxy reporting Specify IGMP proxy reporting If enabled multiple IGMP reports or leave for a specific S G will be integrated into one report only before sending to the router...

Page 328: ...nds between general query transmissions the maximum time in seconds to wait for reports from members and the permitted packet loss that guarantees IGMP snooping Format config igmp_snooping querier vla...

Page 329: ...e loss of the last member of a group On receiving a leave message the router will assume there are no local members on the interface if there are no reports received after the response time which is l...

Page 330: ...le Disable the RADIUS authentication function on the specified ports Restrictions Only Administrator Operator and Power User level users can issue this command Example To enable IGMP Access Control fo...

Page 331: ...s that the forbidden router port will not propagate routing packets out Format config router_ports_forbidden vlan_name 32 vlanid vlanid_list add delete portlist Parameters vlan_name 32 Specify the nam...

Page 332: ...ping on the Switch DGS 3120 24TC admin enable igmp_snooping Command enable igmp_snooping Success DGS 3120 24TC admin 35 8 disable igmp_snooping Description This command is used to disable IGMP snoopin...

Page 333: ...member ports For a layer 3 device the device is also responsible to route the packet destined for this specific group to static member ports The static member port will only affect V2 IGMP operation...

Page 334: ...ich the router port resides vlanid_list Enter the VLAN ID list here ipaddr Specify the multicast group IP address Restrictions Only Administrator Operator and Power User level users can issue this com...

Page 335: ...tor and Power User level users can issue this command Example To unset port range 9 10 from IGMP snooping static member ports for group 239 1 1 1 on default VLAN DGS 3120 24TC admin config igmp_snoopi...

Page 336: ...ol will take care of the aging out of the entry For a data driven entry the entry can be specified not to be aged out or to be aged out by the aged timer When data driven learning is enabled and the d...

Page 337: ...onds Restrictions Only Administrator Operator and Power User level users can issue this command Example To enable the data driven learning of an IGMP snooping group on the default VLAN DGS 3120 24TC a...

Page 338: ...roup s learned by data driven Format clear igmp_snooping data_driven_group all vlan_name vlan_name 32 vlanid vlanid_list ipaddr all Parameters all Specify all VLANs to which IGMP snooping groups will...

Page 339: ...ameters vlan Optional Specify the name of the VLAN for which you want to view the IGMP snooping configuration vlan_name 32 Enter the VLAN name here The VLAN name can be up to 32 characters long vlanid...

Page 340: ...tate Enabled Fast Leave Disabled Rate Limit No Limitation Proxy Reporting Disabled Proxy Reporting Source IP 0 0 0 0 Version 3 Data Driven Learning State Enabled Data Driven Learning Aged Out Disabled...

Page 341: ...of the VLAN for which you want to view IGMP snooping group information If VLAN ports and IP address are not specified the system will display all current IGMP snooping group information vlan_name 32...

Page 342: ...UDE Total Entries 3 DGS 3120 24TC admin DGS 3120 24TC admin show igmp_snooping group data_driven Command show igmp_snooping group data_driven Source Group NULL 225 0 0 5 VLAN Name VID default 1 Report...

Page 343: ...ding Description This command is used to display the Switch s current IGMP snooping forwarding table It provides an easy way for users to check the list of ports that the multicast group that comes fr...

Page 344: ...ort Member 2 7 VLAN Name default Source IP 10 90 90 10 Multicast Group 225 0 0 1 Port Member 2 5 VLAN Name default Source IP 10 90 90 20 Multicast Group 225 0 0 2 Port Member 2 8 Total Entries 3 DGS 3...

Page 345: ...ter_ports all VLAN Name default Static Router Port 1 10 Dynamic Router Port Router IP 10 0 0 1 10 0 0 2 10 0 0 3 Forbidden router port VLAN Name vlan2 Static router port Dynamic router port 13 Router...

Page 346: ...mber 10 Receive Statistics Query IGMP v1 Query 1 IGMP v2 Query 1 IGMP v3 Query 1 Total 3 Dropped By Rate Limitation 1 Dropped By Multicast VLAN 1 Report Leave IGMP v1 Report 0 IGMP v2 Report 10 IGMP v...

Page 347: ...mitation 0 Dropped By Multicast VLAN 0 Report Leave IGMP v1 Report 0 IGMP v2 Report 100 IGMP v3 Report 0 IGMP v2 Leave 0 Total 100 Dropped By Rate Limitation 0 Dropped By Max Group Limitation 90 Dropp...

Page 348: ...mp access_authentication ports 1 1 1 4 Command show igmp access_authentication ports 1 1 1 4 Port State 1 1 Enabled 1 2 Disabled 1 3 Disabled 1 4 Disabled DGS 3120 24TC admin To display the IGMP Acces...

Page 349: ...nistrator Operator and Power User level users can issue this command Example To clear the IGMP snooping statistics counter DGS 3120 24TC admin clear igmp_snooping statistic counter Command clear igmp_...

Page 350: ...proxy reporting source_ip Specify the source IP of proxy reporting integrated report Default value is zero IP ipv6addr Enter the Ipv6 address Restrictions Only Administrator Operator and Power User l...

Page 351: ...istener query count Number of group specific queries sent before the router assumes there are no local listeners of a group The default number is the value of the robustness variable By default the ro...

Page 352: ...ich the router port resides vlanid_list Enter the VLAN ID list here add Specify to add the router ports delete Specify to delete the router ports portlist Specify a range of ports to be configured Uni...

Page 353: ...s_forbidden vlan default add 1 11 Success DGS 3120 24TC admin 35 28 enable mld_snooping Description This command is used to enable MLD snooping on the Switch The forward_mcrouter_only function is disa...

Page 354: ...mber port of the multicast group that the port is reported and the router will be a default member of this multicast group The multicast packet destined for this multicast group will be forwarded to a...

Page 355: ...o show MLD snooping DGS 3120 24TC admin show mld_snooping Command show mld_snooping MLD Snooping Global State Enabled Data Driven Learning Max Entries 128 VLAN Name default Query Interval 125 Max Resp...

Page 356: ...ecify a list of ports for which you want to view MLD snooping group information portlist Enter the list of port here ipv6addr Optional Specify the group IPv6 address for which you want to view MLD sno...

Page 357: ...47 Filter Mode EXCLUDE Source Group NULL FE1E 2 VLAN Name VID default 1 Member Ports 4 5 UP Time 40 Expiry Time 205 Filter Mode EXCLUDE Source Group NULL FF1E 5 VLAN Name VID default 1 Reports 0 Membe...

Page 358: ...the name of the VLAN for which you want to view MLD snooping forwarding table information vlan_name 32 Enter the VLAN name here The VLAN name can be up to 32 characters long vlanid Optional Specify t...

Page 359: ...nal Displays router ports that have been statically configured dynamic Optional Displays router ports that have been dynamically configured forbidden Optional Displays forbidden router ports that have...

Page 360: ...Parameters vlan Specify the name of the VLAN on which the static group resides vlan_name 32 Enter the VLAN name here The VLAN name can be up to 32 characters long vlanid Specify the ID of the VLAN on...

Page 361: ...ort For example suppose that a port is a dynamic member port learned by MLD If this port is configured as a static member later then the MLD protocol will stop operating on this port The MLD protocol...

Page 362: ...me 32 vlanid vlanid_list ipv6addr Parameters vlan Optional Specify the name of the VLAN on which the static group resides vlan_name 32 Enter the VLAN name here The VLAN name can be up to 32 characters...

Page 363: ...32 vlanid vlanid_list state enable disable aged_out enable disable expiry_time sec 1 65535 1 Parameters all Specify that all VLANs are to be configured vlan_name Specify the VLAN name to be configured...

Page 364: ...ted default setting is 56 This default setting may vary depending on project value 1 1024 Enter the maximum learned entry value here This value must be between 1 and 1024 Restrictions Only Administrat...

Page 365: ...by data driven DGS 3120 24TC admin clear mld_snooping data_driven_group all Command clear mld_snooping data_driven_group all Success DGS 3120 24TC admin 35 41 show mld_snooping statistic counter Descr...

Page 366: ...icast VLAN 1 Report Leave MLD v1 Report 0 MLD v2 Report 10 MLD v1 Done 1 Total 11 Dropped By Rate Limitation 0 Dropped By Max Group Limitation 90 Dropped By Group Filter 0 Dropped By Multicast VLAN 1...

Page 367: ...arameters ports Specify a range of ports to be configured portlist Enter the range of ports to be configured here vlanid Specify a range of VLANs to be configured vlanid_list Enter the VLAN ID list he...

Page 368: ...at are allowed by each port Format show mld_snooping rate_limit ports portlist vlanid vlanid_list Parameters ports Specify a list of ports portlist Enter the range of ports to be configured here vlani...

Page 369: ...ipaddr mac_address macaddr blocked all vlan_name vlan_name mac_address macaddr ports portlist enable address_binding dhcp_snoop disable address_binding dhcp_snoop clear address_binding dhcp_snoop bind...

Page 370: ...that all the ports will be used arp_inspection Optional Specify that the ARP inspection option will be configured strict In this mode all packets are dropped by default until a legal ARP or IP packet...

Page 371: ...es Packets with a new address will be dropped int 0 500 Enter the stop learning threshold value here This value must be between 0 and 500 Restrictions Only Administrator Operator and Power User level...

Page 372: ...r Parameters all Specify that all the MAC address will be used ipaddress Specify the learned IP address of the entry in the database ipaddr Enter the IP address used mac_address Specify the MAC addres...

Page 373: ...here all Specify that all the ports will be used Restrictions Only Administrator Operator and Power User level users can issue this command Example To configure an IMPB entry DGS 3120 24TC admin confi...

Page 374: ...5 Disabled Disabled IPv4 Not Allow Forward 500 Normal 1 6 Disabled Disabled IPv4 Not Allow Forward 500 Normal 1 7 Disabled Disabled IPv4 Not Allow Forward 500 Normal 1 8 Disabled Disabled IPv4 Not Al...

Page 375: ...show address_binding blocked all Command show address_binding blocked all VID VLAN Name MAC Address Port 1 default 00 0C 6E AA B9 C0 1 1 Total Entries 1 DGS 3120 24TC admin 36 8 show address_binding i...

Page 376: ...When the lease time has expires the expired entry will be removed from the port The auto learned binding entry can be moved from one port to another port if the DHCP snooping function has learned that...

Page 377: ...DGS 3120 24TC admin 36 10 disable address_binding dhcp_snoop Description This command is used to disable DHCP snooping mode When the DHCP snooping function is disabled all of the auto learned binding...

Page 378: ...nd Example To clear DHCP IPv4 snooping entries on ports 1 3 DGS 3120 24TC admin clear address_binding dhcp_snoop binding_entry ports 1 3 Command clear address_binding dhcp_snoop binding_entry ports 1...

Page 379: ...max_entry Port Max Entry 1 1 No Limit 1 2 No Limit 1 3 No Limit 1 4 No Limit 1 5 No Limit 1 6 No Limit 1 7 No Limit 1 8 No Limit 1 9 No Limit 1 10 No Limit 1 11 No Limit 1 12 No Limit 1 13 No Limit 1...

Page 380: ...nfig address_binding dhcp_snoop max_entry Description This command is used to specify the maximum number of entries that can be learned by a specified port Format config address_binding dhcp_snoop max...

Page 381: ...ddress_binding trap_log Description This command is used to send traps and logs when the IMPB module detects an illegal IP and MAC address Format enable address_binding trap_log Parameters None Restri...

Page 382: ...earning Description This command is used to recover IMPB checking Format config address_binding recover_learning ports portlist all Parameters ports Specify the list of ports that need to recover the...

Page 383: ...ebug messages state This parameter configures the IMPB debug state to be enabled or disabled enable Specify that the state will be enabled disable Specify that the state will be disabled Restrictions...

Page 384: ...ckable Gigabit Switch CLI Reference Guide 380 Example To stop IMPB debug starting when the IMPB module receives an ARP IP or DHCP packet DGS 3120 24TC admin no debug address_binding Command no debug a...

Page 385: ...6 neighbor_cache Description This command is used to add a static neighbor on an IPv6 interface Format create ipv6 neighbor_cache ipif ipif_name 12 ipv6addr macaddr Parameters ipif Specify the interfa...

Page 386: ...configuration ipv6addr The neighbor s address static Delete the static entry dynamic Delete those dynamic entries all All entries include static and dynamic entries will be deleted Restrictions Only A...

Page 387: ...05 Port NA Interface System VID 1 Total Entries 1 DGS 3120 24TC admin 37 4 config ipv6 nd ns retrans_time Description This command is used to configure the IPv6 ND neighbor solicitation retransmit ti...

Page 388: ...ding neighbor detection on the Switch Format show ipv6 nd ipif ipif_name 12 Parameters ipif Optional The name of the interface ipif_name 12 Enter the IP interface name here This name can be up to 12 c...

Page 389: ...nation network of the route ipif_name 12 Specify the interface for the route This name can be up to 12 characters long ipv6addr Specify the next hop address for this route ipv6addr Specify the next ho...

Page 390: ...ork of the route ipif_name 12 Enter the IP interface name used here This name can be up to 12 characters long ipv6addr Specify the next hop address for the default route ipv6addr Specify the next hop...

Page 391: ...ic Optional Specify to display only the static route entries hardware Optional Specify to display only the route entries which have been wrote into hardware table Example Show all the IPv6 routes DGS...

Page 392: ...s portlist all state enable disable max_authenticating_host value 0 50 aging_time infinite min 1 1440 idle_time infinite min 1 1440 block_time sec 0 300 1 show jwac ports portlist config jwac radius_p...

Page 393: ...AN membership change by JWAC after a host passes authentication The RADIUS server will share the server configuration defined by the 802 1X command set Format enable jwac Parameters None Restrictions...

Page 394: ...e static FDB correctly before it can work properly Format config jwac quarantine_server_url string 128 ipv6 string 128 clear_quarantine_server_url ipv6 Parameters quarantine_server_url Specify the ent...

Page 395: ...TTP Port 80 HTTP UDP Filtering Enabled Forcible Logout Enabled Redirect State Enabled Redirect Delay Time 1 Seconds Redirect Destination Quarantine Server Quarantine Server Quarantine Server IPv6 Q Se...

Page 396: ...Only Administrator Operator and Power User level users can issue this command Example DGS 3120 24TC admin enable jwac redirect Command enable jwac redirect Success DGS 3120 24TC admin 39 6 disable jwa...

Page 397: ...n_page Specify the unauthenticated host will be redirected to the jwac_login_page delay_time Specify the time interval after which the unauthenticated host will be redirected sec 0 10 Specify the time...

Page 398: ...xample To enable JWAC forcible logout DGS 3120 24TC admin enable jwac forcible_logout Command enable jwac forcible_logout Success DGS 3120 24TC admin 39 9 disable jwac forcible_logout Description This...

Page 399: ...and ICMP packets except DHCP and DNS packets from unauthenticated hosts will be dropped enable jwac udp_filtering Format enable jwac udp_filtering Parameters None Restrictions Only Administrator Oper...

Page 400: ...When enabled the JWAC switch will monitor the quarantine server to ensure the server is okay If the Switch detects no quarantine server it will redirect all unauthenticated HTTP accesses to the JWAC L...

Page 401: ...ommand disable jwac quarantine_server_monitor Success DGS 3120 24TC admin 39 14 config jwac quarantine_server_error_timeout Description This command is used to set the quarantine server error timeout...

Page 402: ...fig jwac virtual_ip ipaddr ipv6addr url string 128 clear Parameters ipaddr Specify the IP address of the virtual IP ipv6addr Specify the Ipv6 address of the virtual IP EI Mode Only url Optional Specif...

Page 403: ...he update server network EI Mode Only ipv6networkaddr To set a specific IPv6 network address use to separate the IPv6 address and the number of network mask bits If TCP port or UDP port number is not...

Page 404: ...fig jwac ports portlist all state enable disable max_authenticating_host value 0 50 aging_time infinite min 1 1440 idle_time infinite min 1 1440 block_time sec 0 300 1 Parameters portlist Specify a po...

Page 405: ...fault value is 60 seconds sec 0 300 Specify a blocking time value between 0 and 300 Restrictions Only Administrator Operator and Power User level users can issue this command Example To configure the...

Page 406: ...ommand supports the protocol Format config jwac radius_protocol local eap_md5 pap chap ms_chap ms_chapv2 Parameters local Specify the JWAC switch uses the local user DB to complete the authentication...

Page 407: ...D value must be between 1 and 4094 Restrictions Only Administrator Operator and Power User level users can issue this command Example To create a JWAC user in the local database DGS 3120 24TC admin cr...

Page 408: ...min 39 23 delete jwac Description This command is used to delete JWAC users from the local database Format delete jwac user username 15 all_users Parameters user Specify the user name to be deleted us...

Page 409: ...n show jwac user Command show jwac user User Name Password VID 112233 12345 123 123 1 Total Entries 2 DGS 3120 24TC admin 39 25 clear jwac auth_state Description This command is used to clear authenti...

Page 410: ...mple To delete authentication entries DGS 3120 24TC admin clear jwac auth_state ports all blocked Command clear jwac auth_state ports all blocked Success DGS 3120 24TC admin 39 26 show jwac auth_state...

Page 411: ...the authorization is enabled for JWAC s RADIUS the authorized data assigned by the RADUIS server will be accepted if the global authorization network is enabled When the authorization is enabled for...

Page 412: ...pdate_server Description This command is used to display the JWAC update server Format show jwac update_server Parameters None Restrictions None Example To display the JWAC update server DGS 3120 24TC...

Page 413: ...ord_title Specify the password title of the authenticate page desc 16 Specify the password title of the authenticate page The password title description can be up to 16 characters long logout_window_t...

Page 414: ...tor and Power User level users can issue this command Example To customize the authenticate page DGS 3120 24TC admin config jwac authenticate_page japanese Command config jwac authenticate_page japane...

Page 415: ...te_page Current Page English Version English Page Element Page Title Login Window Title Authentication Login User Name Title User Name Password Title Password Logout Window Title Logout from the netwo...

Page 416: ...bo frame setting as enable Format enable jumbo_frame Parameters None Restrictions Only Administrator and Operator level users can issue this command Example To enable the Jumbo frame DGS 3120 24TC adm...

Page 417: ...20 24TC admin disable jumbo_frame Command disable jumbo_frame Success DGS 3120 24TC admin 40 3 show jumbo_frame Description This command is used to display the current configuration of jumbo frame For...

Page 418: ...tunnel uni nni 41 1 enable l2protocol_tunnel Description This command is used to enable the Layer 2 protocol tunneling function Format enable l2protocol_tunnel Parameters None Restrictions Only Admini...

Page 419: ...01 05 5D 00 00 00 for GVRP is 01 05 5D 00 00 21 for Layer 2 protocols MAC 01 00 0C CC CC CC is 01 05 5D 00 00 10 and for protocol MAC 01 00 0C CC CC CD is 01 05 5D 00 00 11 When QinQ is enabled an S...

Page 420: ...strictions Only Administrator Operator and Power User level users can issue this command Example To configure the STP tunneling on ports 1 4 DGS 3120 24TC admin config l2protocol_tunnel ports 1 1 1 4...

Page 421: ...show l2protocol_tunnel Global State Enabled UNI Ports 1 1 1 4 NNI Ports DGS 3120 24TC admin To show Layer 2 protocol tunneling information summary DGS 3120 24TC admin show l2protocol_tunnel uni Comma...

Page 422: ...p_id Description This command is used to create a link aggregation group on the Switch Format create link_aggregation group_id value 1 32 type lacp static Parameters group_id Specify the group id The...

Page 423: ...This command is used to configure a previously created link aggregation group Format config link_aggregation group_id value 1 32 master_port port ports portlist state enable disable trap enable disab...

Page 424: ...7 Command config link_aggregation group_id 1 master_port 1 5 ports 1 5 1 7 Success DGS 3120 24TC admin 42 4 config link_aggregation algorithm Description This command is used to configure the part of...

Page 425: ...admin 42 5 show link_aggregation Description This command is used to display the current link aggregation configuration on the Switch Format show link_aggregation group_id value 1 32 algorithm Parame...

Page 426: ...t 1 5 1 7 Active Port 7 Status Enabled Flooding Port 7 Trap Disabled Total Entries 1 DGS 3120 24TC admin Link aggregation group enable and no member linkup DGS 3120 24TC admin show link_aggregation Co...

Page 427: ...configure per port LACP mode Format config lacp_port portlist mode active passive Parameters lacp_port Specified a range of ports to be configured UnitID port number portlist Enter the list of port u...

Page 428: ...range of ports to be configured UnitID port number portlist Enter the list of ports used for this configuration here If no parameter specified the system will display current LACP and all port status...

Page 429: ...pv4 ipaddr ipv6 ipv6addr show lldp ports portlist show lldp local_ports portlist mode brief normal detailed show lldp remote_ports portlist mode brief normal detailed show lldp statistics show lldp st...

Page 430: ...e LLDP DGS 3120 24TC admin enable lldp Command enable lldp Success DGS 3120 24TC admin 43 2 disable lldp Description This command is used to stop sending and receiving of LLDP advertisement packet For...

Page 431: ...between 2 and 10 tx_delay Specify the minimum interval between sending of LLDP messages due to constantly change of MIB content The default setting 2 seconds sec 1 8192 Enter the transmit delay value...

Page 432: ...ddr enable disable basic_tlvs all port_description system_name system_description system_capabilities enable disable dot1_tlv_pvid enable disable dot1_tlv_protocol_vid vlan all vlan_name 32 vlanid vid...

Page 433: ...und LLDP advertisements will be disabled dot1_tlv_pvid This TLV optional data type determines whether the IEEE 802 1 organizationally defined port VLAN ID TLV transmission is allowed on a given LLDP t...

Page 434: ...supported the auto negotiation function whether the function is enabled the auto negotiated advertised capability and the operational MAU type The default state is disabled link_aggregation Optional T...

Page 435: ...120 24TC admin config lldp ports all basic_tlvs system_name enable Command config lldp ports all basic_tlvs system_name enable Success DGS 3120 24TC admin To configure exclude the vlan nameTLV from th...

Page 436: ...l_identity all enable Success DGS 3120 24TC admin To configure exclude the MAC PHY configuration status TLV from the outbound LLDP advertisements for all ports DGS 3120 24TC admin config lldp ports al...

Page 437: ...tion status Format show lldp Parameters None Restrictions None Example To display the LLDP system level configuration status Command show lldp LLDP System Information Chassis ID Subtype MAC Address Ch...

Page 438: ...IPv6 address used for this configuration here Restrictions None Example To display management address information DGS 3120 24TC admin show lldp mgt_addr ipv4 192 168 254 10 Command show lldp mgt_addr...

Page 439: ...ed Management Address None Port VLAN ID Disabled Enabled Port_and_Protocol_VLAN_ID None Enabled VLAN Name None Enabled Protocol_Identity None MAC PHY Configuration Status Disabled Link Aggregation Dis...

Page 440: ...ode detailed Port ID 1 1 Port ID Subtype MAC Address Port ID 00 01 02 03 04 01 Port Description D Link DGS 3120 24TC R2 00 010 Port 1 on Unit 1 Port PVID 1 Management Address Count 2 Subtype IPv4 Addr...

Page 441: ...nt Address Count 2 PPVID Entries Count 0 VLAN Name Entries Count 1 Protocol Identity Entries Count 0 MAC PHY Configuration Status See Detail Link Aggregation See Detail Maximum Frame Size 1536 DGS 312...

Page 442: ...S 3120 24TC admin show lldp remote_ports 1 1 1 2 mode brief Command show lldp remote_ports 1 1 1 2 mode brief Port ID 1 Remote Entities count 3 Entity 1 Chassis ID Subtype MACADDRESS Chassis ID 00 01...

Page 443: ...nit 1 System Name Switch1 System Description Stackable Ethernet Switch System Capabilities Repeater Bridge Management Address count 1 Port VLAN ID 1 PPVID Entries count 5 VLAN Name Entries count 3 Pro...

Page 444: ...pe LOCAL Port ID 1 3 Port Description RMON Port 3 on Unit 1 System Name Switch1 System Description Stackable Ethernet Switch System Capabilities Repeater Bridge Management Address 10 90 90 91 Port VLA...

Page 445: ...P MAC PHY Configuration Status Auto negotiation support supported Auto negotiation status enabled Auto negotiation advertised capability xxxx hex Auto negotiation operational MAU type 0010 hex Power V...

Page 446: ...ameters None Restrictions None Example To display global statistics information DGS 3120 24TC admin show lldp statistics Command show lldp statistics Last Change Time 6094 Number of Table Insert 1 Num...

Page 447: ...utsTotal 0 DGS 3120 24TC admin 43 14 config lldp_med fast_start repeat_count Description This command is used to configure the fast start repeat count When an LLDP MED Capabilities TLV is detected for...

Page 448: ...is disabled Restrictions Only Administrator and Operator level users can issue this command Example To enable the log state of LLDP MED events DGS 3120 24TC admin config lldp_med log state enable Comm...

Page 449: ...s objects in the LLDP MED MIB corresponding to the respective port will not be populated Format config lldp_med ports portlist all med_transmit_capabilities all capabilities network_policy power_pse i...

Page 450: ...on This command is used to display LLDP MED per port configuration for advertisement options Format show lldp_med ports portlist Parameters portlist Optional Specify a range of ports to be displayed I...

Page 451: ..._med LLDP MED System Information Device Class Network Connectivity Device Hardware Revision A1 Firmware Revision 2 00 003 Software Revision 2 00 010 Serial Number abcd1234 Manufacturer Name D Link Mod...

Page 452: ...ocal_ports 1 1 Command show lldp_med local_ports 1 1 Port ID 1 1 LLDP MED Capabilities Support Capabilities Support Network Policy Support Location Identification Not Support Extended Power Via MDI PS...

Page 453: ...ED capabilities LLDP MED Device Class Endpoint Device Class III LLDP MED Capabilities Support Capabilities Support Network Policy Support Location Identification Support Extended Power Via MDI Support...

Page 454: ...cation Subtype CivicAddress Location Information Extended Power Via MDI Power Device Type PD Device Power Priority High Power Source From PSE Power Request 8 Watts Inventory Management Hardware Revisi...

Page 455: ...sm is disabled a user would need to manually recover a disabled port The default value for the recover timer is 60 seconds 0 0 is a special value that specifies that the auto recovery mechanism should...

Page 456: ...eters ports Specify the range of ports that LBD will be configured on portlist Enter a list of ports all To set all ports in the system you may use the all parameter state Specify whether the LBD func...

Page 457: ...xample To enable the LBD function globally DGS 3120 24TC admin enable loopdetect Command enable loopdetect Success DGS 3120 24TC admin 44 4 disable loopdetect Description This command is used to disab...

Page 458: ...mat show loopdetect Parameters None Restrictions Only Administrator and Operator level users can issue this command Example To show the LBD global settings DGS 3120 24TC admin show loopdetect Command...

Page 459: ...loopdetect ports 1 9 Port Loopdetect State Loop Status 1 Enabled Normal 2 Enabled Normal 3 Enabled Normal 4 Enabled Normal 5 Enabled Loop 6 Enabled Normal 7 Enabled Loop 8 Enabled Normal 9 Enabled No...

Page 460: ...g loopdetect log Description This command is used to configure the log state for LBD The default value is enabled Format config loopdetect log state enable disable Parameters state Specify the state o...

Page 461: ...list 45 1 enable mac_notification Description This command is used to enable global MAC address table notification on the Switch Format enable mac_notification Parameters None Restrictions Only Admini...

Page 462: ...7 historysize int 1 500 Parameters interval Optional The time in seconds between notifications sec 1 2147483647 Enter the interval time here This value must be between 1 and 2147483647 seconds history...

Page 463: ...for this configuration enable Enable the port s MAC address table notification disable Disable the port s MAC address table notification Restrictions Only Administrator and Operator level users can i...

Page 464: ...ac Notification Settings State Enabled Interval 1 History Size 500 DGS 3120 24TC admin 45 6 show mac_notification ports Description This command is used to display the port s Mac address table notific...

Page 465: ...e 461 DGS 3120 24TC admin show mac_notification ports Command show mac_notification ports Port MAC Address Table Notification State 1 1 Disabled 1 2 Disabled 1 3 Disabled 1 4 Disabled 1 5 Disabled 1 6...

Page 466: ...ports all portlist mac_addr macaddr create mac_based_access_control_local mac macaddr vlan vlan_name 32 vlanid vlanid 1 4094 config mac_based_access_control_local mac macaddr vlan vlan_name 32 vlanid...

Page 467: ...Access Control Format disable mac_based_access_control Parameters None Restrictions Only Administrator Operator and Power User level users can issue this command Example To disable the MAC based Acce...

Page 468: ..._based_access_control password_type Description This command is used to chose the password type used for authentication via the RADIUS server Format config mac_based_access_control password_type manua...

Page 469: ...ntrol method local Command config mac_based_access_control method local Success DGS 3120 24TC admin 46 6 config mac_based_access_control guest_vlan Description This command is used to assign a specifi...

Page 470: ...ed Access Control function is enabled for a port and the port is a MAC based Access Control guest VLAN member the port s will be removed from the original VLAN s member ports and added to MAC based Ac...

Page 471: ...set to infinite it means that authorized clients will not be aged out automatically min 1 1440 Enter the aging time value here This value must be between 1 and 1440 minutes block_time Optional If a ho...

Page 472: ...t_vlan Specify MAC based Access Control guest VLAN by name it must be a static 1Q VLAN vlan_name 32 Enter the VLAN name here This name can be up to 32 characters long guest_vlanid Specify MAC based Ac...

Page 473: ..._based_access_control guest_vlan default Command delete mac_based_access_control guest_vlan default Success DGS 3120 24TC admin 46 10 clear mac_based_access_control auth_state Description This command...

Page 474: ...s Control local database entry that will be used for authentication This command can also specify the VLAN that an authorized host will be assigned to Format create mac_based_access_control_local mac...

Page 475: ...ocal mac macaddr vlan vlan_name 32 vlanid vlanid 1 4094 clear_vlan Parameters mac Specify the authenticated host s MAC address macaddr Enter the MAC address used here vlan Specify the target VLAN by V...

Page 476: ...dress macaddr Enter the MAC address used here vlan Delete local database entries by specific target VLAN name vlan_name 32 Enter the VLAN name here This name can be up to 32 characters long vlanid Del...

Page 477: ...enable disable local enable disable 1 Parameters radius Optional If specified to enable the authorized attributes for example VLAN 802 1p default priority and ACL assigned by the RADUIS server will b...

Page 478: ...ample To show the MAC based Access Control port configuration for ports 1 to 4 DGS 3120 24TC admin show mac_based_access_control ports 1 1 1 4 Command show mac_based_access_control ports 1 1 1 4 Port...

Page 479: ...based Access Control local database for the VLAN called default DGS 3120 24TC admin show mac_based_access_control_local vlan default Command show mac_based_access_control_local vlan default MAC Addres...

Page 480: ...mat config mac_based_access_control max_users value 1 1000 no_limit Parameters max_users Specify to set the maximum number of authorized clients on the whole device N is project dependent value 1 1000...

Page 481: ...ser level users can issue this command Example To enable trap state of MAC based Access Control DGS 3120 24TC admin config mac_based_access_control trap state enable Command config mac_based_access_co...

Page 482: ...igabit Switch CLI Reference Guide 478 Example To disable log state of MAC based Access Control DGS 3120 24TC admin config mac_based_access_control log state disable Command config mac_based_access_con...

Page 483: ...bal limitation of the maximum entries supported for the static MAC based entry Format create mac_based_vlan mac_address macaddr vlan vlan_name 32 vlanid vlanid 1 4094 Parameters mac_address Specify th...

Page 484: ...AC address vlan_name 32 Enter the VLAN name here This name can be up to 32 characters long vlanid Optional Specify the VLAN by VLAN ID vlanid 1 4094 Enter the VLAN ID here This value must be between 1...

Page 485: ...Optional Specify the VLAN by VLAN ID vlanid 1 4094 Enter the VLAN ID here This value must be between 1 and 4094 Restrictions None Example In the following example MAC address 00 80 c2 33 c3 45 is assi...

Page 486: ...t config mirror port port add delete source ports portlist rx tx both Parameters port The port that will receive the packets duplicated at the mirror port port Enter the port number to be configured h...

Page 487: ...e Restrictions Only Administrator and Operator level users can issue this command Example To enable mirroring function DGS 3120 24TC admin enable mirror Command enable mirror Success DGS 3120 24TC adm...

Page 488: ...TC admin 48 4 show mirror Description This command is used to display the current mirror function state and mirror session configuration on the Switch Format show mirror Parameters None Restrictions N...

Page 489: ...per port STP debug level on the specified ports Format debug stp config ports portlist all event bpdu state_machine all state disable brief detail Parameters portlist Specify the STP port range to deb...

Page 490: ...ator level users can issue this command Example To show STP debug information DGS 3120 24TC admin debug stp show information Command debug stp show information Warning only support local device Spanni...

Page 491: ...splay the STP debug level on specified ports Format debug stp show flag ports portlist Parameters ports Optional Specify the STP ports to display portlist Optional Enter the list of port used for this...

Page 492: ...f Brief Brief 1 19 Brief Brief Brief 1 20 Brief Brief Brief 1 21 Brief Brief Brief 1 22 Brief Brief Brief 1 23 Brief Brief Brief 1 24 Brief Brief Brief DGS 3120 24TC admin 49 4 debug stp show counter...

Page 493: ...ed BPDU 0 Global STP Disabled 0 Port STP Disabled 0 Invalid packet Format 0 Invalid Protocol 0 Configuration BPDU Length 0 TCN BPDU Length 0 RST BPDU Length 0 Invalid Type 0 Invalid Timers 0 DGS 3120...

Page 494: ...e enable disable Parameters state Specify the STP debug state enable Enable the STP debug state disable Disable the STP debug state Restrictions Only Administrator level users can issue this command E...

Page 495: ...w root traps enable Enable sending new root traps new_root Specify the state of sending topology change traps The default state is enable enable Enable sending topology change traps disable Enable sen...

Page 496: ...ax_mcast_group ports portlist vlanid vlanid_list ipv4 ipv6 show limited_multicast_addr ports portlist vlanid vlanid_list ipv4 ipv6 config cpu_filter l3_control_pkt portlist dvmrp pim igmp_query all st...

Page 497: ...THe profile name can be up to 32 characters long profile_name Provides a meaningful description for the profile name 32 Enter the profile name here THe profile name can be up to 32 characters long add...

Page 498: ...single IPv6 multicast IP address or a range of IPv6 multicast addresses connected by Restrictions Only Administrator Operator and Power User level users can issue this command Example To add the IPv6...

Page 499: ...mcast_filter_profile profile_name MOD Command delete mcast_filter_profile profile_name MOD Total entries 2 DGS 3120 24TC admin 50 5 show mcast_filter_profile Description This command is used to displa...

Page 500: ...vlanid vlanid_list ipv4 ipv6 add profile_id value 1 24 profile_name name 32 delete profile_id value 1 24 profile_name name 32 all access permit deny 1 Parameters ports Specify the range of ports to co...

Page 501: ...ion is specified as drop The newly learned group will replace the eldest group if the action is specified as replace Format config max_mcast_group ports portlist vlanid vlanid_list ipv4 ipv6 max_group...

Page 502: ...can join If the IPv4 or IPv6 option is not specified IPv4 is implied Format show max_mcast_group ports portlist vlanid vlanid_list ipv4 ipv6 Parameters ports Specify the range of ports for displaying...

Page 503: ...configured on a port it limits the multicast groups operated by the IGMP or MLD snooping function and layer 3 functions When the function is configured on a VLAN it limits the multicast groups operat...

Page 504: ...34 224 19 162 200 Port 3 Access Deny Profile ID Name Multicast Addresses 1 customer 224 19 62 34 224 19 162 200 DGS 3120 24TC admin To show the limited multicast settings configured on VLAN 1 DGS 312...

Page 505: ...e filtering function disable Disable the filtering function Restrictions Only Administrator Operator and Power User level users can issue this command Example To filter the DVMRP control packets on po...

Page 506: ...Switch CLI Reference Guide 502 DGS 3120 24TC admin show cpu_filter l3_control_pkt ports 1 1 1 2 Command show cpu_filter l3_control_pkt ports 1 1 1 2 Port IGMP Query DVMRP PIM 1 1 Disabled Enabled Dis...

Page 507: ...n_group_profile profile_name profile_name 1 32 all show igmp_snooping mld_snooping multicast_vlan_group_profile profile_name 1 32 config igmp_snooping mld_snooping multicast_vlan_group vlan_name 32 ad...

Page 508: ...t s priority will be changed by the Switch based on the remap priority This flag will only take effect when the remap priority is set Restrictions Only Administrator Operator and Power User level user...

Page 509: ...be configured here state Used to specify if the multicast VLAN for a chosen VLAN should be enabled or disabled enable Specify to enable the multicast VLAN for a chosen VLAN disable Specify to disable...

Page 510: ...orts will become untagged members of the multicast VLAN portlist Enter the list of port to be configured here tag_member_port Specify that the port or range of ports will become tagged members of the...

Page 511: ...MP or MLD snooping multicast group profile on the Switch Format create igmp_snooping mld_snooping multicast_vlan_group_profile profile_name 1 32 Parameters igmp_snooping Specify that an IGMP snooping...

Page 512: ...s 225 1 1 1 225 1 1 18 225 1 1 20 delete Deletes a multicast address list to or from this multicast VLAN profile The mcast_address_list can be a continuous single multicast addresses such as 225 1 1 1...

Page 513: ...cast addresses such as FF1E 1 a multicast address range such as FF1E 1 FF1E 2 or both of them such as FF1E 1 FF1E 10 FF1E 20 mcast_v6address_list Enter the multicast VLAN IPv6 address here Restriction...

Page 514: ...profile_name MOD Command delete igmp_snooping multicast_vlan_group_profile profile_name MOD Success DGS 3120 24TC admin 51 8 show igmp_snooping mld_snooping multicast_vlan_group_profile Description Th...

Page 515: ...ins the destination multicast group If the destination multicast group of the join packet cannot be classified into any multicast VLAN to which this port belongs then the join packet will be learned o...

Page 516: ...MLD snooping multicast VLAN group Format show igmp_snooping mld_snooping multicast_vlan_group vlan_name 32 Parameters igmp_snooping Specify that IGMP snooping VLAN groups should be displayed mld_snoo...

Page 517: ...tor Operator and Power User level users can issue this command Example To delete an MLD snooping multicast VLAN called v1 DGS 3120 24TC admin delete mld_snooping multicat_vlan v1 Command delete mld_sn...

Page 518: ...d disable igmp_snooping is used to disable the ordinary IGMP snooping function while the command disable mld_snooping is used to disable the ordinary MLD snooping function By default the multicast VLA...

Page 519: ...ecify that the IGMP snooping multicast VLAN function will be configured mld_snooping Specify that the MLD snooping multicast VLAN function will be configured multicast_vlan forward_unmatched Specify t...

Page 520: ...nter the VLAN name here The VLAN name can be up to 32 characters long Restrictions None Example To display all IGMP snooping multicast VLANs DGS 3120 24TC admin show igmp_snooping multicast_vlan Comma...

Page 521: ...stp mst_ports portlist instance_id value 0 15 internalCost auto value 1 200000000 priority value 0 240 config stp ports portlist externalCost auto value 1 200000000 hellotime value 1 2 migrate yes no...

Page 522: ...or and Power User level users can issue this command Example To disable STP DGS 3120 24TC admin disable stp Command disable stp Success DGS 3120 24TC admin 52 3 config stp Description This command is...

Page 523: ...mbers of BPDU transmitted in a time interval value 1 10 Enter the transmitted BPDU restriction value here This value must be between 1 and 10 fbpdu Optional To decide if the bridge will flood STP BPDU...

Page 524: ...logy Change Trap Enabled NNI BPDU Address dot1d DGS 3120 24TC admin 52 5 create stp instance_id Description This command is used to create an MST Instance without mapping the corresponding VLANs Forma...

Page 525: ...e 1 15 Enter the MSTP instance ID here This value must be between 1 and 15 add_vlan Specify to map the specified VLAN list to an existing MST instance remove_vlan Specify to delete the specified VLAN...

Page 526: ...e DGS 3120 24TC admin delete stp instance_id 2 Command delete stp instance_id 2 Success DGS 3120 24TC admin 52 8 config stp mst_config_id Description This command is used to change the name or the rev...

Page 527: ...C admin 52 9 show stp mst_config_id Description This command is used to show the MST configuration identification Format show stp mst_config_id Parameters None Restrictions None Example show STP MST c...

Page 528: ...ons Only Administrator Operator and Power User level users can issue this command Example To configure STP MST ports DGS 3120 24TC admin config stp mst_ports 1 1 instance_id 0 internalCost auto Comman...

Page 529: ...n the port s is enabled disable Specify that STP functionality on the port s is disabled restricted_role Optional To decide if this port not to be selected as Root Port The default value is false true...

Page 530: ...se No P2P Auto Yes Port RestrictedRole False Port RestrictedTCN False Port Forward BPDU Disabled MSTI Designated Bridge Internal PathCost Prio Status Role 0 N A 200000 128 Disabled Disabled CTRL C ESC...

Page 531: ...ng STP traps Format config stp trap topo_change disable enable new_root enable disable Parameters topo_change Specify enable or disable sending topology change traps disable Disable sending topology c...

Page 532: ...User level users can issue this command Example To configure STP version DGS 3120 24TC admin config stp version mstp Command config stp version mstp Success DGS 3120 24TC admin To config STP version...

Page 533: ...min 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 0 STP Instance Operational Sta...

Page 534: ...unicast_fdb Description This command is used to create the NLB unicast FDB entry Format create nlb unicast_fdb macaddr Parameters macaddr Specify the MAC address of the NLB unicast FDB entry to be cre...

Page 535: ...cast FDB entry for the product that support the VLAN information on the unicast forwarding DGS 3120 24TC admin config nlb unicast_fdb 02 BF 01 01 01 01 add 1 1 1 5 Command config nlb unicast_fdb 02 BF...

Page 536: ...MAC to reach the server Regarding of the mode this destination Mac is the named the shared MAC The server uses its own MAC address rather than the shared MAC as the source MAC address of the reply pa...

Page 537: ...figured vlanid Specify the VLAN by the VLAN ID vlanid 1 4094 Enter the VLAN ID here macaddr Specify the Mac address of the NLB multicast FDB entry to be configured add Specify a list of forwarding por...

Page 538: ...the MAC address of the NLB multicast FDB entry to be deleted Restrictions Only Administrator Operator and Power User level users can issue this command Example To delete NLB multicast FDB entry DGS 3...

Page 539: ...able Gigabit Switch CLI Reference Guide 535 DGS 3120 24TC admin show nlb fdb Command show nlb fdb MAC Address VLAN ID Egress Ports 03 bf 01 01 01 01 100 1 1 1 5 1 24 2 24 03 bf 01 01 01 01 1 1 1 1 5 1...

Page 540: ...s show utilization dram unit unit_id show utilization flash unit unit_id clear counters ports portlist 54 1 show packet ports Description This command is used to display statistics about the packets s...

Page 541: ...1518 0 0 Unicast RX 0 0 Multicast RX 0 0 Broadcast RX 0 0 Frame Type Total Total sec RX Bytes 0 0 RX Frames 0 0 TX Bytes 0 0 TX Frames 0 0 CTRL C ESC q Quit SPACE n Next Page p Previous Page r Refresh...

Page 542: ...Fragment 0 Excessive Collision 0 Jabber 0 Single Collision 0 Drop Pkts 0 Collision 0 Symbol Error 0 CTRL C ESC q Quit SPACE n Next Page p Previous Page r Refresh 54 3 show utilization Description Thi...

Page 543: ...c Util Port TX sec RX sec Util 1 1 0 0 0 1 21 0 0 0 1 2 0 0 0 1 22 0 0 0 1 3 0 0 0 1 23 0 0 0 1 4 0 0 0 1 24 0 0 0 1 5 0 0 0 1 6 0 0 0 1 7 0 0 0 1 8 0 0 0 1 9 0 0 0 1 10 0 0 0 1 11 0 0 0 1 12 0 0 0 1...

Page 544: ...One minute 10 Five minutes 10 CTRL C ESC q Quit SPACE n Next Page p Previous Page r Refresh 54 4 show utilization dram Description This command is used to show DRAM memory utilization Format show util...

Page 545: ...to show the flash memory utilization Format show utilization flash unit unit_id Parameters unit Optional Specify the Switch unit ID to be displayed unit_id Enter teh Switch unit ID used here Restricti...

Page 546: ...h number and the highest port number of the range also separeted by a colon are specified The beginning and end of the port list range are seperated by a dash portlist Enter a list of ports used for t...

Page 547: ...scovery If a port s is active it initiates the discovery Otherwise it reacts to the discovery received from peer Disabling a port s OAM will cause the port to send out a dying gasp event to peers and...

Page 548: ...of threshold is 1 symbol error range 0 4294967295 Specify the range from 0 to 4294967295 window The range is 1000 to 60000 ms The default value is 1000ms millisecond 1000 60000 The range is 1000 to 60...

Page 549: ...ommand ignore Specify to ignore the received Ethernet OAM remote loopback command The default method is ignore Restrictions Only Administrator and Operator level users can issue this command Example T...

Page 550: ...nfigure the error frame period threshold to10 and period to 1000000 ms for port 1 DGS 3120 24TC admin config ethernet_oam ports 1 link_monitor error_frame_period threshold 10 window 1000000 notify_sta...

Page 551: ...remote OAM entity rejects the local device Operational The local OAM entity learns that both it and the remote OAM entity have accepted the peering NonOperHalfDuplex Since Ethernet OAM functions are...

Page 552: ...OAM event log and syslog Format show ethernet_oam ports portlist status configuration statistics event_log index value_list Parameters portlist Optional Specify the range of ports to display status S...

Page 553: ...onse OAMPDU TX 0 Variable Response OAMPDU RX 0 Organization Specific OAMPDUs TX 0 Organization Specific OAMPDUs RX 0 Unsupported OAMPDU TX 0 Unsupported OAMPDU RX 0 Frames Lost Due To OAM 0 DGS 3120 2...

Page 554: ...DGS 3120 24TC admin clear ethernet_oam ports 1 statistics Command clear ethernet_oam ports 1 statistics Success DGS 3120 24TC admin To clear port 1 OAM events DGS 3120 24TC admin clear ethernet_oam po...

Page 555: ...overy mode Note This command does not take effect until being saved Format enable password_recovery Parameters None Restrictions Only Administrator level users can issue this command Example To enable...

Page 556: ...he password recovery state is enabled the user can reboot the Switch and enter the Password Recovery mode Otherwise the user will not be able to enter the special recovery mode Note Only the NV RAM co...

Page 557: ...able Gigabit Switch CLI Reference Guide 553 Example To display the password recovery state DGS 3120 24TC admin show password_recovery Command show password_recovery Running Configuration Enabled NV RA...

Page 558: ...splay for example there are three fans on the left of the Switch if three fans is working normally there will display OK in the Left Fan field If some fans work failed such as fan 1 3 there will only...

Page 559: ...Switch CLI Reference Guide 555 57 2 show environment Description This command is used to display current status of power s and fan s on the system Format show environment Parameters None Restrictions...

Page 560: ...emperature Threshold Celsius 35 Unit 3 Internal Power Active External Power Fail Right Fan 1 Speed Low 3000 RPM Right Fan 2 Speed Low 3000 RPM Current Temperature Celsius 37 Fan High Temperature Thres...

Page 561: ...d to configure the trap state for temperature warning event Format config temperature trap log state enable disable Parameters trap state Specify the trap state for the warning temperature event enabl...

Page 562: ...el users can issue this command Example To configure the warning fan traps state DGS 3120 24TC admin config fan trap state enable Command config fan trap state enable Success DGS 3120 24TC admin 57 6...

Page 563: ...ack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 559 DGS 3120 24TC admin config power trap state enable Command config power trap state enable Success DGS 3120 24TC adm...

Page 564: ...A value of 0 will send an infinite ICMP echo messages The maximum value is 255 The default is 0 indicating infinity Press the CTRL C to break the ping test value 1 255 Enter the number of individual I...

Page 565: ...he CTRL C to break the ping test value 1 255 Enter the number of individual ICMP echo messages to be sent here This value must be between 1 and 255 size Optional Size of the test packet value 1 6000 E...

Page 566: ...dr Description This command is used to set the maximum number of port security entries that can be authorized system wide There are four levels of limitations on the learned entry number for the entir...

Page 567: ...al Specify the maximum number of port security entries that can be learned on this port If the value is set to 0 it means that no user can be authorized by the port security function on this port If t...

Page 568: ...ort a VLAN and a specific VLAN on a port If any limitation is exceeded the new entry will be discarded Format config port_security vlan vlan_name 32 vlanid vidlist max_learning_addr max_lock_no 0 3072...

Page 569: ...me vlan_name 32 Enter the VLAN name here This name can be up to 32 characters long vlanid Specify the VLAN by VLAN ID vlanid 1 4094 Enter the VLAN ID list here This value must be between 1 and 4094 ma...

Page 570: ...ts 6 Command clear port_security_entry ports 6 Success DGS 3120 24TC admin 59 6 show port_security_entry Description This command is used to display the port security entries If more than one paramete...

Page 571: ...and vlanid or vlan_name are specified configurations matching any of these parameters will be displayed Format show port_security ports portlist vlan vlan_name 32 vlanid vidlist Parameters ports Optio...

Page 572: ...When the port security trap is enabled if there is a new MAC that violates the pre defined port security configuration a trap will be sent out with the information about the MAC address and port If t...

Page 573: ...y configuration the MAC port and other relevant information will be logged otherwise no log will be generated Format config port_security log state enable disable Parameters enable Enable port securit...

Page 574: ...will depend on power supply capability value 37 760 Enter the power limit value here This value must be between 37 and 760 power_disconnect_method Optional Configure the disconnection method that wil...

Page 575: ...port for these four classes For each class the power limit is a little more than the power consumption range for the class This takes the factor of the power loss on cable into account Thus the follo...

Page 576: ...o supply power to ports critical Specify that the priority will be set to critical high Specify that the priority will be set to high low Specify that the priority will be set to low power_limit Optio...

Page 577: ...atus of all supported poe units in the systems Restrictions None Example To display PoE system DGS 3120 24PC admin show poe system units 1 Command show poe system units 1 Unit 1 PoE System Information...

Page 578: ...ority Power Limit mW Time Range Class Power mW Voltage decivolt Current mA Status 1 1 Enabled Low 15400 User defined 0 0 0 0 OFF Interim state during line detection 1 2 Enabled Low 15400 User defined...

Page 579: ...continuously monitor energy on the cable The moment energy is detected the port will turn on fully as to the IEEE specification s requirements The power saving function is performed while no link is d...

Page 580: ...uccess DGS 3120 24TC admin 61 2 config power_saving hibernation Description This command is used to add or delete the power saving schedule on system hibernation When the system enters hibernation mod...

Page 581: ...e time_range range_name 32 clear_time_range Parameters add Specify to add a time range delete Specify to delete a time range time_range Specify the name of the time range range_name32 Enter a name for...

Page 582: ...estrictions Only Administrator and Operator level users can issue this command Example To add a time range named range_1 on port 1 DGS 3120 24TC admin config power_saving port 1 1 add time_range range...

Page 583: ...y the power saving function setting DGS 3120 24TC admin show power_saving Command show power_saving Link Detection State Enabled Length Detection State Disabled Power Saving Configuration On System Hi...

Page 584: ...DGS 3120 24TC admin config led state disable Command config led state disable Success DGS 3120 24TC admin 61 7 show led Description This command is used to display the setting of all port s LED admin...

Page 585: ...over and request packet if the tag is absent and remove the circuit ID tag from the received PPPoE offer and session confirmation packet The insert circuit ID contains the following information Client...

Page 586: ...etting is enable enable Enable port s PPPoE circuit ID insertion function disable Disable port s PPPoE circuit ID insertion function circuit_id Configure the device ID part for encoding of the circuit...

Page 587: ...on ports Description This command is used to display Switch s port PPPoE Circuit ID insertion configuration Format show pppoe circuit_id_insertion ports portlist Parameters portlist Optional Specify a...

Page 588: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 584 DGS 3120 24TC admin...

Page 589: ...e protocol_group group_id id all show port dot1v ports portlist 63 1 create dot1v_protocol_group Description This command is used to create a protocol group for protocol VLAN function Format create do...

Page 590: ...at the protocol will be added to the specified group delete Specify that the protocol will be removed from the specified group protocol The protocol value is used to identify a protocol of the frame t...

Page 591: ...min delete dot1v_protocol_group group_id 100 Command delete dot1v_protocol_group group_id 100 Success DGS 3120 24TC admin 63 4 show dot1v_protocol_group Description This command is used to display the...

Page 592: ...used for the configuration here all Specify that all the ports will be used for this configuration add Specify that the group specified will be added protocol_group Specify that parameters for the gr...

Page 593: ..._id 10 vlan marketing 1 Command config port dot1v ports 1 3 add protocol_group group_id 10 vlan marketing 1 Success DGS 3120 24TC admin 63 6 show port dot1v Description This command is used to display...

Page 594: ...ckable Gigabit Switch CLI Reference Guide 590 DGS 3120 24TC admin show port dot1v ports 1 1 Command show port dot1v ports 1 1 Port 1 1 Protocol Group ID VLAN Name Protocol Priority 1 default 2 VLAN2 3...

Page 595: ...0 7 delete vlan_translation ports portlist all cvid vidlist show vlan_translation ports portlist cvid vidlist 64 1 enable qinq Description This command is used to enable QinQ When QinQ is enabled all...

Page 596: ...l be disabled To run GVRP on the Switch the administrator should enable GVRP manually Format disable qinq Parameters None Restrictions Only Administrator Operator and Power User level users can issue...

Page 597: ...the port role in QinQ mode uni Specify that the port is connecting to the customer network nni Specify that the port is connecting to the service provider network missdrop Optional Specify the state...

Page 598: ...rts 1 1 1 4 role nni outer_tpid 0x88A8 Command config qinq ports 1 1 1 4 role nni outer_tpid 0x88A8 Success DGS 3120 24TC admin 64 5 show qinq Description This command is used to display the global Qi...

Page 599: ...n show qinq inner_tpid Command show qinq inner_tpid Inner TPID 0x9100 DGS 3120 24TC admin 64 7 show qinq ports Description This command is used to display the QinQ configuration of the ports Format sh...

Page 600: ...red to C VLAN Tag or stripped Format create vlan_translation ports portlist all add cvid vidlist replace cvid vlanid 1 4094 svid vlanid 1 4094 priority priority 0 7 Parameters ports Specify a list of...

Page 601: ...id 30 svid 300 Command create vlan_translation ports 1 1 add cvid 30 svid 300 Success DGS 3120 24TC admin 64 9 delete vlan_translation ports Description This command is used to delete translation rela...

Page 602: ...les Format show vlan_translation ports portlist cvid vidlist Parameters ports Optional Specify a list of ports to be displayed portlist Enter the list of ports to be displayed here cvid Optional Speci...

Page 603: ...p_priority dscp_dscp dscp dscp_list 65 1 config bandwidth_control Description This command is used to configure the port bandwidth limit control Format config bandwidth_control portlist all rx_rate no...

Page 604: ...gurations The bandwidth can also be assigned by the RADIUS server through the authentication process If RADIUS server has assigned the bandwidth then the RADIUS assigned bandwidth will be the effectiv...

Page 605: ...Enter the list of port used for this configuration here all For set all ports in the system you may use all parameter If no parameter is specified system will set all ports cos_id_list 0 7 Specify a l...

Page 606: ...control ports 1 1 1 10 1 min_rate 130 max_rate 1000 Command config per_queue bandwidth_control ports 1 1 1 10 1 min_rate 130 max_rate 1000 Granularity TX 64 Actual Rate MIN 128 MAX 960 Success 65 4 sh...

Page 607: ...nge of ports to be configured portlist Enter the list of port used for this configuration here class_id 0 7 This specifies the 8 hardware priority queues which the config scheduling command will apply...

Page 608: ...strict All queues operate in strict mode wrr Each queue operates based on its setting Restrictions Only Administrator Operator and Power User level users can issue this command Example To configure t...

Page 609: ...ity queues for example DGS 3120 24TC admin show scheduling 1 1 Command show scheduling 1 1 QOS Output Scheduling On Port 1 1 Class ID Weight Class 0 1 Class 1 2 Class 2 3 Class 3 4 Class 4 5 Class 5 6...

Page 610: ...1 16 Strict 1 17 Strict 1 18 Strict 1 19 Strict 1 20 Strict 1 21 Strict 1 22 Strict 1 23 Strict 1 24 Strict DGS 3120 24TC admin 65 9 config 802 1p user_priority Description This command is used to map...

Page 611: ...d Power User level users can issue this command Example To configure the 802 1p user priority DGS 3120 24TC admin config 802 1p user_priority 1 3 Command config 802 1p user_priority 1 3 Success DGS 31...

Page 612: ...y is to be configured That is a range of ports for which all untagged packets received will be assigned the priority specified below The port list is specified by listing the lowest switch number and...

Page 613: ...th the RADIUS sever can be per port or port user For per port authentication the priority assigned by RADIUS server will be the effective port default priority For per user authentication the priority...

Page 614: ...24TC admin 65 13 enable hol_prevention Description This command is used to enable head of line prevention on the Switch Format enable hol_prevention Parameters None Restrictions Only Administrator Op...

Page 615: ...can issue this command Example To disable HOL prevention on the Switch DGS 3120 24TC admin disable hol_prevention Command disable hol_prevention Success DGS 3120 24TC admin 65 15 show hol_prevention D...

Page 616: ...ation here all Specify that the command apply to all ports on the Switch state Enable or disable to trust DSCP By default DSCP trust is disabled enable Specify that the DSCP trust state will be enable...

Page 617: ...ing The mapping of DSCP to priority will be used to determine the priority of the packet which will be then used to determine the scheduling queue when the port is in DSCP trust state The mapping of D...

Page 618: ...0 63 Specify the result DSCP of mapping Restrictions Only Administrator Operator and Power User level users can issue this command Example To configure the mapping of the DSCP priority to priority 1 D...

Page 619: ...rictions None Example In case of project support per port configure show DSCP map configuration on port 1 1 DGS 3120 24TC admin show dscp map 1 1 dscp_dscp Command show dscp map 1 1 dscp_dscp DSCP to...

Page 620: ...emote switch A packet travels from the Switch where the monitored packet is received passing through the intermediate switch and then to the Switch where the sniffer is attached The first switch is al...

Page 621: ...ers can issue this command Example Configure RSPAN state to disabled DGS 3120 24TC admin disable rspan Command disable rspan Success DGS 3120 24TC admin 66 3 create rspan vlan Description This command...

Page 622: ...S 3120 24TC admin create rspan vlan vlan_id 3 Command create rspan vlan vlan_id 3 Success DGS 3120 24TC admin 66 4 delete rspan vlan Description This command is used to delete RSPAN VLANs Format delet...

Page 623: ...Enter the VLAN ID here This value must be between 1 and 4094 redirect Specify output portlist for the RSPAN VLAN packets If the redirect port is a Link Aggregation port there will perform the Link Ag...

Page 624: ...rspan vlan vlan_id 2 source Command config rspan vlan vlan_id 2 source Success DGS 3120 24TC admin To add redirect ports for special RSPAN VLAN on intermediate or destination switch DGS 3120 24TC admi...

Page 625: ...onal Specify the RSPAN VLAN by VLAN ID value 1 4094 Enter the VLAN ID here This value must be between 1 and 4094 Restrictions None Example Display the specific settings DGS 3120 24TC admin show rspan...

Page 626: ...lter state all Specify all ports to be configured for the RPC portmapper filter state state Specify the RPC portmapper filter state enable Enable the RPC portmapper filter on specified ports disable D...

Page 627: ...ble Gigabit Switch CLI Reference Guide 623 Parameters None Restrictions None Example To display the RPC portmapper state DGS 3120 24TC admin show filter rpc_portmapper Command show filter rpc_portmapp...

Page 628: ...on falling threshold the range is between 20 100 if the CPU utilization is lower than the falling threshold the Switch enters normal mode 20 100 Enter the utilization falling value here This value mus...

Page 629: ..._engine Description This command is used to show safeguard engine information Format show safeguard_engine Parameters None Restrictions None Example To show safeguard_engine information DGS 3120 24TC...

Page 630: ...em If the time range does not exist the schedule will still be created without prompt But the schedule will not take effective until the time range is created To create an existed entry the device wil...

Page 631: ...configuration log Schedule to back up log time_range The schedule to back up the configuration or log range_name32 Enter the name of the time range Maximum 32 characters filename The backup filename o...

Page 632: ...Enter the name of the time range Maximum 32 characters filename Optional The backup filename of the configuration or log that wants to be deleted pathname Enter the backup file path name Restrictions...

Page 633: ...d schedule The maximum of schedules execute is 15 Format create execute_config time_range range_name 32 config pathname state enable disable increment reset Parameters range_name32 Enter the time rang...

Page 634: ...ecute the configuration Maximum 32 characters config The filename of the configuration on file system pathname Enter the configuration file path name state Optional Enable or disable the executive sch...

Page 635: ...figuration to be deleted range_name 32 Enter the time range to be deleted Maximum 32 characters config Optional The configuration file name on file system pathname Enter the configuration file path na...

Page 636: ...configuration on file system Format execute config pathname increment Parameters pathname The configuration filename on file system increment Optional If not specified the current configuration will b...

Page 637: ...four blowfish cast128 twofish128 twofish192 twofish256 MD5 SHA1 RSA DSA enable disable Parameters 3DES The 3DES cipher is three key triple DES encrypt decrypt encrypt where the first 8 bytes of the ke...

Page 638: ...ation Maximum Session 8 Connection Timeout 120 Authentication Fail Attempts 2 Rekey Timeout Never TCP Port Number 22 DGS 3120 24TC admin config ssh algorithm DSA enable Command config ssh algorithm DS...

Page 639: ...SHA1 Enabled Public Key Algorithm RSA Enabled DSA Enabled DGS 3120 24TC admin 70 3 config ssh authmode Description This command is used to configure user authentication method for SSH Format config s...

Page 640: ...0 4 show ssh authmode Description This command is used to show the user authentication method Format show ssh authmode Parameters None Restrictions None Example To show user authentication method DGS...

Page 641: ...ddress domain_name 32 Specify host name if configuring Host based method ipaddr Specify host IP address if configuring Host based method ipv6addr Specify host IPv6 address if configuring Host based me...

Page 642: ...cify SSH server connection time out in the unit of second sec 30 600 Enter the connection time out value here This value must be between 30 and 600 seconds authfail Optional Specify user maximum fail...

Page 643: ...DGS 3120 24TC admin 70 8 enable ssh Description This command is used to enable SSH server services Format enable ssh Parameters None Restrictions Only Administrator Operator and Power User level users...

Page 644: ...h Command disable ssh Success DGS 3120 24TC admin 70 10 show ssh server Description This command is used to show the SSH server general information Format show ssh server Parameters None Restrictions...

Page 645: ...ate to the device according to the certificate level The user can download the specified certificate to the device which must according to desired key exchange algorithm For RSA key exchange the user...

Page 646: ...DSS_with_3DES_EDE_CBC_SHA RSA_EXPORT_with_RC4_40_MD5 Parameters ciphersuite Optional Specify the cipher suite combination used for this configuration RSA_with_RC4_128_MD5 Indicate RSA key exchange wit...

Page 647: ...5 Parameters ciphersuite Optional Specify the cipher suite combination used for this configuration RSA_with_RC4_128_MD5 Indicate RSA key exchange with RC4 128 bits encryption and MD5 hash RSA_with_3DE...

Page 648: ...s can issue this command Example To delete a certificate DGS 3120 24TC admin delete ssl certificate web_ca2 cer Command delete ssl certificate web_ca2 cer Success DGS 3120 24TC admin 71 5 show ssl Des...

Page 649: ...RC4_40_MD5 Enabled DGS 3120 24TC admin To show certificate DGS 3120 24TC admin show ssl certificate Command show ssl certificate Loaded with RSA Certificate DGS 3120 24TC admin 71 6 show ssl cachetime...

Page 650: ...ver and invoking the dlktimer library to remove this session id by cache timeout value The unit of argument s value is second and it s boundary is between 60 1 minute and 86400 24 hours Default value...

Page 651: ...fy to use the built in certificate cert_list Specify chain of certifications on the Switch Restrictions Only Administrator level users can issue this command Example To configure SSL chain of certific...

Page 652: ...1 enable surveillance_vlan Description This command is used to enable surveillance VLAN globally To enable the surveillance VLAN a name must be assigned to the sureveillance VLAN and there must be an...

Page 653: ...mmand disable surveillance_vlan Success DGS 3120 24TC admin 72 3 config surveillance_vlan priority Description This command is used to configure the surveillance VLAN priority which is associated with...

Page 654: ...fined OUI MAC address macmask The user defined OUI MAC address mask component_type Optional Specify the surveillance components that could be auto detected by surveillance VLAN vms Specify the Video M...

Page 655: ...state on ports 4 6 of unit 1 DGS 3120 24TC admin config surveillance_vlan ports 1 4 1 6 state enable Command config surveillance_vlan ports 1 4 1 6 state enable Success DGS 3120 24TC admin 72 6 config...

Page 656: ...used to configure the log state of the surveillance VLAN Format config surveillance_vlan log state enable disable Parameters enable Specify to enable the log state of the surveillance VLAN disable Sp...

Page 657: ...splayed device Optional The Surveillance devices that are learned through their OUI ports Optional Specify a range of ports to be displayed portlist Enter a range of ports to be displayed Restrictions...

Page 658: ...ow flow_sampler show sflow counter_poller show sflow analyzer_server 73 1 create sflow flow_sampler Description This command is used to create the sFlow flow sampler By configuring the sampling functi...

Page 659: ...te a new one Format config sflow flow_sampler ports portlist all rate value 0 65535 maxheadersize value 18 256 Parameters ports Specify the list of ports to be configured portlist Enter the list of po...

Page 660: ...t of ports to be configured portlist Enter the list of ports that will be used for this configuration here all Specify all ports on the Switch Restrictions Only Administrator and Operator level users...

Page 661: ...s command Example Create sFlow counter poller which sample port 1 to analyzer server 1 DGS 3120 24TC admin create sflow counter_poller ports 1 1 analyzer_server_id 1 Command create sflow counter_polle...

Page 662: ...orts Specify the list of ports to delete the counter poller portlist Enter the list of ports that will be used for this configuration here all Specify all ports on the Switch Restrictions Only Adminis...

Page 663: ...s is 0 and the entry is not active ipaddr Enter the IP address used for the configuration here collectorport Optional The destination UDP port for sending the sFlow datagram If not specified the defau...

Page 664: ...packets will not be sent to this server ipaddr Enter the IP address used for the configuration here collectorport Optional The destination UDP port for sending the sFlow datagram If not specified the...

Page 665: ...can issue this command Example To delete an analyzer server DGS 3120 24TC admin delete sflow analyzer_server 1 Command delete sflow analyzer_server 1 Success DGS 3120 24TC admin 73 10 enable sflow De...

Page 666: ...ions Only Administrator and Operator level users can issue this command Example Disable the sFlow globally DGS 3120 24TC admin disable sflow Command disable sflow Success DGS 3120 24TC admin 73 12 sho...

Page 667: ...e displayed rate value There are two types of rates The Configured Rate is configured by the user In order to limit the number of packets sent to the CPU when the rate of traffic to the CPU is high th...

Page 668: ...formation of ports which have been created DGS 3120 24TC admin show sflow counter_poller Command show sflow counter_poller Port Analyzer Server ID Polling Interval sec 1 1 1 Disable Total Entries 1 DG...

Page 669: ...analyzer_server Command show sflow analyzer_server sFlow Analyzer_server Information Server ID 1 Owner sflow Timeout 400 Current Countdown Time 400 Collector Address 10 90 90 90 Collector Port 6343 M...

Page 670: ...device overall operation information The information is project dependent and includes the following information Basic System information System log Running configuration Layer 1 information Layer 2 i...

Page 671: ...00001 MAC Address 00 00 00 01 02 03 MAC Address Number 65535 STACKING 2015 5 4 21 52 57 Topology Information Stable Topology My Box ID 1 Role Master Box Cnt 1 Topology Type Duplex Chain Unit Prio Devi...

Page 672: ...h_filename 64 Parameters ipaddr Specify the IP address of TFTP server path_filename 64 Specify the file name to store the information of technique s support in TFTP server The max size of the file nam...

Page 673: ...4 add mail_receiver mail_addr 254 delete mail_receiver index 1 8 1 show smtp smtp send_testmsg 75 1 enable smtp Description This command is used to enable the SMTP status Format enable smtp Parameters...

Page 674: ...ceiver mail_addr 254 delete mail_receiver index 1 8 1 Parameters server Specify the SMTP server IP address ipaddr Enter the SMTP server IP address server_port Specify the SMTP server port port_number...

Page 675: ...onfigure a mail source address DGS 3120 24TC admin config smtp self_mail_addr mail dlink com Command config smtp self_mail_addr mail dlink com Success DGS 3120 24TC admin To add a mail destination add...

Page 676: ...on DGS 3120 24TC admin show smtp Command show smtp SMTP Status Disabled SMTP Server Address 172 18 208 9 SMTP Server Port 25 Self Mail Address mail dlink com Index Mail Receiver Address 1 receiver dli...

Page 677: ...3 Restrictions Only Administrator level users can issue this command Example To test whether the SMTP server can be reached DGS 3120 24TC admin smtp send_testmsg Command smtp send_testmsg Subject e ma...

Page 678: ...s create snmp view view_name 32 oid view_type included excluded delete snmp view view_name 32 all oid show snmp view view_name 32 create snmp host ipaddr v6host ipv6addr v1 v2c v3 noauth_nopriv auth_n...

Page 679: ...view view_name 32 read_only read_write Parameters community An alphanumeric string of up to 32 characters used to authentication of users wanting access to the Switch s SNMP agent community_string Ent...

Page 680: ...s on the Switch read_write Specify that SNMP community members using the community string created can read from and write to the contents of the MIBs on the Switch Restrictions Only Administrator leve...

Page 681: ...This command is used to display the community string configurations Format show snmp community community_string 32 Parameters community_string 32 Optional Specify the Community string If not specify...

Page 682: ...ication level auth_password 8 20 Enter the SHA authentication password here This value must be between 8 and 20 characters priv Optional A privacy key used by DES it is hex string type none Specify th...

Page 683: ...to remove a user from an SNMP group and delete the associated group in SNMP group Format delete snmp user username 32 Parameters username 32 The name of the user on the host that connects to the agen...

Page 684: ...me of the group groupname 32 Enter the group name here This name can be up to 32 characters long v1 The least secure of the possible security models v2c The second least secure of the possible securit...

Page 685: ...d create snmp group group123 v3 auth_priv read_view CommunityView write_view CommunityView notify_view CommunityView Success DGS 3120 24TC admin 76 9 delete snmp group Description This command is used...

Page 686: ...eference Guide 682 76 10 show snmp groups Description This command is used to display the names of groups on the Switch and the security model level the status of the different views Format show snmp...

Page 687: ...p Name initial ReadView Name restricted WriteView Name Notify View Name restricted Securiy Model SNMPv3 Securiy Level NoAuthNoPriv Group Name WriteGroup ReadView Name CommunityView WriteView Name Comm...

Page 688: ...and create snmp view view123 1 3 6 view_type included Success DGS 3120 24TC admin 76 12 delete snmp view Description This command is used to remove a view record Format delete snmp view view_name 32 a...

Page 689: ...iew Command show snmp view Vacm View Table Settings View Name Subtree View Type view123 1 3 6 Included restricted 1 3 6 1 2 1 1 Included restricted 1 3 6 1 2 1 11 Included restricted 1 3 6 1 6 3 10 2...

Page 690: ...auth_string presents the community string and it must be one of the entries in community table If the v3 is specified the auth_string presents the user name and it must be one of the entries in the u...

Page 691: ...ddr Parameters host Optional The IP address of the recipient for which the traps are targeted ipaddr Enter the IP address used for the configuration here If no parameter specified all SNMP hosts will...

Page 692: ...hosts will be displayed Restrictions None Example To show SNMP host DGS 3120 24TC admin show snmp v6host Command show snmp v6host SNMP Host Table Host IPv6 Address 3FFE 3 SNMP Version V3 na np Commun...

Page 693: ...l users can issue this command Example To configure SNMP engine ID to 1023457890 DGS 3120 24TC admin config snmp engineID 1023457890 Command config snmp engineID 1023457890 Success DGS 3120 24TC admin...

Page 694: ...57890 DGS 3120 24TC admin 76 20 enable snmp Description This command is used to enable the SNMP function Format enable snmp Parameters None Restrictions Only Administrator and Operator level users can...

Page 695: ...command is used to configure the name for the Switch Format config snmp system_name sw_name Parameters system_name A maximum of 128 characters is allowed And NULL string is accepted sw_name Optional E...

Page 696: ...issue this command Example To configure the Switch location for HQ 5F DGS 3120 24TC admin config snmp system_location HQ 5F Command config snmp system_location HQ 5F Success DGS 3120 24TC admin 76 24...

Page 697: ...ps Description This command is used to enable SNMP trap support Format enable snmp traps Parameters None Restrictions Only Administrator and Operator level users can issue this command Example To enab...

Page 698: ...traps Description This command is used to enable SNMP authentication failure trap support Format enable snmp authenticate_traps Parameters None Restrictions Only Administrator and Operator level users...

Page 699: ...traps Command disable snmp authenticate_traps Success DGS 3120 24TC admin 76 29 enable snmp linkchange_traps Description This command is used to configure the sending of linkchange traps Format enable...

Page 700: ...disable snmp linkchange_traps Command disable snmp linkchange_traps Success DGS 3120 24TC admin 76 31 config snmp linkchange_traps ports Description This command is used to configure the sending of l...

Page 701: ...event Format config snmp coldstart_traps enable disable Parameters enable Enable the trap of the coldstart event The default state is enabled disable Disable the trap of the coldstart event Restricti...

Page 702: ...or warmstart event DGS 3120 24TC admin config snmp warmstart_traps enable Command config snmp warmstart_traps enable Success DGS 3120 24TC admin 76 34 show snmp traps Description This command is used...

Page 703: ...for rising alarm The default state is enabled enable Specify that the rising alarm function will be enabled disable Specify that the rising alarm function will be disabled falling_alarm Optional Spec...

Page 704: ...g Alarm Trap Enabled RMON Falling Alarm Trap Enabled DGS 3120 24TC admin 76 37 enable community_encryption Description This command is used to enable the encryption state on SNMP community string Form...

Page 705: ...Administrator level users can issue this command Example To disable the encryption state on SNMP community string DGS 3120 24TC admin disable community_encryption Command disable community_encryption...

Page 706: ...0 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 702 DGS 3120 24TC admin show community_encryption Command show community_encryption SNMP Community Encryption State Enabled DGS 31...

Page 707: ...roupname 64 candidate dp_interval sec 30 90 hold_time sec 100 255 download sim_ms firmware_from_tftp configuration_from_tftp ipaddr path_filename members mslist 1 32 all upload sim_ms configuration_to...

Page 708: ...lay the current information of the specific sort of devices Format show sim candidates candidate_id 1 100 members member_id 1 32 group commander_mac macaddr neighbor Parameters candidates Optional Spe...

Page 709: ...val 30 sec Hold Time 100 sec DGS 3120 24TC admin To show the candidate information in summary if user specify candidate id it would show information in detail DGS 3120 24TC admin show sim candidate Co...

Page 710: ...s information in summary if user specify group name it will show information in detail DGS 3120 24TC admin show sim group Command show sim group SIM Group Name default ID MAC Address Platform Hold Fir...

Page 711: ...is used to re telnet to member Format reconfig member_id value 1 32 exit Parameters member_id Optional Specify the serial number of the member value 1 32 Enter the serial number of the member here exi...

Page 712: ...r the member ID of the member to be removed from the group here This value must be between 1 and 32 Restrictions Only Administrator Operator and Power User level users can issue this command Example T...

Page 713: ...30 90 Enter the discovery time here in seconds This value must be between 30 and 90 seconds hold_time Optional The time in seconds the device holds the discovery result sec 100 255 Enter the hold time...

Page 714: ...n_from_tftp ipaddr path_filename members mslist 1 32 all Parameters firmware_from_tftp Specify that the firmware will be downloaded from the TFTP server configuration_from_tftp Specify that the config...

Page 715: ...members 1 This device is updating firmware Please wait several minutes Download Status ID MAC Address Result 1 00 01 02 03 04 00 Success DGS 3120 24TC admin 77 8 upload sim_ms Description This command...

Page 716: ...This device is uploading configuration Please wait several minutes Upload Status ID MAC Address Result 1 00 1A 2D 00 12 12 Success DGS 3120 24TC admin 77 9 config sim trap Description This command is...

Page 717: ...higher priority New priority will take effect after user reboot Format config box_priority current_box_id value 1 6 priority value 1 63 Parameters current_box_id Specify the Switch being configured T...

Page 718: ...auto Allows the box ID to be assigned automatically by the stack system The new box ID will take effect after the next boot value 1 6 Enter the new box ID here This value must be between 1 and 6 Rest...

Page 719: ...to do any command regarding read write of flash for example download firmware save show config in flash upload copy show slave s dangerous log Message 3 Stack Topology Status Configuring the new devi...

Page 720: ...g State Enabled Box User Prio Prom Runtime H W ID Set Type Exist rity MAC version version version 1 Auto DGS 3120 24TC Exist 1 00 01 02 03 04 00 2 00 003 2 00 010 A1 2 NOT_EXIST No 3 NOT_EXIST No 4 NO...

Page 721: ...nged under standalone mode only Format config stacking_mode disable enable Parameters stacking_mode Enable or disable the Switch s stacking capability enable Specify that the Switch s stacking capabil...

Page 722: ...still uses old priority setting and MAC to compare device priority After stacking is stable master s priority will become zero If stacking topology change again Master will use priority zero and MAC...

Page 723: ...rameters enable Enable the Switch s stacking trap disable Disable the Switch s stacking trap Restrictions Only Administrator Operator and Power User level users can issue this command Example To enabl...

Page 724: ...erence Guide 720 Restrictions Only Administrator Operator and Power User level users can issue this command Example To enable the stacking log state DGS 3120 24TC admin config stacking log state enabl...

Page 725: ...y this parameter the least IPv4 address and the smallest IPv6 address of ipif_name will be used as source IP addresses ipif_name 12 Enter the IP interface name here This name can be up to 12 character...

Page 726: ...g source IP interface Format show syslog source_ipif Parameters None Restrictions None Example Show syslog source IP interface DGS 3120 24TC admin show syslog source_ipif Command show syslog source_ip...

Page 727: ...ed for the configuration here EI Mode Only none Specify to clear the configured source IP interface Restrictions Only Administrator and Operator level users can issue this command Example Configure tr...

Page 728: ...ble Gigabit Switch CLI Reference Guide 724 Example Show trap source IP interface DGS 3120 24TC admin show trap source_ip Command show trap source_ip Trap Source IP Interface Configuration IP Interface...

Page 729: ...p_port_number state enable disable config syslog host index 1 4 all severity emergency alert critical error warning notice informational debug level 0 7 facility local0 local1 local2 local3 local4 loc...

Page 730: ...e can be obtained by using the show log_support_module command Use a comma to separate multiple modules module_list Enter the module list value here emergency Optional Severity level 0 alert Optional...

Page 731: ...w log_software_module Description This command is used to display the protocols or applications that support the enhanced log The enhanced log adds the module name and module ID Network administrators...

Page 732: ...g messages DGS 3120 24TC admin enable syslog Command enable syslog Success DGS 3120 24TC admin 80 5 disable syslog Description This command is used to disable the sending of syslog messages Format dis...

Page 733: ...sages to a specific host When the user chooses a specific level for a specific host messages which are at that severity level or higher will be reported to that host Format create syslog host index 1...

Page 734: ...ity will be set to local 4 local5 Specify that the user defined facility will be set to local 5 local6 Specify that the user defined facility will be set to local 6 local7 Specify that the user define...

Page 735: ...acket when it is sent to a specific syslog server local0 Specify that the user defined facility will be set to local 0 local1 Specify that the user defined facility will be set to local 1 local2 Speci...

Page 736: ...Parameters host The host index or all hosts index Enter the host index value here all Specify that all the host indexes will be used Restrictions Only Administrator and Operator level users can issue...

Page 737: ...his command is used to set the method for saving the log Format config log_save_timing time_interval min 1 65535 on_demand log_trigger Parameters time_interval Save log to flash every xxx minutes If n...

Page 738: ...timing Command show log_save_timing Saving Log Method On_demand DGS 3120 24TC admin 80 13 show attack_log Description This command is used to display the attack log messages The attack log message ref...

Page 739: ...in the attack log will be displayed Restrictions None Example To show dangerous messages on the master DGS 3120 24TC admin show attack_log index 1 Command show attack_log index 1 Index Date Time Leve...

Page 740: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 736 DGS 3120 24TC admin clear attack_log Command clear attack_log Success DGS 3120 24TC admin...

Page 741: ...error warning notice information debug level 0 7 Parameters trap Specify the severity level control for traps log Specify the severity level control for the log all Specify the severity level control...

Page 742: ...mand is used to display the severity level controls for the system Format show system_severity Parameters None Restrictions None Example To show severity level control for system DGS 3120 24TC admin s...

Page 743: ...at telnet ipaddr ipv6addr tcp_port value 1 65535 Parameters ipaddr The IP address of the telnet server ipv6addr The IPv6 address of the telnet server EI Mode Only tcp_port Optional Specify the telnet...

Page 744: ...s of the TFTP server ipv6addr Optional The IPv6 address of the TFTP server EI Mode Only src_file Optional Used to identify the parameter path_filename path_filename 64 Enter the source file path name...

Page 745: ...ecting to server Done Download firmware Done Do not power off Please wait programming flash Done DGS 3120 24TC admin To download configuration from TFTP DGS 3120 24TC admin download cfg_fromTFTP 10 54...

Page 746: ...al Specify to exclude lines that contain the specified filter string begin Optional The first line that contains the specified filter string will be the first line of the output filter_string 80 A fil...

Page 747: ...be a relative pathname or an absolute pathname This name can be up to 64 characters long unit Optional Specify which unit on the stacking system If it is not specified it refers to the master unit uni...

Page 748: ...Upload configuration Done DGS 3120 24TC admin In case that the designated file does not exist DGS 3120 24TC admin upload cfg_toTFTP 10 90 90 99 dest_file 111 cfg unit 1 src_file c config2 cfg Command...

Page 749: ...annual s_date start_date 1 31 s_mth start_mth 1 12 s_time start_time hh mm e_date end_date 1 31 e_mth end_mth 1 12 e_time end_time hh mm offset 30 60 90 120 show time 84 1 config sntp Description Thi...

Page 750: ...server s time first Format cconfig sntp ipv6server primary ipv6addr secondary ipv6addr 1 Parameters primary Optional SNTP primary server IPv6 address ipaddr Enter the IP address used for this configur...

Page 751: ...tem Clock SNTP Status Disabled IPv4 Primary SNTP Server None IPv4 Secondary SNTP Server None IPv6 Primary SNTP Server None IPv6 Secondary SNTP Server None SNTP Poll Interval 720 sec DGS 3120 24TC admi...

Page 752: ...Administrator and Operator level users can issue this command Example To disable SNTP DGS 3120 24TC admin disable sntp Command disable sntp Success DGS 3120 24TC admin 84 6 config time Description Thi...

Page 753: ...nute 0 59 Parameters operator Optional Specify the operator of time zone Specify that time should be added or subtracted to or from the GMT hour Optional Specify the hour of time zone gmt_hour 0 13 En...

Page 754: ...month number of Daylight Saving Time start_mth 1 12 Enter the starting month number of Daylight Saving Time here This value must be between 1 and 12 end_mth 1 12 Enter the ending month number of Dayli...

Page 755: ...minutes 60 Specify that the offset range will 60 minutes 90 Specify that the offset range will 90 minutes 120 Specify that the offset range will 120 minutes Restrictions Only Administrator and Operato...

Page 756: ...how time Command show time Current Time Source System Clock Boot Time 9 May 2011 06 20 55 Current Time 9 May 2011 07 46 10 Time Zone GMT 00 00 Daylight Saving Time Disabled Offset In Minutes 60 Repeat...

Page 757: ...traceroute command will cross while seeking the network path between two devices The range for the TTL is 1 to 60 hops value 1 60 Enter the time to live value here This value must be between 1 and 60...

Page 758: ...command will cross while seeking the network path between two devices The range for the TTL is 1 to 60 hops value 1 60 Enter the time to live value here This value must be between 1 and 60 port Optio...

Page 759: ...probe 3 1 10 ms 1345 142 11 2 10 ms 2011 14 100 3 10 ms 3000 1 Trace complete DGS 3120 24TC admin Trace the IPv6 routed path between the Switch and 1210 100 11 with port 40000 DGS 3120 24TC admin trac...

Page 760: ...value 0 1488100 countdown min 0 min 3 30 disable time_interval sec 5 600 Parameters portlist Used to specify a range of ports to be configured all Specify that all the ports will be used for this con...

Page 761: ...on parameter min 0 0 disables the forever state meaning that the port will not enter the shutdown forever state min 3 30 Enter the countdown timer value here This value must be between 3 and 30 disabl...

Page 762: ...this command Example To enable both the occurred mode and cleared mode traffic control traps DGS 3120 24TC admin config traffic trap both Command config traffic trap both Success DGS 3120 24TC admin...

Page 763: ...tdown 5 10 1 1 1 1 7 Enabled Disabled Disabled shutdown 5 10 1 1 1 1 8 Enabled Disabled Disabled shutdown 5 10 1 1 1 1 9 Enabled Disabled Disabled shutdown 5 10 1 1 1 1 10 Enabled Disabled Disabled sh...

Page 764: ...me min 0 min 1 65535 Parameters auto_recover_time The time allowed for auto recovery from shutdown for a port The default value is 0 so no auto recovery is possible the port remains in shutdown foreve...

Page 765: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761...

Page 766: ...all Specify that all the ports will be used for this configuration forward_list Specify a range of port forwarding domain null Specify a range of port forwarding domain is null all Specify all ports t...

Page 767: ...system will display all current traffic segmentation tables Restrictions None Example To display traffic segmentation table DGS 3120 24TC admin show traffic_segmentation 1 1 1 10 Command show traffic...

Page 768: ...any IP address from accessing the Switch provided the user knows the Username and Password When the access interface is not specified the trusted host will be created for all interfaces Format create...

Page 769: ...used for this configuration here ipv6addr The IPv6 address of the trusted host EI Mode Only ipv6addr Enter the IPv6 address used for this configuration here network The network address of the trusted...

Page 770: ...sted host delete Delete interfaces for that trusted host snmp Optional Specify trusted host for SNMP telnet Optional Specify trusted host for TELENT ssh Optional Specify trusted host for SSH http Opti...

Page 771: ...LI Reference Guide 767 Restrictions None Example To display trusted host DGS 3120 24TC admin show trusted_host Command show trusted_host Management Stations IP Address Access Interface 10 48 74 121 SN...

Page 772: ...r config udp_helper delete ipif ipif_name 12 ipaddr show udp_helper udp_port ipif ipif_name 12 89 1 enable udp_helper Description This command is used to enable the UDP helper function on the Switch F...

Page 773: ...udp_port add time tacacs dns tftp netbios ns netbios ds port_number 0 65535 Parameters time Time service The UDP port is 37 tacacs Terminal Access Controller Access Control System service The UDP por...

Page 774: ...s 49 dns Domain Naming System The UDP port number is 53 tftp Trivial File Transfer Protocol The UDP port number is 69 netbios ns NetBIOS Name Server The UDP port number is 137 netbios ds NetBIOS Datag...

Page 775: ...m 20 0 0 90 Success DGS 3120 24TC admin 89 6 config udp_helper delete ipif Description This command is used to delete a UDP helper server address for specific interface of the Switch Format config udp...

Page 776: ...meters udp_port Optional Specify the UDP port configured for the UDP helper ipif Optional Specify the name of the IP interface to be configured for the UDP helper ipif_name 12 Enter the name of the IP...

Page 777: ...il to create if there has been one static multipath route that has the same destination It will fail if a user wants to create a floating static route and there has been one static multipath route wit...

Page 778: ...default network_address ipaddr Parameters default Deletes an IP default route 0 0 0 0 0 network_address Specify the network address used EI Mode Only ipaddr Specify the next hop IP address of the rou...

Page 779: ...None Example To display the contents of the IP routing table DGS 3120 24TC admin show iproute Command show iproute Routing Table IP Address Netmask Gateway Interface Cost Protocol 10 1 1 0 24 0 0 0 0...

Page 780: ...Dynamic System 10 2 27 250 1 3 Dynamic Total Entries 3 DGS 3120 24TC admin 90 5 show route preference EI Mode Only Description This command is used to display the route preference setting Format show...

Page 781: ...r 2 Managed Stackable Gigabit Switch CLI Reference Guide 777 DGS 3120 24TC admin show route preference Command show route preference Route Preference Settings Protocol Preference Static 60 Default 1 L...

Page 782: ...he VLAN trunk function When the VLAN trunk function is enabled the VLAN trunk ports shall be able to forward all tagged frames with any VID Format enable vlan_trunk Parameters None Restrictions Only A...

Page 783: ...VLAN trunk globally all VLANs automatically created by VLAN Trunk enabled shall be destroyed and all the automatically added port membership will be removed A VLAN trunk port and a non VLAN trunk por...

Page 784: ...state enable Success DGS 3120 24TC admin Port 6 is LA 1 member port port 7 is LA 2 master port DGS 3120 24PC admin config vlan_trunk ports 1 6 1 7 state enable Command config vlan_trunk ports 1 6 1 7...

Page 785: ...s LA 1 member port port 7 is LA 1 master port DGS 3120 24TC admin config vlan_trunk ports 1 7 state disable Command config vlan_trunk ports 1 7 state disable Success DGS 3120 24TC admin config vlan_tr...

Page 786: ...VLAN Trunk State Enabled VLAN Trunk Member Ports 1 1 1 5 1 7 VID 1 VLAN Name default VLAN TYPE static Advertisement Enabled Member ports 1 1 1 24 2 1 2 24 Static ports 1 1 1 24 2 1 2 24 Current Tagged...

Page 787: ...ice 92 1 enable voice_vlan Description This command is used to enable the global voice VLAN function on a switch To enable the voice VLAN the voice VLAN must be also assigned At the same time the VLAN...

Page 788: ...strator Operator and Power User level users can issue this command Example To disable the voice VLAN DGS 3120 24TC admin disable voice_vlan Command disable voice_vlan Success DGS 3120 24TC admin 92 3...

Page 789: ...defined OUI cannot be the same as the pre defined OUI The following are the pre defined voice traffic s OUI OUI Vendor Mnemonic name 00 E0 BB 3COM 3com 00 03 6B Cisco cisco 00 E0 75 Veritel veritel 0...

Page 790: ...ill be disabled mode The voice VLAN mode The default mode is auto auto Specify that the voice VLAN mode will be set to auto tag When the port is working in auto tagged mode and learns about a voice de...

Page 791: ...AN The aging time is used to remove a port from voice VLAN if the port is an automatic VLAN member When the last voice device stops sending traffic and the MAC address of this voice device is aged out...

Page 792: ...led a log will be triggered Format config voice_vlan log state enable disable Parameters enable Specify that the sending of a voice VLAN log will be enabled disable Specify that the sending of a voice...

Page 793: ...Priority 5 Aging Time 60 minutes Log State Enabled Member Ports 1 2 1 5 Dynamic Member Ports DGS 3120 24TC admin To display the voice VLAN global information when voice VLAN is disabled DGS 3120 24TC...

Page 794: ...0A 0B 00 00 00 FF FF FF 00 00 00 00 0F E2 00 00 00 FF FF FF 00 00 00 Huawei 3COM 00 60 B9 00 00 00 FF FF FF 00 00 00 NEC Philips 00 D0 1E 00 00 00 FF FF FF 00 00 00 Pingtel 00 E0 75 00 00 00 FF FF FF...

Page 795: ...4TC admin 92 11 show voice_vlan voice device Description This command is used to show voice devices that are connected to the ports The start time is the time when the device is detected on this port...

Page 796: ...008 10 6 15 00 1 1 00 E0 BB 00 00 03 2008 10 6 14 20 2008 10 6 15 30 1 2 00 03 6B 00 00 01 2008 10 6 17 15 2008 10 6 18 00 1 4 00 E0 75 00 00 02 2008 10 6 18 15 2008 10 6 20 00 1 5 00 01 E3 01 02 03 2...

Page 797: ...Local Port 1 1 Chassis ID Subtype MAC Address Chassis ID 00 E0 BB 00 00 11 Port ID Subtype Network Address Port ID 172 18 1 1 Create Time 10 6 2008 09 00 Remain Time 120 Seconds Index 2 Local Port 1 3...

Page 798: ...15 all_users config wac user username 15 vlan vlan_name 32 vlanid vlanid 1 4094 clear_vlan config wac authorization attributes radius enable disable local enable disable 1 config wac authentication_p...

Page 799: ...Parameters None Restrictions Only Administrator Operator and Power User level users can issue this command Example To disable WAC DGS 3120 24TC admin disable wac Command disable wac Success DGS 3120...

Page 800: ...must be between 1 and 1440 minutes block_time Optional If a host fails to pass the authentication it will be blocked for a period specified by block_time sec 0 300 Enter the blocking time here This v...

Page 801: ...ted to the default redirect path after successful authentication When the string is cleared the client will not be redirected to another URL after successful authentication Format config wac default_r...

Page 802: ...RL DGS 3120 24TC admin config wac clear_default_redirpath Command config wac clear_default_redirpath Success DGS 3120 24TC admin 93 7 config wac virtual_ip Description This command is used to configur...

Page 803: ...mber for HTTPS is 443 If no protocol specified the protocol is HTTP The HTTP cannot run at TCP port 443 and the HTTPS cannot run at TCP port 80 Format config wac switch_http_port tcp_port_number 1 655...

Page 804: ...ted hosts which will uses this user account to pass authentication vlan_name 32 Enter the name of the VLAN here This name can be up to 32 characters long vlanid Optional Specify the target VLAN ID for...

Page 805: ...can be configured Format config wac user username 15 vlan vlan_name 32 vlanid vlanid 1 4094 clear_vlan Parameters user The user name to be configured username 15 Enter the username used here This name...

Page 806: ...adius Optional If specified to enable the authorized data assigned by the RADUIS server will be accepted if the global authorization network is enabled The default state is enabled enable Specify that...

Page 807: ...ge desc 32 Enter a description with maximum of 32 characters password_title Specify to configure the password title of the authentication page desc 32 Enter a description with maximum of 64 characters...

Page 808: ...ate Enabled Method Local Redirect Path http www dlink com Virtual IP 1 1 1 1 Virtual IPv6 Switch HTTP Port 8888 HTTP RADIUS Authorization Enabled Local Authorization Disabled DGS 3120 24TC admin 93 15...

Page 809: ...120 1 2 Enabled 60 30 120 1 3 Enabled 120 60 120 DGS 3120 24TC admin 93 16 show wac user Description This command is used to show web authentication account Format show wac user Parameters None Restr...

Page 810: ...RX VLAN ID is 20 and the assigned VLAN ID is 1234 in this example 3 MAC 00 00 00 00 00 03 failed to pass authentication the VID field will be shown as indicating that packets with SA 00 00 00 00 00 0...

Page 811: ...enticating 10 1 2 00 00 00 00 00 10 P 2040 Authenticated 1234 2 1440 20 1 3 00 00 00 00 00 20 P 2045 Authenticating 5 1 3 00 00 00 00 00 21 P 2045 Blocked 100 Total Authenticating Hosts 2 Total Authen...

Page 812: ...ated authenticating blocked macaddr macaddr Parameters ports Specify the list of ports whose WAC state will be cleared portlist Enter a list of ports used for the configuration here all Specify that a...

Page 813: ...cos class_id 0 7 profile default profile_id int 2 128 profile_name 32 weight int 0 15 profile default profile_id int 2 128 profile_name 32 weight int 0 15 delete wred profile profile_id int 2 128 pro...

Page 814: ...global state DGS 3120 24TC admin disable wred Command disable wred Success DGS 3120 24TC admin 94 3 create wred profile Description This command is used to create a WRED profile Format create wred pro...

Page 815: ...fy the yellow packets to be dropped red Optional Specify the red packets to be dropped min_threshold Specify the minimum threshold value used If the queue size is higher than this value then the color...

Page 816: ...Specify the hardware priority queues class_id 0 7 Enter the priority between 0 and 7 profile Specify the profile to be used default Specify the default profile to be used profile_id Specify the profi...

Page 817: ...arameters profile_id Specify the profile ID to be deleted int 2 128 Enter the profile ID between 2 and 128 profile_name 32 Specify the profile name to be delete all Specify all profiles to be delete R...

Page 818: ...1 Class_ID Weight Profile_id Profile_Name 0 9 1 default 1 9 1 default 2 2 2 profilename 3 9 1 default 4 9 1 default 5 9 1 default 6 9 1 default 7 9 1 default Port 1 2 Class_ID Weight Profile_id Profil...

Page 819: ...D profile information DGS 3120 24TC admin show wred profile Command show wred profile Total Profile Number 2 WRED Profile ID 1 Profile Name default Packet Type Min Threshold Max Threshold Max Drop Rat...

Page 820: ...thwart ARP spoofing attacks Figure 1 In the process of ARP PC A will first issue an ARP request to query PC B s MAC address The network structure is shown in Figure 1 In the meantime PC A s MAC addres...

Page 821: ...AC and the associated port into its Forwarding Table In addition when the Switch receives the broadcasted ARP request it will flood the frame to all ports except the source port port 1 see Figure 2 Fi...

Page 822: ...Table 4 Ethernet Frame Format The switch will also examine the Source Address of the Ethernet frame and find that the address is not in the Forwarding Table The switch will learn PC B s MAC and updat...

Page 823: ...get H W address are filled with the same source MAC address itself The destination MAC address is the Ethernet broadcast address FF FF FF FF FF FF All nodes within the network will immediately update...

Page 824: ...ckets which claim they are from the gateway s IP The design of Packet Content ACL on the Switch enables users to inspect any offset chunk An offset chunk is a 4 byte block in a HEX format which is uti...

Page 825: ...A Completed ARP Packet Contained in an Ethernet Frame Command Description Step 1 create access_profile_id 1 profile_name 1 ethernet source_mac FF FF FF FF FF FF ethernet_type Create access profile 1 t...

Page 826: ...tep 4 config access_profile profile_id 2 add access_id 1 packet_content offset_chunk_1 0x806 offset_chunk_2 0xA5A offset_chunk_3 0x5A5A0000 Configure access profile 2 The rest of the ARP packets whose...

Page 827: ...on to the console port of the device It is necessary for the user needs to attach a terminal or PC with terminal emulation to the console port of the Switch 2 Power on the Switch After the runtime ima...

Page 828: ...unt The reset account command deletes all the previously created accounts reset password username The reset password command resets the password of the specified user If a username is not specified th...

Page 829: ...means if user login by console there will no IP information for logging Configuration and log saved to flash Unit unitID Configuration and log saved to flash by console Username username IP ipaddr In...

Page 830: ...uploaded Configuration successfully uploaded by console Username username IP ipaddr Informational by console and IP ipaddr are XOR shown in log string which means if user login by console there will...

Page 831: ...ing topology change Stacking topology is Stack_TP_TYPE Master Unit unitID MAC macaddr Informational Backup master changed to master Backup master changed to master Master Unit unitID Informational Sla...

Page 832: ...Spanning Tree Protocol is enabled Spanning Tree Protocol is enabled Informational Spanning Tree Protocol is disabled Spanning Tree Protocol is disabled Informational New root port New root port selec...

Page 833: ...rIP authenticated by AAA local method Username username Informational Login failed through Web authenticated by AAA local method Login failed failed through Web from userIP authenticated by AAA local...

Page 834: ...to AAA server timeout or improper configuration Login failed through Web from userIP due to AAA server timeout or improper configuration Username username Warning Successful login through Web SSL aut...

Page 835: ...Informational Enable Admin failed through Telnet authenticated by AAA local_enable method Enable Admin failed through Telnet from userIP authenticated by AAA local_enable method Username username War...

Page 836: ...thenticated by AAA server serverIP Username username Warning Enable Admin failed through Web SSL due to AAA server timeout or improper configuration Enable Admin failed through Web SSL from userIP due...

Page 837: ...DIUS server RADIUS server ipaddr assigns username ACL failure at port unitID portNum string Warning 802 1X 802 1X Authentication failure 802 1X Authentication failure for reason from Username username...

Page 838: ...user number on whole device is below the max user limit in a time interval interval is project depended WAC recovers from stop learning state Warning per system IMPB Unauthenticated IP address encount...

Page 839: ...Num VID vlanID LBD recovered Loop detection restarted Informational The number of VLANs that loop back has occured hit the specified number Loop VLAN number overflow Informational Gratuituios ARP Grat...

Page 840: ...d Local Port unitID portNum Direction mepdirection MEPID mepid Notice Voice VLAN When a new voice device is detected in the port New voice device detected MAC macaddr Port unitID portNum Informational...

Page 841: ...ss d notice Conflict LLDP MED device type detected Conflict LLDP MED device type detected on port d chassis id d s port id d s device class d notice Incompatible LLDP MED TLV set detected Incompatible...

Page 842: ...uration a trap will be sent out Binding 1 swIpMacBindingPortIndex 2 swIpMacBindingViolationIP 3 swIpMacBindingViolationMac 1 3 6 1 4 1 171 12 23 5 0 1 swL2IpMacBindingStopLearningTrap When the IP MAC...

Page 843: ...71 12 41 10 0 2 swVlanLoopOccurred The trap is sent when a Port with a VID loop occurs Binding 1 swLoopDetectPortIndex 2 swVlanLoopDetectVID 1 3 6 1 4 1 171 12 41 10 0 3 swVlanLoopRestart The trap is...

Page 844: ...12 11 2 2 3 0 1 swFanRecover Fan Recover notification Binding 1 swFanUnitIndex 2 swFanID 1 3 6 1 4 1 171 12 11 2 2 3 0 2 swHighTemperature High Temperature notification Binding 1 swTemperatureUnitInde...

Page 845: ...e polls Binding 1 lldpStatsRemTablesInserts 2 lldpStatsRemTablesDeletes 3 lldpStatsRemTablesDrops 4 lldpStatsRemTablesAgeouts 1 0 8802 1 1 2 0 0 1 lldpXMedTopologyChangeDetected A notification generat...

Page 846: ...ification Binding 1 swSingleIPMSID 2 swSingleIPMSMacAddr 1 3 6 1 4 1 171 12 8 6 0 15 swSingleIPMSnewRoot The commander switch will send swSingleIPMSnewRoot notification to the indicated host when its...

Page 847: ...newRoot The newRoot trap indicates that the sending agent has become the new root of the Spanning Tree the trap is sent by a bridge soon after its election as the new root e g upon expiration of the T...

Page 848: ...ding 1 alarmIndex 2 alarmVariable 3 alarmSampleType 4 alarmValue 5 alarmFallingThreshold LLDP This trap is initialed when a LLDP entry is added to or deleted from remote DB 1 3 6 1 2 1 1 3 0 1 3 6 1 6...

Page 849: ...1 DLINK Required Vendor Type Defines the attribute 2 for ingress bandwidth 3 for egress bandwidth Required Attribute Specific Field Used to assign the bandwidth of a port Unit Kbits Required If the us...

Page 850: ...igured on the RADIUS server is a value out of range 7 it will not be set to the device To assign VLAN by RADIUS Server the proper parameters should be configured on the RADIUS Server To use VLAN assig...

Page 851: ...tication is successful the port will be added to VLAN 3 However if the user does not configure the VLAN attribute and authenticates successfully the port will be kept in its original VLAN If the VLAN...

Page 852: ...s_profile profile_id 6 profile_name 1 ethernet ACL rule config access_profile profile_id 6 add access_id auto_assign ethernet and the 802 1X MAC based Access Control WAC or JWAC authentication is succ...

Reviews: