D-Link 3010G Command Line Interface Reference Manual - Cli

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

Summary of 3010G

  • Page 1

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

  • Page 2

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

  • Page 3

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 1 i ntroduction this document is a reference guide for all des-3010f/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 inf...

  • Page 4

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual there is no initial username or password. Just press the enter key twice to display the cli input cursor − des-3026:4#.This is the command line where all commands are input. Setting the switch’s ip address each switch mu...

  • Page 5

    Des-3010f / des-3010g / des-3018 / des-3026 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.111 with a subnet mask of 255.0.0.0 (8 in cidr from). The system message success indicates that the command was ...

  • Page 6: Cli

    Des-3010f / des-3010g / des-3018 / des-3026 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 ...

  • Page 7

    Des-3010f / des-3010g / des-3018 / des-3026 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-lev...

  • Page 8

    Des-3010f / des-3010g / des-3018 / des-3026 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:....

  • Page 9

    Des-3010f / des-3010g / des-3018 / des-3026 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 opti...

  • Page 10

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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 account parameter. The cli the...

  • Page 11

    Des-3010f / des-3010g / des-3018 / des-3026 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 int...

  • Page 14

    Des-3010f / des-3010g / des-3018 / des-3026 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...

  • Page 15

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to display the accounts that have been created: des-3026:4#show account command: show account current accounts: username access level --------------- ------------ dlink admin total entries: 1 des-3026:4# d...

  • Page 16

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show session purpose used to display a list of currently logged-in users. Syntax show session description this command displays a list of all the users that are logged-in at the time the command is issued. Parameters non...

  • Page 18

    Des-3010f / des-3010g / des-3018 / des-3026 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...

  • Page 19

    Des-3010f / des-3010g / des-3018 / des-3026 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 t...

  • Page 20

    Des-3010f / des-3010g / des-3018 / des-3026 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 num...

  • Page 21

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual enable web are numbered between 1 and 65535. The “well-known” port for the web-based management software is 80. Restrictions only administrator-level users can issue this command. Example usage: to enable http and config...

  • Page 22

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual to save the switch’s current configuration to non-volatile ram: des-3026:4#save command: save saving all configurations to nv-ram... Done. Des-3026:4# reboot purpose used to restart the switch. Syntax reboot description ...

  • Page 23

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#reset config command: reset config success. Des-3026:4# 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...

  • Page 24

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual ping purpose used to test the connectivity between network devices. Syntax ping {times } {timeout } description the ping command sends internet control message protocol (icmp) echo messages to a remote ip address. The re...

  • Page 26

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config ports description - enter an alphanumeric string of no more than 32 characters to describe a selected port interface. Clear – enter this command to clear the port description of the selected port(s). Restrictions ...

  • Page 27

    Des-3010f / des-3010g / des-3018 / des-3026 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 ------ -------- --------------------- ---------------...

  • Page 28: (Snmp) C

    Des-3010f / des-3010g / des-3018 / des-3026 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 netw...

  • Page 30

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create snmp user associated with. Encrypted – allows the user to choose a type of authorization for authentication using snmp. The user may choose: • • • • • by_password – requires the snmp user to enter a password for a...

  • Page 31

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create snmp user none – adding this parameter will add no encryption. Restrictions only administrator-level users can issue this command. Example usage: to create an snmp user on the switch: des-3026:4#create snmp user d...

  • Page 32

    Des-3010f / des-3010g / des-3018 / des-3026 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 ent...

  • Page 34

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#show snmp view command: show snmp view vacm view table settings view name subtree view type -------------------- ------------------------- ---------- readview 1 included writeview 1 included notifyview 1.3.6 i...

  • Page 35

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create snmp community to the contents of the mibs on the switch. Restrictions only administrator-level users can issue this command. Example usage: to create the snmp community string “dlink:” des-3026:4#create snmp comm...

  • Page 36

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to display the currently entered snmp community strings: des-3026:4#show snmp community command: show snmp community snmp community table community name view name access right -----------------------------...

  • Page 37

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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 that maps snmp users to snmp views. Syntax create sn...

  • Page 38

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create snmp group read_view – specifies that the snmp group being created can 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 ma...

  • Page 39

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#delete snmp group sg1 command: delete snmp group sg1 success. Des-3026:4# show snmp groups purpose used to display the group-names of snmp groups currently configured on the switch. The security model, level, ...

  • Page 40

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual group name : group7 readview name : readview writeview name : writeview notify view name : notifyview security model : snmpv3 security level : authpriv group name : initial readview name : restricted writeview name : not...

  • Page 42

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual delete snmp host purpose used to remove a recipient of snmp traps generated by the switch’s snmp agent. Syntax delete snmp host description the delete snmp host command deletes a recipient of snmp traps generated by the ...

  • Page 43

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual enable rmon purpose used to enable rmon on the switch. Syntax enable rmon description this command is used, in conjunction with thedisable rmon command below, to enable and disable remote monitoring (rmon) on the switch....

  • Page 44

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create trusted_host purpose used to create the trusted host. Syntax create trusted_host description the create trusted_host command creates the trusted host. The switch allows you to specify up to four ip addresses that ...

  • Page 45

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual delete trusted_host purpose used to delete a trusted host entry made using the create trusted_hostcommand above. Syntax delete trusted _host description this command is used to delete a trusted host entry made using the ...

  • Page 46

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual to prevent snmp traps from being sent from the switch: des-3026:4#disable snmp traps command: disable snmp traps success. Des-3026:4# enable snmp authenticate trap purpose used to enable snmp authentication trap support....

  • Page 47

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show snmp traps purpose used to show snmp trap support on the switch . Syntax show snmp traps description this command is used to view the snmp trap support status currently configured on the switch. Parameters none. Res...

  • Page 48

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config snmp system_location purpose used to enter a description of the location of the switch. Syntax config snmp system_location {} description the config snmp system_location command is used to enter a description of t...

  • Page 50

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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 c...

  • Page 51

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 8 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 er...

  • Page 52

    Des-3010f / des-3010g / des-3018 / des-3026 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 r...

  • Page 54

    Des-3010f / des-3010g / des-3018 / des-3026 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 po...

  • Page 55

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to display the switch history log: des-3026:4#show log 1-4 command: show log 1-4 index time log text ----- ---------- --------------------------------------------------------------- 4 00000 days 03:03:58 u...

  • Page 56

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#disable syslog command: disable syslog success. Des-3026:4# show syslog purpose used to display the syslog protocol status as enabled or disabled. Syntax show syslog description the show syslog command display...

  • Page 57

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create syslog host 4 warning: warning conditions 5 notice: normal but significant condition 6 informational: informational messages 7 debug: debug-level messages informational − specifies that informational messages will...

  • Page 58

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual create syslog host 21 local use 5 (local5) 22 local use 6 (local6) 23 local use 7 (local7) local0 − specifies that local use 0 messages will be sent to the remote host. This corresponds to number 16 from the list above. ...

  • Page 59

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config syslog host protocol to send system log information to a remote host. Parameters all − specifies that the command will be applied to all hosts. − specifies that the command will be applied to an index of hosts. Th...

  • Page 60

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config syslog host 10 security/authorization messages 11 ftp daemon 12 ntp subsystem 13 log audit 14 log alert 15 clock daemon 16 local use 0 (local0) 17 local use 1 (local1) 18 local use 2 (local2) 19 local use 3 (local...

  • Page 62

    Des-3010f / des-3010g / des-3018 / des-3026 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 a...

  • Page 63

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 9 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. C...

  • Page 66

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual disable stp purpose used to globally disable stp on the switch. Syntax disable stp description this command allows the spanning tree protocol to be globally disabled on the switch. Parameters none. Restrictions only admi...

  • Page 67

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual max age : 20 hello time : 2 forward delay : 15 hold time : 3 ctrl+c esc q quit space n next page p previous page r refresh status 2 : stp disabled des-3026:4#show stp command: show stp bridge parameters settings stp stat...

  • Page 68

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#show stp ports command: show stp ports port connection state cost pri edge p2p status role ------ ------------------ ----- ---------- ---- ---- --- ---------- ---------- 1 100m/full/none yes *200000 128 no yes...

  • Page 69

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 10 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 por...

  • Page 70

    Des-3010f / des-3010g / des-3018 / des-3026 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...

  • Page 71

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4# 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 tabl...

  • Page 73

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual vlan name : default mac address : 01-00-5e-00-00-00 egress ports : 1-5,26 mode : static total entries : 1 des-3026:4# show fdb purpose used to display the current unicast mac address forwarding database. Syntax show fdb ...

  • Page 74

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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-34-66-9a 10 dynamic 1 def...

  • Page 75

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 11 b roadcast s torm c ontrol c ommands the broadcast storm control commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config traffi...

  • Page 76

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show traffic control purpose used to display current traffic control settings. Syntax show traffic control {ports } description this command displays the current storm traffic control configuration on the switch. Paramet...

  • Page 77: S C

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 12 q o s c ommands the des-3026 switch supports 802.1p priority queuing. The switch has 4 priority classes of service. These priority classes of service are numbered from 3 (class 3) — the highest priority class of servi...

  • Page 78

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual the qos commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config scheduling weight show scheduling config 802.1p user_priority show...

  • Page 79

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config scheduling parameters − specifies which of the four priority classes of service to which the config scheduling command will be applied. The four priority classes of service are identified by number − from 0 to 3 −...

  • Page 80

    Des-3010f / des-3010g / des-3018 / des-3026 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 ma...

  • Page 81

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4# config 802.1p user_priority 1 3 command: config 802.1p user_priority 1 3 success. Des-3026:4# show 802.1p user_priority purpose used to display the current mapping between an incoming packet’s 802.1p priority...

  • Page 82

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config 802.1p default_priority restrictions only administrator-level users can issue this command. Example usage: to configure 802.1p default priority on the switch: des-3026:4#config 802.1p default_priority all 5 comman...

  • Page 84

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to show the scheduling mechanism: des-3026:4#show scheduling_mechanism command: show scheduling_mechanism scheduling mechanism : strict des-3026:4# config bandwidth_control purpose used to configure bandwi...

  • Page 85

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show bandwidth_control syntax show bandwidth_control {} description the show bandwidth_control command displays the current bandwidth control configuration on the switch, on a port-by-port basis. Parameters − specifies a...

  • Page 86

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 13 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 traf...

  • Page 87

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show traffic_segmentation current traffic segmentation configuration on the switch. Parameters portlist> − specifies a port or range of ports for which the current traffic segmentation configuration on the switch will be...

  • Page 89

    Des-3010f / des-3010g / des-3018 / des-3026 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 you to enter a port mirroring ...

  • Page 90

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show mirror purpose used to show the current port mirroring configuration on the switch. Syntax show mirror description this command displays the current port mirroring configuration on the switch. Parameters none. Restr...

  • Page 91: Vlan C

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 15 vlan c ommands the vlan commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create vlan {tag } delete vlan config vlan {[add [tagg...

  • Page 93

    Des-3010f / des-3010g / des-3018 / des-3026 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 untagged ports : 1-26 total entries : 1 des-3026:4# 91.

  • Page 94

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 16 l ink a ggregation c ommands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create link_aggregation grou...

  • Page 95

    Des-3010f / des-3010g / des-3018 / des-3026 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. Synta...

  • Page 96

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config link_aggregation restrictions only administrator-level users can issue this command. Link aggregation groups may not overlap and must be contained on a single switch. Example usage: to define a load-sharing group ...

  • Page 98

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config lacp_ports changed dynamically as needs require. In order to utilize the ability to change an aggregated port group, that is, to add or subtract ports from the group, at least one of the participating devices must...

  • Page 100

    Des-3010f / des-3010g / des-3018 / des-3026 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 - enter the n...

  • Page 102

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config igmp_snooping group to leave the group immediately (without the implementation of the last member query timer) when an igmp leave report packet is received by the switch. Restrictions only administrator-level user...

  • Page 103

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config igmp_snooping querier increase this value if a subnet is expected to be lossy. Last_member_query_interval − the maximum amount of time between group-specific query messages, including those sent in response to lea...

  • Page 104

    Des-3010f / des-3010g / des-3018 / des-3026 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_...

  • Page 105

    Des-3010f / des-3010g / des-3018 / des-3026 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. Pa...

  • Page 106

    Des-3010f / des-3010g / des-3018 / des-3026 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...

  • Page 108

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config port_security ports restrictions only administrator-level users can issue this command. Example usage: to configure the port security: des-3026:4#config port_security ports 1-5 admin_state enable max_learning_addr...

  • Page 109

    Des-3010f / des-3010g / des-3018 / des-3026 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 en...

  • Page 110: 802.1X C

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 20 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 ...

  • Page 113

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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 ------ -------------- ------------- ------------ 1 forceauth success authorized 2 forcea...

  • Page 114

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show 802.1x auth_configuration authenticated, and can not access the network. Pae state: initialize/disconnected/connecting/ authenticating/authenticated/held /forceauth/forceunauth − shows the current state of the authe...

  • Page 115

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#show 802.1x auth_configuration ports 1 command: show 802.1x auth_configuration ports 1 802.1x : enabled authentication mode : port_based authentication protocol : radius_eap port number : 1 capability : none p...

  • Page 116

    Des-3010f / des-3010g / des-3018 / des-3026 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. ...

  • Page 117

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 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# c...

  • Page 118

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to initialize the authentication state machine of some or all: des-3026:4# config 802.1x init port_based ports all command: config 802.1x init port_based ports all success. Des-3026:4# config 802.1x reauth...

  • Page 121

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to display radius settings on the switch: des-3026:4#show radius command: show radius index ip address auth-port acct-port status key number number ----- ------------------ --------- --------- ----------- ...

  • Page 122

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual to view 802.1x users currently configured on the switch: des-3026:4#show 802.1x user command: show 802.1x user index user name -------------- -------------- 1 trinity the total entry is : 1 des-3026:4# delete 802.1x user...

  • Page 123

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual radiusacctclientidentifier d-link radiusauthserverentry ==> 0 radiusaccclienttimeouts 0 radiusaccserverindex 1 radiusaccserveraddress 10.53.13.199 radiusaccclientserverportnumber 0 radiusaccclientroundtriptime 0 radiusac...

  • Page 124

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual radiusauthclientunknowntypes 0 radiusauthclientpacketsdropped 0 ctrl+c esc q quit space n next page enter next entry a all show auth_diagnostics purpose used to display the current authentication diagnostics. Syntax show...

  • Page 125

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual example usage: to display the current authentication session statistics for port 16: des-3026:4#show auth_session_statistics ports 1 command: show auth_session_statistics ports 1 port number : 1 sessionoctetsrx 0 session...

  • Page 126: Sntp

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 21 t ime and sntp c ommands the simple network time protocol (sntp) (an adaptation of the network time protocol (ntp)) commands in the command line interface (cli) are listed (along with the appropriate parameters) in th...

  • Page 127

    Des-3010f / des-3010g / des-3018 / des-3026 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 inform...

  • Page 128

    Des-3010f / des-3010g / des-3018 / des-3026 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). Only administrator-level users can issue th...

  • Page 130

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual config dst • • • • • • • • - time is expressed using a 24-hour clock, in hours and minutes. • • - the number of the week during the month in which dst begins where 1 is the first week, 2 is the second week and so on, las...

  • Page 131

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4# config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 10 e_time 15:30 offset 30 command: config dst repeating s_week 2 s_day tue s_mth 4 s_time 15:00 e_week 2 e_day wed e_mth 1...

  • Page 132

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 22 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...

  • Page 133

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#delete iproute default 10.53.13.254 success. Command: delete iproute default 10.53.13.254 des-3026:4# show iproute purpose used to display the switch’s current ip routing table. Syntax show iproute {} {static}...

  • Page 135

    Des-3010f / des-3010g / des-3018 / des-3026 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 ...

  • Page 136

    Des-3010f / des-3010g / des-3018 / des-3026 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 no...

  • Page 137: D-L

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 24 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 manage...

  • Page 138

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 4. A ms can become a cas by: a. Being configured as a cas through the cs. B. If report packets from the cs to the ms time out. 5. The user can manually configure a cas to become a cs 6. The cas can be configured through ...

  • Page 139

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual des-3026:4#enable sim command: enable sim success. Des-3026:4# disable sim purpose used to disable single ip management (sim) on the switch. Syntax this command will disable sim globally on the switch. Restrictions only ...

  • Page 140

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual show sim hold time – displays the time in seconds the switch will hold discovery results before dropping it or utilizing it. Parameters none. Restrictions only administrator-level users can issue this command. Example us...

  • Page 142

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 25 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 dir config command_history parameters ? ...

  • Page 143

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual ctrl+c esc q quit space n next page enter next entry a all example usage: command: config igmp_snooping to display the parameters for a specific command: des-3026:4#? Config igmp_snooping command: config igmp_snooping us...

  • Page 144

    Des-3010f / des-3010g / des-3018 / des-3026 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_prio...

  • Page 145

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual a t echnical s pecifications physical and environmental 100 – 120; 200 - 240 vac, 50/60 hz (internal universal power supply) power consumption: des-3010f – 10.7w des-3010g – 9.9w des-3018 – 10.5w des-3026 – 11.6w operati...

  • Page 146

    Des-3010f / des-3010g / des-3018 / des-3026 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...

  • Page 147

    Des-3010f / des-3010g / des-3018 / des-3026 layer 2 switch cli reference manual 145 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...