D-Link DES-3010F Reference 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 thrid edition (may 2006) 651es3026035g printed in taiwan recyclable.

  • Page 3

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

  • Page 5

    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 6

    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 7

    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 8: 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 9

    Des-3000 series layer 2 switch cli reference manual figure 2-1. Console screen after login 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...

  • Page 10

    Des-3000 series layer 2 switch cli reference manual figure 2-3. Example command parameter help in this case, the command show was entered without a parameter. The cli will then prompt you to enter the next possible completions with the message, next possible completions:. Every command in the cli ha...

  • Page 11

    Des-3000 series layer 2 switch cli reference manual all commands in the cli function in this way. In addition, the syntax of the help prompts are the same as presented in this manual − angle brackets indicate a numerical value or character string, braces { } indicate optional parameters or a choice ...

  • Page 12

    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 15

    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 16

    Des-3000 series layer 2 switch cli reference manual show account parameters none. Restrictions only administrator-level users can issue this command. Example usage: to display the accounts that have been created: des-3026:4#show account command: show account current accounts: username access level -...

  • Page 17

    Des-3000 series layer 2 switch cli reference manual 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 -- --------------------------- --------------- -------------- ------- ------------------- *8 2204/01/26 3:36:27 0:0:2...

  • Page 19

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show serial_port command: show serial_port baud rate : 9600 data bits : 8 parity bits : none stop bits : 1 auto-logout : 10 mins des-3026:4# config serial_port purpose used to configure the serial port. Syntax config serial_port {baud_ra...

  • Page 20

    Des-3000 series layer 2 switch cli reference manual enable clipaging purpose used to pause the scrolling of the console screen when the show command displays more than one page. Syntax enable clipaging description this command is used when issuing a command which causes the console screen to rapidly...

  • Page 21

    Des-3000 series layer 2 switch cli reference manual enable telnet description this command is used to enable the telnet protocol on the switch. The user can specify the tcp or udp port number the switch will use to listen for telnet requests. Parameters − the tcp port number. Tcp ports are numbered ...

  • Page 22

    Des-3000 series layer 2 switch cli reference manual to enable http and configure port number: des-3026:4#enable web 80 command: enable web 80 success. Des-3026:4# disable web purpose used to disable the http-based management software on the switch. Syntax disable web description this command disable...

  • Page 23

    Des-3000 series layer 2 switch cli reference manual des-3026:4# 19.

  • Page 24

    Des-3000 series layer 2 switch cli reference manual reboot purpose used to restart the switch. Syntax reboot description this command is used to restart the switch. Parameters none. Restrictions none. Example usage: to restart the switch: des-3026:4#reboot command: reboot are you sure want to procee...

  • Page 25

    Des-3000 series layer 2 switch cli reference manual login purpose used to log in a user to the switch’s console. Syntax login description this command is used to initiate the login procedure. The user will be prompted for his username and password. Parameters none. Restrictions none. Example usage: ...

  • Page 26

    Des-3000 series layer 2 switch cli reference manual ping pinging an ip address without the times parameter will ping the target device an infinite amount of times. Restrictions only administrator-level users can issue this command. Example usage: to ping the ip address 10.48.74.121 four times: des-3...

  • Page 30

    Des-3000 series layer 2 switch cli reference manual example usage: to display error ports: des-3026:4#show ports err_disabled command: show ports err_disabled port port connection status reason state ------ --------- --------------------------- ------------- 15 enabled err-disabled stp lbd desc: por...

  • Page 31: (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 33

    Des-3000 series layer 2 switch cli reference manual create snmp user that will identify the snmp group with which the new snmp user will be associated. Encrypted – allows the user to choose a type of authorization for authentication using snmp. The user may choose: • • • • • by_password – requires t...

  • Page 34

    Des-3000 series layer 2 switch cli reference manual des-3026:4#create snmp user dlink default encrypted by_password auth md5 auth_password priv none command: create snmp user dlink default encrypted by_password auth md5 auth_password priv none success. Des-3026:4# delete snmp user purpose used to re...

  • Page 35

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show snmp user command: show snmp user username group name snmp version auth-protocol privprotocol --------------- --------------- ------------ ------------- ------------ initial initial v3 none none total entries: 1 des-3026:4# create s...

  • Page 36

    Des-3000 series layer 2 switch cli reference manual delete snmp view all − specifies that all of the snmp views on the switch will be deleted. − the object id that identifies an object tree (mib tree) that will be deleted from the switch. Restrictions only administrator-level users can issue this co...

  • Page 37

    Des-3000 series layer 2 switch cli reference manual create snmp community purpose used to create an snmp community string to define the relationship between the snmp manager and an agent. The community string acts like a password to permit access to the agent on the switch. One or more of the follow...

  • Page 38

    Des-3000 series layer 2 switch cli reference manual delete snmp community previously defined snmp community string from the switch. Parameters − an alphanumeric string of up to 32 characters that is used to identify members of an snmp community to delete. This string is used like a password to give ...

  • Page 39

    Des-3000 series layer 2 switch cli reference manual config snmp engineid purpose used to configure a name for the snmp engine on the switch. Syntax config snmp engineid description the config snmp engineid command configures a name for the snmp engine on the switch. Parameters − an alphanumeric stri...

  • Page 40

    Des-3000 series layer 2 switch cli reference manual create snmp group table that maps snmp users to snmp views. Parameters − an alphanumeric name of up to 32 characters that will identify the snmp group with which the new snmp user will be associated. V1 – specifies that snmp version 1 will be used....

  • Page 41

    Des-3000 series layer 2 switch cli reference manual create snmp group − 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. Restrictions only administrator-level users can issue this command. E...

  • Page 42

    Des-3000 series layer 2 switch cli reference manual show snmp groups restrictions none. Example usage: to display the currently configured snmp groups on the switch: des-3026:4#show snmp groups command: show snmp groups vacm access table settings group name : group3 readview name : readview writevie...

  • Page 43

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

  • Page 44

    Des-3000 series layer 2 switch cli reference manual create snmp host encryption − scrambles the contents of messages to prevent it being viewed by an unauthorized source. Noauth_nopriv − specifies that there will be no authorization and no encryption of packets sent between the switch and a remote s...

  • Page 45

    Des-3000 series layer 2 switch cli reference manual create snmp host restrictions only administrator-level users can issue this command. Example usage: to create an snmp host to receive snmp messages: des-3026:4#create snmp host 10.48.74.100 v3 auth_priv public command: create snmp host 10.48.74.100...

  • Page 46

    Des-3000 series layer 2 switch cli reference manual show snmp host parameters − the ip address of a remote snmp manager that will receive snmp traps generated by the switch’s snmp agent. Restrictions none. Example usage: to display the currently configured snmp hosts on the switch: des-3026:4#show s...

  • Page 47

    Des-3000 series layer 2 switch cli reference manual disable rmon on the switch. Parameters none. Restrictions only administrator-level users can issue this command. Example usage: to disable rmon: des-3026:4#disable rmon command: disable rmon success. Des-3026:4# create trusted_host purpose used to ...

  • Page 48

    Des-3000 series layer 2 switch cli reference manual example usage: to display the list of trust hosts: des-3026:4#show trusted_host command: show trusted_host management stations ip address ----------------------- 10.53.13.94 total entries: 1 des-3026:4# delete trusted_host purpose used to delete a ...

  • Page 49

    Des-3000 series layer 2 switch cli reference manual command: enable snmp traps success. Des-3026:4# disable snmp traps purpose used to disable snmp trap support on the switch. Syntax disable snmp traps description this command is used to disable snmp trap support on the switch. Parameters none. Rest...

  • Page 50

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

  • Page 51

    Des-3000 series layer 2 switch cli reference manual config snmp system_contact purpose used to enter the name of a contact person who is responsible for the switch. Syntax config snmp system_contact {} description the config snmp system_contact command is used to enter the name and/or other informat...

  • Page 52

    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 53: 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 54

    Des-3000 series layer 2 switch cli reference manual • if the initial message sent to a mail recipient is not delivered, it will be placed in the waiting queue until its place in the queue has been reached, and then another attempt to transmit the message is made. • the maximum attempts for deliverin...

  • Page 55

    Des-3000 series layer 2 switch cli reference manual disable smtp purpose used to disable the switch as a smtp client. Syntax disable smtp description this command, in conjunction with the enable smtp command will enable and disable the switch as a smtp client without changing configurations. Paramet...

  • Page 56

    Des-3000 series layer 2 switch cli reference manual to configure the smtp settings: des-3026:4#config smtp server 166.99.66.33 server_port 25 add mail receiver darren_tremblett@nhl.Com command: config smtp server 166.99.66.33 server_port 25 add mail receiver darren_tremblett@nhl.Com success. Des-302...

  • Page 57

    Des-3000 series layer 2 switch cli reference manual smtp send_testmsg purpose used to send a test message to mail recipients configured on the switch. Syntax smtp send_testmsg description this command is used to send test messages to all mail recipients configured on the switch, thus testing the con...

  • Page 59

    Des-3000 series layer 2 switch cli reference manual example usage: to download a configuration file: 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....

  • Page 60

    Des-3000 series layer 2 switch cli reference manual example usage: to upload a configuration file: des-3026:4#upload configuration 10.48.74.121 c:\cfg\log.Txt command: upload configuration 10.48.74.121 c:\cfg\log.Txt connecting to server................... Done. Upload configuration....................

  • Page 61

    Des-3000 series layer 2 switch cli reference manual when autoconfig is enabled and the switch is rebooted, the normal login screen will appear for a few moments while the autoconfig request (i.E. Download configuration) is initiated. The console will then display the configuration parameters as they...

  • Page 62

    Des-3000 series layer 2 switch cli reference manual disable autoconfig purpose use this to deactivate autoconfiguration from dhcp. Syntax disable autoconfig description this instructs the switch not to accept autoconfiguration instruction from the dhcp server. This does not change the ip settings of...

  • Page 63

    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 [...

  • Page 64

    Des-3000 series layer 2 switch cli reference manual show packet ports purpose used to display statistics about the packets sent and received by the switch. Syntax show packet ports description this command is used to display statistics about packets sent and received by ports specified in the port l...

  • Page 65

    Des-3000 series layer 2 switch cli reference manual show error ports purpose used to display the error statistics for a range of ports. Syntax show error ports description this command will display all of the packet error statistics collected and logged by the switch for a given port list. Parameter...

  • Page 66

    Des-3000 series layer 2 switch cli reference manual 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 ---- ---------- ---------- ---- ---- ---------- ---------- ---- 1...

  • Page 67

    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 68

    Des-3000 series layer 2 switch cli reference manual show log purpose used to display the switch history log. Syntax show log {index } description this command will display the contents of the switch’s history log. Parameters index − enter a value that corresponds to an entry made in the log. Multipl...

  • Page 69

    Des-3000 series layer 2 switch cli reference manual disable syslog purpose used to disable the system log to be sent to a remote host. Syntax disable syslog description the disable syslog command disables the system log to be sent to a remote host. Parameters none. Restrictions only administrator-le...

  • Page 71

    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 72

    Des-3000 series layer 2 switch cli reference manual to create syslog host: 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 confi...

  • Page 73

    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 74

    Des-3000 series layer 2 switch cli reference manual example usage: to configure a syslog host: 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, tha...

  • Page 75

    Des-3000 series layer 2 switch cli reference manual show syslog host purpose used to display the syslog hosts currently configured on the switch. Syntax show syslog host {} description the show syslog host command is used to display the syslog hosts that are currently configured on the switch. Param...

  • Page 77

    Des-3000 series layer 2 switch cli reference manual show log_save_timing purpose used to display the method currently used for automatic saving of log to syslog host. Syntax show_save_timing description the show log save timeing command will display the current configuration of saving switch logs to...

  • Page 78

    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 81

    Des-3000 series layer 2 switch cli reference manual example usage: to configure stp with path cost 19, priority 15, and state enabled for ports 1-5. 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# ...

  • Page 82

    Des-3000 series layer 2 switch cli reference manual show stp purpose used to display the switch’s current stp configuration. Syntax show stp description this command displays the switch’s current stp configuration. Parameters none. Restrictions none. Example usage: to display the status of stp on th...

  • Page 83

    Des-3000 series layer 2 switch cli reference manual status 2 : stp disabled command: show stp stp status : disabled max age : 20 hello time : 2 forward delay : 15 priority : 32768 default path cost : 802.1t stp version : rstp tx hold count : 3 forwarding bpdu : enabled loopback detection: disabled l...

  • Page 84

    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 85

    Des-3000 series layer 2 switch cli reference manual 11 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 86

    Des-3000 series layer 2 switch cli reference manual create fdb purpose used to create a static entry to the unicast mac address forwarding table (database) syntax create fdb port description this command will make an entry into the switch’s unicast mac address forwarding database. Parameters − the n...

  • Page 87

    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 89

    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 90

    Des-3000 series layer 2 switch cli reference manual delete fdb purpose used to delete an entry to the switch’s forwarding database. Syntax delete fdb description this command is used to delete a previous entry to the switch’s mac address forwarding database. Parameters − the name of the vlan on whic...

  • Page 94

    Des-3000 series layer 2 switch cli reference manual example usage: to display unicast mac address table: des-3026:4#show fdb command: show fdb unicast mac address ageing time = 300 vid vlan name mac address port type ---- ---------------- ----------------- ------ ---------------- 1 default 00-00-39-...

  • Page 96

    Des-3000 series layer 2 switch cli reference manual show multicast filtering_mode purpose used to show the multicast packet filtering. Syntax show multicast filtering_mode description this command will display the current multicast packet filtering mode on the switch. Parameters none. Restrictions n...

  • Page 98

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

  • Page 99: S C

    Des-3000 series layer 2 switch cli reference manual 13 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 103

    Des-3000 series layer 2 switch cli reference manual show dscp_mapping purpose to display current dscp mapping. Syntax show dscp_mapping { dscp_value } description use this to display the cos priority level currently mapped for dscp levels. Parameters dscp_value - specify a dscp value to view the cur...

  • Page 104

    Des-3000 series layer 2 switch cli reference manual config scheduling purpose used to configure traffic scheduling for each of the switch’s qos queues. Syntax config scheduling {weight description the switch contains four hardware priority classes of service per device. The switch’s default settings...

  • Page 105

    Des-3000 series layer 2 switch cli reference manual show scheduling purpose used to display the currently configured traffic scheduling on the switch. Syntax show scheduling description the show scheduling command displays the current configuration for the maximum number of packets (weight) value as...

  • Page 106

    Des-3000 series layer 2 switch cli reference manual config 802.1p user_priority purpose used to map the 802.1p user priority of an incoming packet to one of the four hardware classes of service available on the switch. Syntax config 802.1p user_priority description the config 802.1p user_priority co...

  • Page 107

    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 109

    Des-3000 series layer 2 switch cli reference manual show 802.1p default_priority purpose used to display the currently configured 802.1p priority value that will be assigned to an incoming, untagged packet before being forwarded to its destination. Syntax show 802.1p default_priority {} description ...

  • Page 111

    Des-3000 series layer 2 switch cli reference manual show scheduling_mechanism purpose used to display the current traffic scheduling mechanisms in use on the switch. Syntax show scheduling_mechanism description this command will display the current traffic scheduling mechanism in use on the switch. ...

  • Page 112

    Des-3000 series layer 2 switch cli reference manual example usage: to configure bandwidth control: des-3026:4#config bandwidth_control 1-10 rx_rate 100000 tx_rate 100000 command: config bandwidth_control 1-10 rx_rate 100000 tx_rate 100000 success. Des-3026:4# show bandwidth_control purpose used to d...

  • Page 114

    Des-3000 series layer 2 switch cli reference manual config cos mac_mapping destination_addr purpose used to map the destination mac address of an incoming packet to one of the hardware queues available on the switch. Syntax config cos mac_mapping destination_addr [class ] description use this comman...

  • Page 115

    Des-3000 series layer 2 switch cli reference manual 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 ------------------------------ 01-00-d6-e4-ff-05 3 des-3026:4# config cos tos value purpose use...

  • Page 116

    Des-3000 series layer 2 switch cli reference manual show cos tos purpose used to display the current tos mapping configuration on the switch. Syntax show cos tos { value } description use this command to view tos mappipng for any or all tos priority values. Parameters value - specifies a tos value i...

  • Page 117

    Des-3000 series layer 2 switch cli reference manual 14 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 119

    Des-3000 series layer 2 switch cli reference manual show traffic_segmentation purpose used to display the current traffic segmentation configuration on the switch. Syntax show traffic_segmentation description the show traffic_segmentation command is used to display the current traffic segmentation c...

  • Page 121

    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 122

    Des-3000 series layer 2 switch cli reference manual example usage: to display mirroring configuration: des-3026:4#show mirror command: show mirror current settings mirror status : enable target port : 2 mirrored port rx : tx : des-3026:4# 118.

  • Page 125

    Des-3000 series layer 2 switch cli reference manual example usage: to display the switch’s current vlan settings: des-3026:4#show vlan command: show vlan vid : 1 vlan name : default vlan type : static member ports : 1-26 static ports : 1-26 untagged ports : 1-26 total entries : 1 des-3026:4# 121.

  • Page 128

    Des-3000 series layer 2 switch cli reference manual example usage: to delete link aggregation group: des-3026:4#delete link_aggregation group_id 1 command: delete link_aggregation group_id 1 success. Des-3026:4# config link_aggregation purpose used to configure a previously created link aggregation ...

  • Page 132

    Des-3000 series layer 2 switch cli reference manual show lacp_port purpose used to display current lacp port mode settings. Syntax show lacp_port {} description this command will display the lacp mode settings as they are currently configured. Parameters - specifies a range of ports that will be vie...

  • Page 134

    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 135: Ip-Mac B

    Des-3000 series layer 2 switch cli reference manual 17 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 141: Mac N

    Des-3000 series layer 2 switch cli reference manual 18 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 142

    Des-3000 series layer 2 switch cli reference manual enable mac_notification purpose used to enable global mac address table notification on the switch. Syntax enable mac_notification description this command is used to enable mac address notification without changing configuration. Parameters none. ...

  • Page 144

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

  • Page 145

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

  • Page 148

    Des-3000 series layer 2 switch cli reference manual config igmp_snooping querier purpose used to configure the time in seconds between general query transmissions, the maximum time in seconds to wait for reports from members and the permitted packet loss that guarantees igmp snooping. Syntax config ...

  • Page 150

    Des-3000 series layer 2 switch cli reference manual enable igmp_snooping purpose used to enable igmp snooping on the switch. Syntax enable igmp_snooping {forward_mcrouter_only} description this command allows you to enable igmp snooping on the switch. If forward_mcrouter_only is specified, the switc...

  • Page 151

    Des-3000 series layer 2 switch cli reference manual show igmp_snooping purpose used to show the current status of igmp snooping on the switch. Syntax show igmp_snooping {vlan } description this command will display the current igmp snooping configuration on the switch. Parameters − the name of the v...

  • Page 152

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show igmp_snooping group command: show igmp_snooping group vlan name : default multicast group: 224.0.0.2 mac address : 01-00-5e-00-00-02 reports : 1 port member : 3,4 total entries : 1 des-3026:4# show router_ports purpose used to displ...

  • Page 153: Cpu Acl F

    Des-3000 series layer 2 switch cli reference manual 20 cpu acl f iltering c ommands the des-30xx implement 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. Access profile...

  • Page 155

    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 156

    Des-3000 series layer 2 switch cli reference manual create cpu access_profile ip − specifies that the switch will examine the ip address in each frame’s header. • destination_ip_mask − specifies an ip address mask for the destination ip address. • type − specifies that the switch will examine each f...

  • Page 157

    Des-3000 series layer 2 switch cli reference manual create cpu access_profile restrictions • packet_content_mask – specifies that the switch will mask the packet header beginning with the offset value specified as follows: • offset_0-15 - enter a value in hex form to mask the packet from byte 0 to b...

  • Page 158

    Des-3000 series layer 2 switch cli reference manual delete cpu access_profile purpose used to delete a previously created access profile or cpu access profile. Syntax delete cpu access_profile profile_id description the delete cpu access_profile command is used to delete a previously created cpu acc...

  • Page 159

    Des-3000 series layer 2 switch cli reference manual config cpu access_profile purpose used to configure a cpu access profile used for cpu interface filtering and to define specific values that will be used to by the switch to determine if a given packet should be forwarded or filtered. Masks entered...

  • Page 160

    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. • vlan − specifies that the access profile will apply to only this vlan. • source_ip − specifies that the access profile will apply to only packet...

  • Page 162

    Des-3000 series layer 2 switch cli reference manual enable cpu_interface_filtering used to enable cpu interface filtering on the switch. Enable cpu_interface_filtering description this command is used, in conjunction with the disable cpu_interface_filtering command below, to enable and disable cpu i...

  • Page 163

    Des-3000 series layer 2 switch cli reference manual show cpu_access_profile purpose used to view the cpu access profile entry currently set in the switch. Syntax show cpu_access_profile {profile_id } description profile_id - the user may select a profile to view the parameters currently set for this...

  • Page 166

    Des-3000 series layer 2 switch cli reference manual show port_security purpose used to display the current port security configuration. Syntax show port_security {ports } description this command is used to display port security information of the switch ports. The information displayed includes por...

  • Page 167

    Des-3000 series layer 2 switch cli reference manual delete port_security_entry_vlan_name purpose used to delete an entry from the switch’s port security settings. Syntax delete port_security_entry vlan_name mac_address port description this command is used to remove an entry from the port security e...

  • Page 168

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

  • Page 169: 802.1X C

    Des-3000 series layer 2 switch cli reference manual 22 802.1x c ommands the des-3026 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 resources by esta...

  • Page 170

    Des-3000 series layer 2 switch cli reference manual 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 server on the switch. Syntax enable 802.1x the enable 802.1x c...

  • Page 172

    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: des-3026:4#show 802.1x auth_state ports 1-5 command: show 802.1x auth_state ports 1-5 port auth pae state backend state port status ------ -------...

  • Page 173

    Des-3000 series layer 2 switch cli reference manual show 802.1x auth_configuration purpose used to display the current configuration of the 802.1x server on the switch. Syntax show 802.1x auth_configuration {ports } description the show 802.1x command is used to display the current configuration of ...

  • Page 174

    Des-3000 series layer 2 switch cli reference manual example usage: command: show 802.1x auth_configuration ports 1 port control : auto to display the 802.1x configurations: des-3026:4#show 802.1x auth_configuration ports 1 802.1x : enabled authentication mode : port_based authentication protocol : r...

  • Page 175

    Des-3000 series layer 2 switch cli reference manual config 802.1x auth_parameter ports purpose used to configure the 802.1x authentication parameters on a range of ports. The default parameter will return all ports in the specified range to their default 802.1x settings. Syntax config 802.1x auth_pa...

  • Page 176

    Des-3000 series layer 2 switch cli reference manual example usage: to configure 802.1x authentication parameters for ports 1 – 20: des-3026:4#config 802.1x auth_parameter ports 1 – 20 direction both command: config 802.1x auth_parameter ports 1 – 20 direction both success. Des-3026:4# config 802.1x ...

  • Page 180

    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 the config radius delete command is used to delete a previously entered radius server configuration. Parameters − assigns a number to ...

  • Page 181

    Des-3000 series layer 2 switch cli reference manual example usage: to configure radius settings: 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 configuration...

  • Page 182

    Des-3000 series layer 2 switch cli reference manual example usage: to create an 802.1x user: 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.1...

  • Page 183

    Des-3000 series layer 2 switch cli reference manual example usage: to delete 802.1x users: 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_clien...

  • Page 184

    Des-3000 series layer 2 switch cli reference manual show radius auth_client purpose used to display the current radius authentication client. Syntax show auth_client description the show auth_client command is used to display the current radius authentication client currently configured on the switc...

  • Page 185

    Des-3000 series layer 2 switch cli reference manual show auth_diagnostics purpose used to display the current authentication diagnostics. Syntax show auth_diagnostics {ports [} description the show auth_diagnostics command is used to display the current authentication diagnostics of the switch on a ...

  • Page 187

    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_statisticscommand is used to display the current authentication statistics of the switch on a per po...

  • Page 188: Sntp

    Des-3000 series layer 2 switch cli reference manual 23 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 190

    Des-3000 series layer 2 switch cli reference manual show sntp purpose used to display the sntp information. Syntax show sntp description this command will display sntp settings information including the source ip address, time and poll interval. Parameters none. Restrictions none. Example usage: to ...

  • Page 191

    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 195

    Des-3000 series layer 2 switch cli reference manual example usage: to configure daylight savings time on the switch: des-3026:4# config dst repeating s_week 2 s_wday tue s_mth 4 s_time 15:00 e_week 2 e_wday wed e_mth 10 e_time 15:30 offset 30 command: config dst repeating s_week 2 s_wday tue s_mth 4...

  • Page 196

    Des-3000 series layer 2 switch cli reference manual 24 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 197

    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 used to display the switch’s current ip routing table. Syntax show iproute {} {static} description this command will displ...

  • Page 199

    Des-3000 series layer 2 switch cli reference manual des-3026:4#show arpentry command: show arpentry arp aging time : 20 interface ip address mac address type ------------- --------------- ----------------- --------------- system 10.0.0.0 ff-ff-ff-ff-ff-ff local/broadcast system 10.1.1.169 00-50-ba-7...

  • Page 200

    Des-3000 series layer 2 switch cli reference manual clear arptable purpose used to remove all dynamic arp table entries. Syntax clear arptable description this command is used to remove dynamic arp table entries from the switch’s arp table. Static arp table entries are not affected. Parameters none....

  • Page 201: D-L

    Des-3000 series layer 2 switch cli reference manual 26 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 202

    Des-3000 series layer 2 switch cli reference manual after configuring one switch to operate as the cs of a sim group, additional switches may join the group by manually configuring the switch to be a ms. The cs will then serve as the in band entry point for access to the ms. The cs’s ip address will...

  • Page 203

    Des-3000 series layer 2 switch cli reference manual enable sim used to enable single ip management (sim) on the switch syntax enable sim description this command will enable sim globally on the switch. Sim features and functions will not function properly unless this function is enabled. Parameters ...

  • Page 205

    Des-3000 series layer 2 switch cli reference manual example usage: to show the sim information in detail: des-3026:4#show sim command: show sim device name : platform : des-3026 l2 switch sim version : ver-1.61 firmware version : build 2.00.020 mac address : 00-35-26-11-11-00 capabilities : l3 sim s...

  • Page 206

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

  • Page 207

    Des-3000 series layer 2 switch cli reference manual example usage: to view sim neighbors: des-3026:4#show sim neighbor command: show sim neighbor neighbor info table ------ ------------------ --------- port mac address role 23 00-35-26-00-11-99 commander 23 00-35-26-00-11-91 member 24 00-35-26-00-11...

  • Page 210

    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 211

    Des-3000 series layer 2 switch cli reference manual example usage: to download firmware: des-3026:4#download sim_ms firmware 10.53.13.94 c:/dgssri.Had members all command: download sim_ms firmware 10.53.13.94 c:/dgssri.Had members all 2 00-07-06-05-04-03 success this device is updating firmware. Ple...

  • Page 212

    Des-3000 series layer 2 switch cli reference manual upload sim_ms member or members by adding one of the following: restrictions only administrator-level users can issue this command. • - enter a value, or values to specify which members of the sim group from which log or configuration files will be...

  • Page 213

    Des-3000 series layer 2 switch cli reference manual 27 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 215

    Des-3000 series layer 2 switch cli reference manual example usage to display all of the commands: des-3026:4#dir command: dir .. ? Clear clear arptable clear counters clear fdb clear log clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode...

  • Page 216

    Des-3000 series layer 2 switch cli reference manual a t echnical s pecifications physical and environmental ac input & external redundant power supply 100 – 120; 200 - 240 vac, 50/60 hz (internal universal power supply) power consumption 19 watts maximum operating temperature 0 to 40 degrees celsius...

  • Page 217

    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 218

    Des-3000 series layer 2 switch cli reference manual 214 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...