D-Link DES-3010F Command Line Interface Manual - Cli

Manual is about: Managed 8/16/24-port 10/100Mbps N-Way Fast Ethernet Switch

Summary of DES-3010F

  • Page 1

    Des-3010f/des-3010fl/des-3010g/des-3018/des-3026 managed 8/16/24-port 10/100mbps n-way fast ethernet switch command line interface reference manual fourth edition (may 2007) 651es3026045g printed in taiwan recyclable.

  • Page 2

    Table of contents introduction ...................................................................................................................................................................................... 1 using the console cli..................................................................

  • Page 3

    Des-3000 series layer 2 switch cli reference manual 1 i ntroduction this document is a reference guide for all des-3010f/des-3010fl/des-3010g/des-3018/des-3026 switches. Throughout this manual, the des-3026 switch will be the switch referred to for all examples and configuration information. All des...

  • Page 4

    Des-3000 series layer 2 switch cli reference manual setting the switch’s ip address each switch must be assigned its own ip address, which is used for communication with an snmp network manager or other tcp/ip application (for example bootp, tftp). The switch’s default ip address is 10.90.90.90. The...

  • Page 5

    Des-3000 series layer 2 switch cli reference manual figure 1-3. Assigning an ip address in the above example, the switch was assigned an ip address of 10.53.13.33 with a subnet mask of 255.0.0.0 (8 in cidr from). The system message success indicates that the command was executed successfully. The sw...

  • Page 6: Cli

    Des-3000 series layer 2 switch cli reference manual 2 u sing the c onsole cli the des-3026 supports a console management interface that allows the user to connect to the switch’s management agent via a serial port and a terminal or a computer running a terminal emulation program. The console can als...

  • Page 7

    Des-3000 series layer 2 switch cli reference manual commands are entered at the command prompt, des-3026:4# . There are a number of helpful features included in the cli. Entering the ? Command will display a list of all of the top-level commands. Figure 2-2. The ? Command the dir command has the sam...

  • Page 8

    Des-3000 series layer 2 switch cli reference manual figure 2-4. Using the up arrow to re-enter a command in the above example, the command config account was entered without the required parameter , the cli returned the next possible completions: prompt. The up arrow cursor control key was pressed t...

  • Page 9

    Des-3000 series layer 2 switch cli reference manual figure 2-6. Next possible completions: show command in the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the accoun...

  • Page 10

    Des-3000 series layer 2 switch cli reference manual 3 c ommand s yntax the following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the cli and available through the console interface uses the same syntax....

  • Page 13

    Des-3000 series layer 2 switch cli reference manual create account usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters. Example usage: to create an administrator-level user account with the username “dlink”. Des-3026:4#create account admin dlink command: create...

  • Page 14

    Des-3000 series layer 2 switch cli reference manual show account purpose used to display user accounts. Syntax show account description displays all user accounts created on the switch. Up to 8 user accounts can exist on the switch at one time. Parameters none. Restrictions only administrator-level ...

  • Page 15

    Des-3000 series layer 2 switch cli reference manual show session restrictions none. Example usage: to display the way that the users logged in: des-3026:4#show session command: show session id login time live time from level name -- --------------------------- --------------- -------------- ------- ...

  • Page 18

    Des-3000 series layer 2 switch cli reference manual to enable pausing of the screen display when the show command output reaches the end of the page: des-3026:4#enable clipaging command: enable clipaging success. Des-3026:4# disable clipaging purpose used to disable the pausing of the console screen...

  • Page 19

    Des-3000 series layer 2 switch cli reference manual disable telnet purpose used to disable the telnet protocol on the switch. Syntax disable telnet description this command is used to disable the telnet protocol on the switch. Parameters none. Restrictions only administrator-level users can issue th...

  • Page 22

    Des-3000 series layer 2 switch cli reference manual logout purpose used to log out a user from the switch’s console. Syntax logout description this command terminates the current user’s session on the switch’s console. Parameters none. Restrictions none. Example usage: to terminate the current user’...

  • Page 25

    Des-3000 series layer 2 switch cli reference manual example usage: to configure the speed of ports 1-3 to be 10 mbps, full duplex and state enabled: des-3026:4#config ports 1-3 speed 10_full state enable command: config ports 1-3 speed 10_full state enable success. Des-3026:4# show ports purpose use...

  • Page 26

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show ports 1 description command: show ports 1 description port port settings connection address state speed/duplex/flowctrl speed/duplex/flowctrl learning ------ -------- --------------------- --------------------- -------- 1 enabled au...

  • Page 27: (Snmp) C

    Des-3000 series layer 2 switch cli reference manual 6 n etwork m anagement (snmp) c ommands the network management commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The des-3026 supports the simple network management protocol (snm...

  • Page 29

    Des-3000 series layer 2 switch cli reference manual create snmp user specifying the key in hex form below. This method is not recommended. Auth - the user may also choose the type of authentication algorithms used to authenticate the snmp user. The choices are: • • • md5 − specifies that the hmac-md...

  • Page 30

    Des-3000 series layer 2 switch cli reference manual delete snmp user purpose used to remove an snmp user from an snmp group and also to delete the associated snmp group. Syntax delete snmp user description the delete snmp user command removes an snmp user from its snmp group and then deletes the ass...

  • Page 31

    Des-3000 series layer 2 switch cli reference manual create snmp view parameters − an alphanumeric string of up to 32 characters that identifies the snmp view that will be created. − the object id that identifies an object tree (mib tree) that will be included or excluded from access by an snmp manag...

  • Page 32

    Des-3000 series layer 2 switch cli reference manual show snmp view created on the switch. Parameters − an alphanumeric string of up to 32 characters that identifies the snmp view that will be displayed. Restrictions none. Example usage: to display snmp view configuration: des-3026:4#show snmp view c...

  • Page 33

    Des-3000 series layer 2 switch cli reference manual create snmp community is used to identify the group of mib objects that a remote snmp manager is allowed to access on the switch. Read_only − specifies that snmp community members using the community string created with this command can only read t...

  • Page 34

    Des-3000 series layer 2 switch cli reference manual show snmp community snmp managers access to mib objects in the switch’s snmp agent. Restrictions none. Example usage: to display the currently entered snmp community strings: des-3026:4#show snmp community command: show snmp community snmp communit...

  • Page 35

    Des-3000 series layer 2 switch cli reference manual example usage: to display the current name of the snmp engine on the switch: des-3026:4#show snmp engineid command: show snmp engineid snmp engine id : 0035636666 des-3026:4# create snmp group purpose used to create a new snmp group, or a table tha...

  • Page 36

    Des-3000 series layer 2 switch cli reference manual create snmp group request snmp messages. − an alphanumeric string of up to 32 characters that is used to identify the group of mib objects that a remote snmp manager is allowed to access on the switch. Write_view – specifies that the snmp group bei...

  • Page 37

    Des-3000 series layer 2 switch cli reference manual show snmp groups purpose used to display the group-names of snmp groups currently configured on the switch. The security model, level, and status of each group are also displayed. Syntax show snmp groups description the show snmp groups command dis...

  • Page 38

    Des-3000 series layer 2 switch cli reference manual group name : readgroup readview name : communityview writeview name : notify view name : communityview security model : snmpv1 security level : noauthnopriv group name : readgroup readview name : communityview writeview name : notify view name : co...

  • Page 39

    Des-3000 series layer 2 switch cli reference manual create snmp host authentication − determines if an snmp message is from a valid source. Encryption − scrambles the contents of messages to prevent it being viewed by an unauthorized source. Noauth_nopriv − specifies that there will be no authorizat...

  • Page 40

    Des-3000 series layer 2 switch cli reference manual show snmp host purpose used to display the recipient of snmp traps generated by the switch’s snmp agent. Syntax show snmp host {} description the show snmp host command is used to display the ip addresses and configuration information of remote snm...

  • Page 41

    Des-3000 series layer 2 switch cli reference manual disable rmon purpose used to disable rmon on the switch. Syntax disable rmon description this command is used, in conjunction with the enable rmon command above, to enable and disable remote monitoring (rmon) on the switch. Parameters none. Restric...

  • Page 42

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create trusted_host network 11.0.0.0/8 command: create trusted_host network 11.0.0.0/8 success. Des-3026:4# show trusted_host purpose used to display a list of trusted hosts entered on the switch using the create trusted_host command abo...

  • Page 43

    Des-3000 series layer 2 switch cli reference manual des-3026:4#delete trusted_host 10.48.74.121 command: delete trusted_host 10.48.74.121 success. Des-3026:4# enable snmp traps purpose used to enable snmp trap support. Syntax enable snmp traps description the enable snmp traps command is used to ena...

  • Page 44

    Des-3000 series layer 2 switch cli reference manual enable snmp authenticate trap description this command is used to enable snmp authentication trap support on the switch. Parameters none. Restrictions only administrator-level users can issue this command. Example usage: to turn on snmp authenticat...

  • Page 45

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show snmp traps command: show snmp traps snmp trap : enabled authenticate traps : enabled des-3026:4# config snmp system_contact purpose used to enter the name of a contact person who is responsible for the switch. Syntax config snmp sys...

  • Page 46

    Des-3000 series layer 2 switch cli reference manual config snmp system_name purpose used to configure the name for the switch. Syntax config snmp system_name {} description the config snmp system_name command configures the name of the switch. Parameters - a maximum of 255 characters is allowed. A n...

  • Page 47: Smtp

    Des-3000 series layer 2 switch cli reference manual 7 smtp c ommands smtp or simple mail transfer protocol is a function of the switch that will send switch events to mail recipients based on e-mail addresses entered using the commands below. The switch is to be configured as a client of smtp while ...

  • Page 48

    Des-3000 series layer 2 switch cli reference manual • the maximum attempts for delivering mail to recipients is three. Mail message delivery attempts will be tried every five minutes until the maximum number of attempts is reached. Once reached and the message has not been successfully delivered, th...

  • Page 50

    Des-3000 series layer 2 switch cli reference manual show smtp purpose used to view configured parameters for the smtp function on the switch. Syntax show smtp description this command will display parameters configured for smtp on the switch, including server information, mail recipients and the cur...

  • Page 51

    Des-3000 series layer 2 switch cli reference manual des-3026:4# smtp send_testmsg command: smtp send_testmsg subject: this is a smtp test. Content: hello everybody!! Sending mail, please wait… success. Des-3026:4# 49.

  • Page 53

    Des-3000 series layer 2 switch cli reference manual des-3026:4#download configuration 10.48.74.121 c:\cfg\setting.Txt command: download configuration 10.48.74.121 c:\cfg\setting.Txt connecting to server................... Done. Download configuration............. Done. Des-3026:4# upload purpose use...

  • Page 54

    Des-3000 series layer 2 switch cli reference manual enable autoconfig purpose used to activate the autoconfiguration function for the switch. This will load a previously saved configuration file for current use. Syntax enable autoconfig description when autoconfig is enabled on the switch, the dhcp ...

  • Page 55

    Des-3000 series layer 2 switch cli reference manual des-3026 fast ethernet switch command line interface firmware: build 2.00.016 copyright(c) 2004-2007 d-link corporation. All rights reserved. Username: password: des-3026:4# des-3026:4##route des-3026:4# des-3026:4# des-3026:4#create iproute defaul...

  • Page 56

    Des-3000 series layer 2 switch cli reference manual show autoconfig purpose used to display the current autoconfig status of the switch. Syntax show autoconfig description this will list the current status of the autoconfiguration function. Parameters none. Restrictions none. Example usage: to show ...

  • Page 57

    Des-3000 series layer 2 switch cli reference manual 9 n etwork m onitoring c ommands the network monitoring commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters show packet ports show error ports show utilization c...

  • Page 58

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show packet ports 7 command: show packet ports 7 port number : 7 a b frame size frame counts frames/sec frame type total total/sec ------------ ------------ ---------- ---------- ------- --------- 64 3275 10 rx bytes 408973 1657 65-127 7...

  • Page 59

    Des-3000 series layer 2 switch cli reference manual show utilization ports restrictions none. Example usage: to display the port utilization statistics: des-3026:4#show utilization ports 1-26 command: show utilization ports 1-26 port tx/sec rx/sec util port tx/sec rx/sec util ---- ---------- -------...

  • Page 60

    Des-3000 series layer 2 switch cli reference manual clear counters purpose used to clear the switch’s statistics counters. Syntax clear counters [ports ] description this command will clear the counters used by the switch to compile statistics. Parameters − specifies a port or range of ports to be c...

  • Page 61

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show log index 1-4 command: show log index 1-4 index time log text ----- ---------- --------------------------------------------------------------- 4 2005/12/22 03:03:58 successful login through console (username: anonymous, ip:0.0.0.0, ...

  • Page 62

    Des-3000 series layer 2 switch cli reference manual show syslog purpose used to display the syslog protocol status as enabled or disabled. Syntax show syslog description the show syslog command displays the syslog status as enabled or disabled. Parameters none. Restrictions none. Example usage: to d...

  • Page 63

    Des-3000 series layer 2 switch cli reference manual create syslog host parameters numerical facility code 0 kernel messages 1 user-level messages 2 mail system 3 system daemons 4 security/authorization messages 5 messages generated internally by syslog 6 line printer subsystem 7 network news subsyst...

  • Page 64

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 command: create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 success. Des-3026:4# config syslog host purpose used to configure the syslog protoco...

  • Page 65

    Des-3000 series layer 2 switch cli reference manual config syslog host parameters numerical facility code 0 kernel messages 1 user-level messages 2 mail system 3 system daemons 4 security/authorization messages 5 messages generated internally by syslog 6 line printer subsystem 7 network news subsyst...

  • Page 66

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config syslog host all severity all facility local0 command: config syslog host all severity all facility local0 success. Des-3026:4# delete syslog host purpose used to remove a syslog host, that has been previously configured, from the ...

  • Page 67

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show syslog host command: show syslog host syslog global state: disabled host id host ip address severity facility udp port status ------- --------------- -------------- -------- -------- -------- 1 10.1.1.2 all local0 514 disabled 2 10....

  • Page 68

    Des-3000 series layer 2 switch cli reference manual to configure log timing: des-3026:4#show log_save_timing command: show log_save_timing saving log method : on_demand des-3026:4# 66.

  • Page 69

    Des-3000 series layer 2 switch cli reference manual 10 s panning t ree c ommands the switch supports 802.1d stp and 802.1w rapid stp. The spanning tree commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config st...

  • Page 71

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config stp ports 1-5 cost 19 priority 15 state enabled command: config stp ports 1-5 cost 19 priority 15 state enabled success. Des-3026:4# enable stp purpose used to globally enable stp on the switch. Syntax enable stp description this ...

  • Page 72

    Des-3000 series layer 2 switch cli reference manual show stp restrictions none. Example usage: to display the status of stp on the switch: status 1: stp enabled with stp compatible version des-3026:4#show stp command: show stp stp status : enabled max age : 20 hello time : 2 forward delay : 15 prior...

  • Page 73

    Des-3000 series layer 2 switch cli reference manual show stp ports purpose used to display the switch’s current per-port group stp configuration. Syntax show stp ports description this command displays the switch’s current per-port group stp configuration. Parameters − specifies a port or range of p...

  • Page 74

    Des-3000 series layer 2 switch cli reference manual 11 l oopback d etection c ommands the loopback detection commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable loopdetect disable loopdetect config loopdete...

  • Page 76

    Des-3000 series layer 2 switch cli reference manual show loopdetect purpose used to display the loopback detection function parameters set on the switch. Syntax show loopdetect description this command will display the loopdetect settings currently set on the switch. Parameters none. Restrictions no...

  • Page 77

    Des-3000 series layer 2 switch cli reference manual show loopdetect ports purpose used to display the loopback detection port settings on the switch. Syntax show loopdetect ports {} description this command will display the loopdetect port settings currently set on the switch. Parameters - enter a p...

  • Page 78

    Des-3000 series layer 2 switch cli reference manual 12 f orwarding d atabase c ommands the layer 2 forwarding database commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create fdb port create multicast_fdb confi...

  • Page 79

    Des-3000 series layer 2 switch cli reference manual create multicast_fdb purpose used to create a static entry to the multicast mac address forwarding table (database). Syntax create multicast_fdb description this command will make an entry into the switch’s multicast mac address forwarding database...

  • Page 80

    Des-3000 series layer 2 switch cli reference manual config fdb aging_time purpose used to set the aging time of the forwarding database. Syntax config fdb aging_time description the aging time affects the learning process of the switch. Dynamic forwarding table entries, which are made up of the sour...

  • Page 84

    Des-3000 series layer 2 switch cli reference manual 13 t raffic c ontrol c ommands on a computer network, packets such as multicast packets and broadcast packets continually flood the network as normal procedure. At times, this traffic may increase do to a malicious endstation on the network or a ma...

  • Page 85

    Des-3000 series layer 2 switch cli reference manual config traffic control issue is resolved. • shutdown - utilizes the switch’s software traffic control mechanism to determine the packet storm occurring. Once detected, the port will deny all incoming traffic to the port except stp bpdu packets, whi...

  • Page 87

    Des-3000 series layer 2 switch cli reference manual show traffic control purpose used to display current traffic control settings. Syntax show traffic control {} description this command displays the current storm traffic control configuration on the switch. Parameters - specify a port or range of p...

  • Page 88: S C

    Des-3000 series layer 2 switch cli reference manual 14 q o s c ommands the des-3000 series switch supports priority classification for ieee 802.1p priority, diffserv (dscp) and ip tos priority. Incoming packets with piority tags are classified into 4 priority queues in the switch. Priority may also ...

  • Page 90

    Des-3000 series layer 2 switch cli reference manual config cos mapping • ip - specifies port-based cos mapping on selected ports to be tos or dscp mapping. • tos – specifies cos mapping for type of service (tos) priority. Select the tos value ( value ) and the class ( class ) restrictions only admin...

  • Page 91

    Des-3000 series layer 2 switch cli reference manual example usage: to configure cos mapping for dscp: des-3026:4#config dscp_mapping dscp_value 1 class 0 command: config dscp_mapping dscp_value 1 class 0 success des-3026:4# show dscp_mapping purpose to display current dscp mapping. Syntax show dscp_...

  • Page 92

    Des-3000 series layer 2 switch cli reference manual config scheduling specified. For example, if a value of 5 is specified, then the highest priority class of service (queue 3) will be allowed to transmit 5 packets. Then the next lower priority class of service (queue 2) will be allowed to transmit ...

  • Page 93

    Des-3000 series layer 2 switch cli reference manual des-3026:4# show scheduling command: show scheduling qos output scheduling class id weight --------------- ------------- class-0 1 class-1 2 class-2 4 class-3 15 des-3026:4# config 802.1p user_priority purpose used to map the 802.1p user priority o...

  • Page 94

    Des-3000 series layer 2 switch cli reference manual show 802.1p user_priority purpose used to display the current mapping between an incoming packet’s 802.1p priority value and one of the switch’s four hardware priority classes of service. Syntax show 802.1p user_priority description the show 802.1p...

  • Page 95

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config 802.1p default_priority all 5 command: config 802.1p default_priority all 5 success. Des-3026:4# show 802.1p default_priority purpose used to display the currently configured 802.1p priority value that will be assigned to an incom...

  • Page 96

    Des-3000 series layer 2 switch cli reference manual config scheduling_mechanism contains four hardware priority classes of service. Incoming packets must be mapped to one of these four hardware priority classes of service. This command is used to specify the rotation by which these four hardware pri...

  • Page 98

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show bandwidth_control 1-12 command: show bandwidth_control 1-12 bandwidth control table port rx rate (kbit/sec) tx_rate (kbit/sec) ---- ------------------------ ---------------------- 1 100000 100000 2 100000 100000 3 100000 100000 4 10...

  • Page 99

    Des-3000 series layer 2 switch cli reference manual show cos port_mapping are specified, all ports are listed. Restrictions none. Example usage: to view cos port mapping for a range of ports: 1 2 des-3026:4#show cos port_mapping ports 1-2 command: show cos port_mapping ports 1-2 port priority ---- -...

  • Page 100

    Des-3000 series layer 2 switch cli reference manual show cos mac_mapping mapping entries are listed. Restrictions none. Example usage: to view the current cos mapping for static mac addresses: des-3026:4#show cos mac_mapping command: show cos mac_mapping mac address class ---------------------------...

  • Page 101

    Des-3000 series layer 2 switch cli reference manual example usage: to show the cos to tos mapping. Des-3026:4#show cos tos command: show cos tos tos value class --------------------------- 0 0 1 0 2 0 3 2 4 0 5 0 6 0 7 0 des-3026::4# 99.

  • Page 102

    Des-3000 series layer 2 switch cli reference manual 15 t raffic s egmentation c ommands traffic segmentation allows you to further sub-divide vlans into smaller groups of ports that will help to reduce traffic on the vlan. The vlan rules take precedence, and then the traffic segmentation rules are a...

  • Page 103

    Des-3000 series layer 2 switch cli reference manual show traffic_segmentation restrictions the port lists for segmentation and the forward list must be on the same switch. Example usage: to display the current traffic segmentation configuration on the switch. Des-3026:4#show traffic_segmentation com...

  • Page 105

    Des-3000 series layer 2 switch cli reference manual enable mirror purpose used to enable a previously entered port mirroring configuration. Syntax enable mirror description this command, combined with the disable mirror command below, allows a mirror entry to be enabled on the switch, without modify...

  • Page 106

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show mirror command: show mirror current settings mirror status : enable target port : 2 mirrored port rx : tx : des-3026:4# 104.

  • Page 109

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show vlan command: show vlan vid : 1 vlan name : default vlan type : static member ports : 1-26 static ports : 1-26 tagged ports : untagged ports : 1-26 total entries : 1 des-3026:4# 107.

  • Page 111

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create link_aggregation group_id 1 command: create link_aggregation group_id 1 success. Des-3026:4# delete link_aggregation group_id purpose used to delete a previously configured link aggregation group. Syntax delete link_aggregation gr...

  • Page 112

    Des-3000 series layer 2 switch cli reference manual example usage: to define a load-sharing group of ports, group-id 1,master port 5 of module 1 with group members ports 5-7 plus port 9: des-3026:4#config link_aggregation group_id 1 master_port 5 ports 5-7,9 command: config link_aggregation group_id...

  • Page 113

    Des-3000 series layer 2 switch cli reference manual show link_aggregation ports on the switch (9-10, 17-18, 25-26) and cannot be viewed here. Algorithm − displays the link aggregation algorithm in use on the switch. Restrictions none. Example usage: to display link aggregation configuration: des-302...

  • Page 114

    Des-3000 series layer 2 switch cli reference manual config lacp_ports restrictions only administrator-level users can issue this command. Example usage: to configure lacp port mode settings: des-3026:4#config lacp_port 1-6 mode active command: config lacp_port 1-6 mode active success. Des-3026:4# sh...

  • Page 116

    Des-3000 series layer 2 switch cli reference manual show ipif purpose used to display the configuration of an ip interface on the switch. Syntax show ipif description this command will display the configuration of an ip interface on the switch. Parameters none. Restrictions none. Example usage: to d...

  • Page 117: Ip-Mac B

    Des-3000 series layer 2 switch cli reference manual 20 ip-mac b inding c ommands the ip-mac binding commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create address_binding ip_mac ipaddress mac_address {ports [ ...

  • Page 119

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config address_binding ip_mac ports 2 state enable allow_zeroip enable command: config address_binding ip_mac ports 2 state enable allow_zeroip enable success. Des-3026:4# show address_binding purpose used to display ip-mac address bindi...

  • Page 121

    Des-3000 series layer 2 switch cli reference manual enable address_binding trap_log used to enable the trap log for the ip-mac binding function. Syntax enable address_binding trap_log this command, along with the disable address_binding trap_log will enable and disable the sending of trap log messag...

  • Page 122: Mac N

    Des-3000 series layer 2 switch cli reference manual 21 mac n otification c ommands the mac notification commands in the command line interface (cli) are listed, in the following table, along with their appropriate parameters. Command parameters enable mac_notification disable mac_notification config...

  • Page 124

    Des-3000 series layer 2 switch cli reference manual show mac_notification purpose used to display the switch’s mac address table notification global settings show mac_notification description this command is used to display the switch’s mac address table notification global settings. Parameters none...

  • Page 125

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show mac_notification ports command: show mac_notification ports port # mac address table notification state ------ ----------------------------------------------------- 1 disabled 2 disabled 3 disabled 4 disabled 5 disabled 6 disabled 7...

  • Page 127

    Des-3000 series layer 2 switch cli reference manual to configure the igmp snooping: des-3026:4#config igmp_snooping vlan_name default host_timeout 250 state enable command: config igmp_snooping vlan_name default host_timeout 250 state enable success. Des-3026:4# config igmp_snooping querier purpose ...

  • Page 128

    Des-3000 series layer 2 switch cli reference manual example usage: to configure the igmp snooping: des-3026:4#config igmp_snooping querier vlan_name default query_interval 125 state enable command: config igmp_snooping querier vlan_name default query_interval 125 state enable success. Des-3026:4# co...

  • Page 129

    Des-3000 series layer 2 switch cli reference manual des-3026:4#enable igmp_snooping command: enable igmp_snooping success. Des-3026:4# disable igmp_snooping purpose used to disable igmp snooping on the switch. Syntax disable igmp_snooping description this command disables igmp snooping on the switch...

  • Page 130

    Des-3000 series layer 2 switch cli reference manual leave timer : 2 querier state : disabled multicast fast leave : disabled querier router behavior : non-querier state : disabled total entries: 1 des-3026:4# show igmp_snooping group used to display the current igmp snooping group configuration on t...

  • Page 131

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show router_ports command: show router_ports vlan name : default static router port : 1-10 dynamic router port : total entries: 1 des-3026:4# 129.

  • Page 132: Cpu Acl F

    Des-3000 series layer 2 switch cli reference manual 23 cpu acl f iltering c ommands the des-3000 switch series implements access control lists for the cpu that enable the switch to deny network access to specific devices or device groups based on ip settings, mac address and packet content settings....

  • Page 134

    Des-3000 series layer 2 switch cli reference manual create cpu access_profile purpose used to create an access profile specifically for cpu interface filtering on the switch and to define which parts of each incoming frame’s header the switch will examine. Masks can be entered that will be combined ...

  • Page 135

    Des-3000 series layer 2 switch cli reference manual create cpu access_profile restrictions only administrator-level users can issue this command. • tcp − specifies that the switch will examine each frames transport control protocol (tcp) field. • src_port_mask − specifies a tcp port mask for the sou...

  • Page 136

    Des-3000 series layer 2 switch cli reference manual delete cpu access_profile access_profile command. Restrictions only administrator-level users can issue this command. Example usage: to delete the cpu access profile with a profile id of 1: des-3026:4#delete cpu access_profile profile_id 1 command:...

  • Page 137

    Des-3000 series layer 2 switch cli reference manual config cpu access_profile ip − specifies that the switch will look into the ip fields in each packet. Protocol_id − specifies that the switch will examine the protocol field in each packet and if this field contains the value entered here, apply th...

  • Page 139

    Des-3000 series layer 2 switch cli reference manual disable cpu_interface_filtering restrictions only administrator-level users can issue this command. Example usage: to disable rmon: des-3026:4#disable cpu_interface_filtering command: disable cpu_interface_filtering success. Des-3026:4# show cpu_ac...

  • Page 141

    Des-3000 series layer 2 switch cli reference manual to configure the port security: des-3026:4#config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode deleteonreset command: config port_security ports 1-5 admin_state enable max_learning_addr 5 lock_address_mode delete...

  • Page 142

    Des-3000 series layer 2 switch cli reference manual example usage: to delete an entry from the port security list: des-3026:4#delete port_security_entry vlan_name default mac_address 00-0c-6e-73-2b-c9 port 1 command: delete port_security_entry vlan_name default mac_address 00-0c-6e-73-2b-c9 port 1 s...

  • Page 143

    Des-3000 series layer 2 switch cli reference manual disable port_security trap_log purpose used to disable the trap log function for port security. Syntax disable port_security trap_log description this command is used to disable sending trap messages to the switch’s log when a new mac address viola...

  • Page 144: 802.1X C

    Des-3000 series layer 2 switch cli reference manual 25 802.1x c ommands the des-3000 switch series implements the server-side of the ieee 802.1x port-based and mac-based network access control. This mechanism is intended to allow only authorized users, or other network devices, access to network res...

  • Page 145

    Des-3000 series layer 2 switch cli reference manual each command is listed, in detail, in the following sections. Note: the uplink module ports (des-3010f/fl/g ports 9-10, des-3018 ports 17-18, des-3026 ports 25-26) do not support the 802.1x function. Enable 802.1x purpose used to enable the 802.1x ...

  • Page 147

    Des-3000 series layer 2 switch cli reference manual example usage: to display the 802.1x authentication states (stacking disabled) for port-based 802.1x: ------ -------------- ------------- ------------ 3 forceauth success authorized des-3026:4#show 802.1x auth_state ports 1-5 command: show 802.1x a...

  • Page 148

    Des-3000 series layer 2 switch cli reference manual show 802.1x auth_configuration /forceauth/forceunauth − shows the current state of the authenticator pae. Backend state: request/response/fail/idle/initialize − shows the current state of the backend authenticator. Reauthenticate: enabled/disabled ...

  • Page 150

    Des-3000 series layer 2 switch cli reference manual config 802.1x auth_parameter ports force_unauth − forces the authenticator for the port to become unauthorized. Network access will be blocked. Quiet_period − configures the time interval between authentication failure and the start of a new authen...

  • Page 152

    Des-3000 series layer 2 switch cli reference manual config 802.1x reauth mac_address - specifies the mac address of the client to add. Restrictions only administrator-level users can issue this command. Example usage: to configure 802.1x reauthentication for ports 1-18: des-3026:4#config 802.1x reau...

  • Page 153

    Des-3000 series layer 2 switch cli reference manual config radius delete used to delete a previously entered radius server configuration. Syntax config radius delete description the config radius delete command is used to delete a previously entered radius server configuration. Parameters − assigns ...

  • Page 154

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config radius 1 10.48.74.121 key dlink default command: config radius 1 10.48.74.121 key dlink default success. Des-3026:4# show radius purpose used to display the current radius configurations on the switch. Syntax show radius descripti...

  • Page 155

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create 802.1x user dtremblett command: create 802.1x user dtremblett enter a case-sensitive new password:****** enter the new password again for confirmation:****** success. Des-3026:4# show 802.1x user purpose used to display the 802.1x...

  • Page 156

    Des-3000 series layer 2 switch cli reference manual des-3026:4#delete 802.1x user dtremblett command: delete 802.1x user dtremblett success. Des-3026:4# show radius acct_client purpose used to display the current radius accounting client. Syntax show acct_client description the show acct_client comm...

  • Page 157

    Des-3000 series layer 2 switch cli reference manual to view the current radius authentication client: des-3026:4#show auth_client command: show auth_client radiusauthclient ==> radiusauthclientinvalidserveraddresses 0 radiusauthclientidentifier d-link radiusauthserverentry ==> radiusauthserverindex ...

  • Page 158

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show auth_diagnostics ports 1 command: show auth_diagnostics ports 1 port number : 1 entersconnecting 0 eaplogoffswhileconnecting 0 entersauthenticating 0 successwhileauthenticating 0 timeoutswhileauthenticating 0 failwhileauthenticating...

  • Page 159

    Des-3000 series layer 2 switch cli reference manual show auth_statistics purpose used to display the current authentication statistics. Syntax show auth_statistics {ports ]} description the show auth_statistics command is used to display the current authentication statistics of the switch on a per p...

  • Page 160

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create 802.1x guest_vlan trinity command: create 802.1x guest_vlan trinity success. Des-3026:4# config 802.1x guest_vlan ports purpose used to configure ports for a pre-existing 802.1x guest vlan. Syntax config 802.1x guest_vlan ports [ ...

  • Page 161

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show 802.1x guest_vlan command: show 802.1x guest_vlan guest vlan setting ----------------------------------------------------------- guest vlan : trinity enable guest vlan ports: 5-8 des-3026:4# delete 802.1x guest_vlan purpose used to ...

  • Page 162: Sntp

    Des-3000 series layer 2 switch cli reference manual 26 t ime and sntp c ommands the simple network time protocol (sntp) (an adaptation of the network time protocol (ntp)) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command p...

  • Page 163

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 success. Des-3026:4# show sntp purpose used to display the sntp information. Syntax show sntp desc...

  • Page 164

    Des-3000 series layer 2 switch cli reference manual disable sntp purpose disables sntp server support. Syntax disable sntp description this will disable sntp support. Sntp service must be separately configured (see config sntp ). Parameters none. Restrictions only administrator-level users can issue...

  • Page 165

    Des-3000 series layer 2 switch cli reference manual config time_zone parameters operator – choose to add (+) or subtract (-) time to adjust for time zone relative to gmt. Hour – select the number hours offset from gmt (greenwich mean time). Min – select the number of minutes difference added or subt...

  • Page 166

    Des-3000 series layer 2 switch cli reference manual config dst e_wday - configure the day of the week in which dst ends. • - the day of the week in which dst ends expressed using a three character abbreviation (sun, mon, tue, wed, thu, fri, sat) • • • - time is expressed using a 24-hour clock, in ho...

  • Page 167

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show time command: show time time zone : gmt -06:00 repeating from : apr 1st sun 00:00 current time source : system clock current time : 0 days 01:09:49 daylight saving time : disabled offset in minutes : 60 to : oct last sun 00:00 annua...

  • Page 168

    Des-3000 series layer 2 switch cli reference manual 27 r outing t able c ommands the routing table commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create iproute [default] {} delete iproute [default] show ipro...

  • Page 169

    Des-3000 series layer 2 switch cli reference manual des-3026:4#delete iproute default 10.53.13.254 command: delete iproute default 10.53.13.254 success. Des-3026:4# show iproute purpose used to display the switch’s current ip routing table. Syntax show iproute {} {static} description this command wi...

  • Page 171

    Des-3000 series layer 2 switch cli reference manual system 10.90.90.90 00-01-02-03-04-00 local system 10.255.255.255 ff-ff-ff-ff-ff-ff local/broadcast des-3026:4# total entries = 20 config arp_aging time purpose used to configure the age-out timer for arp table entries on the switch. Syntax config a...

  • Page 172: D-L

    Des-3000 series layer 2 switch cli reference manual 29 d-l ink s ingle ip m anagement c ommands simply put, d-link single ip management is a concept that will stack switches together over ethernet instead of using stacking ports or modules. Switches using single ip management (labeled here as sim) m...

  • Page 173

    Des-3000 series layer 2 switch cli reference manual with sim enabled, the applications in the cs will redirect the packet instead of executing the packets. The applications will decode the packet from the administrator, modify some data, then send it to the ms. After execution, the cs may receive a ...

  • Page 174

    Des-3000 series layer 2 switch cli reference manual disable sim purpose used to disable single ip management (sim) on the switch. Syntax disable sim description this command will disable sim globally on the switch. Parameters none. Restrictions only administrator-level users can issue this command. ...

  • Page 175

    Des-3000 series layer 2 switch cli reference manual show sim • port – displays the physical port number of the commander switch where the uplink to the neighbor switch is located. • mac address – displays the mac address of the neighbor switch. • role – displays the role (cs, cas, ms) of the neighbo...

  • Page 176

    Des-3000 series layer 2 switch cli reference manual to show other groups information in summary, if group is specified: des-3026:4#show sim group command: show sim group sim group name : default id mac address platform / hold firmware device name capability time version --- ----------------- -------...

  • Page 177

    Des-3000 series layer 2 switch cli reference manual reconfig restrictions only administrator-level users can issue this command. Example usage: to connect to the ms, with member id 2, through the cs, using the command line interface: des-3026:4#reconfig member_id 2 command: reconfig member_id 2 des-...

  • Page 179

    Des-3000 series layer 2 switch cli reference manual des-3026:4#config sim candidate command: config sim candidate success. Des-3026:4# to transfer the switch to be a commander: des-3026:4#config sim commander command: config sim commander success. Des-3026:4# to update the name of a group: des-3026:...

  • Page 180

    Des-3000 series layer 2 switch cli reference manual des-3026:4#download sim_ms firmware 10.53.13.94 c:/des3000.Had members all command: download sim_ms firmware 10.53.13.94 c:/des3000.Had members all this device is updating firmware. Please wait... Download status : id mac address result --- -------...

  • Page 182

    Des-3000 series layer 2 switch cli reference manual 30 c ommand h istory l ist the command history list commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters ? {} show command_history dir config command_history each...

  • Page 184

    Des-3000 series layer 2 switch cli reference manual des-3026:4#dir command: dir .. ? Clear clear arptable clear counters clear fdb clear log config 802.1x capability ports clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode config 802.1x ...

  • Page 185

    Des-3000 series layer 2 switch cli reference manual a t echnical s pecifications physical and environmental ac input 100 –240 vac, 50/60 hz (internal universal power supply) power consumption: des-3010fl – 14.8w des-3010f – 15w des-3010g – 14.8w des-3018 – 15.2w des-3026 – 17w operating temperature:...

  • Page 186

    Des-3000 series layer 2 switch cli reference manual general standards ieee 802.3 10base-t ethernet ieee 802.3u 100base-tx fast ethernet ieee 802.3z 1000base-sx gigabit ethernet ieee 802.3ab 1000base-t gigabit ethernet ieee 802.1 d/w spanning tree ieee 802.1 p/q vlan ieee 802.3x full-duplex flow cont...

  • Page 187

    Des-3000 series layer 2 switch cli reference manual 185 performance transmission method store-and-forward ram buffer 32m bytes per device filtering address table: 8k mac address per device packet filtering / forwarding rate: 14,880 pps per 10mbps 148,809 pps per 100mbps 1,488,100 pps per 1000mbps ma...