Page 2
Reproduction in any manner whatsoever without the written permission of D-Link Computer Corporation is strictly forbidden. Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Computer Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
Page 16
show ssh authmode ............................378 config ssh server ............................... 379 show ssh server ..............................379 show ssh algorithm ............................380 config ssh user ..............................380 show ssh user authmode ..........................381 SSL COMMANDS ..............................382 enable ssl ................................382 disable ssl................................383 show ssl................................
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide INTRODUCTION The DGS-1210-10/ME, DGS-1210-20/ME, DGS-1210-28/ME, DGS-1210-28P/ME and DGS-1210-52/ME are L2 Managed Metro Ethernet switches. They consist of 16/24/48 10/100/1000Mbps ports plus 4 dedicated SFP ports. 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.
Page 19
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Figure 1–2 Boot Screen The Switch’s MAC address can also be found in the Web management program on the Switch Information (Basic Settings) window in the Configuration folder. 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.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide USING THE CONSOLE CLI The Switch 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 21
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Figure 2–2 The ? Command When entering a command without its required parameters, the CLI displays the prompt: command: config account message and the options listed below. Figure 2–3 Example Command Parameter Help In this case, the command config account was entered with the parameter <username>.
Page 22
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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 <username>, the CLI returned the command: config account prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt.
Page 23
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Figure 2–6 Next possible completions: Show Command In the above example, all of the possible next parameters for the show command are displayed. At the next command prompt in the example, the up arrow was used to re-enter the show command, followed by the account parameter.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide COMMAND SYNTAX The following symbols are used to DGScribe 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.
Page 25
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset execute “reset” will return the switch to its factory default setting. Description Example reset command Please be aware that all configurations will be reset to default value. Are you sure you want to proceed with system reset now? (Y/N)[N] N Line Editing Key Usage Delete...
Page 26
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Displays the remaining pages without pausing between pages. Enter Displays the next line or table entry.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide BASIC SWITCH COMMANDS The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable password encryption disable password encryption create account [admin | operator | power-user | user] <username 15>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# disable password encryption Purpose Used to disable password encryption on a user account. disable password encryption Syntax Description The user account configuration information will be stored in the configuration file, and can be applied to the system at a time in the future.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide can be included, and (optionally) can be encrypted. Restrictions Only Administrator level users can issue this command. Usernames can be between 1 and 15 characters. Passwords can be between 0 and 15 characters. NOTE: You are not required to enter a User Name.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show account Purpose To display information about all user accounts on the Switch. show account Syntax The show account command displays all account usernames and Description their access levels created on the Switch. Up to 31 user accounts can exist on the Switch at one time.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide accounts. Parameters None. Only Administrator-level users can issue this command. Restrictions Example usage: To deletes all the previously created accounts: DGS-1210-28P/ME:5# reset account Command: reset account Are you sure to proceed with clean account?(y/n)y Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions None. Example usage: To display the Switch information: DGS-1210-28P/ME:5# show switch Command: show switch Device Type : DGS-1210-28P/ME MAC Address : 9C-D6-43-60-4F-A4 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# enable jumbo_frame Purpose To enable jumbo frames on the device. enable jumbo_frame Syntax The enable jumbo_frame command enables jumbo frames on the Description device. Parameters None. Restrictions Only Administrator or operate-level users can issue this command. Jumbo frames will be enabled after save and restart.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions None. Example usage: To show the jumbo_frames configuration status on the device: DGS-1210-28/ME:5# show jumbo_frame Command: show jumbo_frame Jumbo Frame is Enabled. DES-1210-52/ME:5# show serial_port Used to display the current serial port settings. Purpose show serial_port Syntax...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# enable clipaging Command: enable clipaging Success. DGS-1210-28P/ME:5# disable clipaging Used to disable the pausing of the console screen scrolling at the Purpose end of each page when a command displays more than one screen of information.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable web Purpose To disable the HTTP-based management software on the Switch. disable web Syntax The disable web command disables the Web-based management Description software on the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable HTTP-based management software on the Switch: DGS-1210-28P/ME:5# disable web...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide disable autoconfig Purpose Use this to deactivate auto configuration from DHCP. disable autoconfig Syntax Description The disable autoconfig command is used to instruct the Switch not to accept auto configuration instruction from the DHCP server. This does not change the IP settings of the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions None. Example usage: To display the autoconfig status: DGS-1210-28P/ME:5# show autoconfig Command: show autoconfig Autoconfig State: Enabled Timeout : 50 sec DGS-1210-28P/ME:5# enable auto learning Purpose To enable the MAC address auto learning on the switch. enable auto learning Syntax Description...
Restrictions Only Administrator -level users can issue this command. Example usage: To restart the Switch: DGS-1210-28P/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 6.11.B037 Copyright(C) 2012 D-Link Corporation. All rights reserved. UserName: Password: System will Reboot..
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide will not save or reboot. Restrictions Only administrator-level users can issue this command. Example usage: To restore all of the Switch’s parameters to their default values: DGS-1210-28P/ME:5# reset system Command: reset system Are you sure you want to proceed with the system reset?(y/n)y % Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The logout command terminates the current user’s session on the Description Switch’s console. Parameters None. Restrictions None. Example usage: To terminate the current user’s console session: DGS-1210-28P/ME:5# logout Purpose To display the CPU and memory information on the Switch. Syntax The top command is used to display the CPU and memory Description...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide ping Purpose To test the connectivity between network devices. ping <ipaddr> {times <value 1-255> | timeout <sec 1-99> | size Syntax <short 0-2080>} The ping command sends Internet Control Message Protocol Description (ICMP) echo messages to a remote IP address.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide corresponding entry will not be repeated. size <short 1-1522> - Specify the size of the test packet. A value of 1 to 6000 can be specified. source_ip <ipv6_addr > - Specify the source IPv6 address of the ping packets.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show cpu port Purpose To display the CPU port information. show cpu port Syntax The show cpu port command displays the CPU port information. Description Parameters None. Restrictions Only Administrator users can issue this command. Example usage: To display the CPU port information: DGS-1210-28P/ME:5# show cpu port...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# enable telnet Purpose To enable the telnet. enable telnet Syntax The enable telnet command enables telnet. Description Parameters None. Restrictions Only Administrator or operate-level users can issue this command. Example usage: To enable telnet: DGS-1210-28P/ME:5# enable telnet Command: enable telnet...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide configuration. <range_name 20> – Specifies the time range name to be displayed. Parameters Restrictions None. Example usage: To display time range settings on the Switch: DGS-1210-28P/ME:5# show time_range Command: show time_range Time Range Information ------------------------------------------------------------------ Range Name : dd...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide No stacktrace information. - System Info. - Device Type : DGS-1210-28P/ME MAC Address : 9C-D6-43-60-4F-A4 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 System Boot Version : 1.00.019 System Firmware Version : 6.11.B037...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DHCP AUTOIMAGE COMMANDS The DHCP Autoimage commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable autoimage diable autoimage show autoimage Each command is listed in detail, as follows: enable autoimage Purpose...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: disable autoimage Success. DGS-1210-28P/ME:5# show autoimage Purpose To display the DHCP automatic image function on the Switch. Syntax show autoimage The disable autoimage command is used to display the DHCP Description automatic image function on the Switch. None.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide SMTP SERVER COMMANDS The SMTP Server commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable smtp disable smtp [self_mail_addr <mail_addr 64> | server [<ipaddr> | <ipv6addr>] | server_port config smtp <tcp_port_number 1-65535>] [{add mail_receiver <mail_addr 64>| delete mail_receiver <index 1-8>}]...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To disable STMP feature on the Switch: DGS-1210-28P/ME:5# disable smtp Command: disable smtp Success. DGS-1210-28P/ME:5# config smtp Purpose To configure the fields to set up the SMTP server for the switch, along with setting e-mail addresses to which switch log files can be sent when a problem arises on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax show smtp The show smtp command displays the SMTP server settings on the Description Switch. Parameters None. Restrictions None. Example usage: To display SMTP information on the Switch: DGS-1210-28P/ME:5# show smtp Command: show smtp smtp status : Enable smtp server address : 0.0.0.0...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide MODIFY BANNER AND PROMPT COMMANDS The Modify Banner and Prompt commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config [<string 32> | default | username] command_prompt config {default}...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config greeting_message Purpose Used to configure the login banner (greeting message). config greeting_message {default} Syntax The config greeting_message command to modify the login Description banner (greeting message). default – If the user enters default to the modify banner command, Parameters then the banner will be reset to the original factory banner.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DLINK DISCOVER PROTOCOL COMMANDS The D-Link Discover Protocol commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config ddp [enable | diasble]...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide SWITCH PORT COMMANDS The Switch Port commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [all | <portlist>] mdix [cross | normal | auto] {clear_description | description <desc config ports 32>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide auto − Enables auto-negotiation for the specified range of ports. [10 | 100 | 1000] − Configures the speed in Mbps for the specified range of ports. [half | full] − Configures the specified range of ports as either full or half-duplex.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show ports Purpose To display the current configuration of a range of ports. show ports {<portlist> | all} {description | err_disabled | Syntax linkup_time | auto_negotiation | media_type} The show ports command displays the current configuration of a Description port or range of ports.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete ports Purpose To delete the current information of ports. delete ports [<portlist> | all] {medium_type [copper | fiber]} Syntax description The delete ports command deletes the current information of a port Description or range of ports.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide LOOPBACK DETECTION COMMANDS The Loopback Detection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable loopdetect disable loopdetect config loopdetect mode [portbase | vlanbase] config loopdetect ports [<portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To disable the loopback detection feature on the Switch: DGS-1210-28P/ME:5# disable loopdetect Command: disable loopdetect Success. DGS-1210-28P/ME:5# config loopdetect mode Purpose To configure the loop back detection mode to be portbase or vlanbase on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config loopdetect Purpose To configure the loop back detection interval time and recover time on the Switch. config loopdetect interval_time <value 1-32767> Syntax lbd_recover_time [0 | <value 60-1000000>] Description The config loopdetect command configures the loop back detection interval time and recover time on the Switch.
Page 71
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Loopdetect Interval : 2 Recover Time : 60 DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DOS PREVENTION COMMANDS The DoS Prevention commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [ {land_attack | blat_attack | smurf_attack | tcp_null_scan | tcp_xmascan | config dos_prevention tcp_synfin | tcp_syn_srcport_less_1024} | all] {action drop} | state [enable | dos_type...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide drop. state [enable | disable]- Enable or disable DoS prevention. Restrictions Only administrator or operate-level users can issue this command. Example usage: To configure a land attack and blat attack prevention: DGS-1210-28P/ME:5# config dos_prevention dos_type blat_attack action drop Command: config dos_prevention dos_type blat_attack action drop Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show dos_prevention land_attack Command: show dos_prevention land_attack DoS Type : Land Attack State : Enabled Action : Drop Frame Counts DGS-1210-28P/ME:5# enable dos_prevention trap_log Purpose Used to enable a DoS prevention trap/log. Syntax enable dos_prevention trap_log Description...
Page 75
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide PPPOE CIRCUIT ID INSERTION COMMANDS PPPoE Circuit ID Insertion is used to produce the unique subscriber mapping capability that is possible on ATM networks between ATM-DSL local loop and the PPPoE server. The PPPoE server will use the inserted Circuit Identifier sub-tag of the received packet to provide AAA services (Authentication, Authorization and Accounting).
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: config pppoe circuit_id_insertion state enable Success. DGS-1210-28P/ME:5# config pppoe circuit_id_insertion ports Purpose Used to enable and disable PPPoE circuit identifier insertion on a per port basis and specify how to encode the circuit ID option. config pppoe circuit_id_insertion ports <portlist>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show pppoe circuit_id_insertion Purpose Used to display the PPPoE circuit identifier insertion status for the Switch. show pppoe circuit_id_insertion Syntax Description The show pppoe circuit_id_insertion command is used to display the global state configuration of the PPPoE circuit ID insertion function.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DHCP SERVER SCREENING COMMANDS The DHCP server screenint commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Due to this function allow you not only to restrict all DHCP Server packets but also to receive any specified DHCP server packet by any specified DHCP client, it is useful when one or more than one DHCP servers are present on the network and both provide DHCP services to different distinct groups of clients.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operate-level users can issue this command. Example usage: To add an entry from the DHCP server/client filter list in the Switch’s database: DGS-1210-28P/ME:5# config filter dhcp_server add permit server_ip 10.1.1.1 client_mac 00-00-00-00-00-01 ports all Command: config filter dhcp_server add permit server_ip 10.1.1.1 client_mac 00-00-00-00-00-01 ports all...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Illegal Server Log Suppress Duration : 5 Minutes DGS-1210-28P/ME:5# show dhcp_server screening Purpose Used to display current DHCP server screening information on the switch. Syntax show dhcp_server screening Description The show dhcp_server screening command is used to display current DHCP server screening information on the switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide IP-MAC-PORT BINDING COMMANDS The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address types together allows the transmission of data between the layers. The primary purpose of IP-MAC-port binding is to restrict the access to a switch to a number of authorized users.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# show address_binding ip_mac log Purpose Used to display an IP-MAC-port binding IP MAC log information. Syntax show address_binding ip_mac log The show address_binding ip_mac log command is used to Description display an IP-MAC-port binding IP MAC log information.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config address_binding auto_scan ipv6address Purpose Used to configure an IP-MAC-port binding auto scan for specified IPv6 addresses. Syntax config address_binding auto_scan ipv6address from_ip <ipv6addr> to_ip <ipv6addr> Description The config address_binding auto_scan command is used to configure the IP-MAC-port binding auto scan for specified IPv6 addresses.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide <port 1-28> – Specifies a port to be deleted for address binding. Restrictions Only administrator or operate-level users can issue this command. Example usage: To delete all address binding entries on the Switch: DGS-1210-28P/ME:5# delete address_binding ip_mac all Command: delete address_binding ip_mac all Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide IP Address MAC Address Port --------------- -------------------- ---- 10.0.0.21 00-00-00-00-01-02 3 DGS-1210-28P/ME:5# show address_binding auto_scan list Purpose Used to display IP-MAC-port binding entries. Syntax show address_binding auto_scan list This show address_binding auto_scan list command is used to Description display auto scan list of address binding on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax disable address_binding dhcp_snoop ports [<portlist> | all] Description This disable address_binding dhcp_snoop command is used to disable IP-MAC-port binding DHCP snooping entries. [<portlist> | all] – Specifies a port, a range of ports or all ports to be Parameters enabled of the address binding DHCP snooping on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide entry. [binding_entry | max_entry] – Address binding entries can be viewed by entering the physical and IP addresses of the device. ports – The number of enabled ports on the device to be displayed. [binding_entry | max_entry] –...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions Only administrator or operate-level users can issue this command. Example usage: To disable address binding DHCPv6 PD Snooping on the Switch: DGS-1210-28P/ME:5# disable address_binding dhcp_pd_snoop Command: disable address_binding dhcp_pd_snoop Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DHCP snoop of IP-MAC-port binding roaming information. Parameters None. Restrictions None. Example usage: To display DHCP snoop of address binding roaming information on the Switch: DGS-1210-28/ME:5# show address_binding roaming Command: show address_binding roaming Roaming state is enabled.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide NETWORK MANAGEMENT (SNMP) COMMANDS The Switch supports the Simple Network Management Protocol (SNMP) versions 1, 2c, and 3. Users can specify which version of the SNMP users want 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 95
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter <groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | create snmp group auth_priv]{notify_view <view_name 32>}] {read_view <view_name 32> | write_view <view_name 32>} delete snmp group <groupname 32> [v1 | v2c | v3] [auth_nopriv | auth_priv | noauth_priv] show snmp global state show snmp groups <ipaddr>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter disable snmp twistedpair_port_link traps enable snmp duplicate_IP_detected traps disable snmp duplicate_IP_detected traps Each command is listed in detail, as follows: create snmp user Purpose To create a new SNMP user and add the user to an SNMP group. create snmp user <username 32>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# delete snmp user Purpose To remove an SNMP user from an SNMP group and also to delete the associated SNMP group. delete snmp user <username 32> [v1 | v2c | v3] Syntax The delete snmp user command removes an SNMP user from its Description SNMP group and then deletes the associated SNMP group.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Total Entries: 4 DGS-1210-28P/ME:5# create snmp view Purpose To assign views to community strings to limit which MIB objects an SNMP manager can access. create snmp view <view_name 32> <oid 32> <oid_mask 32 Syntax view_type [included | excluded] The create snmp view command assigns views to community...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To delete a previously configured SNMP view from the Switch: DGS-1210-28P/ME:5# delete snmp view dlink 1.3.6 Command: delete snmp view dlink 1.3.6 Success. DGS-1210-28P/ME:5# show snmp view Purpose To display an SNMP view previously created on the Switch. show snmp view {<view_name 32>} Syntax The show snmp view command displays an SNMP view previously...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide accessible to the SNMP community. Read/write or read-only level permission for the MIB objects accessible to the SNMP community. <community_string 32> − A string of up to 32 alphanumeric Parameters characters that is used to identify members of an SNMP community. This string is used like a password to give remote SNMP managers access to MIB objects in the Switch’s SNMP agent.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete snmp all_community Purpose To remove all SNMP community string from the Switch. delete snmp all_community Syntax The delete snmp all_community command removes all previously Description defined SNMP community string from the Switch. Parameters None.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config snmp engineID Purpose To configure a name for the SNMP engine on the Switch. config snmp engineID <snmp_engineID 64> Syntax The config snmp engineID command configures a name for the Description SNMP engine on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide the encryption state on SNMP community string. Parameters None. Restrictions Only administrator, operate or power user-level users can issue this command. Example usage: To enable the encryption state on SNMP community string: DGS-1210-28P/ME:5# enable community_encryption Command: enable community_encryption Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# create snmp group Purpose To create a new SNMP group, or a table that maps SNMP users to SNMP views. create snmp group <groupname 32> [v1 | v2c | v3 Syntax [noauth_nopriv | auth_nopriv | auth_priv]{notify_view <view_name 32>}] {read_view <view_name 32>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide agent. <view_name 32> − A string of up to 32 alphanumeric characters that identifies the group of MIB objects that a remote SNMP manager is allowed to access on the Switch. Restrictions Only administrator, operate or power user-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To display the currently configured SNMP global state on the Switch: DGS-1210-28P/ME:5# show snmp global state Command: show snmp global state SNMP Global State : Enable DGS-1210-28P/ME:5# show snmp groups Purpose To display the group-names of SNMP groups currently configured on the Switch.
Page 108
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 32>] The create snmp host command creates a recipient of SNMP traps Description generated by the Switch’s SNMP agent. <ipaddr> − The IP address of the remote management station to Parameters serve as the SNMP host for the Switch. v1 –...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete snmp host To remove a recipient of SNMP traps generated by the Switch’s Purpose SNMP agent. delete snmp host <ipaddr> Syntax The delete snmp host command deletes a recipient of SNMP traps Description generated by the Switch’s SNMP agent.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# delete snmp v6host To remove a recipient of SNMP traps generated by the Switch’s Purpose SNMP agent. delete snmp v6host <ip6_addr> Syntax The delete snmp host command deletes a recipient of SNMP traps Description generated by the Switch’s SNMP agent.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# enable trusted_host Purpose To enable the trusted host. enable trusted_host Syntax The enable trusted_host command enables the trusted host Description feature. Parameters None. Restrictions Only administrator or operator level users can issue this command. Example usage: To enable the trusted host on the Swtich: DGS-1210-28P/ME:5# enable trusted_host...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide VLAN. If no IP addresses are specified, then there is nothing to prevent any IP address from accessing the Switch, provided the user knows the Username and Password. <ipaddr> − The IPv4 address of the trusted host to be created. Parameters <network_address>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide The enable snmp traps command enables SNMP trap support on Description the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command Example usage: To enable SNMP trap support on the Switch: DGS-1210-28P/ME:5# enable snmp traps Command: enable snmp traps Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable snmp authenticate traps Purpose To disable SNMP authentication traps support. disable snmp authenticate traps Syntax The disable snmp authenticate traps command disables SNMP Description authentication trap support on the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide enable snmp linkchange_traps Purpose To enable SNMP link change traps support on the Switch. enable snmp linkchange_traps Syntax The enable snmp linkchange_traps command is used to enable Description SNMP link change traps support on the Switch. Parameters None.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide [enable | disable] – Enable or disable the SNMP trap support for specified port. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure the current SNMP trap settings: DGS-1210-28P/ME:5# config snmp linkchange_traps ports all enable Command: config snmp linkchange_traps ports all enable Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a ALL config snmp system_contact Purpose To enter the name of a contact person who is responsible for the Switch. config snmp system_contact <string 128> Syntax The config snmp system_contact command is used to enter the Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The config snmp system_ name command configures the name of Description the Switch. <string 128> − A maximum of 128 characters is allowed. A NULL Parameters string is accepted if there is no location DGSired. Restrictions Only Administrator or operator-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# enable snmp Purpose To enable SNMP support. enable snmp Syntax The enable snmp command enables SNMP support on the Switch. Description Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To enable SNMP support on the Switch: DGS-1210-28P/ME:5# enable snmp...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide disable snmp IMPB_violation traps Syntax The disable snmp IMPB_violation traps command enables SNMP Description IMPB violation traps support on the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable SNMP IMPB violation traps support on the Switch: DGS-1210-28P/ME:5# disable snmp IMPB_violation traps...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide enables SNMP port security violation traps on the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To enable SNMP port security violation traps support on the Switch: DGS-1210-28P/ME:5# enable snmp port_security_violation traps Command: enable snmp port_security_violation traps Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# disable snmp rstpport_state_change traps Purpose To disable SNMP RSTP port state change traps. disable snmp rstpport_state_change traps Syntax The disable snmp rstpport_state_change traps command Description disables SNMP RSTP port state change traps on the Switch. Parameters None.
Page 127
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable the SNMP duplicate_IP_detected traps on the Switch: DGS-1210-28P/ME:5# disable snmp duplicate_IP_detected traps Command: disable snmp duplicate_IP_detected traps Success. DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DOWNLOAD/UPLOAD COMMANDS The Download/Upload commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [cfg_fromTFTP [<ipaddr> | <ipv6_addr>] <path_filename 64> config_id <value 1- download 2>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide firmware_fromTFTP − Downloads and installs firmware on the Switch from a TFTP server. image_id − Indicates the image file is to be downloaded. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To download a firmware file: DGS-1210-28P/ME:5# download firmware_fromTFTP 1.1.1.23 1\DGS_1210-28me.ros...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide [<ipaddr> | <ipv6_addr>] <path_filename 64>]] The upload command uploads the Switch’s current settings to a Description TFTP server. firmware_toTFTP − Specifies that the Switch’s current firmware are Parameters to be uploaded to the TFTP server. <ipaddr>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show firmware information Used to display the firmware section information. Purpose show firmware information Syntax The show firmware information command is used to display the Description firmware section information. Parameters None. Restrictions None.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only Administrator -level users can issue this command. Example usage: DGS-1210-28P/ME:5# config firmware image_id 1 boot_up Command: config firmware image_id 1 boot_up Success. DGS-1210-28P/ME:5# show boot_file Used to display the configuration file and firmware image assigned Purpose as boot up files.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DHCP RELAY COMMANDS The DHCP Relay commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable dhcp_relay disable dhcp_relay config dhcp_relay port <portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config dhcp_relay port Purpose To enable or disable the ports of DHCP Relay server. Syntax config dhcp_relay port <portlist> state [enable | disable] The config dhcp_relay port command is used to enable or disable Description the ports of DHCP Relay server.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config dhcp_relay delete ipif System Purpose To delete a DHCP server from the DHCP Relay server list. config dhcp_relay delete ipif System <ipaddr> Syntax The config dhcp_relay delete ipif System command deletes a Description DHCP servers defined as a DHCP Relay server.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config dhcp_relay vlan Purpose To configure a VLAN of DHCP Relay to be enabled or disabled of the Switch. config dhcp_relay vlan [<vlan_name 32> | vlanid <vidlist>] state Syntax [enable | disable] The config dhcp_relay vlan command configures a VLAN of DHCP Description Relay to be enabled or disable of the Switch.
Page 140
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide already exists in the packet received from the DHCP client. drop − The packet will be dropped if the option 82 field already exists in the packet received from the DHCP client. keep − The option 82 field will be retained if the option 82 field already exists in the packet received from the DHCP client.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config dhcp_relay port_option_82 Purpose To configure DHCP relay agent option 82 information of each port. config dhcp_relay port_option_82 {<portlist>} [ circuit_id | Syntax remote_id ] vendor3 <desc 32> The config dhcp_relay port_option_82 is used to configure DHCP Description relay agent option 82 information of each port.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DES-1210-28/ME:5# show dhcp_relay Purpose display the DHCP Relay settings on the Switch show dhcp_relay {ipif [System]} Syntax The show dhcp_relay command displays the DHCP Relay status Description and list of servers defined as DHCP Relay servers on the Switch. Parameters None.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions Only Administrator, operator or power user-level users can issue this command. Example usage: To enable the DHCP Local Relay: DGS-1210-28P/ME:5# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-1210-28P/ME:5# disable dhcp_local_relay Purpose To disable the DHCP local relay feature globally disable dhcp_local_relay...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To enable the port 8-10 of DHCP Local Relay: DGS-1210-28P/ME:5# config dhcp_local_relay port 8-10 state enable Command: config dhcp_local_relay port 8-10 state enable Success. DGS-1210-28P/ME:5# config dhcp_local_relay vlan To specify which VLAN’s the feature works on. Purpose Syntax config dhcp_local_relay vlan <vlan_name 32>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show dhcp_local_relay DHCP/BOOTP Local Relay Status : Enabled DHCP/BOOTP Local Relay PortList : None DHCP/BOOTP Local Relay VID List : DGS-1210-28P/ME:5# enable dhcpv6_relay Purpose To enable DHCPv6 Relay function on the Switch enable dhcpv6_relay Syntax The enable dhcpv6_relay command is used to enable the DHCPv6...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show dhcpv6_relay Purpose To display the current DHCPv6 relay configuration. show dhcpv6_relay {ipif System | option_38 {ports <portlist>}} Syntax The show dhcpv6_relay command displays the current DHCPv6 Description relay configuration of all interfaces, or if an IP interface name is specified, the DHCPv6 relay configuration for that IP interface.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: config dhcpv6_relay add ipif System 3000::1 Success. DGS-1210-28P/ME:5# config dhcpv6_relay hop_count Purpose Used to configure the DHCPv6 relay hop count of the switch. config dhcpv6_relay hop_count <value 1-32> Syntax The config dhcpv6_relay hops_count command is used to Description configure the DHCPv6 relay hop count of the switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrator or operate-level users can issue this command. Example usage: To configure the DHCPv6 relay option 18 to be enabled on the Switch: DGS-1210-28P/ME:5# config dhcpv6_relay option_18 state enable Command: config dhcpv6_relay option_18 state enable Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide subscriber id to use default value or user defined. Restrictions Only Administrator or operate-level users can issue this command. Example usage: To configure the DHCPv6 relay option 38 on the Switch: DGS-1210-28P/ME:5# config dhcpv6_relay option_38 ports 3 subscriber_id default Command: config dhcpv6_relay option_38 ports 3 subscriber_id default Success!
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide GRATUITOUS ARP COMMANDS The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config gratuitous_arp [enable | disable] send ipif_status_up config gratuitous_arp [enable | disable] send dup_ip_detected...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config gratuitous_arp send dup_ip_detected Purpose Used to enable or disable the sending of gratuitous ARP requests while duplicate IP addresses are detected. Syntax config gratuitous_arp send send dup_ip_detected [enable | disable] The config gratuitous_arp send send dup_ip_detected command Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide gratuitous ARP packets. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To enable learning of ARP entries based on the received gratuitous ARP packets: DGS-1210-28P/ME:5# config gratuitous_arp learning enable Command: config gratuitous_arp learning enable Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# disable gratuitous_arp trap Command: disable gratuitous_arp trap Success. DGS-1210-28P/ME:5# show gratuitous_arp Purpose Used to display the gratuitous ARP configuration. Syntax show gratuitous_arp Description The show gratuitous_arp command is used to display the gratuitous ARP configuration.
Page 154
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To configure gratuitous ARP intervals for the Switch: DGS-1210-28P/ME:5# config gratuitous_arp send periodically interval 100 Command: config gratuitous_arp send periodically interval 100 Success. DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 19 1 POWER SAVING COMMANDS The Power Saving commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config power_saving [hibernation | led | link_detection | port] [enable | disable] mode [hibernation | led [all | <portlist>] | port [all | <portlist>]] [add | delete] time_range1 config power_saving...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide | <portlist>]] [add | delete] time_range1 <range_name 20> time_range2 <range_name 20> {clear_time_range} The config power_saving command is used to configure the power Description saving on the switch. hibernation – Configure the hibernation. Parameters led [all | <portlist>] –...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 20 1 CPU PROTECTION COMMANDS The CPU Protection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable cpu_protect disable cpu_protect config cpu_protect [arp | bpdu | icmp | igmp | snmp] pps [<value>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# disable cpu_protect Command: disable cpu_protect Success. DGS-1210-28P/ME:5# config cpu_protect type Purpose To configure the CPU protection packet type on the Switch. config cpu_protect type [arp | bpdu | icmp | igmp | snmp] pps Syntax [<value>...
Page 159
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show cpu_protect Command: show cpu_protect CPU Protect State : Enabled CPU Protect Type Rate Limit(pps) ------------------------- ------------------------ no limit BPDU no limit ICMP no limit IGMP no limit SNMP no limit DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide NETWORK MONITORING COMMANDS The Network Monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter show packet ports <portlist> show error ports <portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide sent and received by ports specified in the port list. The results are separated into three tables, labeled A, B, and C in the window below. Table A is relevant to the size of the packets, Table B is relevant to the type of packets and Table C is relevant to the type of frame associated with these packets.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide RX Frames TX Frames ------------------ ------------------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment Excessive Collision 0 Jabber Single Collision Drop Pkts Collision DGS-1210-28P/ME:5# show utilization Purpose To display real-time port utilization statistics. show utilization [ports {<portlist>} | cpu | mem] Syntax The show utilization command displays the real-time utilization...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Five Seconds - 7 % One Minute - 6 % Five Minutes - 6 % CPU Utilization : ------------------------------------------------------------------------------- Five Seconds - 7 % One Minute - 6 % Five Minutes - 6 % CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh DGS-1210-28P/ME:5# clear counters...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide clear log To clear the Switch’s history log. Purpose clear log Syntax The clear log command clears the Switch’s history log. Description Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To clear the log information: DGS-1210-28P/ME:5# clear log...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide enable syslog Syntax The enable syslog command enables the system log to be sent to a Description remote host. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To enable the syslog function on the Switch: DGS-1210-28P/ME:5# enable syslog Command: enable syslog...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# create syslog host 1 ipaddress 1.1.2.1 severity all state enable Command: create syslog host 1 ipaddress 1.1.2.1 severity all state enable Success. DGS-1210-28P/ME:5# config syslog host Purpose To configure the syslog protocol to send system log data to a remote host.
Page 169
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide supports. Numerical Facility Code kernel messages user-level messages mail system system daemons security/authorization messages messages generated internally by syslog line printer subsystem network news subsystem UUCP subsystem clock daemon security/authorization messages FTP daemon NTP subsystem log audit log alert...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide address of the remote host to which syslog messages are to be sent. state [enable | disable] − Allows the sending of syslog messages to the remote host, specified above, to be enabled and disabled. Restrictions Only Administrator or operator-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show syslog host Command: show syslog host Host ID Host IP Address Severity Facility UDP Port Status --------- ----------------------- ----------- ------------ ------------- ----------- 1.1.2.1 Local0 Enabled Total Entries : 1 DGS-1210-28P/ME:5# cable diagnostic port Purpose To determine if there are any errors on the copper cables and the...
Page 172
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The config syslogintimeout command is used to configure the Description system login timeout. <integer 3-30> − Specify the system login time. The range is Parameters between 3 and 30 minutes. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure the system login timeout: DGS-1210-28P/ME:5# config syslogintimeout 30...
Page 173
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show log_software_module SYSTEM DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success! Success! Success! DGS-1210-28P/ME:5# config poe system Purpose Used to configure the Power over Ethernet (PoE) functionality. config system [legacy_pd [enable disable] Syntax power_disconnect_method [deny_low_priority_port deny_next_port] | power_limit <value 7-193>] The config poe system configures the Power over Ethernet (PoE) Description functionality of the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The show poe ports displays the Power over Ethernet (PoE) ports Description of the Switch. [all | <portlist>] – Specifies the ports or all ports to be displayed. Parameters Restrictions None. Example usage: To display the PoE with ports 8: DGS-1210-28P/ME:5# show poe ports 8 Command: show poe ports 8...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide SPANNING TREE COMMANDS The Spanning Tree commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {maxage <value 6-40> | hellotime <value 1-10> | forwarddelay <value 4-30>| config stp txholdcount <value 1-10>} <portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide the STP version that is currently set on the Switch. maxage <value 6-40> − This value may be set to ensure that old Parameters information does not endlessly circulate through redundant paths in the network, preventing the effective propagation of the new information.
Page 180
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 200000. Gigabit port = 20000. Port-channel = 20000. <value 1-200000000> - Defines a value between 1 and 200000000 to determine the external cost. The lower the number, the greater the probability the port will be chosen to forward packets.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config stp ports 1-3 externalcost 19 state enable Command: config stp ports 1-3 externalcost 19 state enable Success. DGS-1210-28P/ME:5# config stp version Purpose To globally set the version of STP on the Switch. config stp version [mstp | rstp | stp] Syntax The config stp version command sets the version of the spanning...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config stp priority Purpose To update the STP instance configuration. config stp priority <value 0-61440> instance_id <value 0-15> Syntax The config stp priority command updates the STP instance Description configuration settings on the Switch. The MSTP uses the priority in selecting the root bridge, root port and DGSignated port.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide globally disabled on the Switch. Parameters None. Restrictions Only administrator-level users can issue this command. Example usage: To disable STP on the Switch: DGS-1210-28P/ME:5# disable stp Command: disable stp Success. DGS-1210-28P/ME:5# show stp To display the Switch’s current STP configuration.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Status 2: STP enabled for RSTP DGS-1210-28P/ME:5# show stp Command: show stp STP Bridge Global Settings ------------------------------------------------------ STP Status : Enabled STP Version : RSTP Bridge Priority : 32768 Max Age Hello Time Forward Delay : 15 TX Hold Count...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show stp ports {<portlist>} Syntax The show stp ports command displays the STP Instance Settings Description and STP Instance Operational Status currently implemented on the Switch. <portlist> – A port or range of ports to be configured. The port list is Parameters specified by listing switch number and the beginning port number on that switch, separated by a colon.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To create instance id 1: DGS-1210-28P/ME:5# create stp instance_id 1 Command: create stp instance_id 1 Warning: There is no VLAN mapping to this instance_id! Success. DGS-1210-28P/ME:5# delete stp instance_id Purpose To delete instance ID on the Switch. delete stp instance_id <value 1-63>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide identical, the MSTP function implements the lowest port number into the forwarding state and other interfaces are blocked. Remember that lower priority values mean higher priorities for forwarding packets. <portlist> – A port or range of ports to be configured. The port list is Parameters specified by listing switch number and the beginning port number on that switch, separated by a colon.
Page 190
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To configure the new root and topo change to be enabled for STP trap: DGS-1210-28P/ME:5# config stp trap new_root disable topo_change enable Command: config stp trap new_root disable topo_change enable Success. DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide FORWARDING DATABASE COMMANDS The Forwarding Database commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create fdb <vlan_name 32> <macaddr> port <port 1-28> create multicast_fdb <int 1-4094><macaddr>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrator or operator-level users can issue this command. Example usage: To create a unicast MAC FDB entry: DGS-1210-28P/ME:5# 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-1210-28P/ME:5# config fdb aging_time...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide clear fdb Purpose To clear the current unicast MAC address forwarding database. clear fdb [all | port <port 1-28> | vlan <vlan_name 32>] Syntax The clear fdb command clears the current contents of the Switch’s Description forwarding database.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete auto_fdb Purpose To delete a static entry in the auto forwarding table (database). delete auto_fdb <ipaddr> Syntax The delete auto_fdb command removes a static entry in the Description multicast MAC address forwarding table (database). <ipaddr>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide BROADCAST STORM CONTROL COMMANDS The Broadcast Storm Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<portlist> | all] {[action [drop | shutdown] | countdown [0 | <minutes 5-30>] | config traffic control broadcast | multicast | unicast | threshold <value 0- 1024000>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure traffic control and enable broadcast storm control system wide: DGS-1210-28P/ME:5# config traffic control all multicast enable unicast disable broadcast enable threshold 64 Command: config traffic control all multicast enable unicast disable broadcast e nable threshold 64 *Note: Setting count down for drop mode port was ignored.
Page 201
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide is cleared. storm_occured – A notification will be generated when a storm event is detected. both – A notification will be generated both when a storm event is detected and cleared. none – No notification will be generated when storm event is detected or cleared.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 26 2 PASSWORD RECOVERY COMMANDS The Password Recovery commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable password_recovery disable password_recovery show password_recovery Each command is listed in detail, as follows: enable password_recovery...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28/ME:5# disable password_recovery Command: disable password_recovery Success. DES-1210-52/ME:5# show password_recovery Purpose To show the password recovery mode on the Switch. show password_recovery Syntax The show password_recovery command is used to display the Description password recovery mode on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide QOS COMMANDS The QoS commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config scheduling <class_id 0-7> weight <value 1-55> show scheduling config [<portlist>...
Page 205
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter protocol_mapping config cos vid <vlanid 1-4094> class <class_id 0-7> vlanid_mapping show cos {vid <vlanid 1-4094>} vlanid_mapping delete cos vid <vlanid 1-4094> vlanid_mapping config cos tos value <value 0-7> class <priority_id 0-7> show cos tos {value <value 0-7>} config cos...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config scheduling To configure traffic scheduling for each of the Switch’s QoS queues. Purpose config scheduling <class_id 0-7> weight <value 1-55> Syntax The config scheduling command configures traffic scheduling for Description each of the Switch’s QoS queues. The Switch contains four hardware classes of service.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The show scheduling command displays the current configuration for the maximum number of packets (max_packet) value assigned to the four priority classes of service on the Switch. The Switch empties the four hardware queues in order, from the highest priority (class 3) to the lowest priority (class 0).
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide T o configure bandwidth control configuration: DGS-1210-28P/ME:5# config bandwidth_control all rx_rate no_limit tx_rate no_limit Command: config bandwidth_control all rx_rate no_limit tx_rate no_limit Success DGS-1210-28P/ME:5# show bandwidth_control Purpose To display bandwidth control settings on the Switch. show bandwidth control {[<portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the CoS mac mapping on the Switch: DGS-1210-28P/ME:5# config cos mac_mapping destination_addr 00-01-c2- 11-22-33 class 2 Command: config cos mac_mapping destination_addr 00-01-c2-11-22-33 class 2 Success. DGS-1210-28P/ME:5# show cos mac_mapping Purpose To display the CoS MAC mapping method.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config cos ip_mapping Purpose To configure the CoS IP mapping method. config cos ip_mapping destination_ip <ipaddr> class <class_id Syntax 0-7> The config cos ip_mapping command is used to configure the CoS Description IP mapping method on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete cos ip_mapping Purpose To remove the CoS IP mapping method. delete cos ip_mapping destination_ip <ipaddr> Syntax The delete cos ip_mapping command is used to delete the CoS IP Description mapping method on the Switch. Parameters <ipaddr>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Parameters <ipv6addr> - Specifies the IPv6 address to be displayed. For example, 3000::1. Restrictions None. Example usage: To display the CoS ipv6 mapping on the Switch: DGS-1210-28P/ME:5# show cos ipv6_mapping destination_ipv6 3000::1 Command: show cos ipv6_mapping destination_ipv6 3000::1 IPv6 ADDRESS Class --------------------------------------------...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the CoS IPv6 TC mapping on the Switch: DGS-1210-28P/ME:5# config cos ipv6_tc_mapping trafficclass 1 class 2 Command: config cos ipv6_tc_mapping trafficclass 1 class 2 Success. DGS-1210-28P/ME:5# delete cos ipv6_tc_mapping Purpose To remove the CoS IPv6 mapping method.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config cos mapping Purpose To configure the method of which incoming packets will be identified for the CoS to port mapping feature. config cos mapping port [<portlist> | all] [802.1p | dscp_tos | Syntax none] The config cos mapping port command is used to configure the...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 802.1p DSCP DGS-1210-28P/ME:5# config cos protocol_mapping Purpose To configure the CoS protocol mapping method on the Switch. config cos protocol_mapping protocol <ip_protocol 1-255> Syntax class <class_id 0-7> The config cos protocol_mapping command is used to configure Description the CoS protocol mapping method on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete cos protocol_mapping Purpose To delete the CoS protocol mapping between an incoming packet’s 802.1p priority value. delete cos protocol_mapping protocol <ip_protocol 1-255> Syntax The delete cos protocol_mapping command is used to delete the Description CoS protocol mapping between an incoming packet’s 802.1p priority value.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide The show cos vlanid_mapping command is used to display the Description CoS VLAN id mapping information between an incoming packet’s 802.1p priority value. Parameters <vlanid 1-4094> - Specifies the mapped vlan id information to be displayed.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure a CoS tos on the Switch: DGS-1210-28P/ME:5# config cos tos value 1 class 1 Command: config cos tos value 1 class 1 Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters <value 0-65535> - Specifies the tcp port number to be mapped. <class_id 0-7> - Specifies the number of the Switch’s hardware priority queue. Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure the CoS TCP port mapping on the Switch: DGS-1210-28P/ME:5# config cos tcp_port_mapping destination_port 500...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Example usage: To delete the CoS TCP port mapping on the Switch: DGS-1210-28P/ME:5# delete cos tcp_port_mapping destination_port 500 Command: delete cos tcp_port_mapping destination_port 500 Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show cos udp_port_mapping Command: show cos udp_port_mapping UDP Port Class ------------------------------------------- DGS-1210-28P/ME:5# delete cos udp_port_mapping Purpose To delete the CoS UDP port mapping information on the Switch. delete cos udp_port_mapping destination_port <value 0-65535> Syntax The delete udp tcp_port_mapping command is used to delete the Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <priority 0-7> − The 802.1p priority value (0 to 7) to map to one of Parameters the Switch’s four hardware priority classes of service. <class_id 0-7> − The Switch’s hardware priority class of service (0 to 7) to map to the 802.1p priority value specified above.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config 802.1p default_priority Purpose To assign an 802.1p priority tag to an incoming untagged packet that has no 802.1p priority tag. config 802.1p default_priority [<portlist> | all] <priority 0-7> Syntax The config 802.1p default_priority command specifies the 802.1p Description priority value an untagged, incoming packet is assigned before being forwarded to its destination.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config scheduling_mechanism Purpose To configure the scheduling mechanism for the QoS function. config scheduling_mechanism [strict | wrr] Syntax Description The config scheduling_mechanism command configures the scheduling mechanism for the QoS function. It allows the user to select between a round robin (WRR) and a strict mechanism for emptying the priority classes of service of the QoS function.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show scheduling_mechanism QOS Scheduling_mechanism scheduling_mechanism : Strict Priority DGS-1210-28P/ME:5# config [dscp | tos] mode Purpose To enable setting the DSCP or ToS mode on the Switch. config [dscp | tos] mode Syntax The config [dscp | tos] mode command enables the DSCP or ToS Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show dscp_mapping Purpose To display the setting of DSCP mapping. show dscp_mapping {dscp_value <value 0-63>} Syntax The show dscp_mapping command displays the mapping of DSCP Description value. dscp_value <value 0-63> - The selected value of priority will be Parameters dispalyed.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide RMON COMMANDS The RMON commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable rmon disable rmon <alarm_index 1-65535> <OID_variable 255> <interval 1-2147482647> [absolute | delta] rising-threshold <value 0-2147483647>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# enable rmon Command: enable rmon Success. DGS-1210-28P/ME:5# disable rmon Purpose To disable remote monitoring (RMON) status for the SNMP function. disable rmon Syntax The disable rmon command disables remote monitoring (RMON) Description status for the SNMP function on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide threshold. rising-threshold <value 0-2147483647> − Specifies the rising counter value that triggers the rising threshold alarm. <rising_event_index 1-65535> − Specifies the event that triggers the specific alarm. falling-threshold <value 0-2147483647> − Specifies the falling counter value that triggers the falling threshold alarm.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The show rmon alarm command displays remote monitoring Description (RMON) alarm status for the SNMP function on the Switch. event − Specifies the event of RMON alarm to be displayed. Parameters history {<hist_index 1-65535> | overview} – Specifies the history of RMON alarm to be displayed.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete rmon collection history Purpose To remove the network collection history. delete rmon collection history <hist_index 1-65535> Syntax The delete rmon collection history command removes the Description network collection history on the Switch. <hist_index 1-65535>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete rmon event Purpose To remove the network event. delete rmon event <event_index 1-65535> Syntax The delete rmon event command removes the network event on Description the Switch. <event_index 1-65535> − Specifies the event number to be Parameters removed.
Page 234
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <stats_index 1-65535> − Specifies the statistics index of RMON to Parameters be displayed. Restrictions None. Example usage: To display the RMON statistics on the Switch: DGS-1210-28P/ME:5# show rmon statistics Command: show rmon statistics RMON is enabled Ethernet Statistics table is empty Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide PORT MIRRORING COMMANDS The Port Mirroring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable mirror disable mirror config mirror target <port 1-28>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable mirroring configurations: DGS-1210-28P/ME:5# disable mirror Command: disable mirror Success. DGS-1210-28P/ME:5# config mirror target To configure a mirror port − source port pair on the Switch. Purpose config mirror target <port 1-28>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show mirror Purpose To show the current port mirroring configuration on the Switch. show mirror Syntax The show mirror command displays the current port mirroring Description configuration on the Switch. Parameters None. Restrictions None.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide VLAN COMMANDS The VLAN commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create vlan [<string 32> | vlanid <vidlist>] tag <int 2-4094> type_1q_vlan_advertisement delete vlan [<vlan_name 32>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete vlan Purpose To delete a previously configured VLAN on the Switch. delete vlan [<vlan_name 32> | vlanid <vidlist>] Syntax The delete vlan command deletes a previously configured VLAN on Description the Switch. <vlan_name 32>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To add ports 4 through 8 as tagged ports to the VLAN 3: DGS-1210-28P/ME:5# config vlan vlanid 3 add tagged 4- Command: config vlan vlanid 3 add tagged 4-8 Success DGS-1210-28P/ME:5# config gvrp Purpose To configure configures the Group VLAN Registration Protocol on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide receiving of GVRP information, and the Port VLAN ID (PVID). join_timer <sec 100-100000> − Specifies the join time for the GVRP Parameters on the Switch. The time range is from 100 to 100000 seconds. leave_timer <sec 100-100000>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To disable the Generic VLAN Registration Protocol (GVRP): DGS-1210-28P/ME:5# disable gvrp Command: disable gvrp Success. DGS-1210-28P/ME:5# show vlan Purpose To display the current VLAN configuration on the Switch show vlan {<vlan_name 32> | vlanid <vidlist> | ports <portlist>} Syntax The show vlan command displays summary information about each Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide group for protocol VLAN function. group_id <id 1-16> − The ID of a protocol group which is used to Parameters identify a set of protocols. group_name <name 32> − The name of the protocol group. The maximum length is 32 characters.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The delete dot1v_protocol_group command deletes a protocol group. group_id <id 1-16> − Specifies the group ID to be deleted. Parameters group_name <name 32> − The name of the protocol group. The maximum length is 32 characters.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide group configured. [add | delete] − Parameters group_name <name 32> − The name of the protocol group. The maximum length is 32 chars. group_id <id 1-16> − The ID of protocol group which is used to identify a set of protocols.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show gvrp Purpose To display the GVRP status for a port list or port channel on the Switch. show gvrp {<portlist>} Syntax The show gvrp command displays the GVRP status for a port list or Description a port channel on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Join-time Leave-time Leave-all-time ----------- ---------- -------------- 10000 DGS-1210-28P/ME:5# enable vlan_trunk Purpose To enable VLAN trunking on the switch. Syntax enable vlan_trunk The enable vlan_trunk command, along with the disable Description vlan_trunk command below, is used to enable and disable VLAN trunking on the Switch, without changing the VLAN trunking configuration on the ports.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show vlan_trunk Syntax The show vlan_trunk command displays summary information Description about VLAN trunking status and configured ports. Parameters None. Restrictions None. Example usage: To display the Switch’s current VLAN_trunk settings: DGS-1210-28P/ME:5# show vlan_trunk Command: show vlan_trunk VLAN Trunk Status :Enable...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To enable Asymettric VLAN on the switch: DGS-1210-28P/ME:5# enable asymmetric_vlan Command: enable asymmetric_vlan Success. DGS-1210-28P/ME:5# disable asymmetric_vlan Purpose To disable Asymmetric VLAN on the switch. Syntax disable asymmetric_vlan The disable asymmetric_vlan command, along with the enable Description asymmetric_vlan command below, is used to disable and enable Asymmetric VLAN on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The enable pvid auto_assign command enables the auto-assign of PVID. When this is enabled, PVID will be possibly changed by PVID or VLAN configuration. When user configures a port to VLAN X’s untagged membership, this port’s PVID will be updated with VLAN X.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide This config vlan_auto_learn command is used to configure MAC Description address autolearning on a VLAN to be enabled or disabled. <vidlist> - Specifies the VLAN id to be configured. Parameters Only Administrator and Operator and Power-User-level users can Restrictions issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide MAC-BASED ACCESS CONTROL COMMANDS The MAC-Based Access Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable mac_based_access_control disable mac_based_access_control config mac_based_access_control <passwd 16>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable mac_based_access_control Purpose To enable MAC-based Access Control. Syntax enable mac_based_access_control The enable mac_based_access_control command will enable the Description MAC-based AC function. Parameters None. Restrictions Only administrator or operator-level users can issue this command. Example usage: To enable MAC-based AC function: DGS-1210-28P/ME:5# enable mac_based_access_control...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide is 16. Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure MAC-based AC password: DGS-1210-28P/ME:5# config mac_based_access_control password 1234 Command: config mac_based_access_control password 1234 Success. DGS-1210-28P/ME:5# config mac_based_access_control method Purpose To configure the MAC-based AC authenticating method.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide unauthenticated state. block_time <value 0-300> – If a host fails to pass the authentication, the next authentication will not started within block_time unless the user clears the entry state manually. Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure port state: DGS-1210-28P/ME:5# config mac_based_access_control port all aging_time...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To disable log state of MAC-based Access Control: DGS-1210-28P/ME:5# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success. DGS-1210-28P/ME:5# config mac_based_access_control log max_users Purpose To configure the maximum users of MAC-based Access Control. config mac_based_access_control max_users <value 1-1000>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 44-55 vlanid 1 Success. DGS-1210-28P/ME:5# show mac_based_access_control Purpose To display mac_based_access_control setting. Syntax show mac_based_access_control {port [<portlist> | all]} Description The show mac_based_access_control command is used to display mac_based_access_control settings. port [<portlist> | all] - .Specifies a range of ports or all ports to be Parameters displayed the mac_based_access_control settings.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show mac_based_access_control_local Command: show mac_based_access_control_local MAC Address : 00-11-22-33-44-55 Vlan ID Success. DGS-1210-28P/ME:5# show mac_based_access_control auth_state ports Purpose To display mac_based_access_control authentication status. Syntax show mac_based_access_control_local auth_state ports [<portlist> | all] Description The show mac_based_access_control_local auth_state ports command...
Page 262
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To delete the local database entry by mac address with VLAN id 2: DGS-1210-28P/ME:5# delete mac_based_access_control_local mac 00–00–00– 00–00–01 vlanid 2 Command: delete mac_based_access_control_local mac 00–00–00–00–00–01 vlanid 2 Success. DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide WEB-BASED ACCESS CONTROL COMMANDS The Web-Based Access Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable wac disable wac config wac <string 20>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# disable wac Purpose To disable the WAC function. disable wac Syntax The disable wac command is used to disable the WAC function. Description Parameters None. Restrictions Only administrator or operator-level users can issue this command. Example usage: To disable the WAC function: DGS-1210-28P/ME:5# disable wac...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config wac method Purpose To specify the RADIUS protocol used by WAC to complete RADIUS authentication. config wac method {radius | local} Syntax The config wac method command is used to allow specification of Description the RADIUS protocol used by WAC to complete RADIUS authentication.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the WAC virtual IP address used to accept authentication requests from unauthenticated hosts: DGS-1210-28P/ME:5# config wac virtual_ip 1.1.1.1 Command: config wac virtual_ip 1.1.1.1 Success. DGS-1210-28P/ME:5# create wac user Purpose To create accounts for Web-based Access Control. This user account is independent of the login user account.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# delete wac user dlink Command: delete wac user dlink Success. DGS-1210-28P/ME:5# show wac user Purpose To display WAC user accounts. show wac user Syntax The show wac user command is is used to display WAC user Description accounts.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide VirtualIPv6 : :: RedirPath : http://www.dlink.com Auth Mode : Local WACHttpPort : 8888 Auth HTTP Method : Https Success. DGS-1210-28P/ME:5# show wac ports Purpose To display WAC port information. show wac ports [all | <portlist>] Syntax The show wac ports command is is used to display WAC port Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show wac auth_state ports Purpose To display the authentication state for ports. show wac auth_state ports [all | <portlist>] Syntax The show wac ports command is is used to display the Description authentication state for ports. Parameters [all | <portlist>] - Specifies the list of ports whose WAC authentication state will be displayed.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Q-IN-Q COMMANDS The Link Aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable qinq disable qinq show qinq {ports [<portlist> | inner_tpid]} show qinq rxtable [<portlist>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# disable qinq Purpose To disable the Q-in-Q mode. disable qinq Syntax The disable qinq command creates a used to disable the Q-in-Q Description mode. All dynamically learned L2 address will be cleared. All dynamically registered VLAN entries will be cleared, GVRP will be disabled.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Add Inner Tag: Disabled --------------------------------------------------------- Port ID: 2 --------------------------------------------------------- Role: Miss Drop: Disabled Outer Tpid: 0x8100 Add Inner Tag: Disabled --------------------------------------------------------- DGS-1210-28P/ME:5# show qinq rxtable Purpose To show global Q-in-Q RX table. show qinq rxtable Syntax The show qinq rxtable command is used to display the global Q-in-...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure port list 1 to 4 as NNI port, set outer TPID to 0x88a8: DGS-1210-28P/ME:5# config qinq ports 1-3 role nni outer_tpid 0x88a8 Command: config qinq ports 1-3 role nni outer_tpid 0x88a8 Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# create vlan_translation add cvid 2 svid 2 Command: create vlan_translation add cvid 2 svid 2 Success. DGS-1210-28P/ME:5# show vlan_translation Purpose To display the current VLAN translation rules on the Switch. show vlan_translation {cvid <vidlist>} Syntax The show vlan_translation cvid command display the current Description...
Page 276
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide LINK AGGREGATION COMMANDS The Link Aggregation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create link_aggregation group_id <value 1-8> {type [lacp | static]} delete link_aggregation group_id <value 1-8>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Example usage: To create a link aggregation group: DGS-1210-28P/ME:5# create link_aggregation group_id Command: create link_aggregation group_id 1 Success. DGS-1210-28P/ME:5# delete link_aggregation Purpose To delete a previously configured link aggregation group. delete link_aggregation group_id <value 1-8>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Link aggregation groups may not overlap. Example usage: To define a load-sharing group of ports, group-id 2 with group members ports 1-5: DGS-1210-28P/ME:5# config link_aggregation group_id 2 master_port 1 ports 1-5 Command: config link_aggregation group_id 2 master_port 1 ports 1-5 Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable the link algorithm feature. [enable | disable] – Enables or disables the link aggregation state. Parameters Restrictions Only administrator or operator-level users can issue this command. Example usage: To enable the link aggregation feature: DGS-1210-28P/ME:5# config link_aggregation state enable Command: config link_aggregation state enable LA Module has been enable...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide BASIC IP COMMANDS The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create ipif <ipif_name 12> <network_address> <vlan_name 32> state [enable | disable] delete ipif [<ipif_name 12>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete ipif Purpose To delete an IP interface on the switch. delete ipif [<ipif_name 12> | all] Syntax The delete ipif command will delete an IP interface. Description Parameters [<ipif_name 12> | all] - Specifies the IP interface name or all IP interface to be deleted.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config ipif Purpose To configure the DHCPv6 client state for the interface. Syntax config ipif <ipif_name 12> ( [ipaddress <network_address>] [vlan <vlan_name 32>] [state [enable | disable]] | dhcp | ipv6 {ipv6address <ipv6networkaddr>...
Page 284
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide on the Switch. Parameters <string> - Specifies the IP interface name. Restrictions None. Example usage: To display IP interface settings: DGS-1210-28P/ME:5# show ipif Command: show ipif IP Setting Mode : Static Interface Name : System Interface VLAN Name : default...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide BPDU ATTACK PROTECTION COMMANDS The BPDU Attack Protection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config bpdu_protection [<portlist> | all ] [state [enable | disable] | mode [ drop | block | shutdown ]] ports config bpdu_protection [<sec 60-1000000>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide how to handle BPDU. That is, when BPDU tunneling is enabled on a port AND the BPDU attack protection function is enabled, then BPDU tunneling is effectively disabled on the port. <portlist> – Specifies a range of ports to be configured. Parameters all –...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config bpdu_protection Purpose Used to configure trap and log settings for BPDU attack protection events. Syntax config bpdu_protection [ trap | log ] [ none | attack_detected | attack_cleared | both ] Description The config bpdu_protection command to configure the trap and log state for BPDU attack protection and specify the type of event...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# enable bpdu_protection Command: enable bpdu_protection Success. DGS-1210-28P/ME:5# disable bpdu_protection Purpose Used to globally disable BPDU attack protection on the Switch. disable bpdu_protection Syntax Description The disable bpdu_protection command is Use this to disable BPDU attack protection on the entire Switch.
Page 289
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show bpdu_protection Command: show bpdu_protection BPDU Protection Global Settings --------------------------------------------------------------- BPDU Protection Status : Disabled BPDU Protection Recover Time : 60 seconds BPDU Protection Trap State : none BPDU Protection Log State : none DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ETHERNET OAM COMMANDS The Ethernet OAM commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config ethernet_oam [<portlist> | all] mode [active | passive] {received_remote_loopback [ignore | ports process] | remote_loopback [start | stop] | state [enable | disable]} config ethernet_oam...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide state [enable | disable] – Specifies the state to be enabled or disabled. Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure ports 1 to 3 to OAM mode to active: DGS-1210-28P/ME:5# config ethernet_oam ports 1-3 mode active Command: config ethernet_oam ports 1-3 mode active Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide all – Entering this command will set all ports on the system. critical_link_event [critical_event | dying_gasp] – Specifies the critical link event is critical event or dying GASP. notify_state [enable | disable] – Specifies to enable or disable the event notification.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide sizes between the peers. (5) OAM configuration revision: The configuration revision of the OAM entity as reflected in the latest OAMPDU sent by the OAM entity. The config revision is used by OAM entities to indicate that configuration changes have occurred, which might require the peer OAM entity to re-evaluate whether OAM peering is allowed.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide displayed. Restrictions None. Example usage: To show Ethernet OAM configuration of port 1: DGS-1210-28P/ME:5# show ethernet_oam ports 1 configuration Command: show ethernet_oam ports 1 configuration Port 1 ----------------------------------------------------------- : Enabled Mode : Active Dying Gasp : Enabled Critical Event...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide MAC NOTIFICATION COMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable mac_notification disable mac_notification config mac_notification [interval <int 1-2147483647>] {historysize <int 1-500>} config mac_notification [<portlist>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide address notification without changing configuration. Parameters None. Restrictions Only administrator or operator-level users can issue this command. Example usage: To disable MAC notification without changing basic configuration: DGS-1210-28P/ME:5# disable mac_notification Command: disable mac_notification Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To enable port 7 for MAC address table notification: DGS-1210-28P/ME:5# config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-1210-28P/ME:5# show mac_notification Used to display the Switch’s MAC address table notification global Purpose settings.
Page 300
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Port MAC Address Table Notification State ---- ------------------------------------------------------ Disabled Disabled Disabled DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide IGMP SNOOPING COMMANDS The IGMP Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [vlan_name <string 32> | vlanid <vidlist> | all] [host_timeout <sec 130-153025> | config igmp_snooping router_timeout <sec 60-600>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide fast_leave [enable | disable] − Enables or disables the fast leave. state [enable | disable] − Enables or disables IGMP snooping for the specified VLAN. Restrictions Only administrator, operator or power user-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide tag_member_port <portlist> − Specifies a port or a range of ports to be the tagged port for the multicast VLAN of IGMP snooping. state [enable | disable] − Enables/Disables IGMP Snooping multicast VLAN.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide is to be configured. Up to 32 characters can be used. [add | delete] − Specify whether to add or delete ports defined in the following parameter <ipaddr>. <ipaddr> − Specify the IP address range to be configured with the IGMP snooping multicast VLAN group.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config igmp_snooping static_group Purpose To configure the current IGMP snooping static group on the Switch. config igmp_snooping static_group [vlan <vlan_name 32> | Syntax vlanid <vlanid_list>] <ipaddr> [add | delete] <portlist> The config igmp_snooping static_group command is used to add Description or delete ports to /from the given static group.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show igmp_snooping static_group Purpose To display the IGMP snooping static group information on the Switch. show igmp_snooping statis_group vlan <vlan_name 32> | Syntax vlanid <vlanid_list> | <ipaddr>} The show igmp_snooping statis_group command displays the Description IGMP snooping static group information on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the igmp snooping data driven learning on the Switch: DGS-1210-28P/ME:5# config igmp_snooping data_driven_learning all state disable Command: config igmp_snooping data_driven_learning all state disable Success.DGS-1210-28P/ME:5# clear igmp_snooping data_driven_group Purpose To clear the IGMP snooping group learned by data drive. clear igmp_snooping data_driven_group [all | vlan_name Syntax <vlan_name 32>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide the following parameter <portlist>, to the router port function. <portlist> − A port or range of ports that will be configured as router ports. Restrictions Only administrator, operator or power user-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config igmp access_authentication ports Description command configures the IGMP access authentication on the Switch. <portlist> − A port or range of ports that will be configured as IGMP Parameters access authentication ports. all −...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable igmp_snooping Purpose To enable IGMP snooping on the Switch. enable igmp_snooping {multicast_vlan | Syntax forward_mcrouter_only} The enable igmp_snooping command enables IGMP snooping on Description the Switch. {multicast_vlan | forward_mcrouter_only} − Enables the multicast Parameters VLAN or forward mcrouter for IGMP Snooping on the Switch.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide <vlan_name 32> − The name of the VLAN for which IGMP snooping Parameters configuration is to be displayed. Up to 32 characters can be used. <vidlist> − The vid of the VLAN for which IGMP snooping configuration is to be displayed.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide {data_driven} − Specifies to display the data driven of IGMP snooping group. Restrictions None. Example usage: To show igmp snooping group: DGS-1210-28P/ME:5# show igmp_snooping group vlan default Command: show igmp_snooping group vlan default Total Entries : 0 DGS-1210-28P/ME:5# show igmp_snooping forwarding...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide IGMP snooping forwarding table entries currently configured on the Switch. ports <portlist> − The ports of IGMP snooping host table information Parameters are to be displayed. group <ipaddr> − The IP address of IGMP snooping host table information are to be displayed.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show igmp_snooping multicast_vlan_group Purpose To display the IGMP snooping multicast vlan group table entries on the Switch. show igmp_snooping multicast_vlan_group {<vlan_name 32>} Syntax The show igmp_snooping multicast_vlan_group command Description displays the current IGMP snooping forwarding table entries currently configured on the Switch.
Page 317
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Dynamic router port : Forbidden router port : Total Entries : 1 DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 40 3 LAYER 2 PROTOCOL TUNNELING COMMANDS The Layer 2 Protocol Tunneling (L2PT) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable l2protocol_tunnel disable...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To disable the Layer 2 protocol tunneling function: DGS-1210-28P/ME:5# disable l2protocol_tunnel Command: disable l2protocol_tunnel Success. DGS-1210-28P/ME:5# config l2protocol_tunnel ports Purpose To configure Layer 2 protocol tunneling on ports. Syntax config l2protocol_tunnel ports [all | <portlist>] type [uni tunneled_protocol [stp | gvrp | protocol_mac [01-00-0C-CC-CC- CC | 01-00-0C-CC-CC-CD] | all] | nni | none] Description...
Page 320
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide protocol tunneling information. Parameters uni - Specify show UNI detail information, include tunneled and dropped PDU statistic. nni - Specify show NNI detail information, include de-capsulated Layer 2 PDU statistic. Restrictions None. Example usage: To show Layer 2 protocol tunneling information summary: DGS-1210-28P/ME:5# show l2protocol_tunnel Command: show l2protocol_tunnel...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 41 3 DIGITAL DIAGNOSTIC MONITORING COMMANDS The Digital Diagnostic Monitoring (DDM) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter <portlist> [bias_current_threshold [high_alarm | low_alarm] | rx_power_threshold config ddm ports | shutdown | state [enable | disable] | temperature_threshold | tx_power_threshold | voltage_threshold]...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide MLD SNOOPING COMMANDS The MLD Snooping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable mld_snooping {multicast_vlan | forward_mcrouter_only} disable mld_snooping {multicast_vlan | forward_mcrouter_only} [vlan_name <...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter show mld_snooping [vlan_name <string 32> | vlanid <vidlist> | all ] [dynamic | static] mrouter_ports show mld_snooping [vlan_name <string 32> | vlanid <vidlist> | all | ports <portlist> | group host <ipv6_addr>] Each command is listed in detail, as follows:...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The config mld_snooping multicast_vlan command will create a MLD multicast_vlan. Multiple multicast VLANs can be configured. When creating MLD multicast VLAN, it cannot duplicate with the VLAN entries in the existing 802.1Q VLAN database. The MLD Multicast VLAN snooping function co-exists with the 1Q VLAN snooping function.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide multicast VLAN. state – enable or disable multicast VLAN for the chosen VLAN. replace_source_ipv6 <ipv6addr> – With the MLD snooping function, the MLD report packet sent by the host will be forwarded to the source port.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only administrator, operator or power user–level users can issue this command. Example usage: To delete a MLD multicast VLAN: DGS-1210-28P/ME:5# delete mld_snooping multicast_vlan mv1 Command: delete mld_snooping multicast_vlan mv1 Success. DGS-1210-28P/ME:5# config mld_snooping multicast_vlan_group Purpose To bind a multicast group profile to a multicast VLAN.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To display mld snooping multicast VLAN group: DGS-1210-28P/ME:5# show mld_snooping multicast_vlan_group Command: show mld_snooping multicast_vlan_group VID Vlan Name IP Range ---- -------------------------------- ----------------------------------------- DGS-1210-28P/ME:5# config mld_snooping mrouter_ports Purpose To enable mld mrouter ports. config mld_snooping mrouter_ports [vlan_name <string 32>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide vlan_name <string 32> – Specifies that the mld snooping applies Parameters only to this previously created VLAN. vlanid <vidlist> – specifies that the mld snooping applies only to this previously created VLAN id. all –...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide robustness_variable <value 2-255> – Provides fine-tuning to allow for expected packet loss on a subnet. The user may choose a value between 1 and 255 with a default setting of 2. If a subnet is expected to be lossy, the user may wish to increase this interval.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To enable the data driven learning of an MLD snooping group on the default VLAN: ES-1210-28/ME:5# config mld_snooping data_driven_learning vlan_name default state enable Command: config mld_snooping data_driven_learning vlan_name default state enable Success ! DGS-1210-28P/ME:5# clear mld_snooping data_driven_group Purpose...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide the Switch. Restrictions None. Example usage: To show the MLD snooping: DGS-1210-28P/ME:5# show mld_snooping vlan_name default Command: show mld_snooping vlan_name default MLD Snooping Global State : Enable Max Learned Entry Value : 256 VLAN Name : default Query Interval...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To display the MLD snooping forwarding: DGS-1210-28P/ME:5# show mld_snooping forwarding all Command: show mld_snooping forwarding all Total Entries : 0 DGS-1210-28P/ME:5# show mld_snooping group Purpose To display mld snooping group settings on the Switch. Syntax show mld_snooping group [vlan_name <string 32>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide LIMITED IP MULTICAST ADDRESS COMMANDS The 802.1X commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create [ipv4 | ipv6] profile_id <integer 1-24> profile_name <string 20> mcast_filter_profile config mcast_filter_profile...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide profile on the Switch. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To create an IPv6 multicast filtering profile on the Switch: DGS-1210-28P/ME:5# create mcast_filter_profile ipv6 profile_id 1 profile_name rd2 Command: create mcast_filter_profile ipv6 profile_id 1 profile_name rd2 Success.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide name. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure the multicast address range 225.1.1.1 to 225.1.1.10 to the profile name “rd3” on the Switch: DGS-1210-28P/ME:5# config mcast_filter_profile profile_name rd3 add 225.1.1.11 225.1.1.20 Command: config mcast_filter_profile profile_name rd3 add 225.1.1.11 225.1.1.20...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide profile_id [all | <integer 1-24>] − The profile id of the VLAN on which the multicast forwarding filtering database resiDGS. profile_name <string 20> − The name of the VLAN on which the multicast forwarding filtering database resiDGS. Restrictions Only Administrator or operator-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config limited_multicast_addr Purpose To configure the multicast address filtering function a port. Syntax config limited_multicast_addr ports <portlist> [ipv4 | ipv6] {[add | delete] [profile_id <integer 1-24> | profile_name <string 20>] | access [permit | deny]} Description The config limited_multicast_addr command is used to configure the multicast address filtering function on a port.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ---- ----------- -------------------------------------------------------------- (v4) Permit (v4) Permit DGS-1210-28P/ME:5# config max_mcast_group Purpose Used to configure the maximum number of multicast groups that a port can join. Syntax config max_mcast_group ports <portlist> [ipv4 | ipv6] max_group <integer 1-256>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 802.1X COMMANDS The 802.1X commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable 802.1x disable 802.1x show 802.1x {ports <portlist>} auth_state show 802.1x {ports <portlist>} auth_configuration...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter guest_vlan create 802.1x user <username 15> show 802.1x user delete 802.1x user <username 15> config 802.1x capability [<portlist> | all] [authenticator | none] ports Each command is listed in detail, as follows: enable 802.1x Purpose To enable the 802.1x server on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# show 802.1x Purpose To display the 802.1x server information on the Switch. show 802.1x Syntax Description The show 802.1x command displays the 802.1x Port-based Network Access control server application on the Switch. Parameters None.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide reauthentications. ReAuthenticate: true/false − Shows whether or not to reauthenticate. ports <portlist> − Specifies a port or range of ports to be viewed. Parameters Restrictions None. Example usage: To display the 802.1x configurations of port 2: DGS-1210-28P/ME:5# show 802.1x auth_configuration ports 2 Command: show 802.1x auth_configuration ports 2 Authentication Mode...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide auto – Allows the port’s status to reflect the outcome of the authentication process. force_unauth – Forces the Authenticator for the port to become unauthorized. Network access is blocked. quiet_period <sec 0-65535> – Configures the time interval between authentication failure and the start of a new authentication attempt.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide all – Specifies all of the ports on the Switch. Restrictions Only Administrator, operator or power user-level users can issue this command. Example usage: To initialize the authentication state machine of all ports: DGS-1210-28P/ME:5# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config radius delete <server_index 1-3> Syntax Description The config radius delete command deletes a previously entered RADIUS server configuration. <server_index 1-3> – The index of the RADIUS server. Parameters Restrictions Only Administrator or operator-level users can issue this command. Example usage: To delete previously configured RADIUS server communication settings: DGS-1210-28P/ME:5# config radius delete 1...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config radius 1 ipaddress 10.48.47.11 Command: config radius 1 ipaddress 10.48.47.11 Success. DGS-1210-28P/ME:5# show radius Purpose To display the current RADIUS configurations on the Switch. show radius Syntax Description The show radius command displays the current RADIUS configurations on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To enable 802.1x forwarding EAPOL PDU DGS-1210-28P/ME:5# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-1210-28P/ME:5# show 802.1x fwd_pdu system status Purpose To display the 802.1x forwarding EAPOL PDU status on the Switch. show 802.1x fwd_pdu system status Syntax The show 802.1x fwd_pdu system status command is used to...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# delete 802.1x guest_vlan default Command: delete 802.1x guest_vlan default Success. DGS-1210-28P/ME:5# config 802.1x guest_vlan ports Purpose Defines a port or range of ports to be members of the Guest VLAN. config 802.1x guest_vlan ports [<portlist> | all] state [enable | Syntax disable] The config 802.1x guest_vlan ports command defines a port or...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show 802.1x user Command: show 802.1x user Index Username ------------ --------------- dlink Total Entries: 1 Success. DGS-1210-28P/ME:5# delete 802.1x user Purpose Deletes network access to a 802.1x user. delete 802.1x user <username 15> Syntax The delete 802.1x user command deletes network access to a Description...
Page 359
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config 802.1x capability ports all authenticator Command: config 802.1x capability ports all authenticator Success. DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide PORT SECURITY COMMANDS The Port Security commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<portlist> | all] [admin_state [enable | disable] | max_learning_addr config port_security <max_lock_no 0-64>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide and on when the address is aged out. Restrictions Only administrator or operator-level users can issue this command Example usage: To configure port security: DGS-1210-28P/ME:5# config port_security admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Command: config port_security 1-5 admin_state enable max_learning_addr 5 lock_address_mode DeleteOnReset Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete port_security _entry Purpose To delete a port security entry by VLAN, VLAN ID, and MAC address. delete port_security_entry [vlan <vlan_name 32> | vlanid Syntax <vlanid 1-4094>] mac_address <macaddr> The delete port_security_entry command is used to delete a port Description security entry by VLAN, VLAN ID, and MAC address.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide TIME AND SNTP COMMANDS The Time and SNTP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {primary [<ipaddr> | <ipv6addr>] | secondary [<ipaddr> | <ipv6addr>] | poll- config sntp interval <sec 30-99999>} show sntp...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll- interval 60 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 60 Success. DGS-1210-28P/ME:5# show sntp Purpose To display the SNTP information. Syntax show sntp The show sntp command displays SNTP settings information, Description including the source IP address, time source and poll interval.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config time 09jan2012 15:50:50 Command: config time 09jan2012 15:50:50 Success. DGS-1210-28P/ME:5# config time_zone operator Purpose To determine the time zone used in order to adjust the system clock. config time_zone operator [+ hour <gmt_hour 0-13> minute Syntax <minute 0-59>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide s_date <start_date 1-31> - The day of the month to begin DST, expressed numerically. s_mth <start_mth 1-12> - The month of the year to begin DST, expressed numerically. s_time <start_time> - The time of day to begin DST in hours and minutes, expressed using a 24-hour clock.
Page 368
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show time Command: show time Time information ----------------------------------------------------------------------------------------- Current Time Source : Local Current Time : 01 Jan 2014 15:56:02 GMT Time Zone offset : GMT +02:30 Daylight Saving Time Status : Disabled Offset in Minutes : 60 Annual From...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide ARP COMMANDS The ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create ArpSpoofing ip_address <ipaddr> mac_address <macaddr> [<portlist> | all] show ArpSpoofing delete ArpSpoofing ip_address <ipaddr>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To create an ARP Spoofing IP address on the Switch: DGS-1210-28P/ME:5# create ArpSpoofing ip_address 10.2.1.1 mac_address 00-00-00-01-01-2 all Command: create ArpSpoofing ip_address 10.2.1.1 mac_address 00- 00-00-01-01-2 all Success. DGS-1210-28P/ME:5# show ArpSpoofing Purpose To display the ARP Spoofing information on the Switch. show ArpSpoofing Syntax The show ArpSpoofing displays the information, indluDGS IP...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To delete the ARP spoofing configuration: DGS-1210-28P/ME:5# create ArpSpoofing ip_address 10.2.1.1 Command: create ArpSpoofing ip_address 10.2.1.1 Success. DGS-1210-28P/ME:5# config arp_aging time Purpose To configure the age-out timer for ARP table entries on the Switch. config arp_aging time <value 0-65535>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To remove dynamic entries in the ARP table: DGS-1210-28P/ME:5# clear arptable Command: clear arptable Success. DGS-1210-28P/ME:5# create arpentry Purpose To create an entry for ARP table on the Switch. create arpentry <ipaddr> <macaddr> Syntax The create arpentry <ipaddr>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure ARP entry: DGS-1210-28P/ME:5# config arpentry 10.90.90.94 00-00-00-01-02-05 Command: config arpentry 10.90.90.94 00-00-00-01-02-05 Success. DGS-1210-28P/ME:5# delete arpentry Purpose To remove the entry for ARP table on the Switch. delete arpentry [<ipaddr> | all] Syntax The delete arp_aging time command is used to configure the entry Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To display all ARP entries information on the Switch: DGS-1210-28P/ME:5# show arpentry information Command: show arpentry information ARP Configurations: ------------------- Maximum number of ARP request retries is 3 ARP cache timeout is 1800 seconds DGS-1210-28P/ME:5# show arpentry aging_time Purpose...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide ROUTING TABLE COMMANDS The Routing table commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create iproute default <ipaddr> {<value 1-254>} delete iproute {default} show iproute...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete iproute Used to delete an IP route entry from the Switch’s IP routing table. Purpose Syntax delete iproute {default} The delete iproute command will delete an existing IP route entry Description from the Switch’s IP routing table. {default} –...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS The D-Link Unidirectional Link Detection (DULD) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<portlist>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To enable unidirectional link detection on port 1: DGS-1210-28P/ME:5# config duld ports 1 state enable Command: config duld ports 1 state enable Success. DGS-1210-28P/ME:5# show duld ports Purpose To show unidirectional link detection information. show duld ports {<portlist>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the unidirectional link detection recovery time to 100 seconds: DGS-1210-28P/ME:5# config duld recover_timer 100 Command: config duld recover_timer 100 Success. DGS-1210-28P/ME:5# show duld recover_timer Purpose To display unidirectional link detection recover time. show duld recover_timer Syntax The show duld recover_timer command is used to display...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide IPV6 NEIGHBOR DISCOVERY COMMANDS The IPv6 Neighbor Discovery commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create ipv6 ipif <string 12> <ipv6_addr> <mac_addr> neighbor_cache delete ipv6 [<string 12>| all] [<ipv6_addr>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions None. Example usage: To show all neighbor cache entries on the switch: DGS-1210-28P/ME:5# show ipv6 neighbor_cache ipif all all Command: show ipv6 neighbor_cache ipif all all IPv6 Address Link-layer Addr State Interface ------------ ---------------------- -------- ---------------...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide other command will also change so that the values in both commands are the same. The range if 1 to 3600. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure the retrans_time of IPv6 ND neighbor solicitation to be 100: DGS-1210-28P/ME:5# config ipv6 nd ns ipif System retrans_time 100 Command: config ipv6 nd ns ipif System retrans_time 100...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# delete ipv6route default Command: delete ipv6route default Success. DGS-1210-28P/ME:5# show ipv6route Used to display a static IPv6 route entry from the Switch’s IP routing Purpose table. Syntax show ipv6route Description This delete ipv6route command will display an existing static IPv6 entry from the Switch’s IP routing table.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide disable ipif_ipv6_link_local_auto Purpose Used to disable the autoconfiguration of the IPv6 link local address. Syntax disable ipif_ipv6_link_local_auto <ipif_name 12> This disable ipif_ipv6_link_local_auto command will disable the Description automatic creation of an IPv6 link local address for the Switch. Once this command is entered, any previous IPv6 link local address that has been created for the IP interface selected will be deleted from the switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide BANNER COMMANDS The Banner commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config log_save_timing [log_trigger | on_demand | time_interval <minutes 1-65535>] show log_save_timing {index <value 1-500>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show log_save_timing Purpose Used to show the log save timing. Syntax show log_save_timing Description This command allows display of the log save timing on the Switch. Parameters None. Restrictions None. Usage Example: To show the login banner: DGS-1210-28P/ME:5# show log_save_timing Command: show log_save_timing...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide COMMAND HISTORY LIST COMMANDS The Command History List commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter show command_history Each command is listed in detail, as follows: Purpose To display all commands in the Command Line Interface (CLI).
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# Purpose To display all commands. Syntax The dir command displays all commands. Description Parameters None. Restrictions None. Example usage: To display all of the commands: DGS-1210-28P/ME:5# dir Available commands: cable clear config create delete disable...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide COMMAND LOGGING COMMANDS The Command Logging commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable command logging disable command logging show command logging Each command is listed in detail, as follows:...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# disable command logging Command: disable command logging Success. DGS-1210-28P/ME:5# show command logging To display the switch’s general command logging configuration Purpose status. Syntax show command logging The show command logging command is used to show the Description command logging configuration status.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show ssh server Command: show ssh server The SSH Server Configuration : Max Session Connection Timeout : 120 Authfail Attempts : 20 Rekey Timeout : never Success. DGS-1210-28P/ME:5# show ssh algorithm Purpose To display the SSH algorithm setting.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <domain_name 32> hostname_IP <ip_addr> | password | publickey] The config ssh crypto command specifies which SSH public key is Description manually configured. <string 15> – Specifies the name of SSH user. Parameters hostabsed hostname <domain_name 32> – The username of the remote SSH client.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To view the SSL status on the Switch: DGS-1210-28P/ME:5# show ssl Command: show ssl SSL Status Enabled RSA-NULL-MD5 0x0001 Disabled RSA-NULL-SHA1 0x0002 Enabled RSA-DES-SHA1 0x0004 Disabled RSA-3DES-SHA1 0x0008 Disabled DH-RSA-DES-SHA1 0x0010 Disabled DH-RSA-3DES-SHA1 0x0020 Disabled...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ACCESS AUTHENTICATION CONTROL COMMANDS The Access Authentication Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create authen_login <string 15> method_list_name [default | method_list_name <string 15>] method [tacacs+ | radius | config authen_login local | server_group <string 15>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide using the TACACS+ protocol from a remote TACACS+ server. radius - Specifies that the user is to be authenticated using the RADIUS protocol from a remote RADIUS server. local - Specifies that the user is to be authenticated using the local user account database on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 15>] The show authen_login command displays a list of authentication Description methods for user login. default – Displays the default method list for users logging on to the Parameters Switch. method_list_name <string 15> - Specifies the method_list_name to display.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show authen_policy Command: show authen_policy Authentication Policy : Disabled DGS-1210-28P/ME:5# create authen_enable method_list_name Purpose To create a user-defined method list of authentication methods for promoting normal user level privileges to Administrator level privileges on the Switch.
Page 408
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide The sequence of methods implemented in this command affects the authentication result. For example, if a user enters a sequence of methods like tacacs+ – radius – local_enable, the Switch sends an authentication request to the first TACACS+ host in the server group.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config authen_enable method_list_name Trinity method tacacs+ radius local Command: config authen_enable method_list_name Trinity method tacacs+ radius local Success. DGS-1210-28P/ME:5# delete authen_enable method_list_name Purpose To delete a user-defined list of authentication methods for promoting normal user level privileges to Administrator level privileges on the Switch.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide method list name. Method Name – Defines which security protocols are implemeted, per method list name. Restrictions Only Administrator-level users can issue this command. Example usage: To display all method lists for promoting user level privileges to administrator level privileges. DGS-1210-28P/ME:5# show authen_enable all Command: show authen_enable all Method List Name Priority Method Name Comment...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show authen application Syntax The show authen application command displays all of the Description authentication method lists (login, enable administrator privileges) for Switch configuration applications (console, Telnet, SSH) currently configured on the Switch. Parameters None.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show authen parameter Purpose To display authentication parameters for the various applications on the Switch. show authen parameter Syntax The show authen parameter command displays the authentication Description parameter on the Switch. Parameters None.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide encryption_key <string 800> - Specifies the encryption key. key [<string 254> | none] – The authentication key to be shared with a configured TACACS+ or RADIUS server only. The value is a string of up to 254 alphanumeric characters, or none.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide radius – Specifies that the server host utilizes the RADIUS protocol. acct_port <int 1-65535> - Specifies the accepted port number of the authentication protocol on a server host. port <int 1-65535> – The virtual port number of the authentication protocol on a server host.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To delete a user-defined RADIUS authentication server host: DGS-1210-28P/ME:5# delete authen server_host 10.1.1.121 protocol radius Command: delete authen server_host 10.1.1.121 protocol radius Success. DGS-1210-28P/ME:5# show authen server_host Purpose To view a user-defined authentication server host. show authen server_host Syntax The show authen server_host command displays user-defined...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide with each other. The maximum supported number of server group is <string 15> – Defines the authentication group name as a string of Parameters up to 15 alphanumeric characters. server_host [<ipaddr> | ipv6address <ipv6addr>] – The IPv4 or IPv6 address of the remote server group the user wishes to alter.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show authen server_group {<string 15>} Syntax The show authen server_ group command displays user-defined Description authentication server groups previously created on the Switch. The following parameters are displayed: Group Name – The name of the server group. IP Address –...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# config admin local_enable Purpose To configure the local_enable password for administrator level privileges. config admin local_enable Syntax The config admin local_enable command changes the locally Description enabled password for the local_enable admin command. When a user chooses the ‘local_enable’...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide radius – Specifies to use the built-in server group 'radius'. server_group <string 15> - Specifies the user-defined server group. none – Specifies no accounting. Restrictions Only administrator-level users can issue this command. Example usage: To configure a user-defined method list called "shell_acct", that specifies a sequence of the built-in"tacacs+"...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: config accounting service shell state enable radius_only Success. DGS-1210-28P/ME:5# config accounting service command Purpose To configure the state of the specified accounting service. Syntax config accounting service command {administrator | operator | power_user | user} [method_list_name <string>...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only administrator-level users, Operator and Power-User level users can issue this command. Example usage: To create a user-defined accounting method list called "shell_acct": DGS-1210-28P/ME:5# create accounting method_list_name shell_acct Command: create accounting method_list_name shell_acct Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To display all user-defined accounting method list: DGS-1210-28P/ME:5# show accounting all Command: show accounting all Method List Name Priority Method Name Comment ------------------------- ---------- --------------------- ------------------ default none Keyword DGS-1210-28P/ME:5# enable aaa_server_password_encryption Purpose To enable AAA server password encryption.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28P/ME:5# show aaa Purpose To display AAA global configuration. Syntax show aaa The show aaa command is used to display AAA global Description configuration. Parameters None. Restrictions None. Example usage: To display AAA global configuration: DGS-1210-28P/ME:5# show aaa Command: show aaa Authentication Policy: Disabled...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ENERGY EFFICIENT ETHERNET COMMANDS The Energy Efficient Ethernet (EEE) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config EEE port [all | <portlist>] state [enable | disable] show EEE_mode {ports <portlist>} Each command is listed in detail, as follows:...
Page 427
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To display the EEE state: DGS-1210-28P/ME:5# show EEE_mode ports 1-3 Command: show EEE_mode ports 1-3 Port EEE state ---- --------- enabled enabled enabled Success. DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide LACP COMMANDS The LACP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config lacp port_priority <portlist> <value 0-65535> [timeout <long | short>] show lacp {<portlist>} config lacp_ports...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters <portlist> - A port or range of ports whose LACP settings are to be displayed. If no parameter is specified, the system displays the current LACP status for all ports. Restrictions None.
Page 430
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config lacp_ports 1 mode active Command: config lacp_ports 1 mode active Success. DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide LLDP COMMANDS The LLDP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable lldp disable lldp config lldp <sec 5-32768> message_tx_interval config lldp <int 2-10>...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable lldp Purpose To enable LLDP on the switch. enable lldp Syntax The enable lldp command enables the Link Layer Discovery Description Protocol (LLDP) on the switch. Parameters None. Restrictions Only Administrator or operator–level users can issue this command. Example usage: To enable LLDP on the switch: DGS-1210-28P/ME:5# enable lldp...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config lldp message_tx_interval 10 Command: config lldp message_tx_interval 10 Success. DGS-1210-28P/ME:5# config lldp message_tx_hold_multiplier Purpose To define the lldp hold-multiplier on the switch. config lldp message_tx_hold_multiplier <int 2-10> Syntax Description The config lldp message_tx_hold_multiplier command specifies the amount of time the receiving device should hold a Link Layer Discovery Protocol (LLDP) packet before discarding it.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config lldp tx_delay Purpose To configure the lldp tx_delay on the switch. Syntax config lldp tx_delay <sec 1-8192> The config lldp tx_delay command specifies the delay between Description successive LLDP frame transmissions initiated by value/status changes in the LLDP local systems MIB, use the lldp tx_delay command in global configuration mode.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions None. Example usage: To show LLDP settings: DGS-1210-28P/ME:5# show lldp Command: show lldp LLDP System Information Chassis Id Subtype : MAC Address Chassis Id : 9C-D6-43-60-4F-A4 System Name System Description : DGS-1210-28P/ME 6.11.B037 System Capabilities...
To show the local port information for port 1 with mode brief: DGS-1210-28P/ME:5# show lldp local_ports 1 mode brief Command: show lldp local_ports 1 mode brief Port ID : 1 --------------------------------------------- Port ID Subtype : Local Port ID : Slot0/1 Port ID Desctiption : D-Link DGS-1210-28P/ME Rev.A1/6.11.B037 Port 1 DGS-1210-28P/ME:5#...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show lldp remote_ports Purpose To display information regarding the neighboring devices discovered using LLDP. show lldp remote_ports {<portlist>} {mode[brief | normal | Syntax detailed]} Description The show lldp remote_ports command displays the information regarding neighboring devices.
Page 438
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config lldp ports admin status command defines lldp admin status per port on the switch. [<portlist> | all] – Specify a port or ports to be configured. Parameters Admin status – Defines admin status of ports on the switch. Tx- Tx only Rx –...
Page 439
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide system_capabilities}] [enable | disable] Description The config lldp ports basic TLVs command defines if lldp will advertise the switch’s basic TLVs the command is per port on the switch. [<portlist> | all] – Specify a port or ports to be configured. Parameters Basic TLVs: all –...
Page 440
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax config lldp ports [<portlist>|all] dot1_tlv_pvid [disable | enable] Description The config lldp ports dot1 TLVs command defines if lldp will advertise the mac_phy_configuration_status the command is per port on the switch. [<portlist> | all] – Specify a port or ports to be configured. Parameters [enable | disable] - Defines if the advertisement is enabled or disabled.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure LLDP mac_phy_configuration status: DGS-1210-28P/ME:5# config lldp ports all dot1_tlv_vlan_name vlanid 1 disable Command: config lldp ports all dot1_tlv_vlan_name vlanid 1 disable Success.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To show the LLDP statistics for port 15: DGS-1210-28P/ME:5# show lldp statistics ports 15 Command: show lldp statistics ports 15 Port ID : 15 ------------------------------------------------------------------- lldpStatsTxPortFramesTotal lldpStatsRxPortFramesDiscardedTotal : 0 lldpStatsRxPortFramesErrors lldpStatsRxPortFramesTotal lldpStatsRxPortTLVsDiscardedTotal lldpStatsRxPortTLVsUnrecognizedTotal : 0 lldpStatsRxPortAgeoutsTotal DGS-1210-28P/ME:5# show lldp power_pse_tlv...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide ACCESS CONTROL LIST COMMANDS The Access Control List commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [ ethernet {vlan | source_mac <macmask> | destination_mac <macmask> | 802.1p | ethernet_type} | ip { source_ip_mask <netmask>...
Page 445
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide priority value in the frame’s header. ethernet_type – Specifies that the Switch examine the Ethernet type value in each frame’s header. ip - Specifies that the Switch examines the IP fields in each packet with special emphasis on one or more of the following: icmp –...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide src_port_mask <hex 0x0-0xffff> – Specifies a UDP port mask for the source port. dst_port_mask <hex 0x0-0xffff> – Specifies a UDP port mask for the destination port. icmp – Specifies that the Switch examines the Protocol field in each frame’s IP header , and that the value must be 1 (Internet Control Message Protocol- ICMP) for the action to take place.
Page 448
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide rate is implemented using the following equation – 1 value = 64kbit/sec. (ex. If the user selects a rx rate limit of 10 then the ingress rate is 640kbit/sec.) The user many select a value between 64- 1024000 or no limit.
Page 449
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide applies only to packets that have this UDP source port in their header. dst_port <value 0-65535> – Specifies that the access profile applies only to packets that have this UDP destination port in their header.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide no limit. The default setting is no limit. Restrictions Only administrator or operate-level users can issue this command. Example usage: To configure a rule for the Ethernet access profile: DGS-1210-28P/ME:5# config access_profile profile_id 2 add access_id 2 ip protocol_id 2 ports 2 deny Command: config access_profile profile_id 2 add access_id 2 ip protocol_id 2 ports 2 deny...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show access_profile profile_id 1 Command: show access_profile profile_id 1 Access Profile Table Access Profile ID: 1 Type: Ethernet --------------------------------------------------------------------------- --------------------------------------------------------------------------- Mask Option: VLAN 802.1p --------------------------------------------------------------------------- DGS-1210-28P/ME:5# create cpu_access_profile Purpose To create an access profile on the Switch by examining the Ethernet part of the packet header.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Type field. tcp – Specifies that the Switch examines each frames protocol field and its value must be 6 (Transmission Control Protocol- TCP) for the action to take place. src_port_mask <hex 0x0-0xffff> – Specifies the TCP port mask for the source port.
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide profile applies only to packets that have this TCP destination port in their header. flag <string> – Specifies the appropriate flag parameter. src_port <value 0-65535> –Specifies that the cpu access profile applies only to packets that have this TCP source port in their header.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# delete cpu access_profile profile_id 1 Command: delete cpu access_profile profile_id 1 Success. DGS-1210-28P/ME:5# show cpu_access_profile Purpose To view the CPU access profile entry currently set in the Switch. show cpu_access_profile {profile_id <value 1-3>} Syntax The show cpu access_profile command is used view the current Description...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide burst_size <value 0-1016> - Specifies the burst size rate_exceed: pecifies the action for packets that exceeds the committed rate in single rate drop_packet - Drop the packet immediately. remark_dscp <value 0-63> - Specify the remark DSCP value. Restrictions Only administrator or operate-level users can issue this command.
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide TRAFFIC SEGMENTATION COMMANDS The Traffic Segmentation commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config <portlist> forward_list [null | <portlist>] traffic_segmentation show traffic_ {<portlist>}...
Page 458
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <portlist> – A port or a port channel for which the current traffic Parameters segmentation configuration on the Switch is to be displayed. Restrictions None. Example usage: To display the current traffic segmentation configuration of ports 1 to 5 on the Switch: DGS-1210-28P/ME:5# show traffic_segmentation 1-5 Command: show traffic_segmentation 1-5 Port Forward Portlist...
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide SAFEGUARD COMMANDS The Safeguard commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter config state [enable | disable] safeguard_engine show safeguard_engine Each command is listed in detail, as follows: config safeguard_engine Purpose...
Page 460
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To show the safeguard engine status on the switch: DGS-1210-28P/ME:5# show safeguard_engine Command: show safeguard_engine Safe Guard : Enabled DGS-1210-28P/ME:5#...
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Physical and Environmental Standby power consumption: 10.3Watts DGS-1210-20/ME: Maximum power consumption: 16.09Watts Standby power consumption: 8.80Watts DGS-1210-28/ME: Maximum power consumption: 22.45Watts Standby power consumption: 17.65Watts DGS-1210-28P/ME: Maximum power consumption: 246.5Watts (PoE on), 28.5Watts (PoE off) Standby power consumption: 24Watts DGS-1210-52/ME : Maximum power consumption: 38.27Watts...
Page 464
DGS-1210/ME Metro Ethernet Switch CLI Reference Guide General DGS-1210-28P/ME: 24 x 10/100/1000 Mbps ports witrh GE PoE 4 x 1000Mbps SFP ports DGS-1210-52/ME: 48 x 10/100 /1000Mbps ports 4 x 1000Mbps SFP ports DGS-1210-52P/ME: 48 x 10/100/1000Mbps ports with Port1 ~ Port 24 GE PoE 4 x 1000Mbps SFP ports DGS-1210-52MP/ME: 48 x 10/100/1000Mbps ports with GE PoE...