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

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

Summary of 3010G - DES Switch

  • 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 second edition (january 2006) 651es3026025g printed in taiwan recyclable.

  • Page 3

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

  • Page 5

    Des-30xx layer 2 switch cli reference manual 1 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 information. All des-3010f/des- 3010...

  • Page 6

    Des-30xx layer 2 switch cli reference manual 2 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 defa...

  • Page 7

    Des-30xx layer 2 switch cli reference manual 3 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 switch ...

  • Page 8: Cli

    Des-30xx layer 2 switch cli reference manual 4 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 also be ...

  • Page 9

    Des-30xx layer 2 switch cli reference manual 5 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 ? Co...

  • Page 10

    Des-30xx layer 2 switch cli reference manual 6 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 has thi...

  • Page 11

    Des-30xx layer 2 switch cli reference manual 7 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 of pa...

  • Page 12

    Des-30xx layer 2 switch cli reference manual 8 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. Note...

  • Page 15

    Des-30xx layer 2 switch cli reference manual 11 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 acc...

  • Page 16

    Des-30xx layer 2 switch cli reference manual 12 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-30xx layer 2 switch cli reference manual 13 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:20.260 serial port 4 anonymous total entries: 1 ct...

  • Page 19

    Des-30xx layer 2 switch cli reference manual 15 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_rate [...

  • Page 20

    Des-30xx layer 2 switch cli reference manual 16 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 scr...

  • Page 21

    Des-30xx layer 2 switch cli reference manual 17 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 betw...

  • Page 22

    Des-30xx layer 2 switch cli reference manual 18 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 disables th...

  • Page 23

    Des-30xx layer 2 switch cli reference manual 19 reboot purpose used to restart the switch. Syntax reboot description this command is used to restart the switch. Parameters none. Restrictions only administrator-level users can issue this command. Example usage: to restart the switch: des-3026:4#reboo...

  • Page 24

    Des-30xx layer 2 switch cli reference manual 20 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: to i...

  • Page 25

    Des-30xx layer 2 switch cli reference manual 21 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-3026:...

  • Page 28

    Des-30xx layer 2 switch cli reference manual 24 example usage: to display port descriptions: 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 29: (Snmp) C

    Des-30xx layer 2 switch cli reference manual 25 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 (snmp) v...

  • Page 31

    Des-30xx layer 2 switch cli reference manual 27 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 the snmp user...

  • Page 32

    Des-30xx layer 2 switch cli reference manual 28 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 remove...

  • Page 33

    Des-30xx layer 2 switch cli reference manual 29 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 snmp ...

  • Page 34

    Des-30xx layer 2 switch cli reference manual 30 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 comman...

  • Page 35

    Des-30xx layer 2 switch cli reference manual 31 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 following ...

  • Page 36

    Des-30xx layer 2 switch cli reference manual 32 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 remo...

  • Page 37

    Des-30xx layer 2 switch cli reference manual 33 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 string b...

  • Page 38

    Des-30xx layer 2 switch cli reference manual 34 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. The...

  • Page 39

    Des-30xx layer 2 switch cli reference manual 35 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. Examp...

  • Page 40

    Des-30xx layer 2 switch cli reference manual 36 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 writeview na...

  • Page 41

    Des-30xx layer 2 switch cli reference manual 37 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 writeview n...

  • Page 42

    Des-30xx layer 2 switch cli reference manual 38 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 snmp ...

  • Page 43

    Des-30xx layer 2 switch cli reference manual 39 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 v3 ...

  • Page 44

    Des-30xx layer 2 switch cli reference manual 40 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 snmp ...

  • Page 45

    Des-30xx layer 2 switch cli reference manual 41 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 crea...

  • Page 46

    Des-30xx layer 2 switch cli reference manual 42 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 trus...

  • Page 47

    Des-30xx layer 2 switch cli reference manual 43 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. Restrict...

  • Page 48

    Des-30xx layer 2 switch cli reference manual 44 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 usa...

  • Page 49

    Des-30xx layer 2 switch cli reference manual 45 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 information ...

  • Page 50

    Des-30xx layer 2 switch cli reference manual 46 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 null ...

  • Page 51: Smtp

    Des-30xx layer 2 switch cli reference manual 47 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 the...

  • Page 52

    Des-30xx layer 2 switch cli reference manual 48 • 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 delivering ma...

  • Page 53

    Des-30xx layer 2 switch cli reference manual 49 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. Parameters ...

  • Page 54

    Des-30xx layer 2 switch cli reference manual 50 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-3026:4#...

  • Page 55

    Des-30xx layer 2 switch cli reference manual 51 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 configu...

  • Page 57

    Des-30xx layer 2 switch cli reference manual 53 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 58

    Des-30xx layer 2 switch cli reference manual 54 example usage: to upload a configuration file: 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 aut...

  • Page 59

    Des-30xx layer 2 switch cli reference manual 55 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 are...

  • Page 60

    Des-30xx layer 2 switch cli reference manual 56 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 the...

  • Page 61

    Des-30xx layer 2 switch cli reference manual 57 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 [cpu ...

  • Page 62

    Des-30xx layer 2 switch cli reference manual 58 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 755 1...

  • Page 63

    Des-30xx layer 2 switch cli reference manual 59 show utilization parameters cpu – entering this parameter will display the current cpu utilization of the switch, as a percentage. Ports - entering this parameter along with a list of ports will display the current utilization of selected ports on the ...

  • Page 64

    Des-30xx layer 2 switch cli reference manual 60 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 clear...

  • Page 65

    Des-30xx layer 2 switch cli reference manual 61 example usage: to display the switch history log: 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 thro...

  • Page 66

    Des-30xx layer 2 switch cli reference manual 62 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 displays the syslog status as enabled o...

  • Page 67

    Des-30xx layer 2 switch cli reference manual 63 create syslog host 3 error: error conditions 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 be se...

  • Page 68

    Des-30xx layer 2 switch cli reference manual 64 create syslog host local4 − specifies that local use 4 messages will be sent to the remote host. This corresponds to number 20 from the list above. Local5 − specifies that local use 5 messages will be sent to the remote host. This corresponds to number...

  • Page 69

    Des-30xx layer 2 switch cli reference manual 65 config syslog host 2 critical: critical conditions 3 error: error conditions 4 warning: warning conditions 5 notice: normal but significant condition 6 informational: informational messages 7 debug: debug-level messages informational − specifies that i...

  • Page 70

    Des-30xx layer 2 switch cli reference manual 66 config syslog host local4 − specifies that local use 4 messages will be sent to the remote host. This corresponds to number 20 from the list above. Local5 − specifies that local use 5 messages will be sent to the remote host. This corresponds to number...

  • Page 71

    Des-30xx layer 2 switch cli reference manual 67 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. Parameter...

  • Page 72

    Des-30xx layer 2 switch cli reference manual 68 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 stp {m...

  • Page 75

    Des-30xx layer 2 switch cli reference manual 71 enable stp restrictions only administrator-level users can issue this command. Example usage: to enable stp, globally, on the switch: des-3026:4#enable stp command: enable stp success. Des-3026:4# disable stp purpose used to globally disable stp on the...

  • Page 76

    Des-30xx layer 2 switch cli reference manual 72 des-3026:4#show stp command: show stp bridge parameters settings stp status : enabled max age : 20 hello time : 2 forward delay : 15 priority : 32768 stp version : stp compatible tx hold count : 3 forwarding bpdu : enabled loop-back prevent : disabled ...

  • Page 77

    Des-30xx layer 2 switch cli reference manual 73 example usage: to display stp state of all ports, with stp enabled: des-3026:4#show stp ports command: show stp ports port connection state cost pri edge p2p lbd status role ------ ------------------ ----- ---------- ---- ---- --- --------- ---------- ...

  • Page 78

    Des-30xx layer 2 switch cli reference manual 74 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 config mu...

  • Page 79

    Des-30xx layer 2 switch cli reference manual 75 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. Pa...

  • Page 80

    Des-30xx layer 2 switch cli reference manual 76 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 source m...

  • Page 82

    Des-30xx layer 2 switch cli reference manual 78 des-3026:4#show multicast_fdb command: show multicast_fdb 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 ...

  • Page 83

    Des-30xx layer 2 switch cli reference manual 79 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 default 00-00-51-43-70-00 10 dynami...

  • Page 85

    Des-30xx layer 2 switch cli reference manual 81 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 grou...

  • Page 86: S C

    Des-30xx layer 2 switch cli reference manual 82 13 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 service — to 0 (class 0) — the lowest...

  • Page 88

    Des-30xx layer 2 switch cli reference manual 84 config scheduling priority classes of service are identified by number − from 0 to 3 − with class 3 being the highest priority. Weight − specifies the maximum number of packets the above specified priority class of service will be allowed to transmit b...

  • Page 89

    Des-30xx layer 2 switch cli reference manual 85 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 of an...

  • Page 90

    Des-30xx layer 2 switch cli reference manual 86 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 use...

  • Page 91

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

  • Page 93

    Des-30xx layer 2 switch cli reference manual 89 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 bandwidth control on a by-port basis. Syntax config b...

  • Page 94

    Des-30xx layer 2 switch cli reference manual 90 show bandwidth_control purpose used to display the bandwidth control configuration on the switch. Syntax show bandwidth_control {} description the show bandwidth_control command displays the current bandwidth control configuration on the switch, on a p...

  • Page 95

    Des-30xx layer 2 switch cli reference manual 91 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 appli...

  • Page 96

    Des-30xx layer 2 switch cli reference manual 92 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 confi...

  • Page 98

    Des-30xx layer 2 switch cli reference manual 94 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 modifying ...

  • Page 99

    Des-30xx layer 2 switch cli reference manual 95 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#.

  • Page 102

    Des-30xx layer 2 switch cli reference manual 98 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#.

  • Page 104

    Des-30xx layer 2 switch cli reference manual 100 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 group...

  • Page 105

    Des-30xx layer 2 switch cli reference manual 101 config link_aggregation link aggregation group. 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 of port...

  • Page 107

    Des-30xx layer 2 switch cli reference manual 103 config lacp_ports devices to negotiate the aggregated link so the group may be 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 ...

  • Page 109

    Des-30xx layer 2 switch cli reference manual 105 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 disp...

  • Page 111

    Des-30xx layer 2 switch cli reference manual 107 config igmp_snooping fast leave function. Enabled, this function will allow members of a multicast 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 swi...

  • Page 112

    Des-30xx layer 2 switch cli reference manual 108 config igmp_snooping querier the default number is the value of the robustness variable. • by default, the robustness variable is set to 2. Users may wish to increase this value if a subnet is expected to be lossy. Last_member_query_interval − the max...

  • Page 113

    Des-30xx layer 2 switch cli reference manual 109 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 switch w...

  • Page 114

    Des-30xx layer 2 switch cli reference manual 110 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 vlan...

  • Page 115

    Des-30xx layer 2 switch cli reference manual 111 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 display ...

  • Page 116: Cpu Acl F

    Des-30xx layer 2 switch cli reference manual 112 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, packet content and ipv6 settings. Access prof...

  • Page 118

    Des-30xx layer 2 switch cli reference manual 114 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 wit...

  • Page 119

    Des-30xx layer 2 switch cli reference manual 115 create cpu access_profile parameters • destination_ip_mask − specifies an ip address mask for the destination ip address. • dscp − specifies that the switch will examine the diffserv code point (dscp) field in each frame’s header. • icmp − specifies t...

  • Page 120

    Des-30xx layer 2 switch cli reference manual 116 create cpu access_profile 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 byte 15. • offset_1...

  • Page 121

    Des-30xx layer 2 switch cli reference manual 117 delete cpu access_profile created cpu access profile. Parameters profile_id − enter an integer between 1 and 5 that is used to identify the cpu access profile to be deleted with this command. This value is assigned to the access profile when it is cre...

  • Page 122

    Des-30xx layer 2 switch cli reference manual 118 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 us...

  • Page 123

    Des-30xx layer 2 switch cli reference manual 119 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 packets w...

  • Page 124

    Des-30xx layer 2 switch cli reference manual 120 config cpu access_profile • 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 byte 15. • offset...

  • Page 125

    Des-30xx layer 2 switch cli reference manual 121 enable cpu_interface_filtering purpose used to enable cpu interface filtering on the switch. Syntax enable cpu_interface_filtering description this command is used, in conjunction with the disable cpu_interface_filtering command below, to enable and d...

  • Page 126

    Des-30xx layer 2 switch cli reference manual 122 show cpu_access_profile configured cpu access profile entry. Entering no parameter will display all information currently set for the cpu access profile function of the switch. Restrictions only administrator-level users can issue this command. Exampl...

  • Page 128

    Des-30xx layer 2 switch cli reference manual 124 config port_security ports deleteonreset – the locked addresses will not age out until the switch has been reset. Restrictions only administrator-level users can issue this command. Example usage: to configure the port security: des-3026:4#config port...

  • Page 129

    Des-30xx layer 2 switch cli reference manual 125 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 entr...

  • Page 130

    Des-30xx layer 2 switch cli reference manual 126 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-defin...

  • Page 131: 802.1X C

    Des-30xx layer 2 switch cli reference manual 127 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 establi...

  • Page 132

    Des-30xx layer 2 switch cli reference manual 128 each command is listed, in detail, in the following sections. Note: the uplink module ports (des-3010f/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...

  • Page 134

    Des-30xx layer 2 switch cli reference manual 130 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 forceauth success authorized 3 forcea...

  • Page 135

    Des-30xx layer 2 switch cli reference manual 131 show 802.1x auth_configuration and can access the network. Unauthorized means that the user was not authenticated, and can not access the network. Pae state: initialize/disconnected/connecting/ authenticating/authenticated/held /forceauth/forceunauth ...

  • Page 136

    Des-30xx layer 2 switch cli reference manual 132 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 port status : authorized pae sta...

  • Page 137

    Des-30xx layer 2 switch cli reference manual 133 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_param...

  • Page 138

    Des-30xx layer 2 switch cli reference manual 134 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 auth_protocol purp...

  • Page 139

    Des-30xx layer 2 switch cli reference manual 135 config 802.1x init mac_address - specifies the mac address of the client to be added. Restrictions only administrator-level users can issue this command. Example usage: to initialize the authentication state machine of some or all: des-3026:4# config ...

  • Page 142

    Des-30xx layer 2 switch cli reference manual 138 show radius parameters none. Restrictions none. 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 143

    Des-30xx layer 2 switch cli reference manual 139 show 802.1x user currently configured on the switch. Parameters none. Restrictions none. Example usage: 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 -------------- -----...

  • Page 144

    Des-30xx layer 2 switch cli reference manual 140 example usage: to view the current radius accounting client: des-3026:4#show acct_client command: show acct_client radiusacctclient ==> radiusacctclientinvalidserveraddresses 0 radiusacctclientidentifier d-link radiusauthserverentry ==> 0 radiusaccser...

  • Page 145

    Des-30xx layer 2 switch cli reference manual 141 radiusauthclientaccessrequests 0 radiusauthclientaccessretransmissions 0 radiusauthclientaccessaccepts 0 radiusauthclientaccessrejects 0 radiusauthclientaccesschallenges 0 radiusauthclientmalformedaccessresponses 0 radiusauthclientbadauthenticators 0 ...

  • Page 147

    Des-30xx layer 2 switch cli reference manual 143 des-3026:4#show auth_statistics ports 1 command: show auth_statistics ports 1 port number : 1 eapolframesrx 0 eapolframestx 0 eapolstartframesrx 0 eapolreqidframestx 0 eapollogoffframesrx 0 eapolreqframestx 0 eapolrespidframesrx 0 eapolrespframesrx 0 ...

  • Page 148: Sntp

    Des-30xx layer 2 switch cli reference manual 144 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 para...

  • Page 149

    Des-30xx layer 2 switch cli reference manual 145 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 descrip...

  • Page 150

    Des-30xx layer 2 switch cli reference manual 146 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 thi...

  • Page 152

    Des-30xx layer 2 switch cli reference manual 148 config dst • - the number of the week during the month in which dst begins where 1 is the first week, 2 is the second week and so on, last is the last week of the month. E_week - configure the week of the month in which dst ends. • - the number of the...

  • Page 153

    Des-30xx layer 2 switch cli reference manual 149 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 s_time 15:00 e_week 2 e_wday wed e_mth 10 e_time 15:30 offset 30 su...

  • Page 154

    Des-30xx layer 2 switch cli reference manual 150 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 iproute...

  • Page 155

    Des-30xx layer 2 switch cli reference manual 151 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 will ...

  • Page 157

    Des-30xx layer 2 switch cli reference manual 153 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-70-e...

  • Page 158

    Des-30xx layer 2 switch cli reference manual 154 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. Re...

  • Page 159: D-L

    Des-30xx layer 2 switch cli reference manual 155 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) must...

  • Page 160

    Des-30xx layer 2 switch cli reference manual 156 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 be...

  • Page 161

    Des-30xx layer 2 switch cli reference manual 157 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 disable sim description this command will disable sim globally on the switch. Parameters none. Restrict...

  • Page 162

    Des-30xx layer 2 switch cli reference manual 158 show sim always have the candidate role. Discovery interval - time in seconds the switch will send discovery packets out over the network. Hold time – displays the time in seconds the switch will hold discovery results before dropping it or utilizing ...

  • Page 163

    Des-30xx layer 2 switch cli reference manual 159 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 164

    Des-30xx layer 2 switch cli reference manual 160 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-90...

  • Page 165

    Des-30xx layer 2 switch cli reference manual 161 config sim_group delete - use this parameter to delete a member switch of a sim group. The member switch should be defined by it id number. Restrictions only administrator-level users can issue this command. Example usage: to add a member: des-3026:4#...

  • Page 166

    Des-30xx layer 2 switch cli reference manual 162 config sim may set the hold time from 100 to 255 seconds. Candidate – used to change the role of a commander switch to a candidate switch. Dp_interval – the user may set the discovery protocol interval, in seconds that the switch will send out discove...

  • Page 167

    Des-30xx layer 2 switch cli reference manual 163 des-3026:4#config sim commander group_name trinity command: config sim commander group_name trinity success. Des-3026:4# download sim_ms purpose used to download firmware or configuration file to an indicated device. Syntax download sim_ms [firmware_f...

  • Page 168

    Des-30xx layer 2 switch cli reference manual 164 des-3026:4#download sim_ms configuration 10.53.13.94 c:/dgssri.Txt members all command: download sim_ms configuration 10.53.13.94 c:/dgssri.Txt members all this device is updating configuration. Please wait... Download status : id mac address result -...

  • Page 169

    Des-30xx layer 2 switch cli reference manual 165 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 co...

  • Page 171

    Des-30xx layer 2 switch cli reference manual 167 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 co...

  • Page 172

    Des-30xx layer 2 switch cli reference manual 168 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 st...

  • Page 173

    Des-30xx layer 2 switch cli reference manual 169 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 control...

  • Page 174

    Des-30xx layer 2 switch cli reference manual 170 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 mac addre...