Ctrl+r to refresh the console screen. There is no initial username or password. Just press the Enter key twice to display the CLI input cursor − DGS-3024:4#. This is the command line where all commands are input.
Configuration menu. The IP address for the Switch must be set before it can be managed with the Web-based manager. The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the Switch must be known.
Page 5
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 can now be configured and managed via Telnet and the CLI or via the Web-based management agent using the above IP address to connect to the Switch.
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 used over the network using the TCP/IP Telnet protocol.
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.
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 feature, and complex commands have several layers of parameter prompting.
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 parameters, and brackets [ ] indicate required parameters.
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...
Syntax show snmp [community | detail] Description In the above syntax example, you must specify either community, or detail. Do not type the vertical bar. Example show snmp community Command DGS-3024 Layer 2 Switch CLI Reference Manual OMMAND YNTAX...
Page 12
DGS-3024 Layer 2 Switch CLI Reference Manual {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset {[config | system]} Description In the above syntax example, you have the option to specify config or system. It is not necessary to specify either optional value, however the effect of the system reset is dependent on which, if any, value is specified.
The basic switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command create account config account show account show session show switch show serial_port config serial_port enable clipaging disable clipaging...
Page 14
Success. DGS-3024:4# show account Purpose Syntax DGS-3024 Layer 2 Switch CLI Reference Manual Passwords can be between 0 and 15 characters. Used to configure user accounts. config account <username> The config account command configures a user account that has been created using the create account command.
Page 15
Are you sure to delete the last administrator account?(y/n) Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Displays all user accounts created on the Switch. Up to 8 user accounts can exist on the Switch at one time. None.
Page 16
System Location System Contact Spanning Tree GVRP DGS-3024 Layer 2 Switch CLI Reference Manual Used to display a list of currently logged-in users. show session This command displays a list of all the users that are logged-in at the time the command is issued.
Page 17
- This parameter will allow the user to choose the time the Switch’s serial port will be idle before automatically logging out. The user may choose one of the following. DGS-3024 Layer 2 Switch CLI Reference Manual : Disabled : Enabled (TCP 23)
Page 18
Command: enable clipaging Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual 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.
Page 19
DGS-3024:4#enable telnet 23 Command: enable telnet 23 Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual 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.
Page 20
DGS-3024:4#enable web 80 Command: enable web 80 Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to disable the Telnet protocol on the Switch. disable telnet This command is used to disable the Telnet protocol on the Switch. None.
Page 21
To save the Switch’s current configuration to non-volatile RAM: DGS-3024:4#save Command: save Saving all configurations to NV-RAM... Done. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to disable the HTTP-based management software on the Switch. disable web This command disables the Web-based management software on the Switch.
Page 22
To restore all of the Switch’s parameters to their default values: DGS-3024:4#reset config Command: reset config Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to restart the Switch. reboot This command is used to restart the Switch. None.
Page 23
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Used to log in a user to the Switch’s console. login This command is used to initiate the login procedure. The user will be prompted for his Username and Password.
Page 24
Reply from 10.48.74.121, time<10ms Ping statistics for 10.48.74.121 Packets: Sent =4, Received =4, Lost =0 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Pinging an IP address without the times parameter will ping the target device an infinite amount of times. None.
The switch port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command config ports show ports Each command is listed, in detail, in the following sections. config ports Purpose Used to configure the Switch’s Ethernet port settings.
Page 26
Enabled Enabled CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the current configuration of a range of ports. show ports {<portlist>} This command is used to display the current configuration of a range of ports.
The DGS-3024 supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. The user may specify which version of the SNMP to use to monitor and control the Switch. The three versions of SNMP vary in the level of security provided between the management station and the network device.
Page 28
Each command is listed, in detail, in the following sections. create snmp user Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Parameters auth_priv]] {read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>} <groupname 32> <ipaddr> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]] <auth_string 32>...
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: •...
Page 30
DGS-3024:4#delete snmp user dlink Command: delete snmp user dlink Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual the agent. none – Adding this parameter will add no encryption. Only administrator-level users can issue this command. Used to remove an SNMP user from an SNMP group and also to delete the associated SNMP group.
Page 31
Parameters Restrictions Example usage: To create an SNMP view: DGS-3024 Layer 2 Switch CLI Reference Manual Used to display information about each SNMP username in the SNMP group username table. show snmp user The show snmp user command displays information about each SNMP username in the SNMP group username table.
Page 32
<view_name 32> − An alphanumeric string of up to 32 characters that identifies the SNMP view to be deleted. all − Specifies that all of the SNMP views on the Switch will be deleted. <oid> − The object ID that identifies an object tree (MIB tree) that will be deleted from the Switch.
Page 34
Restrictions Example usage: To create the SNMP community string “dlink:” DGS-3024:4#create snmp community dlink view ReadView read_write Command: create snmp community dlink view ReadView read_write Success. DGS-3024:4# delete snmp community Purpose Syntax Description Parameters Restrictions Example usage: To delete the SNMP community string “dlink:”...
Page 35
Restrictions Example usage: To give the SNMP agent on the Switch the name “0035636666” DGS-3024 Layer 2 Switch CLI Reference Manual Used to display SNMP community strings configured on the Switch. show snmp community {<community_string 32>} The show snmp community command is used to display SNMP community strings that are configured on the Switch.
Page 36
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the identification of the SNMP engine on the Switch. show snmp engineID The show snmp engineID command displays the identification of the SNMP engine on the Switch.
Page 37
Restrictions Example usage: To create an SNMP group named “sg1:” DGS-3024 Layer 2 Switch CLI Reference Manual 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 of authentication and encrypting packets over the network.
Page 38
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 Syntax Description Parameters Restrictions Example usage: To delete the SNMP group named “sg1”.
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...
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...
Page 41
Restrictions Example usage: To create an SNMP host to receive SNMP messages: DGS-3024:4#create snmp host 10.48.74.100 v3 auth_priv public Command: create snmp host 10.48.74.100 v3 auth_priv public Success. DGS-3024:4# delete snmp host Purpose Syntax Description Parameters Restrictions...
Page 42
Description Parameters Restrictions Example Usage: DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the recipient of SNMP traps generated by the Switch’s SNMP agent. show snmp host {<ipaddr>} The show snmp host command is used to display the IP addresses...
Page 43
Parameters Restrictions Example usage: To create the trusted host: DGS-3024 Layer 2 Switch CLI Reference Manual Used to disable RMON on the Switch. disable rmon This command is used, in conjunction with the enable rmon command above, to enable and disable remote monitoring (RMON) on the Switch.
Page 44
Restrictions Example Usage: To delete a trusted host with an IP address 10.48.74.121: DGS-3024 Layer 2 Switch CLI Reference Manual Used to display a list of trusted hosts entered on the Switch using the create trusted_host command above. show trusted_host {<ipaddr>} This command is used to display a list of trusted hosts entered on the Switch using the create trusted_host command above.
Page 45
DGS-3024:4#disable snmp traps Command: disable snmp traps Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to enable SNMP trap support. enable snmp traps The enable snmp traps command is used to enable SNMP trap support on the Switch.
Page 46
Success. DGS-3024:4# show snmp traps Purpose Syntax Description DGS-3024 Layer 2 Switch CLI Reference Manual Used to enable SNMP authentication trap support. enable snmp authenticate trap This command is used to enable SNMP authentication trap support on the Switch. None.
Page 47
To configure the Switch contact to “ DGS-3024:4#config snmp system_contact MIS Department II Command: config snmp system_contact MIS Department II Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual None. Only administrator-level users can issue this command. : Enabled : Enabled Used to enter the name of a contact person who is responsible for the Switch.
Page 48
Command: config snmp system_name DGS-3024 Switch Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to enter a description of the location of the Switch. config snmp system_location {<sw_location>} The config snmp system_location command is used to enter a description of the location of the Switch.
Purpose Syntax Description Parameters Restrictions DGS-3024 Layer 2 Switch CLI Reference Manual MAC N Parameters {interval <int 1-2147483647> | historysize <int 1-500>} [<portlist> | all] [enable | disable] <portlist> Used to enable global MAC address table notification on the Switch.
Page 50
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Used to configure MAC address notification. config mac_notification {interval <int 1-2147483647> | historysize <int 1-500> MAC address notification is used to monitor MAC addresses learned and entered into the FDB.
Page 51
Global Mac Notification Settings State Interval History Size : 1 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual address table notification on the Switch. Only administrator-level users can issue this command. Used to display the Switch’s MAC address table notification global settings.
Page 52
Port # MAC Address Table Notification State ------ ------------------------------------ CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the Switch’s MAC address table notification status settings. show mac_notification ports <portlist>...
Download firmware...……… Done. Do not power off! Please wait, programming flash…….. Done. Saving current settings to NV-RAM……Done. Please wait, the switch is rebooting…. DGS-3024 Layer 2 Switch CLI Reference Manual OWNLOAD Parameters [firmware <ipaddr> <path_filename 64> | configuration <ipaddr> <path_filename 64> {increment}] [configuration | log] <ipaddr>...
Page 54
Command: upload log 10.48.74.121 c:\cfg\log.txt Connecting to server... Done. Upload configuration...Done. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to upload the current switch settings or the Switch history log to a TFTP server. upload [configuration | log] <ipaddr> <path_filename 64>...
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...Done. DGS-3024:4#...
Purpose Syntax Description Parameters Restrictions Example usage: To display the packets analysis for port 7: DGS-3024 Layer 2 Switch CLI Reference Manual ETWORK Parameters <portlist> <portlist> {index <value>} <index 1-4> ipaddress <ipaddr> {severity [informational | warning | all | facility [local0 | local1| local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number>...
Page 57
CRC Error Undersize Oversize Fragment Jabber Drop Pkts CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh DGS-3024 Layer 2 Switch CLI Reference Manual Frame Type ---------- ---------- RX Bytes RX Frames TX Bytes TX Frames Used to display the error statistics for a range of ports.
Page 58
CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh clear counters Purpose Syntax Description Parameters Restrictions DGS-3024 Layer 2 Switch CLI Reference Manual Used to display real-time port utilization statistics. show utilization This command will display the real-time port utilization statistics for the Switch. None. None.
Page 59
Description Parameters Restrictions Example usage: To display the Switch history log: DGS-3024 Layer 2 Switch CLI Reference Manual Used to clear the Switch’s history log. clear log This command will clear the Switch’s history log. None. Only administrator-level users can issue this command.
Page 60
Description Parameters Restrictions Example usage: To disable the syslog function on the Switch: DGS-3024 Layer 2 Switch CLI Reference Manual Log Text --------------------------------------------------------------- Unit 1, Successful login through Console (Username: Anonymous) Unit 1, Logout through Console (Username: Anonymous) Unit 1, Successful login through Console (Username: Anonymous) Unit 1, Logout through Console (Username: Anonymous) Used to enable the system log to be sent to a remote host.
Page 61
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the syslog protocol status as enabled or disabled. show syslog The show syslog command displays the syslog status as enabled or disabled. None.
Page 62
DGS-3024 Layer 2 Switch CLI Reference Manual create syslog host Numerical Code Emergency: system is unusable Alert: action must be taken immediately Critical: critical conditions Error: error conditions Warning: warning conditions Notice: normal but significant condition Informational: informational messages Debug: debug-level messages informational −...
Page 63
Restrictions Example usage: To create syslog host: DGS-3024:4#create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Command: create syslog host 1 ipaddress 10.53.13.94 severity all facility local0 Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual...
Page 64
DGS-3024 Layer 2 Switch CLI Reference Manual config syslog host Purpose Used to configure the syslog protocol to send system log data to a remote host. Syntax config syslog host {host [all <index 1-4>]} {severity [informational | warning | all] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port <udp_port_number>...
Page 66
Restrictions 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 Success. DGS-3024:4# delete syslog host Purpose Syntax Description Parameters Restrictions Example usage:...
Page 67
Command: show syslog host Syslog Global State: Disabled Host Id Host IP Address ------- --------------- 10.1.1.2 10.40.2.3 10.21.13.1 Total Entries : 3 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual None. Severity Facility UDP port -------------- -------- Local0 Local0 Local0 Status...
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 config stp config stp ports enable stp disable stp...
Page 69
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual packets from other network devices when STP is disabled on the Switch. The default is enabled. Only administrator-level users can issue this command. Used to setup STP on the port level.
Page 70
Restrictions Example usage: To configure STP with path cost 19, priority 15, and state enabled for ports 1-5. DGS-3024:4#config stp ports 1-5 cost 19 priority 15 state enable Command: config stp ports 1-5 cost 19 priority 15 state enable Success.
Page 71
Forwarding BPDU : Enabled Bridge Current Status Designated Root Bridge Root Priority DGS-3024 Layer 2 Switch CLI Reference Manual Used to globally disable STP on the Switch. disable stp This command allows the Spanning Tree Protocol to be globally disabled on the Switch.
Page 72
Purpose Syntax Description Parameters Restrictions Example usage: To display STP state of all ports: DGS-3024 Layer 2 Switch CLI Reference Manual : 200000 : 10 : 53sec : 20 : 15 : Disabled : 20 : 15...
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 ------ ------------------ ----- 8000/0050BA7120D6 Yes *200000 *200000 *200000 *200000 *200000 *200000 *200000 *200000 *200000 *200000 *200000 CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh...
Example usage: To create a unicast MAC FDB entry: DGS-3024:4#create fdb default 00-00-00-00-01-02 port 2 Command: create fdb default 00-00-00-00-01-02 port 2 Success. DGS-3024 Layer 2 Switch CLI Reference Manual ORWARDING Parameters <vlan_name 32> <macaddr> port <port> <vlan_name 32> <macaddr>...
Page 75
Description Parameters Restrictions Example usage: DGS-3024 Layer 2 Switch CLI Reference Manual Used to create a static entry to the multicast MAC address forwarding table (database). create multicast_fdb <vlan_name 32> <macaddr> This command will make an entry into the Switch’s multicast MAC address forwarding database.
Page 76
Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Used to set the aging time of the forwarding database. config fdb aging_time minutes <int 0-14400> The aging time affects the learning process of the Switch. Dynamic forwarding table entries, which are made up of the source MAC addresses and their associated port numbers, are deleted from the table if they are not accessed within the aging time.
Page 77
To clear all FDB dynamic entries: DGS-3024:4#clear fdb all Command: clear fdb all Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual address resides. <macaddr> − The MAC address that will be added to the forwarding table. Only administrator-level users can issue this command.
Page 78
Purpose Syntax Description Parameters Restrictions DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the contents of the Switch’s multicast forwarding database. show mulitcast_fdb [vlan <vlan_name 32> | mac_address <macaddr> This command is used to display the current contents of the Switch’s multicast MAC address forwarding database.
Page 79
CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All To display the aging time: DGS-3024:4#show fdb aging_time Command: show fdb aging_time Unicast MAC Address Ageing Time = 5 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Port ----------------- ------ 00-00-39-34-66-9A 00-00-51-43-70-00...
Description Parameters Restrictions Example usage: To configure traffic control and enable broadcast storm control system wide: DGS-3024 Layer 2 Switch CLI Reference Manual ROADCAST TORM Parameters [ports [<portlist> | all] state [enable | disable] | storm_type [broadcast | broadcast_multicast | broadcast_dlf |...
Page 81
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 15000 Success. DGS-3024:4#config traffic control threshold 15000 Command: config traffic control threshold 15000 Success.
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 priority class of service.
Page 83
Each command is listed, in detail, in the following sections. config scheduling Purpose Syntax Description Parameters DGS-3024 Layer 2 Switch CLI Reference Manual Parameters <class_id 0-3> max_packet <value 0-15> <priority 0-7> <class_id 0-3> [<portlist> | all] <priority 0-7> {<portlist>} Used to configure traffic scheduling for each of the Switch’s QoS queues.
Page 84
Class-2 Class-3 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual 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.
Page 85
Command: config 802.1p user_priority 1 3 Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual 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. config 802.1p user_priority <priority 0-7> <class_id 0-3>...
Page 86
Restrictions Example usage: To configure 802.1p default priority on the Switch: DGS-3024 Layer 2 Switch CLI Reference Manual 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.
Page 87
----------- CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the currently configured 802.1p priority value that will be assigned to an incoming, untagged packet before being forwarded to its destination.
Each command is listed, in detail, in the following sections. config mirror Used to configure a mirror port − source port pair on the Switch. Purpose Syntax config mirror {source port <port> | ingress_target [disable | port <port>] | egress_target [disable | port <port>]}...
Page 89
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 mirroring configuration. Syntax enable mirror...
Page 90
Switch. Parameters None. Restrictions None. Example usage: To display mirroring configuration: DGS-3024:4#show mirror Command: show mirror Current Settings Mirror Status Target Port for Ingress Target Port for Egress Mirrored Port DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual : Enabled...
Page 92
Restrictions Example usage: To add ports 4 through 8 as tagged ports to the VLAN v1: DGS-3024 Layer 2 Switch CLI Reference Manual Used to delete a previously configured VLAN on the Switch. delete vlan <vlan_name 32> This command will delete a previously configured VLAN on the Switch.
Page 94
DGS-3024:4#disable gvrp Command: disable gvrp Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to enable GVRP on the Switch. enable gvrp 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.
Page 95
Port PVID GVRP ------ ---- DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the current VLAN configuration on the Switch show vlan {<vlan_name 32>} This command displays summary information about each VLAN including the VLAN ID, VLAN name, the Tagging/Untagging status, and the Member/Non-member/Forbidden status of each port that is a member of the VLAN.
Page 96
DGS-3024 Layer 2 Switch CLI Reference Manual Disabled Enabled Disabled Enabled Disabled Enabled Disabled Enabled Total Entries : 5 DGS-3024:4# All Frames All Frames All Frames All Frames...
This command will create a link aggregation group with a unique identifier. Parameters <value 1-4> − Specifies the group ID. The Switch allows up to 4 link aggregation groups to be configured. The group number identifies each of the groups.
Page 98
This command allows you to configure a link aggregation group that was created with the create link_aggregation command above. Parameters <value 1-4> − Specifies the group ID. The Switch allows up to 4 link aggregation groups to be configured. The group number identifies each of the groups.
Page 99
Description This command will display the current link aggregation configuration of the Switch. <value 1-4> − Specifies the group ID. The Switch allows up to 4 link Parameters aggregation groups to be configured. The group number identifies each of the groups.
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 Master Port Member Port : 5-7,9 Active Port Status : Disabled DGS-3024:4#...
System [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]} | bootp | dhcp] Description This command is used to configure the System IP interface on the Switch. Parameters System - The IP interface name to be configured. The default IP Interface name on the Switch is “System”.
Page 102
IP Interface Settings Interface Name : System IP Address Subnet Mask VLAN Name Admin. State Link Status Member Ports DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual : 10.48.74.122 (MANUAL) : 255.0.0.0 : default : Disabled : Link UP : 1-24...
Switch. host_timeout <sec 1-16711450> − Specifies the maximum amount of time a host can be a member of a multicast group without the Switch receiving a host membership report. The default is 260 seconds. router_timeout <sec 0-16711450> − Specifies the maximum amount of time a route can be a member of a multicast group without the Switch receiving a host membership report.
Page 104
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 configure the time in seconds between general query transmissions, the maximum time in seconds to wait for reports from members and the permitted packet loss that guarantees IGMP snooping.
Page 105
[enable | disable] − Allows the Switch to be specified as an IGMP Querier or Non-querier. Restrictions Only administrator-level users can issue this command.
Page 106
IGMP and IP multicast traffic to flood within a given IP interface. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable IGMP snooping on the Switch: DGS-3024:4#disable igmp_snooping Command: disable igmp_snooping Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual...
Page 107
<vlan_name 32> − The name of the VLAN for which to view IGMP snooping Parameters group configuration information. Restrictions None. Example usage: To show igmp snooping group: DGS-3024 Layer 2 Switch CLI Reference Manual : Disabled : Disabled : default : 125 : 10 : 260...
Page 108
− Displays router ports that have been statically configured. dynamic − Displays router ports that have been dynamically configured. Restrictions None. Example usage: DGS-3024 Layer 2 Switch CLI Reference Manual : default : 01-00-5E-00-00-02 : 3,4 : default : 01-00-5E-00-00-02...
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#...
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 each port on the Switch that a user or network device must meet before allowing that port to forward or receive frames.
Page 111
Control server application on the Switch. The following details what is displayed: Port number − Shows the physical port number on the Switch. Auth PAE State: Initialize / Disconnected / Connecting / Authenticating / DGS-3024 Layer 2 Switch CLI Reference Manual...
Page 112
ForceAuth CTRL+C ESC q show 802.1x auth_configuration Purpose Used to display the current configuration of the 802.1x server on the Switch. Syntax show 802.1x auth_configuration {ports <portlist>} Description The show 802.1x command is used to display the current configuration of the 802.1x Port-based Network Access Control server application on the...
Page 113
To display the 802.1x configurations: DGS-3024:4#show 802.1x auth_configuration ports 1 Command: show 802.1x auth_configuration ports 1 802.1X Authentication Mode Authentication Protocol : Radius_Eap Port number Capability AdminCrlDir DGS-3024 Layer 2 Switch CLI Reference Manual : Enabled : Port_based : None : Both...
Page 114
ReAuthenticate CTRL+C ESC q config 802.1x capability ports Purpose Used to configure the 802.1x capability of a range of ports on the Switch. Syntax config 802.1x capability ports [<portlist> | all] [authenticator | none] Description The config 802.1x command has four capabilities that can be set for each port.
Page 115
Only administrator-level users can issue this command. Example usage: To configure 802.1x authentication parameters for ports 1 – 20: DGS-3024:4#config 802.1x auth_parameter ports 1 – 20 direction both Command: config 802.1x auth_parameter ports 1 – 20 direction both Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual force_auth −...
Page 116
Restrictions Only administrator-level users can issue this command. Example usage: To initialize the authentication state machine of some or all: DGS-3024:4# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success. DGS-3024:4# config 802.1x reauth Purpose Used to configure the 802.1x re-authentication feature of the Switch.
Page 117
Restrictions Only administrator-level users can issue this command. Example usage: To configure RADIUS server communication settings: DGS-3024:4#config radius add 1 10.48.74.121 key tomato default Command: config radius add 1 10.48.74.121 key tomato default Success. DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual <passwd 32>...
Page 118
The default is 1813. Restrictions Only administrator-level users can issue this command. Example usage: DGS-3024 Layer 2 Switch CLI Reference Manual <passwd 32> − The shared-secret key used by the RADIUS server and the Switch. Up to 32 characters can be used.
Page 119
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. Syntax show radius Description The show radius command is used to display the current RADIUS configurations on the Switch.
Page 120
Description Parameters Restrictions Example Usage: DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the 802.1x user accounts on the Switch. show 802.1x user The show 802.1x user command is used to display the 802.1x Port-based Network Access control local users currently configured on the Switch.
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#...
Only administrator-level users can issue this command. SNTP service must be enabled for this command to function (enable sntp). Example usage: DGS-3024 Layer 2 Switch CLI Reference Manual Parameters {primary <ipaddr> | secondary <ipaddr> | poll-interval <int 30-99999>} <date ddmmmyyyy> <time hh:mm:ss >...
Page 124
24-hour clock, the minute and second. For example: 19:42:30. Restrictions Only administrator-level users can issue this command. Manually configured system time and date settings are overridden if SNTP support is enabled. Example usage: DGS-3024 Layer 2 Switch CLI Reference Manual...
Page 125
Restrictions Only administrator-level users can issue this command. Example usage: To configure time zone settings: DGS-3024:4#config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success. DGS-3024:4# config dst...
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 adjustment.
Purpose Syntax Description Parameters Restrictions DGS-3024 Layer 2 Switch CLI Reference Manual Parameters [default] <ipaddr> {<metric 1-65535>} [default] Used to create IP route entries to the Switch’s IP routing table. create iproute [default] <ipaddr> {<metric 1-65535>} This command is used to create a default static IP route entry to the Switch’s IP routing table.
Page 129
0.0.0.0 10.0.0.0/8 Total Entries: 2 DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Used to display the Switch’s current IP routing table. show iproute {<network address>} {static} This command will display the Switch’s current IP routing table. network address – IP address and netmask of the IP interface that is the destination of the route.
Command: create arpentry 10.48.74.121 00-50-BA-00-07-36 Success. DGS-3024:4# config arpentry Purpose Syntax Description DGS-3024 Layer 2 Switch CLI Reference Manual Parameters <ipaddr> <macaddr> <ipaddr> <macaddr> [<ipaddr> | all] {ipif <ipif_name 12> | ipaddress <ipaddr> | static} <value 0-65535> Used to make a static entry into the ARP table.
Page 131
DGS-3024:4# config arp_aging time Purpose Syntax DGS-3024 Layer 2 Switch CLI Reference Manual <ipaddr> − The IP address of the end node or station. <macaddr> − The MAC address corresponding to the IP address above. Only administrator-level users can issue this command.
Page 132
System System System DGS-3024 Layer 2 Switch CLI Reference Manual 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.
Page 135
3 create vlan vlan2 tag 2 show router_ports show router ports login DGS-3024:4# DGS-3024 Layer 2 Switch CLI Reference Manual Quit SPACE n Next Page Enter Next Entry...
Page 136
<1-40> − The number of previously executed commands maintained in the buffer. Up to 40 of the latest executed commands may be viewed. Restrictions None. Example usage To configure the command history: DGS-3024 Layer 2 Switch CLI Reference Manual Quit SPACE n Next Page Enter Next Entry...
DGS-3024 Layer 2 Switch CLI Reference Manual Physical and Environmental AC input & External 100 – 120; 200 - 240 VAC, 50/60 Hz (internal universal power supply) Redundant power Supply: Power Consumption: 30 watts maximum DC fans: 3 built-in 40 x 40 x10 mm fans...