D-Link DGS-1210/ME series Reference Manual

D-Link DGS-1210/ME series Reference Manual

Metro ethernet switches
Hide thumbs Also See for DGS-1210/ME series:
Table of Contents

Advertisement

CLI Reference Guide

DGS-1210/ME Series
Product Model :
Metro Ethernet Switches
Release 1.20
©Copyright 2015. All rights reserved.

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-1210/ME series

  • Page 1: Cli Reference Guide

    CLI Reference Guide DGS-1210/ME Series Product Model : Metro Ethernet Switches Release 1.20 ©Copyright 2015. All rights reserved.
  • 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 3: Table Of Contents

    Table of Contents INTRODUCTION ..............................1 USING THE CONSOLE CLI ............................. 3 COMMAND SYNTAX ............................... 7 BASIC SWITCH COMMANDS ..........................10 enable password encryption ..........................11 disable password encryption ..........................12 create account ..............................12 config account ..............................13 show account ..............................14 delete account ..............................
  • Page 4 config time_range ..............................33 show time_range ..............................33 show tech support ............................... 34 clear tech support ..............................35 DHCP AUTOIMAGE COMMANDS ........................36 enable autoimage ..............................36 disable autoimage ............................... 36 show autoimage ..............................37 SMTP SERVER COMMANDS ..........................38 enable smtp .................................
  • Page 5 show filter dhcp_server ............................63 show dhcp_server screening ..........................64 IP-MAC-PORT BINDING COMMANDS ......................... 65 create address_binding ip_mac .......................... 66 config address_binding ip_mac ports ......................... 67 config address_binding ip_mac log ........................67 show address_binding ip_mac log ........................68 config address_binding auto_scan ........................68 config address_binding auto_scan ipv6address ....................
  • Page 6 delete snmp v6host ............................. 94 show snmp v6host .............................. 94 enable trusted_host ............................. 95 disable trusted_host ............................95 create trusted_host ............................. 95 show trusted_host ............................... 96 delete trusted_host .............................. 97 enable snmp traps ............................... 97 disable snmp traps .............................. 98 enable snmp authenticate traps ..........................
  • Page 7 disable dhcp_relay ............................119 config dhcp_relay port ............................120 config dhcp_relay add ipif System ........................120 config dhcp_relay delete ipif System ........................ 121 config dhcp_relay hops ............................ 121 config dhcp_relay vlan ............................. 122 config dhcp_relay option_82 ..........................122 config dhcp_relay port_option_82 ........................124 show dhcp_relay port_option_82 ........................
  • Page 8 clear log ................................147 show log ................................147 enable syslog ..............................147 disable syslog ..............................148 show syslog ............................... 148 create syslog host ............................. 149 config syslog host .............................. 151 delete syslog host ............................. 153 show syslog host ............................... 153 cable diagnostic port ............................
  • Page 9 delete auto_fdb ..............................181 show auto_fdb ..............................181 BROADCAST STORM CONTROL COMMANDS ....................182 config traffic control ............................182 show traffic control ............................183 config traffic trap ..............................183 PASSWORD RECOVERY COMMANDS ......................185 enable password_recovery ..........................185 disable password_recovery..........................185 show password_recovery ..........................
  • Page 10 config scheduling_mechanism .......................... 207 show scheduling_mechanism ........................... 207 config [dscp | tos] mode ............................ 208 config dscp_mapping ............................208 show dscp_mapping ............................209 RMON COMMANDS ............................210 enable rmon ..............................210 disable rmon ..............................211 create rmon alarm ............................. 211 delete rmon alarm .............................
  • Page 11 show asymmetric_vlan ............................233 enable pvid auto_assign ........................... 233 disalbe pvid auto_assign ........................... 234 show pvid auto_assign ............................234 create mac_based_vlan mac_address ......................235 deleete mac_based_vlan mac address ......................235 show mac_based_vlan mac address ........................ 236 config vlan_auto_learn ............................236 show vlan_auto_learn ............................
  • Page 12 LINK AGGREGATION COMMANDS ........................260 create link_aggregation ............................. 260 delete link_aggregation ............................. 261 config link_aggregation group_id ........................261 config link_aggregation algorithm ........................262 config link_aggregation state ..........................262 show link_aggregation ............................263 BASIC IP COMMANDS ............................264 create ipif ................................264 delete ipif ................................
  • Page 13 config igmp_snooping data_driven_learning ....................291 clear igmp_snooping data_driven_group ......................292 config router_ports ............................292 config router_ports_forbidden ........................... 293 config igmp access_authentication ports ......................293 show igmp access_authentication ports ......................294 enable igmp_snooping ............................295 disable igmp_snooping ............................. 295 show igmp_snooping ............................295 show igmp_snooping group ..........................
  • Page 14 config mcast_filter_profile profile_name ......................321 config mcast_filter_profile ipv6 ......................... 322 delete mcast_filter_profile ..........................322 show mcast_filter_profile ........................... 323 config limited_multicast_addr ..........................324 show limited_multicast_addr ..........................324 config max_mcast_group ..........................325 show max_mcast_group ........................... 325 802.1X COMMANDS ............................327 enable 802.1x ..............................328 disable 802.1x ..............................
  • Page 15 ROUTING TABLE COMMANDS.......................... 358 create iproute ..............................358 delete iproute ..............................359 show iproute ..............................359 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS .............. 360 config duld ports ..............................360 show duld ports ..............................361 config duld recover_timer ..........................361 show duld recover_timer ........................... 362 IPV6 NEIGHBOR DISCOVERY COMMANDS.....................
  • 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................................
  • Page 17 config EEE port ..............................409 show EEE_mode port ............................409 LACP COMMANDS ............................. 411 config lacp port_priority ............................. 411 show lacp ................................411 config lacp_ports ............................... 412 LLDP COMMANDS .............................. 414 enable lldp ................................. 415 disable lldp ................................ 415 config lldp message_tx_interval ........................415 config lldp message_tx_hold_multiplier ......................
  • Page 18: Introduction

    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.
  • Page 20: Using The Console Cli

    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.
  • Page 24: Command Syntax

    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.
  • Page 27: Basic Switch Commands

    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>...
  • Page 28: Enable Password Encryption

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter reboot reset {[config | system | account | password {<user_name 15>}]} {force_agree} reload config config_id <value 1-2> logout ping <ipaddr> {times <value 1-255> | timeout <sec 1-99> | size <short 0-2080>} <ipv6_addr>...
  • Page 29: Disable Password Encryption

    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.
  • Page 30: Config Account

    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.
  • Page 31: Show Account

    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.
  • Page 32: Show Session

    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.
  • Page 33: Show Environment

    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...
  • Page 34: Enable Jumbo_Frame

    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.
  • Page 35: Show Serial_Port

    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...
  • Page 36: Config Bootrom Password

    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.
  • Page 37: Disable Clipaging

    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.
  • Page 38: Disable Web

    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...
  • Page 39: Disable Autoconfig

    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.
  • Page 40: Enable Auto Learning

    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...
  • Page 41: Save

    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..
  • Page 42: Reset

    H/W Version : Rev.A1 F/W Version : 6.11.B037 ............. 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: reset Purpose To reset the Switch to the factory default settings. reset {[config | system | account | password {<user_name Syntax 15>}]} {force_agree}...
  • Page 43: Reload Config Config_Id

    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.
  • Page 44: Top

    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...
  • Page 45: Ping

    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.
  • Page 46: Traceroute

    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.
  • Page 47: Traceroute6

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Tracing Route to 10.90.90.92 with 10 hops max and 1 byte packets [!N - Network Unreachable !H - Host Unreachable !P - Protocol Unreachable] 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 DGS-1210-28P/ME:5#...
  • Page 48: Show Cpu Port

    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...
  • Page 49: Enable Telnet

    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...
  • Page 50: Config Time_Range

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# telnet 10.90.90.91 Command: telnet 10.90.90.91 config time_range Purpose To configure the time range on the Switch. config time_range <range_name 20> [[hours start_time Syntax <start_time 32> end_time <end_time 32> weekdays <daylist 32> date from_day year <start_year 2011-2029> month <start_mth 1- 12>...
  • Page 51: Show Tech Support

    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...
  • Page 52: Clear Tech Support

    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...
  • Page 53: Dhcp Autoimage Commands

    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...
  • Page 54: Show Autoimage

    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.
  • Page 55: Smtp Server Commands

    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>}]...
  • Page 56: Config Smtp

    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.
  • Page 57: Smtp Sent_Testmsg

    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...
  • Page 58 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Sending mail, please wait... Success. DGS-1210-28P/ME:5#...
  • Page 59: Modify Banner And Prompt Commands

    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}...
  • Page 60: Config Greeting_Message

    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.
  • Page 61: Show Greeting_Message

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config greeting_message Command: config greeting_message Greeting Messages Editor ================================================================================ DGS-1210-28P/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 6.11.B037 Copyright(C) 2012 D-Link Corporation. All rights reserved. ================================================================================ <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W...
  • Page 62: Dlink Discover Protocol Commands

    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]...
  • Page 63: Config Ddp Report Timer

    To configure the D-Link discover protocol packet report timer. config ddp report timer <integer 1-120> Syntax The config ddp report timer command is used configure the D-Link Description discover protocol packet report timer. <integer 1-120> – Specifies the report timer of D-Link Discover Parameters Protocol in seconds.
  • Page 64: Switch Port Commands

    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>...
  • Page 65: Config Ports

    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.
  • Page 66: Show Ports

    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.
  • Page 67: Delete 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.
  • Page 68: Loopback Detection Commands

    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>...
  • Page 69: Config Loopdetect Mode

    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.
  • Page 70: Config Loopdetect

    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#...
  • Page 72: Dos Prevention Commands

    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...
  • Page 73: Show Dos_Prevention

    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.
  • Page 74: Enable Dos_Prevention Trap_Log

    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...
  • Page 76: Pppoe Circuit Id Insertion Commands

    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).
  • Page 77: Config Pppoe Circuit_Id_Insertion Ports

    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>...
  • Page 78: Show Pppoe Circuit_Id_Insertion

    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.
  • Page 79: Dhcp Server Screening Commands

    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.
  • Page 80: Config Filter Dhcp_Server

    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...
  • Page 81: Show Dhcp_Server Screening

    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.
  • Page 82: Ip-Mac-Port Binding Commands

    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.
  • Page 83: Create Address_Binding Ip_Mac

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter show address_binding [binding_entry | max_entry] ports <portlist> dhcp_snoop enable address_binding dhcp_pd_snoop disable address_binding dhcp_pd_snoop show address_binding {binding_entry | ports <portlist>} dhcp_pd_snoop config address_binding {<vidlist>} vlan_mode state [enable | disable] vlan enable address_binding roaming...
  • Page 84: Config Address_Binding Ip_Mac Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide mac_address 00-00-00-00-01-02 port 3 Success. DGS-1210-28P/ME:5# config address_binding ip_mac ports Purpose Used to configure an IP-MAC-port binding state to enable or disable for specified ports. Syntax config address_binding ip_mac ports [<portlist> | all] {state [disable | enable] | ip_inspection [disable | enable] | arp_inspection [loose | strict] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable]}...
  • Page 85: Show Address_Binding Ip_Mac Log

    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.
  • Page 86: Config Address_Binding Auto_Scan Ipv6Address

    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.
  • Page 87: Show Address_Binding

    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.
  • Page 88: Show Address_Binding Auto_Scan List

    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.
  • Page 89: Config Address_Binding Dhcp_Snoop Max_Entry Ports

    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.
  • Page 90: Enable Address_Binding Dhcp_Pd_Snoop

    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] –...
  • Page 91: Show Address_Binding Dhcp_Pd_Snoop

    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.
  • Page 92: Enable Address_Binding Roaming

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config address_binding vlan 1 vlan_mode state disable Command: config address_binding vlan 1 vlan_mode state disable Success. DGS-1210-28P/ME:5# enable address_binding roaming Purpose Used to enable address binding roaming. Syntax enable address_binding roaming Description This enable address_binding roaming command is used to enable IP-MAC-port binding roaming.
  • Page 93: Clear Address_Binding Dhcp_Snoop Binding_Entry Ports

    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.
  • Page 94: Network Management (Snmp) Commands

    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>...
  • Page 96 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter config snmp <string 128> system_name config snmp [enable | disable] warmstart_traps config snmp [enable | disable] coldstart_traps enable snmp disable snmp enable snmp DHCP_screening traps diable snmp DHCP_screening traps enable snmp IMPB_violation traps disable snmp IMPB_violation traps...
  • Page 97: Create Snmp User

    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>...
  • Page 98: Delete Snmp User

    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.
  • Page 99: Create Snmp View

    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...
  • Page 100: Show Snmp View

    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...
  • Page 101: Delete Snmp Community

    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.
  • Page 102: Delete Snmp All_Community

    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.
  • Page 103: Config Snmp Engineid

    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.
  • Page 104: Disable Community_Encryption

    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.
  • Page 105: Create Snmp Group

    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>...
  • Page 106: Delete Snmp Group

    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.
  • Page 107: Show Snmp Groups

    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 –...
  • Page 109: Delete Snmp Host

    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.
  • Page 110: Create Snmp V6Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide create snmp v6host To create a recipient of SNMP traps generated by the Switch’s Purpose SNMP agent. create snmp v6host <ip6_addr> [v1 <username 32> | v2c Syntax <username 32> | v3 [noauth_nopriv | auth_nopriv | auth_priv] <username 32>] The create snmp v6host command creates a recipient of SNMP Description...
  • Page 111: Delete Snmp V6Host

    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.
  • Page 112: Enable Trusted_Host

    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...
  • Page 113: Show 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>...
  • Page 114: Delete Trusted_Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide IP Address Subnet Mask ------------------------------ ------------------------------ 10.90.90.91 255.255.255.255 3000::1 Total Entries: 2 DGS-1210-28P/ME:5# delete trusted_host To delete a trusted host entry made using the create trusted_host Purpose command above. delete trusted_host [<ipaddr> | network <network_address> | Syntax <ip6_addr>...
  • Page 115: Disable Snmp Traps

    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.
  • Page 116: Disable Snmp Authenticate Traps

    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.
  • Page 117: Enable Snmp Linkchange_Traps

    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.
  • Page 118: Show Snmp Traps Linkchange_Traps

    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.
  • Page 119: Config Snmp System_Contact

    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...
  • Page 120: Config Snmp Warmstart_Traps

    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.
  • Page 121: Enable Snmp

    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...
  • Page 122: Disable Snmp Dhcp_ Screening Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To enable SNMP DHCP screening traps support on the Switch: DGS-1210-28P/ME:5# enable snmp DHCP_screening traps Command: enable snmp DHCP_screening traps Success. DGS-1210-28P/ME:5# disable snmp DHCP_ screening traps Purpose To disable SNMP DHCP screening traps. disable snmp DHCP_screening traps Syntax The disable snmp DHCP_screening traps command enables...
  • Page 123: Enable Snmp Firmware_Upgrade_State Traps

    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...
  • Page 124: Enable Snmp Lbd Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command disable enable snmp firmware_upgrade_state traps Success. DGS-1210-28P/ME:5# enable snmp LBD traps Purpose To enable SNMP LBD traps. enable snmp LBD traps Syntax The enable snmp LBD traps command enables SNMP LBD traps Description support on the Switch.
  • Page 125: Disable Snmp Port_Security_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.
  • Page 126: Disable Snmp Rstpport_State_Change Traps

    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#...
  • Page 128: Download/Upload Commands

    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>...
  • Page 129: Upload

    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...
  • Page 130: Config Configuration Config_Id

    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>...
  • Page 131: Show Firmware Information

    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.
  • Page 132: Config Firmware Image_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide #------------------------------------------------------------------------------------------------ DGS-1210-28P/ME Gigabit Ethernet Switch Configuration Firmware: Build 6.11.B037 Copyright(C) 2010 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------------------------ # User Account disable password encryption # Basic config syslogintimeout 5 config vlan_auto_learn vlanid disable enable web 80...
  • Page 133: Show Boot_File

    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.
  • Page 134 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Boot 1310720 Image1 12357664 1798112 Image2 12337184 1818592 FileSystem 331776 3600384 DGS-1210-28P/ME:5# show flash information...
  • Page 135: Dhcp Relay Commands

    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>...
  • Page 136: Enable Dhcp_Relay

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter option_18 vendor1]] config dhcpv6_relay [check [enable | disable] | remote_id [cid_with_user_define <string 128> | default option_37 | user_define <string 128>] | state] config dhcpv6_relay ports <portlist> [state [enable | disable] | subscriber_id [default | user_define option_38 <string 128>]] show dhcpv6_relay...
  • Page 137: Config Dhcp_Relay Port

    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.
  • Page 138: Config Dhcp_Relay Delete Ipif System

    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.
  • Page 139: Config Dhcp_Relay Vlan

    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.
  • Page 141: Config Dhcp_Relay Port_Option_82

    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.
  • Page 142: Show Dhcp_Relay

    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.
  • Page 143: Disable Dhcp_Local_Relay

    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...
  • Page 144: Config Dhcp_Local_Relay Vlan

    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>...
  • Page 145: Enable Dhcpv6_Relay

    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...
  • Page 146: Show Dhcpv6_Relay

    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.
  • Page 147: Config Dhcpv6_Relay Hop_Count

    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.
  • Page 148: Config Dhcpv6_Relay Option_37

    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.
  • Page 149: Show Dhcpv6_Relay Option_38

    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!
  • Page 150: Gratuitous Arp Commands

    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...
  • Page 151: Config Gratuitous_Arp 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...
  • Page 152: Enable Gratuitous_Arp

    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.
  • Page 153: Show Gratuitous_Arp

    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#...
  • Page 155: Power Saving Commands

    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...
  • Page 156: Show 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>] –...
  • Page 157: Cpu Protection Commands

    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>...
  • Page 158: Config Cpu_Protect Type

    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#...
  • Page 160: Network Monitoring Commands

    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>...
  • Page 161: Show Error Ports

    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.
  • Page 162: Show Utilization

    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...
  • Page 163: Clear Counters

    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...
  • Page 164: Clear Log

    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...
  • Page 165: Disable Syslog

    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...
  • Page 166: Create Syslog Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syslog Global State: Enabled DGS-1210-28P/ME:5# create syslog host Purpose To create a new syslog host. create syslog host <index 1-4> ipaddress [<ipaddr> | Syntax <ipv6addr>] {severity [informational | warning | all] | facility [local0 | local1| local2 | local3 | local4 | local5 | local6 | local7] | state [enable | disable] | udp_port [514 | <udp_port_number 6000-65535>]}...
  • Page 167 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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 clock daemon local use 0 (local0)
  • Page 168: Config Syslog Host

    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...
  • Page 170: Delete Syslog Host

    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.
  • Page 171: Cable Diagnostic Port

    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#...
  • Page 174: Poe Commands

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide POE COMMANDS The PoE commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [all | <portlist>] {clear_time_range | power_limit [auto | class_1 | class_2 | class_3 config poe ports | class_4 | user_define <value 1-30>] | priority [high | normal | low] | state [enable | disable] | time_range <range_name 32>}...
  • Page 175: Config Poe System

    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.
  • Page 176: Show Poe System

    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...
  • Page 177 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success! DGS-1210-28P/ME:5#...
  • Page 178: Spanning Tree Commands

    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>...
  • Page 179: Config Stp Ports

    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.
  • Page 181: Config Stp Version

    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...
  • Page 182: Config Stp Priority

    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.
  • Page 183: Show Stp

    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.
  • Page 184: Show Stp Ports

    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...
  • Page 185: Show Stp Instance

    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.
  • Page 186: Show Stp Mst_Config_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Port 0 , path cost 0 Regional Root Bridge 9c:d6:43:60:4f:a4 Priority 32768 Path cost 0 Designated Bridge 9c:d6:43:60:4f:a4 Priority 32768 Configured Forward delay 15, Max age 18, Max hops 20 Operational Forward delay 15, Max age 18 Interface Role Cost Prio.Nbr Type...
  • Page 187: Delete Stp Instance_Id

    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>...
  • Page 188: Config Stp Mst_Config_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To configure instance ID 2 to add VID 10: DGS-1210-28P/ME:5# config stp instance_id 2 add_vlan 10 Command : config stp instance_id 2 add_vlan 10 Success. DGS-1210-28P/ME:5# config stp mst_config_id Purpose To update the MSTP configuration identification. config stp mst_config_id [revision_level <int 0-65535>...
  • Page 189: Config Stp Trap

    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#...
  • Page 191: Forwarding Database Commands

    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>...
  • Page 192: Config Fdb Aging_Time

    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...
  • Page 193: Enable Flood_Fdb

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To delete a permanent FDB entry: DGS-1210-28P/ME:5# delete fdb default 00-00-00-00-01-02 Command: delete fdb default 00-00-00-00-01-02 Success. DGS-1210-28P/ME:5# enable flood_fdb To enable the Switch’s forwarding database on the Switch. Purpose enable flood_fdb Syntax The enable flood_fdb command enables dynamically learned...
  • Page 194: Show Flood_Fdb

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config flood_fdb [log | trap] [enable | disable] Syntax The config flood_fdb command configures dynamically learned Description entries from the Switch’s forwarding database. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To configure FDB dynamic entries: DGS-1210-28P/ME:5# config flood_fdb trap disable log enable...
  • Page 195: Show Fdb

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To clear all FDB dynamic entries: DGS-1210-28P/ME:5# clear flood_fdb Command: clear flood_fdb Success. DGS-1210-28P/ME:5# show fdb Purpose To display the current unicast MAC address forwarding database. show fdb {port <port 1-28> | [vlan <vlan_name 32> | vlanid Syntax <vidlist>] | mac_address <macaddr>...
  • Page 196: Clear Fdb

    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.
  • Page 197: Config Multicast_Filtering_Mode

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide filter_unregistered_groups Success. DGS-1210-28P/ME:5# config multicast_filtering_mode Purpose To configure the multicast packet filtering mode. Syntax config multicast_filtering_mode vlan <vlan_name 32> [filter_unregistered_groups | forward_unregistered_groups] Description The config multicast filtering_mode command enables filtering or forwarding of multicast addresses. <vlan_name 32>...
  • Page 198: Delete Auto_Fdb

    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>...
  • Page 199: Broadcast Storm Control Commands

    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>...
  • Page 200: Show Traffic Control

    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.
  • Page 202: Password Recovery Commands

    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...
  • Page 203: Show 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.
  • Page 204: Qos Commands

    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...
  • Page 206: Config Scheduling

    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.
  • Page 207: Config Bandwidth_Control

    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).
  • Page 208: Show Bandwidth_Control

    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>...
  • Page 209: Show Cos Mac_Mapping

    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.
  • Page 210: Config Cos Ip_Mapping

    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.
  • Page 211: Delete Cos Ip_Mapping

    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>...
  • Page 212: Delete Cos Ipv6_Mapping

    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 --------------------------------------------...
  • Page 213: Delete Cos Ipv6_Tc_Mapping

    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.
  • Page 214: Config Cos Mapping

    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...
  • Page 215: Config Cos Protocol_Mapping

    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.
  • Page 216: Delete Cos Protocol_Mapping

    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.
  • Page 217: Delete Cos Vlanid_Mapping

    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.
  • Page 218: Show Cos Tos

    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.
  • Page 219: Show Cos Tcp_Port_Mapping

    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...
  • Page 220: Config Cos Udp_Port_Mapping

    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.
  • Page 221: Delete Cos Udp_Port_Mapping

    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...
  • Page 222: Show 802.1P User_Priority

    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.
  • Page 223: Config 802.1P Default_Priority

    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.
  • Page 224: Config Scheduling_Mechanism

    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.
  • Page 225: Config [Dscp | Tos] Mode

    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...
  • Page 226: Show Dscp_Mapping

    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.
  • Page 227: Rmon Commands

    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>...
  • Page 228: Disable Rmon

    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.
  • Page 229: Delete Rmon Alarm

    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.
  • Page 230: Create Rmon Collection Stats

    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.
  • Page 231: Delete Rmon Collection Stats

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete rmon collection stats Purpose To remove the network collection stats. delete rmon collection stats <stats_index 1-65535> Syntax The delete rmon collection stats command removes the network Description collection stats on the Switch. <stats_index 1-65535>...
  • Page 232: Delete Rmon Collection History

    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>...
  • Page 233: Delete Rmon Event

    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.
  • Page 235: Port Mirroring Commands

    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>...
  • Page 236: Config Mirror Target

    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>...
  • Page 237: Show Mirror

    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.
  • Page 238: Vlan Commands

    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>...
  • Page 239: Create Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter disable asymmetric_vlan show asymmetric_vlan enable pvid auto_assign disable pvid auto_assign show pvid auto_assign create mac_based_vlan mac <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] address delete mac_based_vlan mac <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] address show mac_based_vlan <macaddr>...
  • Page 240: Delete Vlan

    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>...
  • Page 241: Config Gvrp

    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.
  • Page 242: Enable Gvrp

    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>...
  • Page 243: Show Vlan

    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...
  • Page 244: Config Dot1V_Protocol_Group

    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.
  • Page 245: Show Dot1V_Protocol_Group

    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.
  • Page 246: Show Port Dot1V

    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.
  • Page 247: Show Gvrp

    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.
  • Page 248: Enable Vlan_Trunk

    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.
  • Page 249: Config Vlan_Trunk 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...
  • Page 250: Disable Asymmetric_Vlan

    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.
  • Page 251: Disalbe Pvid Auto_Assign

    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.
  • Page 252: Create Mac_Based_Vlan Mac_Address

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To display the auto-assign PVID state: DGS-1210-28P/ME:5# show pvid auto_assign Command: show pvid auto_assign PVID Auto-assignment: Enabled DGS-1210-28P/ME:5# create mac_based_vlan mac_address Purpose To create a static MAC-based VLAN entry. . Syntax create mac_based_vlan mac_address <macaddr> [vlan <vlan_name 32>...
  • Page 253: Show Mac_Based_Vlan Mac Address

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Only Administrator and Operator and Power-User-level users can Restrictions issue this command. . Example usage: To delete a static MAC-based VLAN entry: DGS-1210-28P/ME:5# delete mac_based_vlan mac_address 00-00-00-11-22- 33 vlan default Command: delete mac_based_vlan mac_address 00-00-00-11-22-33 vlan default Success.
  • Page 254: Show Vlan_Auto_Learn

    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.
  • Page 255: Mac-Based Access Control Commands

    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>...
  • Page 256: Enable Mac_Based_Access_Control

    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...
  • Page 257: Config Mac_Based_Access_Control Method

    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.
  • Page 258: Config Mac_Based_Access_Control Trap State

    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...
  • Page 259: Config Mac_Based_Access_Control Log Max_Users

    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>...
  • Page 260: Show Mac_Based_Access_Control

    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.
  • Page 261: Show Mac_Based_Access_Control Auth_State Ports

    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#...
  • Page 263: Web-Based Access Control Commands

    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>...
  • Page 264: Disable Wac

    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...
  • Page 265: Config Wac Method

    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.
  • Page 266: Config Wac Switch_Http_Port

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# To configure the WAC port aging time: DGS-1210-28P/ME:5# config wac ports 8-12 aging_time 200 Command: config wac ports 8-12 aging_time 200 Success. DGS-1210-28P/ME:5# config wac switch_http_port Purpose To configure the TCP port which the WAC switch listens to. config wac switch_http_port <tcp_port_number 1-65535>...
  • Page 267: Create Wac User

    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.
  • Page 268: Show Wac User

    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.
  • Page 269: Show Wac Ports

    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...
  • Page 270: Show Wac Auth_State Ports

    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.
  • Page 271: Q-In-Q Commands

    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>...
  • Page 272: Disable Qinq

    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.
  • Page 273: Show Qinq Rxtable

    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-...
  • Page 274: Config Qinq Inner_Tpid

    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.
  • Page 275: Show Vlan_Translation

    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#...
  • Page 277: Link Aggregation Commands

    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>...
  • Page 278: Delete Link_Aggregation

    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>...
  • Page 279: Config Link_Aggregation Algorithm

    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.
  • Page 280: Show Link_Aggregation

    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...
  • Page 281: Basic Ip Commands

    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>...
  • Page 282: Delete Ipif

    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.
  • Page 283: Config Ipif

    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...
  • Page 285: Bpdu Attack Protection Commands

    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>...
  • Page 286: Config Bpdu_Protection Recovery_Timer

    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 –...
  • Page 287: Config Bpdu_Protection

    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...
  • Page 288: Disable Bpdu_Protection

    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#...
  • Page 290: Ethernet Oam Commands

    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...
  • Page 291: Config Ethernet_Oam Ports

    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.
  • Page 292: Show Ethernet_Oam Ports

    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.
  • Page 293: Show Ethernet_Oam Ports

    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.
  • Page 294: Show Ethernet_Oam Ports

    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...
  • Page 295: Show Ethernet_Oam Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To show Ethernet OAM statistics of port 1: DGS-1210-28P/ME:5# show ethernet_oam ports 1 statistics Command: show ethernet_oam ports 1 statistics Port 1 -------------------------------------------------------------------- Information OAMPDU Tx Information OAMPDU Rx Unique Event Notification OAMPDU Tx Unique Event Notification OAMPDU Rx Duplicate Event Notification OAMPDU Tx: 0 Duplicate Event Notification OAMPDU Rx: 0...
  • Page 296: Clear Ethernet_Oam Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ----------------------------------------------------------------------- Event Listing Index Type Location Time Stamp ----- ------------------------------------------ ------------- --------------------- Local Event Statistics Error Symbol Event Error Frame Event Error Frame Period Event Errored Frame Seconds Event Dying Gasp Critical Event Remote Event Statistics Error Symbol Event Error Frame Event...
  • Page 297: Mac Notification Commands

    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>...
  • Page 298: Config Mac_Notification

    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.
  • Page 299: Show Mac_Notification

    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#...
  • Page 301: Igmp Snooping Commands

    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>...
  • Page 302: Config Igmp_Snooping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter access_authentication ports show igmp access_authentication [<portlist> | all] ports enable igmp_snooping {multicast_vlan | forward_mcrouter_only} disable igmp_snooping {multicast_vlan | forward_mcrouter_only} {vlan <vlan_name 32> | vlanid <vidlist> | multicast_vlan <vlan_name 32> | show igmp_snooping multicast_vlan_group <vlan_name 32>} show igmp_snooping [vlan <vlan_name 32>...
  • Page 303: Config Igmp_Snooping Querier

    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.
  • Page 304: Create Igmp_Snooping Multicast_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# config igmp_snooping querier vlanid 2 state enable Command: config igmp_snooping querier vlanid 2 state enable Success . DGS-1210-28P/ME:5# create igmp_snooping multicast_vlan Purpose To create an IGMP snooping multicast VLAN on the Switch. create igmp_snooping multicast_vlan <vlan_name 32>...
  • Page 305: Delete Igmp_Snooping Multicast_Vlan

    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.
  • Page 306: Create Igmp_Snooping Static_Group

    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.
  • Page 307: Config Igmp_Snooping Static_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.
  • Page 308: Show Igmp_Snooping 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.
  • Page 309: Clear Igmp_Snooping Data_Driven_Group

    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>...
  • Page 310: Config Router_Ports_Forbidden

    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.
  • Page 311: Show Igmp Access_Authentication Ports

    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 −...
  • Page 312: Enable Igmp_Snooping

    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.
  • Page 313: Show Igmp_Snooping Group

    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.
  • Page 314: Show Igmp_Snooping Forwarding

    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...
  • Page 315: Show Igmp_Snooping Multicast_Vlan

    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.
  • Page 316: Show Igmp_Snooping Multicast_Vlan_Group

    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#...
  • Page 318: Layer 2 Protocol Tunneling Commands

    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...
  • Page 319: Config L2Protocol_Tunnel Ports

    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...
  • Page 321: Digital Diagnostic Monitoring Commands

    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]...
  • Page 322: Config Ddm Power_Unit

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure the port 21’s voltage threshold: DGS-1210-28P/ME:5# config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Command: config ddm ports 1:21 temperature_threshold high_alarm 84.9555 low_alarm -10 high_warning 70 low_warning 2.25251 Success.
  • Page 323 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show ddm ports 1-5 vender_info Command: show ddm ports 1-5 vender_info Invalid DDM port list. Failure! DGS-1210-28P/ME:5#...
  • Page 324: Mld Snooping Commands

    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 <...
  • Page 325: Enable Mld_Snooping

    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:...
  • Page 326: Config Mld_Snooping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config mld_snooping Purpose To configure mld snooping. Syntax config mld_snooping [vlan_name < string 32> | vlanid <vidlist> | all] {fast_done [enable | disable] | host_timeout <sec 130- 1530255> | leave_timer <sec 1-25> | report_suppression [enable | disable] | router_timeout <sec 60-600>...
  • Page 327: Config Mld_Snooping Multicast_Vlan

    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.
  • Page 328: Show Mld_Snooping Multicast_Vlan

    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.
  • Page 329: Config Mld_Snooping Multicast_Vlan_Group

    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.
  • Page 330: Config Mld_Snooping Mrouter_Ports

    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>...
  • Page 331: Config Mld_Snooping Querier

    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 –...
  • Page 332: Config Mld_Snooping Data_Driven_Learning

    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.
  • Page 333: Clear Mld_Snooping Data_Driven_Group

    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...
  • Page 334: Show Mld_Snooping Forwarding

    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...
  • Page 335: Show Mld_Snooping Group

    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>...
  • Page 336: Show Mld_Snooping Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide static − Displays statically configured MLD router ports. dynamic − Displays dynamically configured MLD router ports. Restrictions None. Example usage: To show the MLD_snooping mrouterport: DGS-1210-28P/ME:5# show mld_snooping mrouter_ports vlanid 1 static Command: show mld_snooping mrouter_ports vlanid 1 static VLAN Name : default Static router port...
  • Page 337: Limited Ip Multicast Address Commands

    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...
  • Page 338: Config Mcast_Filter_Profile Profile_Id

    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.
  • Page 339: Config Mcast_Filter_Profile Ipv6

    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...
  • Page 340: Show Mcast_Filter_Profile

    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.
  • Page 341: Config Limited_Multicast_Addr

    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.
  • Page 342: Config Max_Mcast_Group

    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>...
  • Page 343 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide (v6) 256 DGS-1210-28P/ME:5#...
  • Page 344: 802.1X Commands

    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...
  • Page 345: Enable 802.1X

    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.
  • Page 346: Show 802.1X

    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.
  • Page 347: Show 802.1X Auth_Configuration

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show 802.1x auth_state ports 1-5 Command: show 802.1x auth_state ports 1-5 Port Auth PAE State Backend State Port Status ------ ---------------------- -------------------- --------------- ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success Authorized ForceAuth Success...
  • Page 348: Config 802.1X Auth_Parameter Ports

    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...
  • Page 349: Config 802.1X Init

    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.
  • Page 350: Config 802.1X Auth_Protocol

    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.
  • Page 351: Config Radius Add

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config 802.1x reauth port_based ports 1-18 Command: config 802.1x reauth port_based ports 1-18 Success. DGS-1210-28P/ME:5# config radius add Purpose To configure the settings the Switch uses to communicate with a RADIUS server. config radius add <server_index 1-3>...
  • Page 352: Config Radius

    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...
  • Page 353: Show Radius

    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.
  • Page 354: Show 802.1X Fwd_Pdu System Status

    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...
  • Page 355: Create 802.1X Guest_Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# config 802.1x auth_mode port_based Command: config 802.1x auth_mode port_based Success. DGS-1210-28P/ME:5# create 802.1x guest_vlan Purpose Enables network access to a Guest VLAN. create 802.1x guest_vlan <vlan_name 32> Syntax The create 802.1x guest_vlan command enables network access Description to a 802.1x Guest VLAN.
  • Page 356: Config 802.1X Guest_Vlan Ports

    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...
  • Page 357: Create 802.1X User

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show 802.1x guest_vlan Command: show 802.1x guest_vlan Guest VLAN Settings ------------------------------------------------------------------- Guest VLAN : default Enabled Guest VLAN Ports : 1,2,3,4,5,6 DGS-1210-28P/ME:5# create 802.1x user Purpose Enable network access to a 802.1x user. create 802.1x user <username 15>...
  • Page 358: Delete 802.1X User

    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#...
  • Page 360: Port Security Commands

    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>...
  • Page 361: Show Port_Security

    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.
  • Page 362: Delete Port_Security _Entry

    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.
  • Page 363: Time And Sntp Commands

    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...
  • Page 364: 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.
  • Page 365: Disable Sntp

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To enable the SNTP function: DGS-1210-28P/ME:5# enable sntp Command: enable sntp Success. DGS-1210-28P/ME:5# disable sntp Purpose To disable SNTP server support. Syntax disable sntp The disable sntp command disables SNTP support. Description Parameters None.
  • Page 366: Config Time_Zone Operator

    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>...
  • Page 367: Show Time

    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...
  • Page 369: Arp Commands

    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>...
  • Page 370: Show Arpspoofing

    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...
  • Page 371: Config Arp_Aging Time

    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>...
  • Page 372: Create Arpentry

    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>...
  • Page 373: Delete Arpentry

    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...
  • Page 374: Show Arpentry Aging_Time

    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...
  • Page 375: Routing Table Commands

    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...
  • Page 376: Delete 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} –...
  • Page 377: D-Link Unidirectional Link Detection (Duld) Commands

    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>...
  • Page 378: Show Duld Ports

    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>...
  • Page 379: Show Duld Recover_Timer

    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...
  • Page 380: Ipv6 Neighbor Discovery Commands

    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>...
  • Page 381: Delete Ipv6 Neighbor_Cache

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# create ipv6 neighbor_cache ipif System 3ffc::1 00:01:02:03:04:05 Command: create ipv6 neighbor_cache ipif System 3ffc::1 00:01:02:03:04:05 Success. DGS-1210-28P/ME:5# delete ipv6 neighbor_cache Purpose Used to remove a static neighbor on an IPv6 interface. Syntax delete ipv6 neighbor_cache [ipif <string 12>...
  • Page 382: Show Ipv6 Nd

    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 ------------ ---------------------- -------- ---------------...
  • Page 383: Create Ipv6Route Default

    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...
  • Page 384: Show Ipv6Route

    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.
  • Page 385: Disable Ipif_Ipv6_Link_Local_Auto

    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.
  • Page 386: Banner Commands

    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>...
  • Page 387: Show Log_Save_Timing

    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...
  • Page 388: Command History List Commands

    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).
  • Page 389: Show Command_History

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# ? Command: ? cable diagnostic port clear address_binding dhcp_snoop binding_entry ports clear arptable clear counters clear ethernet_oam ports clear fdb clear flood_fdb clear igmp_snooping data_driven_group clear log clear mld_snooping data_driven_group clear tech support config 802.1p default_priority config 802.1p user_priority config 802.1x auth_mode ports...
  • Page 390: Dir

    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...
  • Page 391: Command Logging Commands

    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:...
  • Page 392: Show Command Logging

    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.
  • Page 393: Ssh Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide SSH COMMANDS The SSH commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable ssh disable ssh config ssh algorithm [3DGS | MD5 | RSA | SHA1] [disable | enable] config ssh authmode [publickey | hostbased | password] [enable | disable] show ssh authmode...
  • Page 394: Disable Ssh

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# enable ssh Command: enable ssh Success. The SSH server is enabled. DGS-1210-28P/ME:5# disable ssh Purpose To disable SSH. disable ssh Syntax The disable ssh command disables SSH on the Switch. Description Parameters None.
  • Page 395: Config Ssh Authmode

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To configure SSH algorithm: DGS-1210-28P/ME:5# config ssh algorithm 3DES enable Command: config ssh algorithm 3DES enable Success. DGS-1210-28P/ME:5# config ssh authmode Purpose To configure the SSH authentication mode setting. config ssh authmode [publickey | hostbased | password] Syntax [enable | disable] The config ssh authmode command configures the SSH...
  • Page 396: Config Ssh Server

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# show ssh authmode Command: show ssh authmode The SSH Authmode : ------------------------------------------------------------ Password : Enabled Publickey : Enabled Hostbased : Disabled Success. DGS-1210-28P/ME:5# config ssh server Purpose To configure the SSH server. config ssh server [authfail <int 2-20>...
  • Page 397: Show Ssh Algorithm

    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.
  • Page 398: Show Ssh User Authmode

    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.
  • Page 399: Ssl Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide SSL COMMANDS The SSL commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter {ciphersuite [DH-RSA-3DES-SHA1 | DH-RSA-DES-SHA1 | RSA-3DES-SHA1 | enable ssl RSA-DES-SHA1 | RSA-EXP1024-DES-SHA1 | RSA-NULL-MD5 | RSA-NULL- SHA1]} {ciphersuite [DH-RSA-3DES-SHA1 | DH-RSA-DES-SHA1 | RSA-3DES-SHA1 |...
  • Page 400: Disable Ssl

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# enable ssl Command: enable ssl Note: HTTP will be disabled if SSL is enabled. Success. DGS-1210-28P/ME:5# disable ssl Purpose To disable the SSL function on the Switch. disable ssl {ciphersuite [DH-RSA-3DES-SHA1 | DH-RSA-DES- Syntax SHA1 | RSA-3DES-SHA1 | RSA-DES-SHA1 | RSA-EXP1024-DES- SHA1 | RSA-NULL-MD5 | RSA-NULL-SHA1]}...
  • Page 401: Download Ssl Certificate

    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...
  • Page 402: Access Authentication Control Commands

    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>...
  • Page 403: Create Authen_Login Method_List_Name

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter ipv6address <ipv6addr>] protocol [radius | tacacs+] delete authen server_group <string 15> show authen server_group {<string 15>} enable admin config admin local_enable [default | method_list_name <string 15>] method {tacacs+ | radius | config accounting server_group <string 15>...
  • Page 404: Config Authen_Login

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28P/ME:5# create authen_login method_list_name Trinity Command: create authen_login method_list_name Trinity Success. DGS-1210-28P/ME:5# config authen_login Purpose To configure a user-defined or default method list of authentication methods for user login. config authen_login [default | method_list_name <string 15>] Syntax method [tacacs+ | radius | local | server_group <string 15>...
  • Page 405: Delete Authen_Login Method_List_Name

    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.
  • Page 406: Show Authen_Policy

    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.
  • Page 407: Create Authen_Enable Method_List_Name

    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.
  • Page 409: Delete Authen_Enable Method_List_Name

    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.
  • Page 410: Enable Authen_Policy

    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...
  • Page 411: Config Authen Application

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# disable authen_policy Command: disable authen_policy Success. DGS-1210-28P/ME:5# config authen application Purpose To configure various applications on the Switch for authentication using a previously configured method list. config authen application {console | http | ssh | telnet | all] Syntax [login | enable] [default | method_list_name <string 15>] The config authen application command configures Switch...
  • Page 412: Config Authen Parameter

    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.
  • Page 413: Show Authen Parameter

    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.
  • Page 414: Config Authen Server_Host

    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.
  • Page 415: Delete Authen Server_Host

    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.
  • Page 416: Show Authen 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...
  • Page 417: Create Authen Server_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28P/ME:5# show authen server_host Command: show authen server_host IP Address Protocol Port Timeout Retransmit Key --------------- -------------- ------ ------------ ----- ---------- -------------------- 10.1.1.121 tacacs+ 4321 ------ Total Entries : 1 DGS-1210-28P/ME:5# create authen server_group Purpose To create an authentication server host.
  • Page 418: Delete Authen Server_Group

    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.
  • Page 419: Enable Admin

    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 –...
  • Page 420: Config Admin Local_Enable

    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’...
  • Page 421: Config Accounting Service

    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+"...
  • Page 422: Config Accounting Service Command

    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>...
  • Page 423: Delete Accounting Method_List_Name

    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.
  • Page 424: Enable Aaa_Server_Password_Encryption

    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.
  • Page 425: Show Aaa

    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...
  • Page 426: Energy Efficient Ethernet Commands

    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#...
  • Page 428: Lacp Commands

    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...
  • Page 429: 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#...
  • Page 431: Lldp Commands

    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>...
  • Page 432: Enable Lldp

    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...
  • Page 433: Config Lldp Message_Tx_Hold_Multiplier

    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.
  • Page 434: Config Lldp Tx_Delay

    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.
  • Page 435: Show Lldp Ports

    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...
  • Page 436: Show Lldp Local_Ports

    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#...
  • Page 437: Show Lldp Remote_Ports

    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.
  • Page 441: Show Lldp Mgt_Addr

    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.
  • Page 442: Show Lldp Power_Pse_Tlv

    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...
  • Page 443: Access Control List Commands

    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 444: Create Access_Profile

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter [<portlist> | all] [permit | deny]] delete access_id <value (1-5)>] delete cpu profile_id <value 1-3> access_profile show cpu {profile_id <value 1-3>} access_profile <value 1-6> access_id <value 1-250> [delete | rate <value 64-1024000>] config flow_meter burst_size <value 0-1016>...
  • 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 –...
  • Page 446: Config Access_Profile

    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 447 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide {src_port <value (0-65535)> | dst_port <value (0-65535)>} | protocol_id <value(0-255)>]} | packet_content [offset1 <hex (0x0-0xffffffff)> | offset2 <hex (0x0-0xffffffff)> | offset3 <hex (0x0- 0xffffffff)> | offset4 <hex (0x0-0xffffffff)>] | ipv6 [class <value 0- 255>...
  • 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.
  • Page 450: Delete Access_Profile

    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...
  • Page 451: Create Cpu_Access_Profile

    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.
  • Page 452: Config Cpu_Access_Profile

    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.
  • Page 453 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide <macaddr> | 802.1p <value (0-7)> | ethernet_type <hex (0x0- 0xffff)>} | ip {source_ip <ipaddr> | destination_ip <ipaddr> | dscp <value (0-63)> | [icmp {type <value (0-255)> code <value (0-255)> } | igmp {type <value (0-255)>} | tcp {src_port <value (0- 65535)>...
  • Page 454: Delete Cpu_Access_Profile

    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.
  • Page 455: Show Cpu_Access_Profile

    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...
  • Page 456: Show Flow_Meter

    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.
  • Page 457: Traffic Segmentation Commands

    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...
  • Page 459: Safeguard Commands

    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#...
  • Page 461: Device Specifications

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 63 3 DEVICE SPECIFICATIONS This appendix contains the device specifications, and contains the following topics:  Technical Specifications  Supported Transceivers Technical Specifications Performance Transmission Method Store-and-forward DGS-1210-10/ME: 1.5Mbytes Packet Buffer memory DGS-1210-10P/ME: 1.5Mbytes DGS-1210-20/ME: 1.5Mbytes DGS-1210-28/ME: 1.5Mbytes...
  • Page 462: Physical And Environmental

    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 463 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Physical and Environmental CE, FCC, C-Tick, VCCI, BSMI, CCC UL, LVD, CB Safety General IEEE 802.3 10BASE-T Ethernet Standards IEEE 802.3u 100BASE-TX Fast Ethernet IEEE 802.3z Gigabit Ethernet IEEE 802.1Q Tagged VLAN IEEE 802.1P Tagged Packets IEEE 802.3ab 1000BASE-T IEEE 802.3x Full-duplex Flow Control...
  • 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...
  • Page 465: Supported Transceivers

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Supported Transceivers Supported SFP Transceivers: Module Description Maximum Distance SFP Transceiver for 1000BASE-LX, Single-mode fiber module 10km DEM-310GT DEM-311GT SFP Transceiver for 1000BASE-SX, Multi-mode fiber module 550m DEM-312GT2 SFP Transceiver for 1000BASE-SX, Multi-mode fiber module SFP Transceiver for 1000BASE-LHX, Single-mode fiber module 50km DEM-314GT...

Table of Contents