D-Link 3312SR - Switch Command Line Interface Reference Manual

Manual is about: 12-Port Gigabit Layer 3 Stackable Switch

Summary of 3312SR - Switch

  • Page 1

    Dgs-3312sr release 3.5 12-port gigabit layer 3 stackable switch command line interface reference manual third edition (oct 2005) version 0.35 printed in china recyclable.

  • Page 3

    __________________________________________________________________________________ information in this document is subject to change without notice. © 2005 d-link computer corporation. All rights reserved. Reproduction in any manner whatsoever without the written permission of d-link computer corpor...

  • Page 5

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

  • Page 6

    Rip commands .............................................................................................................................................................................245 dvmrp commands ..................................................................................................

  • Page 7

    Dgs-3312sr layer 3 gigabit switch 1 1 i ntroduction the switch can be managed through the switch’s serial port, telnet, or the web-based management agent. The command line interface (cli) can be used to configure and manage the switch via the serial port or telnet interfaces. This manual provides a ...

  • Page 8

    Dgs-3312sr layer 3 gigabit switch 2 there is no initial username or password. Just press the enter key twice to display the cli input cursor − dgs-3312sr:4#. This is the command line where all commands are input. Setting the switch’s ip address each switch must be assigned its own ip address, which ...

  • Page 9

    Dgs-3312sr layer 3 gigabit switch 3 figure 1-3. Assigning an ip address in the above example, the switch was assigned an ip address of 10.53.13.144/8 with a subnet mask of 255.0.0.0. The system message success indicates that the command was executed successfully. The switch can now be configured and...

  • Page 10: Cli

    Dgs-3312sr layer 3 gigabit switch 4 2 u sing the c onsole cli the dgs-3312sr 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 used over...

  • Page 11

    Dgs-3312sr layer 3 gigabit switch 5 figure 2-1. Initial console screen commands are entered at the command prompt, dgs-3312sr:4#. There are a number of helpful features included in the cli. Entering the ? Command will display a list of all of the top-level commands. Figure 2-2. The ? Command.

  • Page 12

    Dgs-3312sr layer 3 gigabit switch 6 when you enter a command without its required parameters, the cli will prompt you with a next possible completions: message. Figure 2-3. Example command parameter help in this case, the command config account was entered with the parameter . The cli will then prom...

  • Page 13

    Dgs-3312sr layer 3 gigabit switch 7 figure 2-4. Using the up arrow to re-enter a command in the above example, the command config account was entered without the required parameter , the cli returned the next possible completions: prompt. The up arrow cursor control key was pressed to re-enter the p...

  • Page 14

    Dgs-3312sr layer 3 gigabit switch 8 figure 2-5. The next available commands prompt the top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what?Or config what? Where the what?...

  • Page 15

    Dgs-3312sr layer 3 gigabit switch 9 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 then displays the user accounts configured on t...

  • Page 16

    Dgs-3312sr layer 3 gigabit switch 10 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: all comm...

  • Page 19

    Dgs-3312sr layer 3 gigabit switch 13 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”. Dgs-3312sr:4#create account admin dlink command: create account admi...

  • Page 20

    Dgs-3312sr layer 3 gigabit switch 14 show account purpose used to display user accounts syntax show account description displays all user accounts created on the switch. Up to 8 user accounts can exist on the switch at one time. Parameters none. Restrictions none. Example usage: to display the accou...

  • Page 21

    Dgs-3312sr layer 3 gigabit switch 15 show switch purpose used to display information about the switch. Syntax show switch description this command displays information about the switch. Parameters none. Restrictions none. Example usage: to display the switch information: dgs-3312sr:4#show switch com...

  • Page 23

    Dgs-3312sr layer 3 gigabit switch 17 config 802.1p user_priority 1 0 config 802.1p user_priority 2 1 config 802.1p user_priority 3 3 config 802.1p user_priority 4 4 config 802.1p user_priority 5 5 config 802.1p user_priority 6 6 config 802.1p user_priority 7 7 config 802.1p default_priority 15:1-15:...

  • Page 24

    Dgs-3312sr layer 3 gigabit switch 18 config serial_port never − no time limit on the length of time the console can be open with no user input. 2_minutes − the console will log out the current user if there is no user input for 2 minutes. 5_minutes − the console will log out the current user if ther...

  • Page 25

    Dgs-3312sr layer 3 gigabit switch 19 disable clipaging purpose used to disable the pausing of the console screen scrolling at the end of each page when the show command displays more than one screen of information. Syntax disable clipaging description this command is used to disable the pausing of t...

  • Page 26

    Dgs-3312sr layer 3 gigabit switch 20 disable telnet purpose used to disable the telnet protocol on the switch. Syntax disable telnet description this command is used to disable the telnet protocol on the switch. Parameters none. Restrictions only administrator-level users can issue this command. Exa...

  • Page 27

    Dgs-3312sr layer 3 gigabit switch 21 disable web purpose used to disable the http-based management software on the switch. Syntax disable web description this command disables the web-based management software on the switch. Parameters none. Restrictions only administrator-level users can issue this...

  • Page 28

    Dgs-3312sr layer 3 gigabit switch 22 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: dgs-3312sr:4#reboot command...

  • Page 29

    Dgs-3312sr layer 3 gigabit switch 23 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 initiate the...

  • Page 32

    Dgs-3312sr layer 3 gigabit switch 26 dgs-3312sr:4#show ports command show ports: port port settings connection address state speed/duplex/flowctrl speed/duplex/flowctrl learning ------ -------- --------------------- --------------------- -------- 15:1 enabled auto/enabled link down enabled 15:2 enab...

  • Page 35

    Dgs-3312sr layer 3 gigabit switch 29 dgs-3312sr:4#show port_security ports command: show port_security ports port# admin state max. Learning addr. Lock address mode ---- ----------- ------------------- ----------------- 15:1 disabled 1 deleteonreset 15:2 disabled 1 deleteonreset 15:3 disabled 1 dele...

  • Page 36

    Dgs-3312sr layer 3 gigabit switch 30 clear port_security_entry port purpose used to clear mac address entries learned from a specified port for the port security function. Syntax clear port_security_entry port description this command is used to clear mac address entries which were learned by the sw...

  • Page 37: (Snmp) C

    Dgs-3312sr layer 3 gigabit switch 31 7 n etwork m anagement (snmp) c ommands the dgs-3312sr supports the simple network management protocol (snmp) versions 1, 2c, and 3. You can specify which version of the snmp you want to use to monitor and control the switch. The three versions of snmp vary in th...

  • Page 39

    Dgs-3312sr layer 3 gigabit switch 33 create snmp user source. Encryption − scrambles the contents of messages to prevent it being viewed by an unauthorized source. Parameters − an alphanumeric name of up to 32 characters that will identify the new snmp user. − an alphanumeric name of up to 32 charac...

  • Page 40

    Dgs-3312sr layer 3 gigabit switch 34 create snmp user of exactly 40 characters, in hex form, to define the key that will be used to authorize the agent to receive packets for the host. Priv – adding the priv (privacy) parameter will allow for encryption in addition to the authentication algorithm fo...

  • Page 41

    Dgs-3312sr layer 3 gigabit switch 35 show snmp user purpose used to display information about each snmp username in the snmp group username table. Syntax show snmp user description the show snmp user command displays information about each snmp username in the snmp group username table. Parameters n...

  • Page 42

    Dgs-3312sr layer 3 gigabit switch 36 dgs-3312sr:4#create snmp view dlinkview 1.3.6 view_type included command: create snmp view dlinkview 1.3.6 view_type included success. Dgs-3312sr:4# delete snmp view purpose used to remove an snmp view entry previously created on the switch. Syntax delete snmp vi...

  • Page 43

    Dgs-3312sr layer 3 gigabit switch 37 to display snmp view configuration: dgs-3312sr: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 includ...

  • Page 44

    Dgs-3312sr layer 3 gigabit switch 38 create snmp community contents of the mibs on the switch. Read_write − specifies that snmp community members using the community string created with this command can read from and write to the contents of the mibs on the switch. Restrictions only administrator-le...

  • Page 45

    Dgs-3312sr layer 3 gigabit switch 39 show snmp community purpose used to display snmp community strings configured on the switch. Syntax show snmp community {} description the show snmp community command is used to display snmp community strings that are configured on the switch. Parameters − an alp...

  • Page 46

    Dgs-3312sr layer 3 gigabit switch 40 show snmp engineid purpose used to display the identification of the snmp engine on the switch. Syntax show snmp engineid description the show snmp engineid command displays the identification of the snmp engine on the switch. Parameters none. Restrictions none. ...

  • Page 47

    Dgs-3312sr layer 3 gigabit switch 41 create snmp group message integrity − ensures that packets have not been tampered with during transit. Authentication − determines if an snmp message is from a valid source. Encryption − scrambles the contents of messages to prevent it being viewed by an unauthor...

  • Page 48

    Dgs-3312sr layer 3 gigabit switch 42 delete snmp group purpose used to remove an snmp group from the switch. Syntax delete snmp group description the delete snmp group command is used to remove an snmp group from the switch. Parameters − an alphanumeric name of up to 32 characters that will identify...

  • Page 49

    Dgs-3312sr layer 3 gigabit switch 43 notify view name : notifyview security model : snmpv3 security level : authnopriv group name : group5 readview name : readview writeview name : writeview notify view name : notifyview security model : snmpv3 security level : authnopriv total entries: 3 dgs-3312sr...

  • Page 50

    Dgs-3312sr layer 3 gigabit switch 44 create snmp host and a remote snmp manager. Auth_priv − specifies that authorization will be required, and that packets sent between the switch and a remote snmp manger will be encrypted. • − an alphanumeric string used to authorize a remote snmp manager to acces...

  • Page 51

    Dgs-3312sr layer 3 gigabit switch 45 show snmp host purpose used to display the recipient of snmp traps generated by the switch’s snmp agent. Syntax show snmp host {} description the show snmp host command is used to display the ip addresses and configuration information of remote snmp managers that...

  • Page 52

    Dgs-3312sr layer 3 gigabit switch 46 dgs-3312sr:4#create trusted_host 10.48.74.121 command: create trusted_host 10.48.74.121 success. Dgs-3312sr:4# show trusted_host purpose used to display a list of trusted hosts entered on the switch using the create trusted_host command above. Syntax show trusted...

  • Page 53

    Dgs-3312sr layer 3 gigabit switch 47 dgs-3312sr:4#delete trusted_host 10.48.74.121 command: delete trusted_host 10.48.74.121 success. Dgs-3312sr:4# enable snmp traps purpose used to enable snmp trap support. Syntax enable snmp traps description the enable snmp traps command is used to enable snmp tr...

  • Page 54

    Dgs-3312sr layer 3 gigabit switch 48 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. Restrictions only administrator-level users can issue this command....

  • Page 55

    Dgs-3312sr layer 3 gigabit switch 49 example usage: to configure the switch contact to “ m i s d e p a r t m e n t i i ”: dgs-3312sr:4#config snmp system_contact mis department ii command: config snmp system_contact mis department ii success. Dgs-3312sr:4# config snmp system_location purpose used to...

  • Page 56

    Dgs-3312sr layer 3 gigabit switch 50 to configure the switch name for “ dgs-3312sr stackable switch ”: dgs-3312sr:4#config snmp system_name dgs-3312sr stackable switch command: config snmp system_name dgs-3312sr stackable switch success. Dgs-3312sr:4# enable rmon purpose used to enable rmon on the s...

  • Page 57

    Dgs-3312sr layer 3 gigabit switch 51 dgs-3312sr:4#disable rmon command: disable rmon success. Dgs-3312sr:4#.

  • Page 59

    Dgs-3312sr layer 3 gigabit switch 53 download restrictions the tftp server must be on the same ip subnet as the switch. Only administrator-level users can issue this command. Example usage: to download a configuration file: dgs-3312sr:4#download configuration 10.48.74.121 c:\cfg\setting.Txt command:...

  • Page 60

    Dgs-3312sr layer 3 gigabit switch 54 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 remote ip address will then “echo” or return ...

  • Page 61

    Dgs-3312sr layer 3 gigabit switch 55 traceroute between 1 and 65535 seconds. Probe - the probe value is the number of times the switch will send probe packets to the next hop on the intended traceroute path. The default is 1. Restrictions none. Example usage: to trace the routed path between the swi...

  • Page 63

    Dgs-3312sr layer 3 gigabit switch 57 show packet ports highest switch number, and the highest port number of the range (also separated by a colon) are specified. The beginning and end of the port list range are separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies sw...

  • Page 64

    Dgs-3312sr layer 3 gigabit switch 58 to display the errors of the port 3 of module 1: dgs-3312sr:4#show errors port 1:3 command : show errors port 1:3 port number 1:3 error type rx frames error type tx frames --------------- --------------- ---------------------------- ---------------- crc error 19 ...

  • Page 65

    Dgs-3312sr layer 3 gigabit switch 59 to display the current cpu utilization: dgs-3312sr:4#show utilization cpu command: show utilization cpu cpu utilization : ------------------------------------------------------------------------------- five seconds - 15% one minute - 25% five minutes - 14% dgs-33...

  • Page 66

    Dgs-3312sr layer 3 gigabit switch 60 example usage: to clear the log information: dgs-3312sr:4#clear log command: clear log success. Dgs-3312sr:4# 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 hist...

  • Page 67

    Dgs-3312sr layer 3 gigabit switch 61 dgs-3312sr:4#enable syslog command: enable syslog success. Dgs-3312sr:4# disable syslog purpose used to disable the system log function on the switch. Syntax disable syslog description the disable syslog command disables the system log function on the switch. Aft...

  • Page 68

    Dgs-3312sr layer 3 gigabit switch 62 example usage: to display the current status of the syslog function: dgs-3312sr:4#show syslog command: show syslog syslog global state: enabled dgs-3312sr:4#.

  • Page 70

    Dgs-3312sr layer 3 gigabit switch 64 create syslog host 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 subsystem 8 uucp subsystem 9 cloc...

  • Page 71

    Dgs-3312sr layer 3 gigabit switch 65 dgs-3312sr:4#create syslog host 1 ipaddress 10.53.13.200 severity all facility local0 state enable command: create syslog host 1 ipaddress 10.53.13.200 severity all facility local0 state enable success. Dgs-3312sr:4# config syslog host purpose used to configure t...

  • Page 72

    Dgs-3312sr layer 3 gigabit switch 66 config syslog 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. There are four available indexes, numbered 1 through 4. Severity − severity level indicator. These are ...

  • Page 73

    Dgs-3312sr layer 3 gigabit switch 67 config syslog host 16 local use 0 (local0) 17 local use 1 (local1) 18 local use 2 (local2) 19 local use 3 (local3) 20 local use 4 (local4) 21 local use 5 (local5) 22 local use 6 (local6) 23 local use 7 (local7) local0 − specifies that local use 0 messages will be...

  • Page 75: (Mstp) C

    Dgs-3312sr layer 3 gigabit switch 69 10 m ultiple s panning t ree p rotocol (mstp) c ommands this switch supports three versions of the spanning tree protocol; 802.1d stp, 802.1w rapid stp and 802.1s mstp. Multiple spanning tree protocol, or mstp, is a standard defined by the ieee community that all...

  • Page 78

    Dgs-3312sr layer 3 gigabit switch 72 config stp in the network, preventing the effective propagation of the new information. Set by the root bridge, this value will aid in determining that the switch has spanning tree configuration values consistent with other devices on the bridged lan. If the valu...

  • Page 80

    Dgs-3312sr layer 3 gigabit switch 74 config stp ports shared link. P2p ports are similar to edge ports however they are restricted in that a p2p port must operate in full-duplex. Like edge ports, p2p ports transition to a forwarding state rapidly thus benefiting from rstp. A p2p value of false indic...

  • Page 82

    Dgs-3312sr layer 3 gigabit switch 76 delete stp instance_id purpose used to delete a stp instance id from the switch. Syntax delete stp instance_id description this command allows the user to delete a previously configured stp instance id from the switch. Parameters - enter a value between 1 and 15 ...

  • Page 84

    Dgs-3312sr layer 3 gigabit switch 78 config stp mst_ports example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Instance_id - enter a numerical value between 0 and ...

  • Page 85

    Dgs-3312sr layer 3 gigabit switch 79 example usage: to display the status of stp on the switch: status 1: stp enabled with stp compatible version dgs-3312sr:4#show stp command: show stp stp status : enabled stp version : stp compatible max age : 20 hello time : 2 forward delay : 15 max age : 20 tx h...

  • Page 86

    Dgs-3312sr layer 3 gigabit switch 80 show stp ports purpose used to display the switch’s current instance_id configuration. Syntax show stp ports description this command displays the stp instance settings and stp instance operational status currently implemented on the switch. Parameters − specifie...

  • Page 87

    Dgs-3312sr layer 3 gigabit switch 81 example usage: to display the stp instance configuration for instance 0 (the internal cist) on the switch: dgs-3312sr:4#show stp instance 0 command: show stp instance 0 stp instance settings --------------------------- instance type : cist instance status : enabl...

  • Page 89

    Dgs-3312sr layer 3 gigabit switch 83 dgs-3312sr:4#create fdb default 00-00-00-00-01-02 port 2:5 command: create fdb default 00-00-00-00-01-02 port 2:5 success. Dgs-3312sr:4# create multicast_fdb purpose used to create a static entry to the multicast mac address forwarding table (database) syntax cre...

  • Page 90

    Dgs-3312sr layer 3 gigabit switch 84 config multicast_fdb separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3- 2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions only administ...

  • Page 91

    Dgs-3312sr layer 3 gigabit switch 85 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 which the mac addre...

  • Page 92

    Dgs-3312sr layer 3 gigabit switch 86 clear fdb specified device through this port. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then the highest switch number, and the highest port number of the range (also separat...

  • Page 96

    Dgs-3312sr layer 3 gigabit switch 90 to configure traffic control and enable broadcast storm control system wide: dgs-3312sr:4#config traffic control all broadcast enable command: config traffic control all broadcast enable success. Dgs-3312sr:4# show traffic control purpose used to display current ...

  • Page 97: S C

    Dgs-3312sr layer 3 gigabit switch 91 13 q o s c ommands the dgs-3312sr switch supports 802.1p priority queuing. The switch has nine hardware priority queues, one of which is internal and not configurable. These hardware priority queues are numbered from 7 (class 7) — the highest hardware priority qu...

  • Page 99

    Dgs-3312sr layer 3 gigabit switch 93 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 port-by-port...

  • Page 100

    Dgs-3312sr layer 3 gigabit switch 94 config 802.1p user_priority queues available on the switch. The switch’s default is to map the incoming 802.1p priority values to the eight hardware priority queues according to the following chart: 802.1p switch hardware value priority queue --------- ----------...

  • Page 101

    Dgs-3312sr layer 3 gigabit switch 95 example usage: to show 802.1p user priority: dgs-3312sr:4# show 802.1p user_priority command: show 802.1p user_priority qos class of traffic priority-0 -> priority-1 -> priority-2 -> priority-3 -> priority-4 -> priority-5 -> priority-6 -> priority-7 -> dgs-3312sr...

  • Page 102

    Dgs-3312sr layer 3 gigabit switch 96 show 802.1p default_priority purpose used to display the currently configured 802.1p priority tags that will be assigned to incoming, untagged packets before being forwarded to its destination. Syntax show 802.1p default_priority {} description the show 802.1p de...

  • Page 104

    Dgs-3312sr layer 3 gigabit switch 98 example usage: to show the scheduling mechanism: dgs-3312sr:4#show scheduling_mechanism command: show scheduling_mechanism qos scheduling_mechanism class id mechanism -------- ----------- class-0 strict class-1 strict class-2 strict class-3 strict class-4 strict ...

  • Page 106

    Dgs-3312sr layer 3 gigabit switch 100 config mirror port mirrored. That is, the range of ports in which all traffic will be copied and sent to the target port. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then the ...

  • Page 107

    Dgs-3312sr layer 3 gigabit switch 101 config mirror delete mirrored. That is, the range of ports in which all traffic will be copied and sent to the target port. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then th...

  • Page 108

    Dgs-3312sr layer 3 gigabit switch 102 dgs-3312sr:4#enable mirror command: enable mirror success. Dgs-3312sr:4# disable mirror purpose used to disable a previously entered port mirroring configuration. Syntax disable mirror description this command, combined with the enable mirror command above, allo...

  • Page 109

    Dgs-3312sr layer 3 gigabit switch 103 dgs-3312sr:4#show mirror command: show mirror current settings mirror status: enabled target port : 1:9 mirrored port: rx: tx: 1:1-1:5 dgs-3312sr:4#.

  • Page 111

    Dgs-3312sr layer 3 gigabit switch 105 dgs-3312sr:4#create vlan v1 tag 2 command: create vlan v1 tag 2 success. Dgs-3312sr:4# delete vlan purpose used to delete a previously configured vlan on the switch. Syntax delete vlan description this command will delete a previously configured vlan on the swit...

  • Page 112

    Dgs-3312sr layer 3 gigabit switch 106 config vlan forbidden − specifies the ports as forbidden ports. Delete − used to delete ports from the specified vlan, in conjunction with the portlist parameter. − a range of ports to add to the vlan. The port list is specified by listing the lowest switch numb...

  • Page 114

    Dgs-3312sr layer 3 gigabit switch 108 dgs-3312sr:4#enable gvrp command: enable gvrp success. Dgs-3312sr:4# disable gvrp purpose used to disable gvrp on the switch. Syntax disable gvrp description this command, along with enable gvrp above, is used to enable and disable gvrp on the switch, without ch...

  • Page 115

    Dgs-3312sr layer 3 gigabit switch 109 dgs-3312sr:4#show vlan command: show vlan vid : 1 vlan name : default vlan type : static advertisement : enabled member ports : 1:1-1:11,2:1-2:11 static ports : 1:1-1:11,2:1-2:11 untagged ports : 1:1-1:11,2:1-2:11 forbidden ports : vid : 2 vlan name : v1 vlan ty...

  • Page 116

    Dgs-3312sr layer 3 gigabit switch 110 dgs-3312sr:4#show gvrp command: show gvrp global gvrp : disabled port pvid gvrp ingress checking acceptable frame type ------ ---- -------- ---------------- --------------------------- 1:1 1 disabled enabled all frames 1:2 1 disabled enabled all frames 1:3 1 dis...

  • Page 118

    Dgs-3312sr layer 3 gigabit switch 112 example usage: to create a link aggregation group: dgs-3312sr:4#create link_aggregation group_id 1 command: create link_aggregation group_id 1 success. Dgs-3312sr:4# delete link_aggregation group_id purpose used to delete a previously configured link aggregation...

  • Page 119

    Dgs-3312sr layer 3 gigabit switch 113 config link_aggregation with the master port. Ports − specifies a range of ports that will belong to the link aggregation group. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Th...

  • Page 120

    Dgs-3312sr layer 3 gigabit switch 114 config link_aggregation algorithm restrictions only administrator-level users can issue this command. Example usage: to configure link aggregation algorithm for mac-source-dest: dgs-3312sr:4#config link_aggregation algorithm mac_source_dest command: config link_...

  • Page 122

    Dgs-3312sr layer 3 gigabit switch 116 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 viewed. The port ...

  • Page 123: Ip C

    Dgs-3312sr layer 3 gigabit switch 117 17 ip c ommands (i ncluding ip m ultinetting ) ip multinetting is a function that allows multiple ip interfaces to be assigned to the same vlan. This is beneficial to the administrator when the number of ips on the original interface is insufficient and the netw...

  • Page 125

    Dgs-3312sr layer 3 gigabit switch 119 dgs-3312sr:4# create ipif p1 ipaddress 10.1.1.1 trinity state enable command: create ipif p1 ipaddress 10.1.1.1 trinity state enable success. Dgs-3312sr:4# to create the secondary ip interface, s1 on vlan trinity: dgs-3312sr:4#create ipif p1 ipaddress 12.1.1.1 t...

  • Page 126

    Dgs-3312sr layer 3 gigabit switch 120 dgs-3312sr:4#config ipif system ipaddress 10.48.74.122/8 command: config ipif system ipaddress 10.48.74.122/8 success. Dgs-3312sr:4# show ipif purpose used to display the configuration of an ip interface on the switch. Syntax show ipif description this command w...

  • Page 129

    Dgs-3312sr layer 3 gigabit switch 123 dgs-3312sr:4#config igmp all version 1 state enable command: config igmp all version 1 state enable success. Dgs-3312sr:4# show igmp purpose used to display the igmp configuration for the switch of for a specified ip interface. Syntax show igmp {ipif } descripti...

  • Page 130

    Dgs-3312sr layer 3 gigabit switch 124 to display igmp group table: dgs-3312sr:4#show igmp group command: show igmp group interface name multicast group last reporter ip querier ip expire -------------------- ------------------- --------------------- ------------------ -------------- system 224.0.0.2...

  • Page 132

    Dgs-3312sr layer 3 gigabit switch 126 config igmp_snooping without the switch receiving a host membership report. The default is 260 seconds. Router_timeout − specifies the maximum amount of time a route can be a member of a multicast group without the switch receiving a host membership report. The ...

  • Page 133

    Dgs-3312sr layer 3 gigabit switch 127 config igmp_snooping querier robustness_variable − provides fine-tuning to allow for expected packet loss on a subnet. The value of the robustness variable is used in calculating the following igmp message intervals: • group member interval—amount of time that m...

  • Page 134

    Dgs-3312sr layer 3 gigabit switch 128 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 will only fo...

  • Page 136

    Dgs-3312sr layer 3 gigabit switch 130 example usage: to display the router ports. Dgs-3312sr:4#show router_ports command: show router_ports vlan name : default static router port : 2:1-2:10 dynamic router port : vlan name : vlan2 static router port : dynamic router port : total entries: 2 dgs-3312sr...

  • Page 137

    Dgs-3312sr layer 3 gigabit switch 131 last member query interval : 1 host timeout : 260 route timeout : 260 leave timer : 2 querier state : disabled querier router behavior : non-querier state : disabled total entries: 2 dgs-3312sr:4# show igmp_snooping group purpose used to display the current igmp...

  • Page 138

    Dgs-3312sr layer 3 gigabit switch 132 vlan name : default multicast group: 239.255.255.250 mac address : 01-00-5e-7f-ff-fa reports : 2 port member : 1:8,2:4 vlan name : default multicast group: 239.255.255.254 mac address : 01-00-5e-7f-ff-fe reports : 1 port member : 1:5,2:5 total entries : 6 dgs-33...

  • Page 139: Mac N

    Dgs-3312sr layer 3 gigabit switch 133 20 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 mac_notificat...

  • Page 140

    Dgs-3312sr layer 3 gigabit switch 134 to disable mac notification without changing basic configuration: dgs-3312sr:4#disable mac_notification command: disable mac_notification success. Dgs-3312sr:4# config mac_notification purpose used to configure mac address notification. Syntax config mac_notific...

  • Page 142

    Dgs-3312sr layer 3 gigabit switch 136 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 settings. Parameters...

  • Page 143

    Dgs-3312sr layer 3 gigabit switch 137 21 a ccess a uthentication c ontrol c ommands the tacacs / xtacacs / tacacs+ / radius commands let you secure access to the switch using the tacacs / xtacacs / tacacs+ / radius protocols. When a user logs in to the switch or tries to access the administrator lev...

  • Page 144

    Dgs-3312sr layer 3 gigabit switch 138 the access authentication control commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters enable authen_policy disable authen_policy show authen_policy create authen_login method_...

  • Page 145

    Dgs-3312sr layer 3 gigabit switch 139 command parameters radius] show authen server_host config authen parameter response_timeout config authen parameter attempt show authen parameter enable admin config admin local_enable each command is listed, in detail, in the following sections. Enable authen_p...

  • Page 146

    Dgs-3312sr layer 3 gigabit switch 140 example usage: to disable the system access authentication policy: dgs-3312sr:4#disable authen_policy command: disable authen_policy success. Dgs-3312sr:4# show authen_policy purpose used to display the system access authentication policy status on the switch. S...

  • Page 147

    Dgs-3312sr layer 3 gigabit switch 141 to create the method list “trinity.”: dgs-3312sr:4#create authen_login method_list_name trinity command: create authen_login method_list_name trinity success. Dgs-3312sr:4# config authen_login purpose used to configure a user-defined or default method list of au...

  • Page 148

    Dgs-3312sr layer 3 gigabit switch 142 config authen_login parameters default – the default method list for access authentication, as defined by the user. The user may choose one or a combination of up to four (4) of the following authentication methods: tacacs – adding this parameter will require th...

  • Page 149

    Dgs-3312sr layer 3 gigabit switch 143 config authen_login note: entering none or local as an authentication protocol will override any other authentication that follows it on a method list or on the default method list. Restrictions only administrator-level users can issue this command. Example usag...

  • Page 150

    Dgs-3312sr layer 3 gigabit switch 144 dgs-3312sr:4#delete authen_login method_list_name trinity command: delete authen_login method_list_name trinity success. Dgs-3312sr:4# show authen_login purpose used to display a previously configured user defined method list of authentication methods for users ...

  • Page 151

    Dgs-3312sr layer 3 gigabit switch 145 create authen_enable method_list_name purpose used to create a user-defined method list of authentication methods for promoting normal user level privileges to administrator level privileges on the switch. Syntax create authen_enable method_list_name description...

  • Page 152

    Dgs-3312sr layer 3 gigabit switch 146 config authen_enable description this command is used to promote users with normal level privileges to administrator level privileges using authentication methods on the switch. Once a user acquires normal user level privileges on the switch, he or she must be a...

  • Page 153

    Dgs-3312sr layer 3 gigabit switch 147 config authen_enable xtacacs server. Tacacs+ – adding this parameter will require the user to be authenticated using the tacacs+ protocol from a remote tacacs+ server. Radius – adding this parameter will require the user to be authenticated using the radius prot...

  • Page 154

    Dgs-3312sr layer 3 gigabit switch 148 delete authen_enable method_list_name parameters enter an alphanumeric string of up to 15 characters to define the given enable method list the user wishes to delete. Restrictions only administrator-level users can issue this command. Example usage: to delete th...

  • Page 155

    Dgs-3312sr layer 3 gigabit switch 149 to display all method lists for promoting user level privileges to administrator level privileges. Dgs-3312sr:4#show authen_enable all command: show authen_enable all method list name priority method name comment ---------------- -------- --------------- -------...

  • Page 156

    Dgs-3312sr layer 3 gigabit switch 150 config authen application restrictions only administrator-level users can issue this command. Example usage: to configure the default method list for the web interface: dgs-3312sr:4#config authen application http login default command: config authen application ...

  • Page 158

    Dgs-3312sr layer 3 gigabit switch 152 to create a tacacs+ authentication server host, with port number 1234, a timeout value of 10 seconds and a retransmit count of 5. Dgs-3312sr:4#create authen server_host 10.1.1.121 protocol tacacs+ port 1234 timeout 10 retransmit 5 command: create authen server_h...

  • Page 159

    Dgs-3312sr layer 3 gigabit switch 153 config authen server_host configured tacacs+ server only. Specify an alphanumeric string up to 254 characters or choose none. Timeout - enter the time in seconds the switch will wait for the server host to reply to an authentication request. The default value is...

  • Page 160

    Dgs-3312sr layer 3 gigabit switch 154 to delete a user-defined tacacs+ authentication server host: dgs-3312sr:4#delete authen server_host 10.1.1.121 protocol tacacs+ command: delete authen server_host 10.1.1.121 protocol tacacs+ success. Dgs-3312sr:4# show authen server_host purpose used to view a u...

  • Page 161

    Dgs-3312sr layer 3 gigabit switch 155 create authen server_group purpose used to create a user-defined authentication server group. Syntax create authen server_group description this command will create an authentication server group. A server group is a technique used to group tacacs/xtacacs/tacacs...

  • Page 162

    Dgs-3312sr layer 3 gigabit switch 156 config authen server_group radius – use this parameter to utilize the built-in radius server protocol on the switch. Only server hosts utilizing the radius protocol may be added to this group. Enter an alphanumeric string of up to 15 characters to define the pre...

  • Page 163

    Dgs-3312sr layer 3 gigabit switch 157 to delete the server group “group_1”: dgs-3312sr:4#delete server_group group_1 command: delete server_group group_1 success. Dgs-3312sr:4# show authen server_group purpose used to view authentication server groups on the switch. Syntax show authen server_group d...

  • Page 164

    Dgs-3312sr layer 3 gigabit switch 158 config authen parameter response_timeout syntax config authen parameter response_timeout description this command will set the time the switch will wait for a response of authentication from the user. Parameters response_timeout - set the time, in seconds, the s...

  • Page 165

    Dgs-3312sr layer 3 gigabit switch 159 on the switch. Syntax show authen parameter description this command will display the authentication parameters currently configured on the switch, including the response timeout and user authentication attempts. This command will display the following fields: r...

  • Page 166

    Dgs-3312sr layer 3 gigabit switch 160 password: ****** dgs-3312sr:4# config admin local_enable purpose used to configure the local enable password for administrator level privileges. Syntax config admin local_enable description this command will configure the locally enabled password for the enable ...

  • Page 167: Ssh

    Dgs-3312sr layer 3 gigabit switch 161 22 ssh c ommands the steps required to use the ssh protocol for secure communication between a remote pc (the ssh client) and the switch (the ssh server), are as follows: create a user account with admin-level access using the create account admin command. This ...

  • Page 168

    Dgs-3312sr layer 3 gigabit switch 162 usage example: to enable ssh: dgs-3312sr:4#enable ssh command: enable ssh success. Dgs-3312sr:4# disable ssh purpose used to disable ssh. Syntax disable ssh description this command allows you to disable ssh on the switch. Parameters none. Restrictions only admi...

  • Page 169

    Dgs-3312sr layer 3 gigabit switch 163 config ssh authmode parameters password – this parameter may be chosen if the administrator wishes to use a locally configured password for authentication on the switch. Publickey - this parameter may be chosen if the administrator wishes to use a publickey conf...

  • Page 171

    Dgs-3312sr layer 3 gigabit switch 165 dgs-3312sr:4# show ssh server command: show ssh server the ssh server configuration max session : 8 connection timeout : 300 (sec) authfail attempts : 2 rekey timeout : never ssh server status : disable listened port number : 22 dgs-3312sr:4# config ssh user pur...

  • Page 172

    Dgs-3312sr layer 3 gigabit switch 166 to configure the ssh user: dgs-3312sr:4# config ssh user trinity authmode password command: config ssh user trinity authmode password success. Dgs-3312sr:4# show ssh user authmode purpose used to display the ssh user setting. Syntax show ssh user authmode descri...

  • Page 173

    Dgs-3312sr layer 3 gigabit switch 167 config ssh algorithm aes128 - this parameter will enable or disable the advanced encryption standard aes128 encryption algorithm. Aes192 - this parameter will enable or disable the advanced encryption standard aes192 encryption algorithm. Aes256 - this parameter...

  • Page 174

    Dgs-3312sr layer 3 gigabit switch 168 show ssh algorithm purpose used to display the ssh algorithm setting. Syntax show ssh algorithm description this command will display the current ssh algorithm setting status. Parameters none. Restrictions only adminstrator-level users can issue this command. Us...

  • Page 175: Ssl C

    Dgs-3312sr layer 3 gigabit switch 169 23 ssl c ommands secure sockets layer or ssl is a security feature that will provide a secure communication path between a host and client through the use of authentication, digital signatures and encryption. These security functions are implemented through the ...

  • Page 178

    Dgs-3312sr layer 3 gigabit switch 172 show ssl purpose used to view the ssl status and the certificate file status on the switch. Syntax show ssl description this command is used to view the ssl status on the switch. Parameters none. Restrictions none. Example usage: to view the ssl status on the sw...

  • Page 179

    Dgs-3312sr layer 3 gigabit switch 173 dgs-3312sr:4# dgs-3312sr:4#download certificate 10.53.13.94 certfilename c:/cert.Der keyfilename c:/pkey.Der command: download certificate 10.53.13.94 certfilename c:/cert.Der keyfilename c:/pkey.Der certificate loaded successfully! Dgs-3312sr:4# show certificat...

  • Page 180: 802.1X C

    Dgs-3312sr layer 3 gigabit switch 174 24 802.1x c ommands the dgs-3312sr implements the server-side of the ieee 802.1x port-based network access control. This mechanism is intended to allow only authorized users, or other network devices, access to network resources by establishing criteria for each...

  • Page 181

    Dgs-3312sr layer 3 gigabit switch 175 enable 802.1x purpose used to enable the 802.1x server on the switch. Syntax enable 802.1x description the enable 802.1x command enables the 802.1x port-based network access control server application on the switch. Parameters none. Restrictions only administrat...

  • Page 182

    Dgs-3312sr layer 3 gigabit switch 176 show 802.1x auth_configuration parameters ports − specifies a range of ports. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then the highest switch number, and the highest port ...

  • Page 183

    Dgs-3312sr layer 3 gigabit switch 177 example usage: to display the 802.1x authentication states (stacking disabled): dgs-3312sr:4#show 802.1x auth_configuration ports 1 command: show 802.1x auth_configuration ports 1 802.1x : enabled authentication mode : none authentication protocol : radius_eap p...

  • Page 184

    Dgs-3312sr layer 3 gigabit switch 178 example usage: to display the 802.1x auth state: dgs-3312sr:4#show 802.1x auth_state 1:1-1:12 command: show 802.1x auth_state 1:1-1:12 port auth pae state backend state port status ------ ----------------------- --------------------- ----------------- 1:1 forcea...

  • Page 186

    Dgs-3312sr layer 3 gigabit switch 180 config 802.1x auth_parameter parameters − specifies a range of ports. The port list is specified by listing the lowest switch number and the beginning port number on that switch, separated by a colon. Then the highest switch number, and the highest port number o...

  • Page 187

    Dgs-3312sr layer 3 gigabit switch 181 dgs-3312sr:4#config 802.1x auth_parameter ports 1:1 – 1:20 direction both command: config 802.1x auth_parameter ports 1:1-1:20 direction both success. Dgs-3312sr:4# config 802.1x init purpose used to initialize the 802.1x function on a range of ports. Syntax con...

  • Page 188

    Dgs-3312sr layer 3 gigabit switch 182 example usage: to initialize the authentication state machine of some or all: dgs-3312sr:4# config 802.1x init port_based ports all command: config 802.1x init port_based ports all success. Dgs-3312sr:4# config 802.1x reauth ports purpose used to configure the 8...

  • Page 189

    Dgs-3312sr layer 3 gigabit switch 183 example usage: to configure 802.1x reauthentication for ports 1-10: dgs-3312sr:4#config 802.1x reauth port_based ports 1:1-1:18 command: config 802.1x reauth port_based ports 1:1-1:18 success. Dgs-3312sr:4# config radius add purpose used to add a new radius serv...

  • Page 190

    Dgs-3312sr layer 3 gigabit switch 184 config radius delete purpose used to delete a previously entered radius server configuration. Syntax config radius delete description the config radius deletecommand is used to delete a previously entered radius server configuration. Parameters − a number identi...

  • Page 191

    Dgs-3312sr layer 3 gigabit switch 185 example usage: to configure the radius settings: dgs-3312sr:4#config radius 1 10.48.74.121 key dlink default command: config radius 1 10.48.74.121 key dlink default success. Dgs-3312sr:4# show radius purpose used to display the current radius configurations on t...

  • Page 192: (Acl) C

    Dgs-3312sr layer 3 gigabit switch 186 25 a ccess c ontrol l ist (acl) c ommands the dgs-3312sr implements access control lists that enable the switch to deny network access to specific devices or device groups based on ip settings or mac address. The acl commands in the command line interface (cli) ...

  • Page 193

    Dgs-3312sr layer 3 gigabit switch 187 create access_profile ip source_ip_mask 255.255.255.0 profile_id 1 here we have created an access profile that will examine the ip field of each frame received by the switch. Each source ip address the switch finds will be combined with the source_ip_mask with a...

  • Page 194

    Dgs-3312sr layer 3 gigabit switch 188 create access_profile the switch will examine. Masks can be entered that will be combined with the values the switch finds in the specified frame header fields. Specific values for the rules are entered using the config access_profile command, below. Parameters ...

  • Page 196

    Dgs-3312sr layer 3 gigabit switch 190 dgs-3312sr:4#create access_profile ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code permit profile_id 101 command: create access_profile ip vlan source_ip_mask 20.0.0.0 destination_ip_mask 10.0.0.0 dscp icmp type code permit profi...

  • Page 198

    Dgs-3312sr layer 3 gigabit switch 192 config access_profile • dscp − specifies that the access profile will apply only to packets that have this value in their type-of-service (diffserv code point, dscp) field in their ip packet header. • icmp − specifies that the switch will examine the internet co...

  • Page 199

    Dgs-3312sr layer 3 gigabit switch 193 config access_profile user_define − specifies a mask to be combined with the value found in the frame header using a logical and operation. • packet_content – specifies that the switch will mask the packet header beginning with the offset value specified as foll...

  • Page 200

    Dgs-3312sr layer 3 gigabit switch 194 show access_profile purpose used to display the currently configured access profiles on the switch. Syntax show access_profile {profile_id } description the show access_profile command is used to display the currently configured access profiles parameters profil...

  • Page 201

    Dgs-3312sr layer 3 gigabit switch 195 26 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 applied. The tr...

  • Page 202

    Dgs-3312sr layer 3 gigabit switch 196 dgs-3312sr:4# config traffic_segmentation 1 : 1-1 : 9 forward_list 1 : 10-1 : 12 command: config traffic_segmentation 1 : 1-1 : 9 forward_list 1 : 10-1 : 12 note: if a port in forward_list belongs to a different slave form source_port, all ports on the slave wil...

  • Page 204

    Dgs-3312sr layer 3 gigabit switch 198 usage example to globally enable stacking: dgs-3312sr:4#config stacking mode enable command: config stacking mode enable the new stacking mode configuration must be saved and the system restarted to put the new settings into effect. If you do not save the change...

  • Page 205

    Dgs-3312sr layer 3 gigabit switch 199 to show stacking: dgs-3312sr:4#show stacking command: show stacking id mac address port range mode version rps status model name --- ------------------------- ---------- ---------- -------- ----------- --------- *15 00-01-02-03-04-00 1 - 12 master 3.00-b12 not p...

  • Page 206: D-L

    Dgs-3312sr layer 3 gigabit switch 200 28 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 conform to...

  • Page 207

    Dgs-3312sr layer 3 gigabit switch 201 6. The cas can be configured through the cs to become a ms. After configuring one switch to operate as the cs of a sim group, additional switches may join the group by either an automatic method or by manually configuring the switch to be a ms. The cs will then ...

  • Page 208

    Dgs-3312sr layer 3 gigabit switch 202 disable sim purpose used to disable single ip management (sim) on the switch syntax disable sim description this command will disable sim globally on the switch. Parameters none. Restrictions only administrator-level users can issue this command. Example usage: ...

  • Page 209

    Dgs-3312sr layer 3 gigabit switch 203 show sim members - entering this parameter will display information concerning members of the sim group. To view a specific member, include that member’s id number, listed from 1 to 32. Group commander_mac - entering this parameter will display information conce...

  • Page 210

    Dgs-3312sr layer 3 gigabit switch 204 dgs-3312sr:4#show sim member command: show sim member id mac address platform / hold firmware device name capability time version --- ----------------- ------------------------ ---- --------- ---------------- 1 00-01-04-03-04-00 dgs-3212sr l2 switch 40 3.00-b09 ...

  • Page 211

    Dgs-3312sr layer 3 gigabit switch 205 dgs-3312sr:4# reconfig purpose used to connect to a member switch, through the commander switch using telnet. Syntax reconfig {member_id description this command is used to reconnect to a member switch using telnet. Parameters member_id - select the id number of...

  • Page 212

    Dgs-3312sr layer 3 gigabit switch 206 dgs-3312sr:4#config sim_group add 2 command: config sim_group add 2 please wait for ack... Sim config success !!! Success. Dgs-3312sr:4# to delete a member: dgs-3312sr:4#config sim delete 1 command: config sim delete 1 please wait for ack... Success. Dgs-3312sr:...

  • Page 213

    Dgs-3312sr layer 3 gigabit switch 207 config sim interval from 30 to 90 seconds. Hold time – using this parameter, the user may set the time, in seconds, the switch will hold information sent to it from other switches, utilizing the discovery interval protocol. The user may set the hold time from 10...

  • Page 215

    Dgs-3312sr layer 3 gigabit switch 209 to download configuration files: dgs-3312sr: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 :...

  • Page 216: Sntp

    Dgs-3312sr layer 3 gigabit switch 210 29 t ime and sntp c ommands the simple network time protocol (sntp) (an adaptation of the network time protocol (npt)) commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters conf...

  • Page 217

    Dgs-3312sr layer 3 gigabit switch 211 example usage: to configure sntp settings: dgs-3312sr: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. Dgs-3312sr:4# show sntp purpose used to display the sntp i...

  • Page 218

    Dgs-3312sr layer 3 gigabit switch 212 to enable the sntp function: dgs-3312sr:4#enable sntp command: enable sntp success. Dgs-3312sr:4# disable sntp purpose disables sntp server support. Syntax disable sntp description this will disable sntp support. Sntp service must be separately configured (see c...

  • Page 219

    Dgs-3312sr layer 3 gigabit switch 213 to manually set system time and date settings: dgs-3312sr:4#config time 30jun2003 16:30:30 command: config time 30jun2003 16:30:30 success. Dgs-3312sr:4# config time zone purpose used to determine the time zone used in order to adjust the system clock. Syntax co...

  • Page 220

    Dgs-3312sr layer 3 gigabit switch 214 config dst parameters disable - disable the dst seasonal time adjustment for the switch. Repeating - using repeating mode will enable dst seasonal time adjustment. Repeating mode requires that the dst beginning and ending date be specified using a formula. For e...

  • Page 221

    Dgs-3312sr layer 3 gigabit switch 215 config dst restrictions only administrator-level users can issue this command. Example usage: to configure daylight savings time on the switch: dgs-3312sr: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 off...

  • Page 223

    Dgs-3312sr layer 3 gigabit switch 217 delete arpentry all − deletes all arp entries. Restrictions only administrator-level users can issue this command. Example usage: to delete an entry of ip address 10.48.74.121 from the arp table: dgs-3312sr:4#delete arpentry 10.48.74.121 command: delete arpentry...

  • Page 224

    Dgs-3312sr layer 3 gigabit switch 218 show arpentry description this command is used to display the current contents of the switch’s arp table. Parameters − the name of the ip interface the end node or station for which the arp table entry was made, resides on. − the network address corresponding to...

  • Page 225

    Dgs-3312sr layer 3 gigabit switch 219 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. Restrictions ...

  • Page 226: Vrrp C

    Dgs-3312sr layer 3 gigabit switch 220 31 vrrp c ommands vrrp or virtual routing redundancy protocol is a function on the switch that dynamically assigns responsibility for a virtual router to one of the vrrp routers on a lan. The vrrp router that controls the ip address associated with a virtual rou...

  • Page 227

    Dgs-3312sr layer 3 gigabit switch 221 example usage: to enable vrrp globally on the switch: dgs-3312sr:4#enable vrrp command: enable vrrp success. Dgs-3312sr:4# example usage: to enable the virtual ip address to be pinged: dgs-3312sr:4#enable vrrp ping command: enable vrrp ping success. Dgs-3312sr:4...

  • Page 229

    Dgs-3312sr layer 3 gigabit switch 223 create vrrp ipif critical_ip - enter the ip address of the physical device that will provide the most direct route to the internet or other critical network connections from this virtual router. This must be a real ip address of a real device on the network. If ...

  • Page 230

    Dgs-3312sr layer 3 gigabit switch 224 config vrrp ipif router priority. The vrrp priority value may determine if a higher priority vrrp router overrides a lower priority vrrp router. A higher priority will increase the probability that this router will become the master router of the group. A lower ...

  • Page 232

    Dgs-3312sr layer 3 gigabit switch 226 delete vrrp purpose used to delete a vrrp entry from the switch. Syntax delete vrrp {ipif vrid } description this command is used to remove a vrrp router running on a local device. Parameters ipif - enter the name of the ip interface which holds the vrrp router ...

  • Page 234

    Dgs-3312sr layer 3 gigabit switch 228 create iproute default purpose used to create ip route entries to the switch’s ip routing table. Syntax create iproute default {} description this command is used to create a default static ip route entry to the switch’s ip routing table. Parameters − the gatewa...

  • Page 235

    Dgs-3312sr layer 3 gigabit switch 229 dgs-3312sr:4#delete iproute 10.48.74.121/8 10.1.1.254 command: delete iproute 10.48.74.121/8 10.1.1.254 success. Dgs-3312sr:4# delete iproute default purpose used to delete a default ip route entry from the switch’s ip routing table. Syntax delete iproute defaul...

  • Page 236

    Dgs-3312sr layer 3 gigabit switch 230 example usage: to display the contents of the ip routing table: dgs-3312sr:4#show iproute command: show iproute ip address/netmask gateway interface hops protocol --------------- --------------- --------------- ---- ----------- 0.0.0.0 10.1.1.254 system 1 defaul...

  • Page 238

    Dgs-3312sr layer 3 gigabit switch 232 route source metric metric type rip 0 to 16777214 mettype 1 mettype 2 static 0 to 16777214 mettype 1 mettype 2 local 0 to 16777214 mettype 1 mettype 2 allowed metric type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in ...

  • Page 239

    Dgs-3312sr layer 3 gigabit switch 233 entering the type combination − internal type_1 type_2 is functionally equivalent to all. Entering the combination type_1 type_2 is functionally equivalent to external. Entering the combination internal external is functionally equivalent to all. Entering the me...

  • Page 240

    Dgs-3312sr layer 3 gigabit switch 234 allowed metric type combinations are mettype 1 or mettype 2. The metric value 0 above will be redistributed in ospf as the metric 20. Example usage: to configure route redistributions: dgs-3312sr:4#config route redistribute dst ospf src all metric 2 command: con...

  • Page 242

    Dgs-3312sr layer 3 gigabit switch 236 dgs-3312sr:4#show route redistribute command: show route redistribute source destination type metric protocol protocol -------- ------------ -------- -------- static rip all 1 local ospf type-2 20 total entries : 2 dgs-3312sr:4#.

  • Page 244

    Dgs-3312sr layer 3 gigabit switch 238 config bootp_relay add purpose used to add an ip destination address to the switch’s bootp relay table. Syntax config bootp_relay add ipif description this command adds an ip address as a destination to forward (relay) bootp packets to. Parameters − the name of ...

  • Page 245

    Dgs-3312sr layer 3 gigabit switch 239 enable bootp_relay purpose used to enable the bootp relay function on the switch. Syntax enable bootp_relay description this command, in combination with the disable bootp_relay command below, is used to enable and disable the bootp relay function on the switch....

  • Page 246

    Dgs-3312sr layer 3 gigabit switch 240 show bootp_relay purpose used to display the current bootp relay configuration. Syntax show bootp_relay {ipif } description this command will display the current bootp relay configuration for the switch, or if an ip interface name is specified, the bootp relay c...

  • Page 248

    Dgs-3312sr layer 3 gigabit switch 242 dgs-3312sr:4#config dnsr add static dns1 10.43.21.12 command: config dnsr add static dns1 10.43.21.12 success. Dgs-3312sr:4# example usage: to delete an entry domain name dns1, ip address 10.43.21.12 from dns static table. Dgs-3312sr:4#config dnsr delete static ...

  • Page 249

    Dgs-3312sr layer 3 gigabit switch 243 dgs-3312sr:4#enable dnsr cache command: enable dnsr cache success. Dgs-3312sr:4# example usage: to enable static table lookup for dns relay. Dgs-3312sr:4#enable dnsr static command: enable dnsr static success. Dgs-3312sr:4# disable dnsr purpose used to disable d...

  • Page 250

    Dgs-3312sr layer 3 gigabit switch 244 dgs-3312sr:4#disable dnsr cache command: disable dnsr cache success. Dgs-3312sr:4# example usage: to disable static table lookup for dns relay. Dgs-3312sr:4#disable dnsr static command: disable dnsr static success. Dgs-3312sr:4# show dnsr purpose used to display...

  • Page 253

    Dgs-3312sr layer 3 gigabit switch 247 disable rip purpose used to disable rip. Syntax disable rip description this command is used to disable rip on the switch. Parameters none. Restrictions only administrator-level users can issue this command. Example usage: to disable rip: dgs-3312sr:4#disable ri...

  • Page 255

    Dgs-3312sr layer 3 gigabit switch 249 config dvmrp probe is also used to “keep alive” the connection between dvmrp enabled devices. The default value is 10 seconds. Neighbor_timeout − the time period for which dvmrp will hold neighbor router reports before issuing poison route messages. The default ...

  • Page 256

    Dgs-3312sr layer 3 gigabit switch 250 disable dvmrp purpose used to disable dvmrp. Syntax disable dvmrp description this command, in combination with the enable dvmrp above, to enable and disable dvmrp on the switch. Parameters none. Restrictions only administrator-level users can issue this command...

  • Page 258

    Dgs-3312sr layer 3 gigabit switch 252 dgs-3312sr:4#show dvmrp nexthop command: show dvmrp nexthop source ip address/netmask interface name type ----------------- --------------- ------ 10.0.0.0/8 ip2 leaf 10.0.0.0/8 ip3 leaf 20.0.0.0/8 system leaf 20.0.0.0/8 ip3 leaf 30.0.0.0/8 system leaf 30.0.0.0/...

  • Page 261

    Dgs-3312sr layer 3 gigabit switch 255 disable pim description this command will disable pim for the switch. Any previously configured pim settings will remain unchanged and may be enabled at a later time with the enable pim command. Parameters none. Restrictions only administrator-level users can us...

  • Page 262

    Dgs-3312sr layer 3 gigabit switch 256 dgs-3312sr:4#show pim neighbor command: show pim neighbor pim neighbor address table interface name neighbor address expire time --------------- ---------------- ----------- system 10.48.74.122 5 total entries : 1 dgs-3312sr:4# show pim purpose used to display c...

  • Page 265: Md5 C

    Dgs-3312sr layer 3 gigabit switch 259 40 md5 c onfiguration c ommands the md5 configuration commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create md5 key config md5 key delete md5 key show md5 key each comman...

  • Page 266

    Dgs-3312sr layer 3 gigabit switch 260 usage example to configure an md5 key password: dgs-3312sr:4#config md5 key 1 taboo command: config md5 key 1 taboo success. Dgs-3312sr:4# delete md5 key purpose used to delete an entry in the md5 key table. Syntax delete md5 key description this command is used...

  • Page 267

    Dgs-3312sr layer 3 gigabit switch 261 dgs-3312sr:4#show md5 command: show md5 md5 key table configurations key-id key ------ ---------- 1 dlink 2 develop 3 fireball 4 intelligent total entries: 4 dgs-3312sr:4#.

  • Page 268: Ospf C

    Dgs-3312sr layer 3 gigabit switch 262 41 ospf c onfiguration c ommands the ospf configuration commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config ospf router_id enable ospf disable ospf show ospf create osp...

  • Page 270

    Dgs-3312sr layer 3 gigabit switch 264 dgs-3312sr:4#enable ospf command: enable ospf success. Dgs-3312sr:4# disable ospf purpose used to disable ospf on the switch. Syntax disable ospf description this command, in combination with the enable ospf command above, is used to enable and disable ospf on t...

  • Page 271

    Dgs-3312sr layer 3 gigabit switch 265 usage example: to show ospf state: dgs-3312sr:4#show ospf command: show ospf ospf router id : 10.1.1.2 state : enabled ospf interface settings interface ip address area id state link metric status ------------ ------------------ --------- -------- --------- ----...

  • Page 274

    Dgs-3312sr layer 3 gigabit switch 268 usage example to display an ospf area’s settings: dgs-3312sr:4#show ospf area command: show ospf area area id type stub import summary lsa stub default cost -------------- ------------- ------------------------------------ ----------- -------- 0.0.0.0 normal non...

  • Page 275

    Dgs-3312sr layer 3 gigabit switch 269 usage example to delete an ospf host route: dgs-3312sr:4#delete ospf host_route 10.48.74.122 command: delete ospf host_route 10.48.74.122 success. Dgs-3312sr:4# config ospf host_route purpose used to configure ospf host route settings. Syntax config ospf host_ro...

  • Page 276

    Dgs-3312sr layer 3 gigabit switch 270 show ospf host_route restrictions none. Usage example: to display the current ospf host route table: dgs-3312sr:4#show ospf host_route command: show ospf host_route host address metric area_id tos --------------- --------------- ----------- ------ 10.48.73.21 2 ...

  • Page 277

    Dgs-3312sr layer 3 gigabit switch 271 delete ospf aggregation purpose used to delete an ospf area aggregation configuration. Syntax delete ospf aggregation lsdb_type summary description this command is used to delete an ospf area aggregation configuration. Parameters − a 32-bit number in the form of...

  • Page 278

    Dgs-3312sr layer 3 gigabit switch 272 usage example to configure the ospf area aggregation settings: dgs-3312sr:4#config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable command: config ospf aggregation 10.1.1.1 10.48.76.122/16 lsdb_type summary advertise enable success. ...

  • Page 280

    Dgs-3312sr layer 3 gigabit switch 274 dgs-3312sr:4#show ospf neighbor command: show ospf neighbor ip address of router id of neighbor neighbor neighbor neighbor priority state --------------- -------------- -------- ------------ 10.48.74.122 10.2.2.2 1 initial dgs-3312sr:4# show ospf virtual_neighbo...

  • Page 282

    Dgs-3312sr layer 3 gigabit switch 276 dgs-3312sr:4#config ospf ipif system priority 2 hello_interval 15 metric 2 state enable command: config ospf ipif system priority 2 hello_interval 15 metric 2 state enable success. Dgs-3312sr:4# config ospf all purpose used to configure all of the ospf interface...

  • Page 283

    Dgs-3312sr layer 3 gigabit switch 277 to configure all of the ospf interfaces on the switch with a single group of parameters: dgs-3312sr:4#config ospf all state enable command: config ospf all state enable success. Dgs-3312sr:4# show ospf ipif purpose used to display the current ospf interface sett...

  • Page 284

    Dgs-3312sr layer 3 gigabit switch 278 interface name: ipif2 ip address: 123.234.12.34/24 ((link up) network medium type: broadcast metric: 1 area id: 1.0.0.0 administrative state: enabled priority: 1 dr state: dr dr address: 123.234.12.34 backup dr address: none hello interval: 10 dead interval: 40 ...

  • Page 285

    Dgs-3312sr layer 3 gigabit switch 279 dgs-3312sr:4#create ospf virtual_link 10.1.12 20.1.1.1 hello_interval 10 command: create ospf virtual_link 10.1.12 20.1.1.1 hello_interval 10 success. Dgs-3312sr:4# config ospf virtual_link purpose used to configure the ospf virtual interface settings. Syntax co...

  • Page 286

    Dgs-3312sr layer 3 gigabit switch 280 usage example to configure the ospf virtual interface settings: dgs-3312sr:4#config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10 command: config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10 success. Dgs-3312sr:4# delete ospf virtual_link purpos...

  • Page 287

    Dgs-3312sr layer 3 gigabit switch 281 show ospf virtual_link parameters − a 32-bit number in the form of an ip address (xxx.Xxx.Xxx.Xxx) that uniquely identifies the ospf area in the ospf domain. − the ospf router id for the remote area. This is a 32-bit number in the form of an ip address (xxx.Xxx....

  • Page 288

    Dgs-3312sr layer 3 gigabit switch 282 42 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 config command_history each command is listed, i...

  • Page 289

    Dgs-3312sr layer 3 gigabit switch 283 show command_history purpose used to display the command history. Syntax show command_history description this command will display the command history. Parameters none. Restrictions none. Example usage to display the command history: dgs-3312sr:4#show command_h...

  • Page 290

    Dgs-3312sr layer 3 gigabit switch 284 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 90 watts maximum dc fans 2 built-in 40 x 40 x10 mm fans operating temperatur...

  • Page 291

    Dgs-3312sr layer 3 gigabit switch 285 general fast ethernet gigabit ethernet fiber optic 100mbps 200mbps n/a 2000mbps sfp (mini gbic) support ieee 802.3z 1000base-lx (dem-310gt transceiver) ieee 802.3z 1000base-sx (dem-311gt transceiver) ieee 802.3z 1000base-lh (dem-314gt transceiver) ieee 802.3z 10...

  • Page 292

    Dgs-3312sr layer 3 gigabit switch 286 fcc warning this equipment has been tested and found to comply with the limits for a class a digital device, pursuant to part 15 of the fcc rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is opera...

  • Page 293

    Dgs-3312sr layer 3 gigabit switch 287 warranty and registration information (all countries and regions excluding usa) wichtige sicherheitshinweise 1. Bitte lesen sie sich diese hinweise sorgfältig durch. 2. Heben sie diese anleitung für den spätern gebrauch auf. 3. Vor jedem reinigen ist das gerät v...

  • Page 294

    Dgs-3312sr layer 3 gigabit switch 288 this warranty applies on the condition that the product registration card is filled out and returned to a d-link office within ninety (90) days of purchase. A list of d-link offices is provided at the back of this manual, together with a copy of the registration...

  • Page 295

    Dgs-3312sr layer 3 gigabit switch 289 subject to the terms and conditions set forth herein, d-link systems, inc. (“d-link”) provides this limited warranty: • only to the person or entity that originally purchased the product from d-link or its authorized reseller or distributor, and • only for produ...

  • Page 296

    Dgs-3312sr layer 3 gigabit switch 290 d-link may reject or return any product that is not packaged and shipped in strict compliance with the foregoing requirements, or for which an rma number is not visible from the outside of the package. The product owner agrees to pay d-link’s reasonable handling...

  • Page 297

    Dgs-3312sr layer 3 gigabit switch 291 product registration register online your d-link product at http://support.Dlink.Com/register/ product registration is entirely voluntary and failure to complete or return this form will not diminish your warranty rights..

  • Page 298

    Dgs-3312sr layer 3 gigabit switch 292 - trademarks copyright 2002 d-link corporation. Contents subject to change without prior notice. D-link is a registered trademark of d-link corporation/ d-link systems inc. All other trademarks belong to their respective proprietors. - copyright statement no par...

  • Page 299

    Dgs-3312sr layer 3 gigabit switch 293 the warranty periods listed above are effective in respect of all d-link products sold in european countries by d-link or one of its authorized resellers or distributors from 1st of january 2004. All products sold in european countries by d-link or one of its au...

  • Page 300

    Dgs-3312sr layer 3 gigabit switch 2 wartungsvereinbarung sind, (e) fehlgebrauch oder fehlerhafter lagerung oder (f) feuer, wasser, höherer gewalt oder anderer katastrophen. Diese garantie gilt ebenfalls nicht für produkte, bei denen eine d-link-seriennummer entfernt oder auf sonstige weise unkenntli...

  • Page 301

    Dgs-3312sr layer 3 gigabit switch 2 directs ou indirects occasionnes aux produits grand public. Dans les etats ou pays en question, certaines exclusions ou limitations de la presente garantie peuvent ne pas s’appliquer a votre cas. La presente garantie limitee vous octroie certains droits legaux spe...

  • Page 302

    Dgs-3312sr layer 3 gigabit switch 3 london nw9 5 ab royaume-uni tél : +44-020-8731-5555 fax : +44-020-8731-5511 www.Dlink.Co.Uk garantía limitada del producto d-link europa condiciones generales esta garantía la ofrece d-link (europe) ltd. (en este documento, "d-link"). La garantía limitada del prod...

  • Page 303

    Dgs-3312sr layer 3 gigabit switch 2 resto de productos dos (2) años piezas de repuesto (p. Ej., adaptadores de alimentación externos, ventiladores) un (1) año estos períodos de garantía están en vigor para todos los productos d-link que hayan sido comprados en países europeos a d-link o a alguno de ...

  • Page 304

    Dgs-3312sr layer 3 gigabit switch 2 autorizzati offrono assistenza conformemente alle condizioni e ai termini stabiliti nella presente garanzia. Tuttavia, la disponibilità all’assistenza e i tempi di intervento variano da paese a paese e possono essere soggetti a eventuali requisiti di registrazione...

  • Page 305

    Dgs-3312sr layer 3 gigabit switch 3 www.Dlink.Co.Uk.