D-Link DGS-3024 Command Line Interface Reference Manual

Other manuals for DGS-3024: User Manual, Manual, Manual, Manual
Manual is about: Managed 24-Port Gigabit Ethernet Switch

Summary of DGS-3024

  • Page 1

    Dgs-3024 layer 2 switch command line interface reference manual first edition (december 2004) 6dgs3024c.01 printed in taiwan recyclable.

  • Page 2

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

  • Page 3

    Dgs-3024 layer 2 switch cli reference manual 1 i ntroduction the dgs-3024 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 ...

  • Page 4

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

  • Page 5

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

  • Page 6: Cli

    Dgs-3024 layer 2 switch cli reference manual 2 u sing the c onsole cli the dgs-3024 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 us...

  • Page 7

    Dgs-3024 layer 2 switch cli reference manual figure 2-1. Console screen after login commands are entered at the command prompt, dgs-3024: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 ? Comm...

  • Page 8

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

  • Page 9

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

  • Page 10

    Dgs-3024 layer 2 switch cli reference manual in the above example, all of the possible next parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter. The cli then displays the user accounts config...

  • Page 11

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

  • Page 14

    Dgs-3024 layer 2 switch cli reference manual create account passwords can be between 0 and 15 characters. Example usage: to create an administrator-level user account with the username “dlink”. Dgs-3024:4#create account admin dlink command: create account admin dlink enter a case-sensitive new passw...

  • Page 15

    Dgs-3024 layer 2 switch cli reference manual 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 accounts that have been created: dgs-3024:4#show accoun...

  • Page 16

    Dgs-3024 layer 2 switch cli reference manual show session purpose used to display a list of currently logged-in users. Syntax show session description this command displays a list of all the users that are logged-in at the time the command is issued. Parameters none. Restrictions none. Example usage...

  • Page 17

    Dgs-3024 layer 2 switch cli reference manual igmp snooping : disabled telnet : enabled (tcp 23) web : enabled (tcp 80) rmon : enabled dgs-3024:4# show serial_port purpose used to display the current serial port settings. Syntax show serial_port description this command displays the current serial po...

  • Page 18

    Dgs-3024 layer 2 switch cli reference manual config serial_port 5_minutes − the console will log out the current user if there is no user input for 5 minutes. 10_minutes − the console will log out the current user if there is no user input for 10 minutes. 15_minutes − the console will log out the cu...

  • Page 19

    Dgs-3024 layer 2 switch cli reference manual disable clipaging purpose used to disable the pausing of the console screen scrolling at the end of each page when the command displays more than one screen of information. Syntax disable clipaging description this command is used to disable the pausing o...

  • Page 20

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

  • Page 21

    Dgs-3024 layer 2 switch cli reference manual 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 is...

  • Page 22

    Dgs-3024 layer 2 switch cli reference manual reboot purpose used to restart the switch. Syntax reboot description this command is used to restart the switch. Parameters none. Restrictions none. Example usage: to restart the switch: dgs-3024:4#reboot command: reboot are you sure want to proceed with ...

  • Page 23

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

  • Page 24

    Dgs-3024 layer 2 switch cli reference manual ping pinging an ip address without the times parameter will ping the target device an infinite amount of times. Restrictions none. Example usage: to ping the ip address 10.48.74.121 four times: dgs-3024:4#ping 10.48.74.121 times 4 command: ping 10.48.74.1...

  • Page 26

    Dgs-3024 layer 2 switch cli reference manual success. Dgs-3024:4# show ports purpose used to display the current configuration of a range of ports. Syntax show ports {} description this command is used to display the current configuration of a range of ports. Parameters − specifies a port or range o...

  • Page 27: (Snmp) C

    Dgs-3024 layer 2 switch cli reference manual 6 n etwork m anagement (snmp) c ommands the network management commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. The dgs-3024 supports the simple network management protocol (snmp) vers...

  • Page 29

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

  • Page 30

    Dgs-3024 layer 2 switch cli reference manual create snmp user the agent. None – adding this parameter will add no encryption. Restrictions only administrator-level users can issue this command. Example usage: to create an snmp user on the switch: dgs-3024:4#create snmp user dlink default encrypted b...

  • Page 31

    Dgs-3024 layer 2 switch cli reference manual 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. Para...

  • Page 32

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#create snmp view dlinkview 1.3.6 view_type included command: create snmp view dlinkview 1.3.6 view_type included success. Dgs-3024:4# delete snmp view purpose used to remove an snmp view entry previously created on the switch. Syntax delete snm...

  • Page 33

    Dgs-3024 layer 2 switch cli reference manual dgs-3024: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 included restricted 1.3.6.1.2.1.1 in...

  • Page 34

    Dgs-3024 layer 2 switch cli reference manual create snmp community 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-level users can issue this com...

  • Page 35

    Dgs-3024 layer 2 switch cli reference manual 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 ...

  • Page 36

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#config snmp engineid 0035636666 command: config snmp engineid 0035636666 success. Dgs-3024:4# show snmp engineid purpose used to display the identification of the snmp engine on the switch. Syntax show snmp engineid description the show snmp en...

  • Page 37

    Dgs-3024 layer 2 switch cli reference manual create snmp group strategies. It includes improvements in the structure of management information (smi) and adds some security features. V3 – specifies that the snmp version 3 will be used. Snmp v3 provides secure access to devices through a combination o...

  • Page 38

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 command: create snmp group sg1 v3 noauth_nopriv read_view v1 write_view v1 notify_view v1 success. Dgs-3024:4# delete snmp group purpose used to remove an snmp gro...

  • Page 39

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#show snmp groups command: show snmp groups vacm access table settings group name : group3 readview name : readview writeview name : writeview notify view name : notifyview security model : snmpv3 security level : noauthnopriv group name : group...

  • Page 40

    Dgs-3024 layer 2 switch cli reference manual readview name : communityview writeview name : notify view name : communityview security model : snmpv2 security level : noauthnopriv group name : writegroup readview name : communityview writeview name : communityview notify view name : communityview sec...

  • Page 41

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

  • Page 42

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#delete snmp host 10.48.74.100 command: delete snmp host 10.48.74.100 success. Dgs-3024:4# 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 snm...

  • Page 43

    Dgs-3024 layer 2 switch cli reference manual to enable rmon: dgs-3024:4#enable rmon command: enable rmon success. Dgs-3024:4# disable rmon purpose used to disable rmon on the switch. Syntax disable rmon description this command is used, in conjunction with theenable rmon command above, to enable and...

  • Page 44

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#create trusted_host 10.48.74.121 command: create trusted_host 10.48.74.121 success. Dgs-3024: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 tru...

  • Page 45

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#delete trusted_host 10.48.74.121 command: delete trusted_host 10.48.74.121 success. Dgs-3024: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 snm...

  • Page 46

    Dgs-3024 layer 2 switch cli reference manual enable snmp authenticate trap purpose used to enable snmp authentication trap support. Syntax enable snmp authenticate trap description this command is used to enable snmp authentication trap support on the switch. Parameters none. Restrictions only admin...

  • Page 47

    Dgs-3024 layer 2 switch cli reference manual show snmp traps parameters none. Restrictions only administrator-level users can issue this command. Example usage: to view the current snmp trap support: dgs-3024:4#show snmp traps command: show snmp traps snmp traps : enabled authenticate trap : enabled...

  • Page 48

    Dgs-3024 layer 2 switch cli reference manual config snmp system_location purpose used to enter a description of the location of the switch. Syntax config snmp system_location {} description the config snmp system_location command is used to enter a description of the location of the switch. A maximu...

  • Page 49: Mac N

    Dgs-3024 layer 2 switch cli reference manual 7 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_not...

  • Page 50

    Dgs-3024 layer 2 switch cli reference manual example usage: to disable mac notification without changing basic configuration: dgs-3024:4#disable mac_notification command: disable mac_notification success. Dgs-3024:4# config mac_notification purpose used to configure mac address notification. Syntax ...

  • Page 51

    Dgs-3024 layer 2 switch cli reference manual config mac_notification ports address table notification on the switch. Restrictions only administrator-level users can issue this command. Example usage: to enable port 7 for mac address table notification: dgs-3024:4#config mac_notification ports 7 enab...

  • Page 52

    Dgs-3024 layer 2 switch cli reference manual show mac_notification ports purpose used to display the switch’s mac address table notification status settings. Syntax show mac_notification ports description this command is used to display the switch’s mac address table notification status settings. Pa...

  • Page 54

    Dgs-3024 layer 2 switch cli reference manual example usage: to download a configuration file: dgs-3024: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 55

    Dgs-3024 layer 2 switch cli reference manual example usage: to upload a configuration file: dgs-3024:4#upload configuration 10.48.74.121 c:\cfg\setting.Txt command: upload configuration 10.48.74.121 c:\cfg\setting.Txt connecting to server................... Done. Upload configuration...................

  • Page 56

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

  • Page 57

    Dgs-3024 layer 2 switch cli reference manual dgs-3024: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 10 r...

  • Page 58

    Dgs-3024 layer 2 switch cli reference manual show utilization purpose used to display real-time port utilization statistics. Syntax show utilization description this command will display the real-time port utilization statistics for the switch. Parameters none. Restrictions none. Example usage: to d...

  • Page 59

    Dgs-3024 layer 2 switch cli reference manual example usage: to clear the counters: dgs-3024:4#clear counters command: clear counters success. Dgs-3024:4# clear log purpose used to clear the switch’s history log. Syntax clear log description this command will clear the switch’s history log. Parameter...

  • Page 60

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#show log index time log text ----- ---------- --------------------------------------------------------------- 4 00000 days 03:03:58 unit 1, successful login through console (username: anonymous) 3 00000 days 03:02:58 unit 1, logout through cons...

  • Page 61

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#disable syslog command: disable syslog success. Dgs-3024: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 or d...

  • Page 62

    Dgs-3024 layer 2 switch cli reference manual create syslog host numerical severity code 0 emergency: system is unusable 1 alert: action must be taken immediately 2 critical: critical conditions 3 error: error conditions 4 warning: warning conditions 5 notice: normal but significant condition 6 infor...

  • Page 63

    Dgs-3024 layer 2 switch cli reference manual create syslog host 14 log alert 15 clock daemon 16 local use 0 (local0) 17 local use 1 (local1) 18 local use 2 (local2) 19 local use 3 (local3) 20 local use 4 (local4) 21 local use 5 (local5) 22 local use 6 (local6) 23 local use 7 (local7) local0 − specif...

  • Page 65

    Dgs-3024 layer 2 switch cli reference manual config syslog host 4 security/authorization messages 5 messages generated internally by syslog 6 line printer subsystem 7 network news subsystem 8 uucp subsystem 9 clock daemon 10 security/authorization messages 11 ftp daemon 12 ntp subsystem 13 log audit...

  • Page 66

    Dgs-3024 layer 2 switch cli reference manual config syslog host restrictions only administrator-level users can issue this command. Example usage: to configure a syslog host: dgs-3024:4#config syslog host all severity all facility local0 command: config syslog host all severity all facility local0 s...

  • Page 67

    Dgs-3024 layer 2 switch cli reference manual show syslog host restrictions none. Example usage: to show syslog host information: dgs-3024:4#show syslog host command: show syslog host syslog global state: disabled host id host ip address severity facility udp port status ------- --------------- -----...

  • Page 68

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

  • Page 69

    Dgs-3024 layer 2 switch cli reference manual config stp packets from other network devices when stp is disabled on the switch. The default is enabled. Restrictions only administrator-level users can issue this command. Example usage: to configure stp with maxage 18 and hellotime 4: dgs-3024:4#config...

  • Page 71

    Dgs-3024 layer 2 switch cli reference manual disable stp purpose used to globally disable stp on the switch. Syntax disable stp description this command allows the spanning tree protocol to be globally disabled on the switch. Parameters none. Restrictions only administrator-level users can issue thi...

  • Page 72

    Dgs-3024 layer 2 switch cli reference manual cost to root : 200000 root port : 10 last topology change : 53sec topology changes count : 1 protocol specification : 3 max age : 20 hello time : 2 forward delay : 15 hold time : 3 ctrl+c esc q quit space n next page p previous page r refresh status 2 : s...

  • Page 73

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#show stp ports command: show stp ports port designated bridge state cost pri edge p2p status role ------ ------------------ ----- ---------- ---- ---- --- ---------- ---------- 1 n/a yes *200000 128 no yes disabled disabled 2 n/a yes *200000 12...

  • Page 74

    Dgs-3024 layer 2 switch cli reference manual 11 f orwarding d atabase c ommands the layer 2 forwarding database commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create fdb port create multicast_fdb config multi...

  • Page 75

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4# 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 dat...

  • Page 76

    Dgs-3024 layer 2 switch cli reference manual to add multicast mac forwarding: dgs-3024:4#config multicast_fdb default 01-00-5e-00-00-00 add 1 command: config multicast_fdb default 01-00-5e-00-00-00 add 1 success. Dgs-3024:4# config fdb aging_time purpose used to set the aging time of the forwarding ...

  • Page 77

    Dgs-3024 layer 2 switch cli reference manual delete fdb address resides. − the mac address that will be added to the forwarding table. Restrictions only administrator-level users can issue this command. Example usage: to delete a permanent fdb entry: dgs-3024:4#delete fdb default 00-00-00-00-01-02 c...

  • Page 79

    Dgs-3024 layer 2 switch cli reference manual example usage: to display unicast mac address table: dgs-3024: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-9...

  • Page 81

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#config traffic control ports all state enable command: config traffic control ports all state enable success. Dgs-3024:4#config traffic control storm_type broadcast threshold 15000 command: config traffic control storm_type broadcast threshold ...

  • Page 82: S C

    Dgs-3024 layer 2 switch cli reference manual 13 q o s c ommands the dgs-3024 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 pr...

  • Page 83

    Dgs-3024 layer 2 switch cli reference manual the qos commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters config scheduling max_packet show scheduling config 802.1p user_priority show 802.1p user_priority config 80...

  • Page 84

    Dgs-3024 layer 2 switch cli reference manual config scheduling to transmit before allowing the next lowest priority classes of service to transmit its packets. A value between 0 and 15 packets can be specified. The default value is 0. Restrictions only administrator-level users can issue this comman...

  • Page 85

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

  • Page 86

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

  • Page 87

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#config 802.1p default_priority all 5 command: config 802.1p default_priority all 5 success. Dgs-3024:4# show 802.1 default_priority purpose used to display the currently configured 802.1p priority value that will be assigned to an incoming, unt...

  • Page 89

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4# config mirror source port 1 ingress_target port 2 egress_target port 3 command: config mirror source port 1 ingress_target port 2 egress_target port 3 success. Dgs-3024:4# enable mirror purpose used to enable a previously entered port mirrorin...

  • Page 90

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#disable mirror command: disable mirror success. Dgs-3024:4# show mirror purpose used to show the current port mirroring configuration on the switch. Syntax show mirror description this command displays the current port mirroring configuration o...

  • Page 92

    Dgs-3024 layer 2 switch cli reference manual 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 switch. Parameters − the vlan name of the vlan to delete. Restrictions only administ...

  • Page 94

    Dgs-3024 layer 2 switch cli reference manual enable gvrp purpose used to enable gvrp on the switch. Syntax enable gvrp description this command, along with disable gvrp below, is used to enable and disable gvrp on the switch, without changing the gvrp configuration on the switch. Parameters none. Re...

  • Page 95

    Dgs-3024 layer 2 switch cli reference manual show vlan purpose used to display the current vlan configuration on the switch syntax show vlan {} description this command displays summary information about each vlan including the vlan id, vlan name, the tagging/untagging status, and the member/non-mem...

  • Page 96

    Dgs-3024 layer 2 switch cli reference manual 2 1 disabled enabled all frames 3 1 disabled enabled all frames 4 1 disabled enabled all frames 5 1 disabled enabled all frames total entries : 5 dgs-3024:4# 94.

  • Page 97

    Dgs-3024 layer 2 switch cli reference manual 16 l ink a ggregation c ommands the link aggregation commands in the command line interface (cli) are listed (along with the appropriate parameters) in the following table. Command parameters create link_aggregation group_id delete link_aggregation group_...

  • Page 98

    Dgs-3024 layer 2 switch cli reference manual delete link_aggregation group_id aggregation groups to be configured. The group number identifies each of the groups. Restrictions only administrator-level users can issue this command. Example usage: to delete link aggregation group: dgs-3024:4#delete li...

  • Page 100

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#show link_aggregation command: show link_aggregation link aggregation algorithm = mac-source-dest group id : 1 master port : 5 member port : 5-7,9 active port : status : disabled dgs-3024:4# 98.

  • Page 102

    Dgs-3024 layer 2 switch cli reference manual show ipif purpose used to display the configuration of an ip interface on the switch. Syntax show ipif {} description this command will display the configuration of an ip interface on the switch. Parameters - enter the name of the ip interface for which t...

  • Page 104

    Dgs-3024 layer 2 switch cli reference manual example usage: to configure the igmp snooping: dgs-3024:4#config igmp_snooping default host_timeout 250 state enable command: config igmp_snooping default host_timeout 250 state enable success. Dgs-3024:4# config igmp_snooping querier purpose used to conf...

  • Page 106

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

  • Page 107

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

  • Page 108

    Dgs-3024 layer 2 switch cli reference manual dgs-3024: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 dgs-3024:4# show igmp_snooping forwarding purpose used to ...

  • Page 109

    Dgs-3024 layer 2 switch cli reference manual to display the router ports. Dgs-3024:4#show router_ports command: show router_ports vlan name : default static router port : 1-10 dynamic router port : total entries: 1 dgs-3024:4# 107.

  • Page 110: 802.1X C

    Dgs-3024 layer 2 switch cli reference manual 19 802.1x c ommands the dgs-3024 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...

  • Page 111

    Dgs-3024 layer 2 switch cli reference manual enable 802.1x restrictions only administrator-level users can issue this command. Example usage: to enable 802.1x switch wide: dgs-3024:4#enable 802.1x command: enable 802.1x success. Dgs-3024:4# disable 802.1x purpose used to disable the 802.1x server on...

  • Page 112

    Dgs-3024 layer 2 switch cli reference manual show 802.1x auth_state authenticated / held / forceauth / forceunauth − shows the current state of the authenticator pae. Backend state: request / response / fail / idle / initialize / success / timeout − shows the current state of the backend authenticat...

  • Page 113

    Dgs-3024 layer 2 switch cli reference manual show 802.1x auth_configuration authentication process. Authorized means that the user was authenticated, and can access the network. Unauthorized means that the user was not authenticated, and can not access the network. Pae state: initialize/disconnected...

  • Page 114

    Dgs-3024 layer 2 switch cli reference manual opencrldir : both port control : auto quietperiod : 60 sec txperiod : 30 sec supptimeout : 30 sec servertimeout : 30 sec maxreq : 2 times reauthperiod : 3600 sec reauthenticate : disabled ctrl+c esc q quit space n next page enter next entry a all config 8...

  • Page 115

    Dgs-3024 layer 2 switch cli reference manual config 802.1x auth_parameter ports settings. Parameters − specifies a port or range of ports to be configured. All − specifies all of the ports on the switch. Default − returns all of the ports in the specified range to their 802.1x default settings. Dire...

  • Page 117

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#config 802.1x reauth port_based ports 1-18 command: config 802.1x reauth port_based ports 1-18 success. Dgs-3024:4# config radius add purpose used to configure the settings the switch will use to communicate with a radius server. Syntax config ...

  • Page 118

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

  • Page 119

    Dgs-3024 layer 2 switch cli reference manual to configure radius settings: dgs-3024:4#config radius 1 10.48.74.121 key dlink default command: config radius 1 10.48.74.121 key dlink default success. Dgs-3024:4# show radius purpose used to display the current radius configurations on the switch. Synta...

  • Page 120

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

  • Page 121

    Dgs-3024 layer 2 switch cli reference manual to delete 802.1x users: dgs-3024:4#delete 802.1x user dtremblett command: delete 802.1x user dtremblett success. Dgs-3024:4# 119.

  • Page 122: Sntp

    Dgs-3024 layer 2 switch cli reference manual 20 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 paramete...

  • Page 123

    Dgs-3024 layer 2 switch cli reference manual to configure sntp settings: dgs-3024: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-3024:4# show sntp purpose used to display the sntp information...

  • Page 124

    Dgs-3024 layer 2 switch cli reference manual to enable the sntp function: dgs-3024:4#enable sntp command: enable sntp success. Dgs-3024:4# disable sntp purpose disables sntp server support. Syntax disable sntp description this will disable sntp support. Sntp service must be separately configured (se...

  • Page 125

    Dgs-3024 layer 2 switch cli reference manual to manually set system time and date settings: dgs-3024:4#config time 30062003 16:30:30 command: config time 30062003 16:30:30 success. Dgs-3024:4# config time_zone purpose used to determine the time zone used in order to adjust the system clock. Syntax c...

  • Page 126

    Dgs-3024 layer 2 switch cli reference manual config dst adjustment effects system time for both manually configured time and time set using sntp service. Parameters disable - disable the dst seasonal time adjustment for the switch. Repeating - using repeating mode will enable dst seasonal time adjus...

  • Page 127

    Dgs-3024 layer 2 switch cli reference manual config dst during the summertime. The possible offset times are 30, 60, 90, 120. The default value is 60. Restrictions only administrator-level users can issue this command. Example usage: to configure daylight savings time on the switch: dgs-3024:4# conf...

  • Page 128

    Dgs-3024 layer 2 switch cli reference manual 21 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 eac...

  • Page 129

    Dgs-3024 layer 2 switch cli reference manual example usage: to delete the default ip route 10.53.13.254: dgs-3024:4#delete iproute default 10.53.13.254 command: delete iproute default 10.53.13.254 success. Dgs-3024:4# show iproute purpose used to display the switch’s current ip routing table. Syntax...

  • Page 131

    Dgs-3024 layer 2 switch cli reference manual config arpentry parameters − the ip address of the end node or station. Only administrator-level users can issue this command. − the mac address corresponding to the ip address above. Restrictions example usage: to configure a static arp entry for the ip ...

  • Page 132

    Dgs-3024 layer 2 switch cli reference manual config arp_aging time description this command sets the maximum amount of time, in minutes, that an arp entry can remain in the switch’s arp table, without being accessed, before it is dropped from the table. Parameters time − the arp age-out time, in min...

  • Page 133

    Dgs-3024 layer 2 switch cli reference manual system 10.9.68.4 00-80-c8-2e-c7-45 dynamic system 10.10.27.51 00-80-c8-48-df-ab dynamic system 10.11.22.145 00-80-c8-93-05-6b dynamic system 10.11.94.10 00-10-83-f9-37-6e dynamic system 10.14.82.24 00-50-ba-90-37-10 dynamic system 10.15.1.60 00-80-c8-17-4...

  • Page 134

    Dgs-3024 layer 2 switch cli reference manual 23 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 command i...

  • Page 135

    Dgs-3024 layer 2 switch cli reference manual config gvrp config igmp snooping ctrl+c esc q quit space n next page enter next entry a all example usage: to display the parameters for a specific command: dgs-3024:4#? Config igmp_snooping command: config igmp_snooping command: config igmp_snooping usag...

  • Page 136

    Dgs-3024 layer 2 switch cli reference manual dir purpose used to display all commands. Syntax dir description this command will display all commands. Parameters none. Restrictions none. Example usage to display all of the commands: dgs-3024:4#dir command: dir .. ? Clear clear arptable clear counters...

  • Page 137

    Dgs-3024 layer 2 switch cli reference manual dgs-3024:4#config command_history 20 dgs-3024:4# command: config command_history 20 success. 135.

  • Page 138

    Dgs-3024 layer 2 switch cli reference manual a t echnical s pecifications physical and environmental ac input & external redundant power supply: 100 – 120; 200 - 240 vac, 50/60 hz (internal universal power supply) power consumption: 30 watts maximum dc fans: 3 built-in 40 x 40 x10 mm fans operating ...

  • Page 139

    Dgs-3024 layer 2 switch cli reference manual 137 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.1d spanning tree ieee 802.1 p/q vlan ieee 802.3x full-duplex flow control i...