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 2.11
©Copyright 2016. 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 2.11 ©Copyright 2016. 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 ............................6 BASIC SWITCH COMMANDS ........................... 8 enable password encryption ..............................9 disable password encryption ..............................10 create account ..................................10 config account ..................................11 show account ..................................12 delete account ..................................12 reset account ..................................12 show session ..................................13 show switch ..................................13...
  • Page 4 config time_range ................................32 show time_range ..................................32 show tech support .................................33 clear tech support .................................35 DHCP AUTOIMAGE COMMANDS ........................36 enable autoimage ..................................36 disable autoimage .................................36 show autoimage..................................37 SMTP SERVER COMMANDS ......................... 38 enable smtp ..................................38 disable smtp ..................................38 config smtp ...................................39 show smtp ....................................39 smtp sent_testmsg ................................40 MODIFY BANNER AND PROMPT COMMANDS .....................
  • Page 5 PPPOE CIRCUIT ID INSERTION COMMANDS ....................61 config pppoe circuit_id_insertion state ..........................61 config pppoe circuit_id_insertion ports ..........................62 show pppoe circuit_id_insertion ............................62 show pppoe circuit_id_insertion ports ..........................63 DHCP SERVER SCREENING COMMANDS ....................64 config filter dhcp_server ..............................65 config filter dhcp_server ..............................65 config filter dhcp_server log ...............................66 show filter dhcp_server ................................66 show dhcp_server screening ..............................67...
  • Page 6 show snmp user ..................................90 create snmp view ..................................90 delete snmp view ..................................91 show snmp view ...................................91 create snmp community ...............................92 delete snmp community ...............................93 delete snmp all_community ..............................93 show snmp community ................................93 config snmp engineID ................................94 show snmp engineID ................................94 enable community_encryption .............................95 disable community_encryption ............................95 show community_encryption ...............................96...
  • Page 7 enable snmp icmpv6_RA_all_node traps ...........................114 disable snmp icmpv6_RA_all_node traps ..........................115 enable snmp IMPB_violation traps ............................115 disable snmp IMPB_violation traps ...........................115 enable snmp firmware_upgrade_state traps ........................116 disable snmp firmware_upgrade_state traps ........................116 enable snmp LBD traps ..............................117 disable snmp LBD traps ..............................117 enable snmp port_security_violation traps .........................117 disable snmp port_security_violation traps ........................118 enable snmp rstpport_state_change traps ...........................118...
  • Page 8 config dhcpv6_relay option_37 ............................141 config dhcpv6_relay option_38 ............................141 show dhcpv6_relay option_38 ............................142 GRATUITOUS ARP COMMANDS ........................143 config gratuitous_arp send ipif_status_up ..........................143 config gratuitous_arp send dup_ip_detected ........................144 config gratuitous_arp learning ............................144 enable gratuitous_arp log ..............................145 disable gratuitous_arp log ..............................145 config gratuitous_arp log ..............................146 show gratuitous_arp ................................146 config gratuitous_arp send periodically ipif ........................147 POWER SAVING COMMANDS ........................
  • Page 9 config stp version ................................174 config stp fbpdu .................................174 config stp priority ................................175 enable stp ...................................175 disable stp ...................................175 show stp .....................................176 show stp ports ..................................177 show stp instance ................................178 show stp mst_config_id..............................179 create stp instance_id .................................179 delete stp instance_id .................................180 config stp instance_id .................................180 config stp mst_config_id ..............................181 config stp mst_ports ................................181...
  • Page 10 config cos ip_mapping ...............................202 show cos ip_mapping .................................202 delete cos ip_mapping ................................203 config cos ipv6_mapping ..............................203 show cos ipv6_mapping ..............................203 delete cos ipv6_mapping ..............................204 config cos ipv6_tc_mapping ..............................204 delete cos ipv6_tc_mapping ...............................205 show cos ipv6_tc_mapping ..............................205 config cos mapping ................................206 show cos mapping ................................206 config cos protocol_mapping .............................207 show cos protocol_mapping ...............................207...
  • Page 11 create rmon collection stats ..............................226 delete rmon collection stats ..............................227 create rmon collection history ............................227 delete rmon collection history ............................228 create rmon event ................................228 delete rmon event ................................229 show rmon ..................................229 show rmon statistics ................................229 PORT MIRRORING COMMANDS ........................231 enable mirror ..................................231 disable mirror ..................................231 config mirror target ................................232...
  • Page 12 erps clear instance ................................255 erps force switch instance ..............................256 erps manual switch instance ...............................256 config erps version ................................257 VLAN COMMANDS ............................258 create vlan ..................................259 delete vlan ..................................260 config vlan ..................................260 config private_vlan ................................261 config private_vlan trunk ..............................262 show private_vlan ................................263 config gvrp ..................................263 config gvrp timer ................................264 enable gvrp ..................................264...
  • Page 13 config mac_based_access_control log max_users ......................282 create mac_based_access_control_local mac_address .......................282 show mac_based_access_control ............................283 show mac_based_access_control_local ..........................283 show mac_based_access_control auth_state ports ......................284 delete mac_based_access_control_local ..........................284 Q-IN-Q COMMANDS ............................286 enable qinq ..................................286 disable qinq ..................................287 show qinq ...................................287 config qinq ports ................................288 config qinq inner_tpid ................................288 create vlan_translation ...............................289 show vlan_translation ................................289...
  • Page 14 show ethernet_oam ports..............................310 show ethernet_oam ports..............................311 clear ethernet_oam ports ..............................312 MAC NOTIFICATION COMMANDS ........................ 313 enable mac_notification ..............................313 disable mac_notification ..............................313 config mac_notification ..............................314 config mac_notification ports ............................314 show mac_notification ...............................315 show mac_notification ports ..............................315 IGMP SNOOPING COMMANDS ........................317 config igmp_snooping ................................318 config igmp_snooping querier ............................319 create igmp_snooping multicast_vlan ..........................320...
  • Page 15 LAYER 2 PROTOCOL TUNNELING COMMANDS ..................340 enable l2protocol_tunnel ..............................340 disable l2protocol_tunnel ..............................340 config l2protocol_tunnel ports ............................341 show l2protocol_tunnel ..............................341 DIGITAL DIAGNOSTIC MONITORING COMMANDS ..................343 config ddm ports ................................343 config ddm power_unit ..............................344 show ddm ports ..................................344 MLD SNOOPING COMMANDS ........................346 enable mld_snooping .................................347 disable mld_snooping ................................347 config mld_snooping ................................348...
  • Page 16 show 802.1x ..................................369 show 802.1x auth_state ..............................369 show 802.1x auth_configuration ............................370 config 802.1x auth_parameter ports ...........................371 config 802.1x init ................................372 config 802.1x auth_protocol ..............................373 config 802.1x reauth ................................373 config radius add ................................374 config radius delete ................................375 config radius ..................................375 show radius ..................................376 config 802.1x fwd_pdu system ............................376 show 802.1x fwd_pdu system status ..........................377 config 802.1x auth_mode ..............................377...
  • Page 17 ............................408 config sflow counter_poller ports ............................408 delete sflow counter_poller ports ............................409 show sflow counter_poller ..............................409 D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS ............. 411 config duld ports ................................411 show duld ports ..................................412 config duld recover_timer ..............................412 show duld recover_timer ..............................413 IPV6 NEIGHBOR DISCOVERY COMMANDS ....................
  • Page 18 show command logging ..............................425 SSH COMMANDS ............................426 enable ssh ...................................426 disable ssh ..................................427 config ssh algorithm ................................427 config ssh authmode ................................428 show ssh authmode ................................428 config ssh server.................................429 show ssh server ..................................429 show ssh algorithm ................................430 config ssh user ..................................430 show ssh user authmode ..............................431 SSL COMMANDS ............................
  • Page 19 create accounting method_list_name ..........................455 delete accounting method_list_name ..........................456 show accounting method_list_name ..........................456 enable aaa_server_password_encryption ...........................457 disable aaa_server_password_encryption ..........................457 show aaa .....................................458 ENERGY EFFICIENT ETHERNET COMMANDS .................... 459 config EEE port ..................................459 show EEE_mode port .................................459 LACP COMMANDS ............................461 config lacp port_priority ..............................461 show lacp ...................................461 config lacp_ports ................................462 LLDP COMMANDS ............................
  • Page 20 SAFEGUARD COMMANDS..........................493 config safeguard_engine ..............................493 show safeguard_engine ..............................493 DEVICE SPECIFICATIONS ..........................495 Technical Specifications ..............................495 Supported Transceivers ..............................501...
  • Page 21: Introduction

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide INTRODUCTION The DGS-1210-10/ME, DGS-1210-10P/ME, DGS-1210-12TS/ME, DGS-1210-20/ME, DGS-1210-28/ME, DGS- 1210-28P/ME, DGS-1210-28MP/ME, DGS-1210-28X/ME, DGS-1210-28XS/ME, DGS-1210-52/ME, DGS-1210- 52P/ME,DGS-1210-52MP/ME and DGS-1210-52MPP/ME are L2 Managed Metro Ethernet switches. They consist of 8/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.
  • Page 22 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 23: 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 24 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 25 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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 26: Command Syntax

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available through the console interface uses the same syntax.
  • Page 27 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide {braces} Purpose Encloses an optional value or set of optional arguments. Syntax reset Description execute “reset” will return the switch to its factory default setting. 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 28: 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 29: Enable Password Encryption

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter 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> {frequency <sec 0-86400> | size <value 1-1522> | source_ip ping6 <ipv6_addr>...
  • Page 30: Disable Password Encryption

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# disable password encryption Purpose Used to disable password encryption on a user account. Syntax disable password encryption 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 31: Config Account

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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. However, if you do not enter a User Name, you cannot perform the following actions: Create a monitor or operator (level 1 or level 14) users until an administrator user (level 15) is defined.
  • Page 32: Show Account

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show account Purpose To display information about all user accounts on the Switch. Syntax show account 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 33: 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-28MP/ME:5# reset account Command: reset account Are you sure to proceed with clean account?(y/n)y Success.
  • Page 34: Show Environment

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions None. Example usage: To display the Switch information: DGS-1210-28MP/ME:5# show switch Command: show switch Device Type : DGS-1210-28MP/ME MAC Address : 00-06-06-05-04-05 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0...
  • Page 35: Show Device_Status

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide : OK Current Temperature(Celsius) : 35 DGS-1210-28MP/ME:5# NOTE: Only the following models support show environment command: DGS- 1210-28P/ME, DGS-1210-28MP/ME, DGS-1210-28X/ME, DGS-1210-28XS/ME, DGS-1210-52/ME, DGS-1210-52P/ME, DGS-1210-52MP/ME and DGS-1210- 52MPP/ME. show device_status Purpose To display the device internal and external power status. show device_status Syntax Description...
  • Page 36: Enable Jumbo_Frame

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Internal Power Mapping Status RPS Satus Status RPS Power On Disconnected Working Internal Power & RPS Power On Working Working RPS No Power Working Disconnected When the devices are using the specific PSU (P/N SU54-21124-000S) with charger function, the internal power and external power (battery) status were shown according to different mapping definitions below (Only for DGS- 1210-10/ME, DGS-1210-20/ME, DGS-1210-28/ME and DGS-1210-52/ME): Internal...
  • Page 37: Disable Jumbo_Frame

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable jumbo_frame Purpose To disable jumbo frames on the device. Syntax disable jumbo_frame Description The disable jumbo_frame command disables jumbo frames on the device. Parameters None. Restrictions Only Administrator or operate-level users can issue this command. Jumbo frames will be disabled after save and restart.
  • Page 38: Config Serial_Port

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions None. Example usage: To display the serial port settings: DGS-1210-28MP/ME:5# show serial_port Command: show serial_port Baud Rate : 9600 Data Bits Parity Bits : None Stop Bits Auto-Logout : 10 minutes DGS-1210-28MP/ME:5# config serial_port Used to configure the serial port.
  • Page 39: Config Bootrom Password

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config bootrom password Purpose Used to configure the password when booting ROM. Syntax config bootrom password <string 20> The config bootrom password command is used to configure the Description password when booting ROM. <string 20>...
  • Page 40: Enable Web

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To disable pausing of the screen display when the show command output reaches the end of the page: DGS-1210-28MP/ME:5# disable clipaging Command: disable clipaging Success. DGS-1210-28MP/ME:5# enable web Purpose To enable the HTTP-based management software on the Switch. enable web {<tcp_port_number 1-65535>} Syntax Description...
  • Page 41: Enable Autoconfig

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable autoconfig Purpose Used to activate the auto configuration function for the Switch. This will load a previously saved configuration file for current use. Syntax enable autoconfig Description When autoconfig is enabled on the Switch, the DHCP reply will contain a configuration file and path name.
  • Page 42: Config Autoconfig

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config autoconfig Purpose Use to configure the auto configuration timeout time from DHCP. config autoconfig timeout <value 1-65535> Syntax Description The config autoconfig command is used to the auto configuration timeout time from DHCP. Parameters timeout <value 1-65535>...
  • Page 43: Reboot

    Are you sure you want to proceed with the system reboot?(y/n)y % Please wait, the switch is rebooting... DGS-1210-28MP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 7.01.B030 Copyright(C) 2012 D-Link Corporation. All rights reserved. UserName: Model_Name: DGS-1210-28MP/ME Uncompressing Kernel Image ... OK...
  • Page 44: Reset

    ............Configuration init ..DGS-1210-28MP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 7.01.B030 Copyright(C) 2012 D-Link Corporation. All rights reserved. UserName: reset Purpose To reset the Switch to the factory default settings. reset {[config | system | account | password {<user_name Syntax 15>}]} {force_agree}...
  • Page 45: Reload Config Config_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To restore all of the Switch’s parameters to their default values: DGS-1210-28MP/ME:5# reset system Command: reset system Are you sure you want to proceed with the system reset?(y/n)y % Success. DGS-1210-28MP/ME:5# System will Reboot..reload config config_id Purpose To reload the configuration to the Switch.
  • Page 46: Top

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions None. Example usage: To terminate the current user’s console session: DGS-1210-28MP/ME:5# logout Purpose To display the CPU and memory information on the Switch. Syntax Description The top command is used to display the CPU and memory information on the Switch.
  • Page 47: Ping6

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The ping command sends Internet Control Message Protocol (ICMP) echo messages to a remote IP address. The remote IP address then ‘echos’ or returns the message. This is used to confirm connectivity between the Switch and the remote device. Parameters <ipaddr>...
  • Page 48: Traceroute

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide used as the packets’ source IPv6 address that ping6 sends to the remote host. timeout <sec 1-99> - The time-out period while waiting for a response from the remote device. A value of 1 to 99 seconds can be specified.
  • Page 49: Traceroute6

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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-28MP/ME:5# traceroute6 The traceroute User EXEC mode command discovers routes that Purpose packets actually take when traveling to their destination. Syntax traceroute6 <ipv6_addr> {[max-ttl <short 1-99> | min-ttl <short 1-99>} The traceroute6 command discovers routes that packets actually Description...
  • Page 50: Reset Cpu Port

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The show cpu port command displays the CPU port information. Parameters None. Restrictions Only Administrator users can issue this command. Example usage: To display the CPU port information: DGS-1210-28MP/ME:5# show cpu port Command: show cpu port Type Total...
  • Page 51: Enable Telnet

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable telnet Purpose To enable the telnet. Syntax enable telnet 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-28MP/ME:5# enable telnet Command: enable telnet Success.
  • Page 52: Config Time_Range

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config time_range Purpose To configure the time range on the Switch. Syntax config time_range <range_name 20> [[hours start_time <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 53: Show Tech Support

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To display time range settings on the Switch: DGS-1210-28MP/ME:5# show time_range Command: show time_range Time Range Information ----------------------------- Range Name : timr1 Weekdays Start Time : 12:00 End Time : 00:00 From Day : 2016/07/19 To Day : 2017/07/30...
  • Page 54 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Device Type : DGS-1210-28MP/ME MAC Address : 00-06-06-05-04-05 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.01.033 System Firmware Version : 7.01.B030 System Hardware Version : B1...
  • Page 55: Clear Tech Support

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide clear tech support Purpose To clear system and configuration information. Syntax clear tech support The clear tech support command is used to clear system and Description configuration information. Parameters None. Restrictions None. Example usage: To clear technical support information on the Switch: DGS-1210-28MP/ME:5# clear tech support Command: clear tech support...
  • Page 56: 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 57: Show Autoimage

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: disable autoimage Success. DGS-1210-28MP/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. Parameters None.
  • Page 58: 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 59: Config Smtp

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To disable STMP feature on the Switch: DGS-1210-28MP/ME:5# disable smtp Command: disable smtp Success. DGS-1210-28MP/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 60: Smtp Sent_Testmsg

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax show smtp Description The show smtp command displays the SMTP server settings on the Switch. Parameters None. Restrictions None. Example usage: To display SMTP information on the Switch: DGS-1210-28MP/ME:5# show smtp Command: show smtp smtp status : Enable smtp server address : 0.0.0.0...
  • Page 61 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Sending mail, please wait... Success. DGS-1210-28MP/ME:5#...
  • Page 62: 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 63: Config Greeting_Message

    Example usage: DGS-1210-28MP/ME:5# config greeting_message Command: config greeting_message Greeting Messages Editor ================================================================================ DGS-1210-28MP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 7.01.B030 Copyright(C) 2012 D-Link Corporation. All rights reserved. ================================================================================ <Function Key> <Control Key> Ctrl+C Quit without save left/right/ Ctrl+W...
  • Page 64: Show Greeting_Message

    Switch. Parameters None. Restrictions None. Example usage: To view the currently configured greeting message: DGS-1210-28MP/ME:5# show greeting_message Command: show greeting_message DGS-1210-28MP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 7.01.B030 Copyright(C) 2012 D-Link Corporation. All rights reserved. DGS-1210-28MP/ME:5#...
  • Page 65: 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 enable ddp disable ddp config ddp report state...
  • Page 66: Config Ddp Report State

    [30 | 60 | 90 | 120] Description The config ddp report timer command is used configure the D-Link discover protocol packet report timer. [30 | 60 | 90 | 120] - Specifies the report timer of D-Link Discover Parameters Protocol in seconds. Restrictions Only administrator or operate-level users can issue this command.
  • Page 67: Config Ddp Ports

    DGS-1210-28MP/ME:5# show ddp Purpose To display the ports of D-Link discover protocol packet information. Syntax show ddp Description The show ddp command is used to display the ports of D-Link discover protocol packet information. Parameters None. Restrictions None. Example usage:...
  • Page 68 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show ddp Command: show ddp DDP System Information DDP Global state : Enable DDP Report Timer Period : Disable DDP Port State Port State ---- ----------- Disable Disable Disable Disable Disable Enable Enable Enable...
  • Page 69: 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 64>...
  • Page 70: Config Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide learning [enable | disable] c Enables or disables the MAC address learning on the specified range of ports. state [enable | disable] − Enables or disables the specified range of ports. speed – Sets the speed of a port or range of ports, with the addition of one of the following: •...
  • Page 71: Show Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config ports 8-11 capability_advertised 10G_full Command: config ports 8-11 capability_advertised 10G_full Success DGS-1210-28MP/ME:5# show ports Purpose To display the current configuration of a range of ports. Syntax show ports {<portlist> | all} {[description | err_disabled]} Description The show ports command displays the current configuration of range of ports or all ports.
  • Page 72: Show Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide specified ports. Restrictions Only administrator, operate or power user-level users can issue this command. Example usage: To display the auto negotiation capability of port 1~3 on the Switch: DGS-1210-28MP/ME:5# show ports 1-3 auto_negotiation Command: show ports 1-3 auto_negotiation Port Capability...
  • Page 73: Delete Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DHCP Local Relay: DHCP/BOOTP Local Relay Status : disabled DGS-1210-28MP/ME:5# delete ports Purpose To delete the current information of ports. Syntax delete ports [<portlist> | all] {medium_type [copper | fiber]} description Description The delete ports command deletes the current information of a port or range of ports.
  • Page 74: Loopback Detection Commands

    DGS-1210 Metro Ethernet Managed 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 75: Config Loopdetect Mode

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To disable the loopback detection feature on the Switch: DGS-1210-28MP/ME:5# disable loopdetect Command: disable loopdetect Success. DGS-1210-28MP/ME:5# config loopdetect mode Purpose To configure the loop back detection mode to be portbase or vlanbase on the Switch.
  • Page 76: Config Loopdetect

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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 77 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Loopdetect Interval : 2 Recover Time : 60 DGS-1210-28MP/ME:5#...
  • Page 78: Dos Prevention Commands

    DGS-1210 Metro Ethernet Managed 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 79: Show Dos_Prevention

    DGS-1210/ME Metro Ethernet 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-28MP/ME:5# config dos_prevention dos_type blat_attack action drop Command: config dos_prevention dos_type blat_attack action drop Success.
  • Page 80: Enable Dos_Prevention Trap_Log

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show dos_prevention land_attack DoS Type : Land Attack State : Enabled Action : Drop Frame Counts DGS-1210-28MP/ME:5# enable dos_prevention trap_log Purpose Used to enable a DoS prevention trap/log. Syntax enable dos_prevention trap_log Description The enable dos_prevention trap_log command is used to send traps and logs when a DoS attack event occurs.
  • Page 81: 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 82: Config Pppoe Circuit_Id_Insertion Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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> [ circuit_id Syntax [ mac | ip | udf <string 32>...
  • Page 83: Show Pppoe Circuit_Id_Insertion Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Switch. Syntax show pppoe circuit_id_insertion Description The show pppoe circuit_id_insertion command is used to display the global state configuration of the PPPoE circuit ID insertion function. Parameters None. Restrictions None. Example usage: To view the global PPPoE ID insertion state: DGS-1210-28MP/ME:5# show pppoe circuit_id_insertion Command: show pppoe circuit_id_insertion Status: Enabled...
  • Page 84: 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 85: Config Filter Dhcp_Server

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter delete filter icmpv6_ra_all_node <ipv6addr> permit_server show filter icmpv6_ra_all_node Each command is listed in detail, as follows: config filter dhcp_server Purpose DHCP server packets except those that have been IP/client MAC bound will be filtered. This command is used to configure the state of the function for filtering of DHCP server packet and to add/delete the DHCP server/client binding entry.
  • Page 86: Config Filter Dhcp_Server Log

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide packets. The DHCP server who sends the illegal packets will be logged. This command is used to suppress the logging of DHCP servers who continue to send illegal DHCP packets. The same illegal DHCP server IP address that is detected will be logged only once regardless of how many illegal packets are sent.
  • Page 87: Show Dhcp_Server Screening

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# show filter dhcp_server Command: show filter dhcp_server Enabled ports : Illegal Server Log Suppress Duration : 5 Minutes DGS-1210-28MP/ME:5# show dhcp_server screening Purpose Used to display current DHCP server screening information on the switch.
  • Page 88: Config Filter Dhcpv6_Server Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config filter dhcpv6_server ports Purpose Used to configure the state of filter DHCPv6 server packets on the switch. The filter DHCPv6 server function is used to filter the DHCPv6 server packets on the specifie port(s) and receive the trust packets from the specific source.
  • Page 89: Delete Filter Dhcpv6_Server Permit_Entry

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide [<portlist> | all] Description The create filter dhcpv6_server permit_entry command is used to create a filter DHCPv6 server permit entry. <ipv6addr> - Specifies the IPv6 address to be configured. Parameters ports [<portlist] | all] – Specifies the list of ports or all ports to be configured.
  • Page 90: Config Filter Icmpv6_Ra_All_Node Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show filter dhcpv6_server Enabled ports : DHCPv6 Filter Syslog State : Enable Permit DHCP Server/Client Table: Server IP Address Ports --------------------------------------- ---------------- 3000::5 1-10 Success. DGS-1210-28MP/ME:5# config filter icmpv6_ra_all_node ports Purpose Used to configure the state of the filter ICMPv6 RA all-nodes packets on the Switch.
  • Page 91: Create Filter Icmpv6_Ra_All_Node Permit_Server

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only administrator or operate-level users can issue this command. Example usage: To enable the filter ICMPv6 RA all-nodes log state: DGS-1210-28MP/ME:5# config filter icmpv6_ra_all_node log state enable Command: config filter icmpv6_ra_all_node log state enable Success.
  • Page 92: Show Filter Icmpv6_Ra_All_Node

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show filter icmpv6_ra_all_node Purpose Used to display the filter ICMPv6 RA all-nodes information. Syntax show filter icmpv6_ra_all_node The show filter icmpv6_ra_all_node command is used to display Description the filter ICMPv6 RA all-nodes information. Parameters None.
  • Page 93: 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 94: Create Address_Binding Ip_Mac

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter 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 disable address_binding roaming show address_binding roaming clear address_binding [<portlist>...
  • Page 95: Config Address_Binding Ip_Mac Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 11-11-22-33-44 ports 6 Success. DGS-1210-28MP/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. config address_binding ip_mac ports [<portlist> | all] {state Syntax [disable | enable] | ip_inspection [disable | enable] | arp_inspection [loose | strict] | allow_zeroip [enable | disable] | forward_dhcppkt [enable | disable]}...
  • Page 96: Show Address_Binding Ip_Mac Log

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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 97: Delete Address_Binding

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <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. <ipv6addr> − Specifies a range of IPv6 addresses for address Parameters binding auto scan on the Switch.
  • Page 98: Show Address_Binding

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# delete address_binding ip_mac all Command: delete address_binding ip_mac all Success. DGS-1210-28MP/ME:5# show address_binding Purpose Used to display IP-MAC-port binding entries. Syntax show address_binding {[ip_mac [all | {ipaddress <ipaddr> | ipv6address <ipv6addr> | mac_address <macaddr>}] | blocked [all | vlan_name <string 32>...
  • Page 99: Show Address_Binding Auto_Scan List

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show address_binding auto_scan list Purpose Used to display IP-MAC-port binding entries. Syntax show address_binding auto_scan list Description This show address_binding auto_scan list command is used to display auto scan list of address binding on the Switch. Parameters None.
  • Page 100: Config Address_Binding Dhcp_Snoop Max_Entry Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only administrator or operate-level users can issue this command. Example usage: To disable the DHCP snooping of address binding for port 3~5 on the Switch: DGS-1210-28MP/ME:5# disable address_binding dhcp_snoop ports 4 Command: disable address_binding dhcp_snoop ports 4 Success.
  • Page 101: Enable Address_Binding Dhcp_Pd_Snoop

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide ports <portlist> – Specifies the ports on the device to be displayed. Restrictions None. Example usage: To display DHCP snoop of address binding max entries of port 1~5 on the Switch: DGS-1210-28MP/ME:5# show address_binding dhcp_snoop max_entry ports 1-5 Command: show address_binding dhcp_snoop max_entry ports 1-5 Port Max Entry Max IPv6 Entry ----...
  • Page 102: Show Address_Binding Dhcp_Pd_Snoop

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show address_binding dhcp_pd_snoop Purpose Used to display address binding DHCPv6 PD Snooping. Syntax show address_binding dhcp_pd_snoop {binding_entry | ports <portlist>} Description This show address_binding dhcp_pd_snoop command is used to display IP-MAC-port binding DHCPv6 PD snooping. Parameters None.
  • Page 103: Enable Address_Binding Roaming

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable address_binding roaming Purpose Used to enable address binding roaming. Syntax enable address_binding roaming This enable address_binding roaming command is used to enable Description IP-MAC-port binding roaming. Parameters None. Restrictions Only administrator or operate-level users can issue this command. Example usage: To enable the roaming of address binding on the Switch: DGS-1210-28/ME:5# enable address_binding roaming...
  • Page 104: Clear Address_Binding Dhcp_Snoop Binding_Entry Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show address_binding roaming Roaming state is enabled. DES-1210-52/ME:5# clear address_binding dhcp_snoop binding_entry ports Purpose Used to clear the DHCP snooping entries learned for the specified ports. Syntax clear address_binding dhcp_snoop binding_entry ports [<portlist>...
  • Page 105: 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 106 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter community_encryption <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 107 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter config snmp <string 128> system_location 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 DHCPv6_screening...
  • Page 108: Create Snmp User

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command Parameter enable snmp rstpport_state_change traps disable snmp rstpport_state_change traps enable snmp system_device_bootup traps disable snmp system_device_bootup traps enable snmp twistedpair_port_link traps 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:...
  • Page 109: Delete Snmp User

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide • SHA − Specifies that the HMAC-SHA-96 authentication level will be used. • <priv_password 32> - A string of between 1 and 32 alphanumeric characters used to authorize the agent to receive packets for the host. •...
  • Page 110: Show Snmp User

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show snmp user Purpose To display information about each SNMP username in the SNMP group username table. Syntax show snmp user Description The show snmp user command displays information about each SNMP username in the SNMP group username table. Parameters None.
  • Page 111: Delete Snmp View

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To create an SNMP view: DGS-1210-28MP/ME:5# create snmp view dlink 1.3.6 1.1.1 view_type excluded Command: create snmp view dlink 1.3.6 1.1.1 view_type excluded Success. DGS-1210-28MP/ME:5# delete snmp view Purpose To remove an SNMP view entry previously created on the Switch. delete snmp view <view_name 32>...
  • Page 112: Create Snmp Community

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide View Name Subtree OID OID Mask View Type ------------ ---------------------- ---------------------- --------- dlink 1.2.3.4 1.1.1.1 Excluded ReadWrite Included Total Entries: 2 DGS-1210-28MP/ME:5# create snmp community Purpose To create an SNMP community string to define the relationship between the SNMP manager and an SNMP agent.
  • Page 113: Delete Snmp Community

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete snmp community Purpose To remove a specific SNMP community string from the Switch. Syntax delete snmp community <community_string 32> Description The delete snmp community command removes a previously defined SNMP community string from the Switch. <community_string 32>...
  • Page 114: Config Snmp Engineid

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide strings that are configured on the Switch. <community_string 32> − A string of up to 20 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 115: Enable Community_Encryption

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax show snmp engineID Description The show snmp engineID command displays the identification of the SNMP engine on the Switch. Parameters None. Restrictions None. Example usage: To display the current name of the SNMP engine on the Switch: DGS-1210-28MP/ME:5# show snmp engineID Command: show snmp engineID Default SNMP Engine ID : *??445532d313231...
  • Page 116: Show Community_Encryption

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To disable the encryption state on SNMP community string: DGS-1210-28MP/ME:5# disable community_encryption Command: disable community_encryption Success. DGS-1210-28MP/ME:5# show community_encryption Purpose To display the encryption state on SNMP community string. show community_encryption Syntax Description The show community_encryption command is used to display the encryption state on SNMP community string.
  • Page 117: Delete Snmp Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide adds: • Message integrity − Ensures that packets have not been tampered with during transit. • Authentication − Determines if an SNMP message is from a valid source. • Encryption − Scrambles the contents of messages to prevent it from being viewed by an unauthorized source.
  • Page 118: Show Snmp Global State

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide characters. Restrictions Only administrator, operate or power user-level users can issue this command. Example usage: To delete the SNMP group named ‘sg1’: DGS-1210-28MP/ME:5# delete snmp group sg1 v3 auth_priv Command: delete snmp group sg1 v3 auth_priv Success.
  • Page 119: Create Snmp Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# show snmp groups Command: show snmp groups SNMP Group Table Group Name Read View Write View Notify View Security Model Security Level ------------------ -------------- ---------------- --------------- ---------------------- ----------------- AuthPriv ReadOnly ReadWrite ReadWrite NoAuthNoPriv ReadOnly ReadWrite...
  • Page 120: Delete Snmp Host

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide encryption of packets sent between the Switch and a remote SNMP manager. auth_nopriv − Specifies that authorization is required, but there is no encryption of packets sent between the Switch and a remote SNMP manager.
  • Page 121: Create Snmp V6Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide SNMP agent. <ipaddr> − The IP address of a remote SNMP manager that Parameters receives SNMP traps generated by the Switch’s SNMP agent. Restrictions None. Example usage: To display the currently configured SNMP hosts on the Switch: DGS-1210-28MP/ME:5# show snmp host Command: show snmp host SNMP Host Table...
  • Page 122: Delete Snmp V6Host

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide identifies user name 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. noauth_nopriv − Specifies that there is no authorization and no encryption of packets sent between the Switch and a remote SNMP manager.
  • Page 123: Enable Trusted_Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The show snmp host command is used to display the IPv6 addresses and configuration information of remote SNMP managers that are DGSignated as recipients of SNMP traps generated by the Switch’s SNMP agent. <ip6_addr>...
  • Page 124: Create Trusted_Host

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions Only administrator or operator level users can issue this command. Example usage: To disable the trusted host on the Swtich: DGS-1210-28MP/ME:5# disable trusted_host Command: disable trusted_host Success. DGS-1210-28MP/ME:5# create trusted_host Purpose To create a trusted host.
  • Page 125: Show Trusted_Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show trusted_host Purpose To display a list of trusted hosts entered on the Switch using the create trusted_host command above. show trusted_host Syntax Description The show trusted_host command displays a list of trusted hosts entered on the Switch using the create trusted_host command above.
  • Page 126: Enable Snmp Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To delete a trusted host with an IPv4 address 10.90.90.91: DGS-1210-28MP/ME:5# delete trusted_host 10.90.90.91 Command: delete trusted_host 10.90.90.91 Success. DGS-1210-28MP/ME:5# To delete a trusted host with an IPv6 address 3000::1: DGS-1210-28MP/ME:5# delete trusted_host 3000::1 Command: delete trusted_host 3000::1 Success.
  • Page 127: Enable Snmp Authenticate_Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# enable snmp authenticate_traps Purpose To enable SNMP authentication traps support. Syntax enable snmp authenticate_traps Description The enable snmp authenticate_traps command enables SNMP authentication trap support on the Switch. Parameters None. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 128: Enable Snmp Linkchange_Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To view the current SNMP trap support: DGS-1210-28MP/ME:5# show snmp traps Command: show snmp traps SNMP Traps : Enable SNMP Authentication Traps : Enable Coldstart Traps : Enable Warmstart Traps : Enable Linkchange Traps : Enable...
  • Page 129: Config Snmp Linkchange_Traps Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrator or operator-level users can issue this command. Example usage: To disable the SNMP link change trap function: DGS-1210-28MP/ME:5# disable snmp linkchange_traps Command: disable snmp linkchange_traps Success. DGS-1210-28MP/ME:5# config snmp linkchange_traps ports Purpose To configure SNMP traps support on the Switch.
  • Page 130: Config Snmp System_Contact

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Linkchange Traps : Disable Port 01: Disabled Port 02: Disabled Port 03: Disabled Port 04: Disabled Port 05: Disabled Port 06: Disabled Port 07: Disabled Port 08: Disabled Port 09: Disabled Port 10: Disabled Port 11: Disabled Port 12: Disabled Port 13: Disabled...
  • Page 131: Config Snmp System_Name

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config snmp system_ location command is used to enter a Description of the location of the Switch. A maximum of 20 characters can be used. <string 128> − A maximum of 128 characters is allowed. A NULL Parameters string is accepted if there is no location desired.
  • Page 132: Config Snmp Coldstart_Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: config snmp warmstart_traps enable Success. DGS-1210-28MP/ME:5# config snmp coldstart_traps Purpose To enable or disable the cold start traps of SNMPon the Switch. Syntax config snmp coldstart_traps [enable | disable] The config snmp coldstart_traps command enable or disable the Description cold start traps of the Switch.
  • Page 133: Enable Snmp Dhcp_ Screening Traps

    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 SNMP support on the Switch: DGS-1210-28MP/ME:5# disable snmp Command: disable snmp Success. DGS-1210-28MP/ME:5# enable snmp DHCP_ screening traps Purpose To enable SNMP DHCP screening traps.
  • Page 134: Enable Snmp Dhcpv6_ Screening Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide enable snmp DHCPv6_ screening traps Purpose To enable SNMP DHCPv6 screening traps. Syntax enable snmp DHCPv6_screening traps The enable snmp DHCPv6_screening traps command enables Description SNMP DHCPv6 screening traps support on the Switch. Parameters None.
  • Page 135: Disable Snmp Icmpv6_Ra_All_Node Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# enable snmp ICMPv6_RA_all_node traps Command: enable snmp ICMPv6_RA_all_node traps Success. DGS-1210-28MP/ME:5# disable snmp icmpv6_RA_all_node traps Purpose Used to disable SNMP ICMPv6 RA all-node traps state. Syntax disable snmp ICMPv6_RA_all_node traps Description The disable snmp ICMPv6_RA_all_node traps command is used to disable SNMP ICMPv6 RA all-node traps state.
  • Page 136: Enable Snmp Firmware_Upgrade_State Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The disable snmp IMPB_violation traps command enables SNMP 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-28MP/ME:5# disable snmp IMPB_violation traps Command: disable snmp IMPB_violation traps Success.
  • Page 137: Enable Snmp Lbd Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# enable snmp LBD traps Purpose To enable SNMP LBD traps. Syntax enable snmp LBD traps The enable snmp LBD traps command enables SNMP LBD traps Description support on the Switch. Parameters None.
  • Page 138: Disable Snmp Port_Security_Violation Traps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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-28MP/ME:5# enable snmp port_security_violation traps Command: enable snmp port_security_violation traps Success.
  • Page 139: Disable Snmp Rstpport_State_Change Traps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# disable snmp rstpport_state_change traps Purpose To disable SNMP RSTP port state change traps. disable snmp rstpport_state_change traps Syntax Description The disable snmp rstpport_state_change traps command disables SNMP RSTP port state change traps on the Switch. Parameters None.
  • Page 140 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To disable the SNMP duplicate_IP_detected traps on the Switch: DGS-1210-28MP/ME:5# disable snmp duplicate_IP_detected traps Command: disable snmp duplicate_IP_detected traps Success. DGS-1210-28MP/ME:5#...
  • Page 141: 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 142: Download

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide example, C:\ DGS-1210-28XME-B1-7-00-B055-ALL.hex. config_id <value 1-2> − Indicates the Configuration file to be downloaded. firmware_fromTFTP − Downloads and installs firmware on the Switch from a TFTP server. image_id <value 1-2> − Indicates the image file is to be downloaded.
  • Page 143: Upload

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide cfg_fromFTP <ftp_url 256> − Downloads a switch configuration file Parameters from a FTP server. config_id <value 1-2> − Indicates the Configuration file to be downloaded. firmware_fromFTP <ftp_url 256> − Downloads and installs firmware on the Switch from a FTP server.
  • Page 144: Config Configuration Config_Id

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: DGS-1210-28MP/ME:5# upload log_toTFTP 172.21.45.73 log1 Command: upload log_toTFTP 172.21.45.73 log1 Success. DGS-1210-28MP/ME:5# config configuration config_id Used to delete the specific firmware or configure the specific Purpose firmware as boot up image. Syntax config configuration config_id <value 1-2>...
  • Page 145: Show Config

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Size : 14117904Bytes Updated Time : 01/01/2015 00:06:56 From : 10.90.90.98 User : Anonymous (web) IMAGE TWO: Version : 7.01.B030 Size : 14117904Bytes Updated Time : 01/01/2015 00:06:56 From : 10.90.90.98 User : Anonymous (unknown) DGS-1210-28MP/ME:5# show config Used to display the current or saved version of the configuration...
  • Page 146: Config Firmware Image_Id

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Copyright(C) 2010 D-Link Corporation. All rights reserved. #-------------------------------------------------------------------------------------------------------- # User Account disable password encryption # Basic config syslogintimeout 5 enable web 80 enable clipaging config command_prompt default config serial_port baud_rate 9600 config serial_port auto_logout 10_minutes...
  • Page 147: Show Flash Information

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To display the configuration file and firmware image assigned as a boot up file: DGS-1210-28MP/ME:5# show boot_file Command: show boot_file Bootup Firmware : image_1 Bootup Configuration : config_1 DGS-1210-28MP/ME:5# show flash information Used to display the flash information of the Switch. Purpose show flash information Syntax...
  • Page 148: 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 149: 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 150: Config Dhcp_Relay Port

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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 151: 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. Syntax config dhcp_relay delete ipif System <ipaddr> The config dhcp_relay delete ipif System command deletes a Description DHCP servers defined as a DHCP Relay server.
  • Page 152: 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] Description The config dhcp_relay vlan command configures a VLAN of DHCP Relay to be enabled or disable of the Switch.
  • Page 153 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 154: 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. Syntax config dhcp_relay port_option_82 {<portlist>} [ circuit_id | remote_id ] vendor3 <desc 64> Description The config dhcp_relay port_option_82 is used to configure DHCP relay agent option 82 information of each port.
  • Page 155: 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 Syntax show dhcp_relay {ipif [System]} 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 156: Disable Dhcp_Local_Relay

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To enable the DHCP Local Relay: DGS-1210-28MP/ME:5# enable dhcp_local_relay Command: enable dhcp_local_relay Success. DGS-1210-28MP/ME:5# disable dhcp_local_relay Purpose To disable the DHCP local relay feature globally. Syntax disable dhcp_local_relay Description The disable dhcp_local_relay command disables the DHCP local relay feature on the Switch.
  • Page 157: Config Dhcp_Local_Relay Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# config dhcp_local_relay vlan Purpose To specify which VLAN’s the feature works on. Syntax config dhcp_local_relay vlan <vlan_name 32> state [enable | disable] Description Each VLAN which was added to the DHCP Local Relay list participates in the DHCP Local Relay process –...
  • Page 158: Enable Dhcpv6_Relay

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# enable dhcpv6_relay Purpose To enable DHCPv6 Relay function on the Switch. enable dhcpv6_relay Syntax Description The enable dhcpv6_relay command is used to enable the DHCPv6 relay global state on the Switch. Parameters None.
  • Page 159: Config Dhcpv6_Relay

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Parameters ipif System – Specifies the name of the IP interface in which DHCPv6 relay. option_38 <porlist> – Specifies the ports of option 38 to be displayed. Restrictions None. Example usage: To display DHCPv6 Relay settings: DGS-1210-28MP/ME:5# show dhcpv6_relay Command: show dhcpv6_relay DHCPv6 Relay Global State...
  • Page 160: Config Dhcpv6_Relay Hop_Count

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config dhcpv6_relay hop_count Purpose Used to configure the DHCPv6 relay hop count of the switch. Syntax config dhcpv6_relay hop_count <value 1-32> Description The config dhcpv6_relay hops_count command is used to configure the DHCPv6 relay hop count of the switch. <value 1-32>...
  • Page 161: Config Dhcpv6_Relay Option_37

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# config dhcpv6_relay option_37 Purpose Used to configure the DHCPv6 relay option 37 of the switch. Syntax config dhcpv6_relay option_37 [check [enable | disable] | remote_id [cid_with_user_define <string 128> | default | user_define <string 128>] | state] Description The config dhcpv6_relay option_37 command is used to configure...
  • Page 162: Show Dhcpv6_Relay Option_38

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: config dhcpv6_relay option_38 ports 3 subscriber_id default Success! DGS-1210-28MP/ME:5# show dhcpv6_relay option_38 Purpose Used to display the DHCPv6 relay option 38 of the switch. Syntax show dhcpv6_relay option_38 {ports <portlist>} Description The show dhcpv6_relay option_38 command is used to display the DHCPv6 relay option 38 of the switch.
  • Page 163: 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 164: Config Gratuitous_Arp Send Dup_Ip_Detected

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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 165: Enable Gratuitous_Arp Log

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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-28MP/ME:5# config gratuitous_arp learning enable Command: config gratuitous_arp learning enable Success.
  • Page 166: Config Gratuitous_Arp Log

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# config gratuitous_arp log Purpose Used to enable or diable the gratuitous ARP log feature. Syntax config gratuitous_arp log [enable | disable] The config gratuitous_arp log command is used to enable or diable Description the gratuitous ARP log feature.
  • Page 167: Config Gratuitous_Arp Send Periodically Ipif

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Gratuitous ARP Periodical Send Interval : 0 DGS-1210-28MP/ME:5# config gratuitous_arp send periodically ipif Purpose Used to configure the interval for periodical sending of gratuitous ARP request packets. Syntax config gratuitous_arp send periodically ipif <ipif_name 12> interval <integer 0-65535>...
  • Page 168: 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 169: 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} Description The config power_saving command is used to configure the power saving on the switch. Parameters hibernation – Configure the hibernation. led [all | <portlist>] –...
  • Page 170: 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 type { [arp | bpdu | icmp | igmp | snmp]} pps [<value>...
  • Page 171: Config Cpu_Protect Type

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# disable cpu_protect Command: disable cpu_protect Success. DGS-1210-28MP/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 172 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5#...
  • Page 173: 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 174: Show Error Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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 175: 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-28MP/ME:5# show utilization Purpose To display real-time port utilization statistics. show utilization [ports {<portlist>} | cpu | mem] Syntax Description...
  • Page 176: 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-28MP/ME:5# clear counters...
  • Page 177: Show Log

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax clear log Description The clear log command clears the Switch’s history log. Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To clear the log information: DGS-1210-28MP/ME:5# clear log Command: clear log Success.
  • Page 178: Disable Syslog

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The enable syslog command enables the system log to be sent to a 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-28MP/ME:5# enable syslog Command: enable syslog Success.
  • Page 179: Create Syslog Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# create syslog host Purpose To create a new syslog host. Syntax create syslog host <index 1-4> ipaddress [<ipaddr> | <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>]} Description...
  • Page 180 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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) local use 1 (local1)
  • Page 181: Config Syslog Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable Command: create syslog host 1 ipaddress 1.1.2.1 severity all state enable Success. DGS-1210-28MP/ME:5# config syslog host Purpose To configure the syslog protocol to send system log data to a remote host. Syntax config syslog host [all | <index 1-4>] {severity [informational | warning | all] | facility [local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] | state [enable | disable] | udp_port [ 514 |...
  • Page 182 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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 183: Delete Syslog Host

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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. Example usage: To configure a syslog host: DGS-1210-28MP/ME:5# config syslog host 1 severity all facility local0...
  • Page 184: Cable Diagnostic Port

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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-28MP/ME:5# cable diagnostic port Purpose To determine if there are any errors on the copper cables and the position where the errors may have occurred.
  • Page 185 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <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-28MP/ME:5# config syslogintimeout 30 Command: config syslogintimeout 30 Success.
  • Page 186 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5#...
  • Page 187: 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 188: Config Poe System

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success! Success! Success! DGS-1210-28MP/ME:5# config poe system Purpose Used to configure the Power over Ethernet (PoE) functionality. Syntax config system [legacy_pd [enable disable] power_disconnect_method [deny_low_priority_port deny_next_port] | power_limit <value 7-193>] Description The config poe system configures the Power over Ethernet (PoE) functionality of the Switch.
  • Page 189: Show Poe System

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The show poe ports displays the Power over Ethernet (PoE) ports of the Switch. Parameters [all | <portlist>] – Specifies the ports or all ports to be displayed. Restrictions None. Example usage: To display the PoE with ports 8: DGS-1210-28MP/ME:5# show poe ports 8 Command: show poe ports 8...
  • Page 190 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success! DGS-1210-28MP/ME:5#...
  • Page 191: 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>...
  • Page 192: 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 193 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide to the specified port(s) in the list for optimal efficiency. Default port cost:10Mbps port = 2000000. 100Mbps port = 200000. Gigabit port = 20000. Port-channel = 20000. • <value 1-200000000> - Defines a value between 1 and 200000000 to determine the external cost.
  • Page 194: Config Stp Version

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To configure STP with path cost 19 and state enable for ports 1-3: DGS-1210-28MP/ME:5# config stp ports 1-3 externalcost 19 state enable Command: config stp ports 1-3 externalcost 19 state enable Success.
  • Page 195: Config Stp Priority

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config stp priority Purpose To update the STP instance configuration. Syntax config stp priority <value 0-61440> instance_id <value 0-15> 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 196: Show Stp

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Protocol to be 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-28MP/ME:5# disable stp Command: disable stp Success.
  • Page 197: Show Stp Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/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 Forward BPDU : Enabled Root Cost...
  • Page 198: Show Stp Instance

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The show stp ports command displays the STP Instance Settings and STP Instance Operational Status currently implemented on the Switch. Parameters <portlist> – A port or range of ports to be configured. The port list is specified by listing switch number and the beginning port number on that switch, separated by a colon.
  • Page 199: Show Stp Mst_Config_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Designated Bridge 00:00:00:00:00:00 Priority 0 Configured Forward delay 15, Max age 20, Max hops 20 Operational Forward delay 15, Max age 20 Topology Changes Count : 0 Last Topology Change Interface Role Cost Prio.Nbr Type ------------ ------ ------...
  • Page 200: Delete Stp Instance_Id

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Warning: There is no VLAN mapping to this instance_id! Success. DGS-1210-28MP/ME:5# delete stp instance_id Purpose To delete instance ID on the Switch. Syntax delete stp instance_id <value 1-63> The delete stp instance_id command removes the instance ID of Description STP on the Switch.
  • Page 201: Config Stp Mst_Config_Id

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config stp instance_id 2 add_vlan 10 Command : config stp instance_id 2 add_vlan 10 Success. DGS-1210-28MP/ME:5# config stp mst_config_id Purpose To update the MSTP configuration identification. Syntax config stp mst_config_id [revision_level <int 0-65535> | name <string 32>] The config stp mst_config_id command uniquely identifies the Description...
  • Page 202: Config Stp Trap

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide packets. Parameters <portlist> – A port or range of ports to be configured. The port list is specified by listing switch number and the beginning port number on that switch, separated by a colon. Then the highest port number of the range is specified.
  • Page 203 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config stp trap new_root disable topo_change enable Command: config stp trap new_root disable topo_change enable Success. DGS-1210-28MP/ME:5#...
  • Page 204: 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 205: Config Fdb Aging_Time

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To create a unicast MAC FDB entry: DGS-1210-28MP/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-28MP/ME:5# config fdb aging_time Purpose To set the aging time of the forwarding database. Syntax config fdb aging_time <sec 10-1000000>...
  • Page 206: Enable Flood_Fdb

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# delete fdb default 00-00-00-00-01-02 Command: delete fdb default 00-00-00-00-01-02 Success. DGS-1210-28MP/ME:5# enable flood_fdb Purpose To enable the Switch’s forwarding database on the Switch. Syntax enable flood_fdb Description The enable flood_fdb command enables dynamically learned entries from the Switch’s forwarding database.
  • Page 207: Show Flood_Fdb

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config flood_fdb command configures dynamically learned 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-28MP/ME:5# config flood_fdb trap disable log enable Command: config flood_fdb trap disable log enable Success.
  • Page 208: Show Fdb

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

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide clear fdb Purpose To clear the current unicast MAC address forwarding database. Syntax clear fdb [all | port <port 1-28> | vlan <vlan_name 32>] The clear fdb command clears the current contents of the Switch’s Description forwarding database.
  • Page 210: Config Multicast_Filtering_Mode

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/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. Parameters <vlan_name 32>...
  • Page 211: Broadcast Storm Control Commands

    DGS-1210/ME Metro Ethernet 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 212: Config Traffic Control Auto_Recover_Time

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only administrator or operator-level users can issue this command. Example usage: To configure traffic control and enable broadcast storm control system wide: DGS-1210-28MP/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...
  • Page 213: Config Traffic Trap

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Traffic Storm Control Trap : [None] Port Thres Broadcast Multicast Unicast Action Count Time hold Storm Storm Storm down Interval ---- ------- -------------- ------------- ---------- -------- -------- -------- Enabled Enabled Disabled Drop Enabled Enabled Disabled Drop Enabled Enabled Disabled Drop...
  • Page 214: Password Recovery Commands

    DGS-1210 Metro Ethernet Managed 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:...
  • Page 215: Show Password_Recovery

    DGS-1210/ME Metro Ethernet 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. Syntax show password_recovery Description The show password_recovery command is used to display the password recovery mode on the Switch.
  • Page 216: Qos Commands

    DGS-1210 Metro Ethernet Managed 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 217 DGS-1210/ME Metro Ethernet 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 218: Config Scheduling

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config scheduling Purpose To configure traffic scheduling for each of the Switch’s QoS queues. Syntax config scheduling <class_id 0-7> weight <value 1-55> Description The config scheduling command configures traffic scheduling for each of the Switch’s QoS queues. The Switch contains four hardware classes of service.
  • Page 219: Config Bandwidth_Control

    DGS-1210/ME Metro Ethernet 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 220: Show Bandwidth_Control

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide T o configure bandwidth control configuration: DGS-1210-28MP/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-28MP/ME:5# show bandwidth_control Purpose To display bandwidth control settings on the Switch. Syntax show bandwidth control {[<portlist>...
  • Page 221: Show Cos Mac_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5# show cos mac_mapping Purpose To display the CoS MAC mapping method. Syntax show cos mac_mapping {destination_addr <macaddr>} Description The show cos mac_mapping command is used to display the CoS MAC mapping method on the Switch.
  • Page 222: Config Cos Ip_Mapping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config cos ip_mapping Purpose To configure the CoS IP mapping method. Syntax config cos ip_mapping destination_ip <ipaddr> class <class_id 0-7> Description The config cos ip_mapping command is used to configure the CoS IP mapping method on the Switch.
  • Page 223: Delete Cos Ip_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete cos ip_mapping Purpose To remove the CoS IP mapping method. Syntax delete cos ip_mapping destination_ip <ipaddr> The delete cos ip_mapping command is used to delete the CoS IP Description mapping method on the Switch. Parameters <ipaddr>...
  • Page 224: Delete Cos Ipv6_Mapping

    DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# show cos ipv6_mapping destination_ipv6 3000::1 Command: show cos ipv6_mapping destination_ipv6 3000::1 IPv6 ADDRESS Class...
  • Page 225: Delete Cos Ipv6_Tc_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure the CoS IPv6 TC mapping on the Switch: DGS-1210-28MP/ME:5# config cos ipv6_tc_mapping trafficclass 1 class 2 Command: config cos ipv6_tc_mapping trafficclass 1 class 2 Success. DGS-1210-28MP/ME:5# delete cos ipv6_tc_mapping Purpose To remove the CoS IPv6 mapping method. delete cos ipv6_tc_mapping trafficclass <class_id 0-255>...
  • Page 226: Config Cos Mapping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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] Description...
  • Page 227: Config Cos Protocol_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config cos protocol_mapping Purpose To configure the CoS protocol mapping method on the Switch. Syntax config cos protocol_mapping protocol <ip_protocol 1-255> class <class_id 0-7> Description The config cos protocol_mapping command is used to configure the CoS protocol mapping method on the Switch.
  • Page 228: Delete Cos Protocol_Mapping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete cos protocol_mapping Purpose To delete the CoS protocol mapping between an incoming packet’s 802.1p priority value. Syntax delete cos protocol_mapping protocol <ip_protocol 1-255> Description The delete cos protocol_mapping command is used to delete the CoS protocol mapping between an incoming packet’s 802.1p priority value.
  • Page 229: Delete Cos Vlanid_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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. Restrictions None. Example usage: To display the CoS VLAN id mapping on the Switch: DGS-1210-28MP/ME:5# show cos vlanid_mapping Command: show cos vlanid_mapping VLAN ID...
  • Page 230: Show Cos Tos

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To configure a CoS tos on the Switch: DGS-1210-28MP/ME:5# config cos tos value 1 class 1 Command: config cos tos value 1 class 1 Success. DGS-1210-28MP/ME:5# show cos tos Purpose To display the CoS tos mapping information between an incoming packet’s 802.1p priority value.
  • Page 231: Show Cos Tcp_Port_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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-28MP/ME:5# config cos tcp_port_mapping destination_port 500 class 1 Command: config cos tcp_port_mapping destination_port 500 class 1 Success.
  • Page 232: Config Cos Udp_Port_Mapping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# delete cos tcp_port_mapping destination_port 500 Command: delete cos tcp_port_mapping destination_port 500 Success. DGS-1210-28MP/ME:5# config cos udp_port_mapping Purpose To configure the CoS UDP port mapping on the Switch. Syntax config cos udp_port_mapping destination_port <value 0-65535> class <class_id 0-7>...
  • Page 233: Delete Cos Udp_Port_Mapping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# delete cos udp_port_mapping Purpose To delete the CoS UDP port mapping information on the Switch. Syntax delete cos udp_port_mapping destination_port <value 0-65535> The delete udp tcp_port_mapping command is used to delete the Description CoS TCP port mapping information on the Switch.
  • Page 234: Show 802.1P User_Priority

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide to 7) to map to the 802.1p priority value specified above. Restrictions Only administrator or operator level users can issue this command. Example usage: To configure 802.1 user priorityon the Switch: DGS-1210-28MP/ME:5# config 802.1p user_priority 2 0 Command: config 802.1p user_priority 2 0 Success.
  • Page 235: Show 802.1P Default_Priority

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide priority value an untagged, incoming packet is assigned before being forwarded to its destination. <portlist> − A port or range of ports to be configured. Parameters all − Specifies that the config 802.1p default_priority command applies to all ports on the Switch.
  • Page 236: Show Scheduling_Mechanism

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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. The Switch contains four hardware priority classes of service.
  • Page 237: Config [Dscp | Tos] Mode

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: show scheduling_mechanism QOS Scheduling_mechanism scheduling_mechanism : Strict Priority DGS-1210-28MP/ME:5# config [dscp | tos] mode Purpose To enable setting the DSCP or ToS mode on the Switch. Syntax config [dscp | tos] mode Description The config [dscp | tos] mode command enables the DSCP or ToS mode on the Switch.
  • Page 238: Show Dscp_Mapping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show dscp_mapping Purpose To display the setting of DSCP mapping. Syntax show dscp_mapping {dscp_value <value 0-63>} Description The show dscp_mapping command displays the mapping of DSCP value. dscp_value <value 0-63> - The selected value of priority will be Parameters dispalyed.
  • Page 239: Disable Hol_Prevention

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable hol_prevention Purpose To disable head of line prevention on the Switch. Syntax disable hol_prevention The disable hol_prevention command is used to disable head of Description line prevention on the Switch. Parameters None. Restrictions Only administrator or operator-level users can issue this command.
  • Page 240: Reboot Schedule Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide REBOOT SCHEDULE COMMANDS The Reboot Schedule commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [in <value1-43200> | at <string 16> date <string 16>] {save_before_reboot [yes | config reboot schedule no]} show reboot schedule...
  • Page 241: Show Reboot Schedule

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config reboot schedule in 10 save_before_reboot no Command: config reboot schedule in 10 save_before_reboot no Success. DGS-1210-28MP/ME:5# To reboot the device at 7 July 2016 23:00 and save all configurations before rebooting: DGS-1210-28MP/ME:5# config reboot schedule at 23:00 date 07jul2016 save_before_reboot yes Command: config reboot schedule at 23:00 date 07jul2016 save_before_reboot yes...
  • Page 242 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters None. Restrictions Only Administrator or operator-level users can issue this command. Example usage: Todelete the reboot schedule: DGS-1210-28MP/ME:5# delete reboot schedule Command: delete reboot schedule Success. DGS-1210-28MP/ME:5#...
  • Page 243: Rmon Commands

    DGS-1210/ME Metro Ethernet 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 244: Disable Rmon

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# enable rmon Command: enable rmon Success. DGS-1210-28MP/ME:5# disable rmon Purpose To disable remote monitoring (RMON) status for the SNMP function. Syntax disable rmon Description The disable rmon command disables remote monitoring (RMON) status for the SNMP function on the Switch.
  • Page 245: Delete Rmon Alarm

    DGS-1210/ME Metro Ethernet 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 246: Create Rmon Collection Stats

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The show rmon alarm command displays remote monitoring (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 247: Delete Rmon Collection Stats

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

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete rmon collection history Purpose To remove the network collection history. Syntax delete rmon collection history <hist_index 1-65535> The delete rmon collection history command removes the Description network collection history on the Switch. <hist_index 1-65535>...
  • Page 249: Delete Rmon Event

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete rmon event Purpose To remove the network event. Syntax delete rmon event <event_index 1-65535> 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 250 DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# show rmon statistics Command: show rmon statistics RMON is enabled Ethernet Statistics table is empty Success.
  • Page 251: Port Mirroring Commands

    DGS-1210/ME Metro Ethernet 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 252: Config Mirror Target

    DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# disable mirror Command: disable mirror Success. DGS-1210-28MP/ME:5# config mirror target To configure a mirror port − source port pair on the Switch. Purpose config mirror target <port 1-28>...
  • Page 253: Show Mirror

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show mirror Purpose To show the current port mirroring configuration on the Switch. Syntax show mirror Description The show mirror command displays the current port mirroring configuration on the Switch. Parameters None. Restrictions None.
  • Page 254: Erps Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide ERPS COMMANDS The Ethernet Ring Protection Switching (ERPS) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable erps diable erps create erps raps_vlan <vlanid 1-4094>...
  • Page 255: Enable Erps

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter config erps instance <value 1-16> mel <value 0-7> config erps instance <value 1-16> [rpl_port [west | east | none] | rpl_role [owner | neighbor | none]] config erps instance <value 1-16> protected_vlan [add | delete] vlanid <vidlist> <value 1-16>...
  • Page 256: Disable Erps

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide disable erps Purpose Used to disable the ERPS function on a switch. Syntax disable erps The disable erps is used to disable the ERPS function on a switch. Description Parameters None. Restrictions Only Administrator, operator and power user-level users can issue this command.
  • Page 257: Config Erps Raps_Vlan Ring_Port

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config erps raps_vlan ring_mel is used to configure the ring MEL for an R-APS VLAN. The ring MEL is one field in the R-APS PDU. Note that if CFM (Connectivity Fault Management) and ERPS are used at the same time, R-APS PDU is one of a suite of Ethernet OAM PDU.
  • Page 258: Config Erps Raps_Vlan Rpl

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide or a east port on the virtual channel. Restrictions Only Administrator, operator and power user-level users can issue this command. Example usage: To set the R-APS east ring port parameter to 1: DGS-1210-28MP/ME:5# config erps raps_vlan 4094 ring_port east 1 Command: config erps raps_vlan 4094 ring_port east 1 Success.
  • Page 259: Config Erps Raps_Vlan Protected_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config erps raps_vlan protected_vlan Purpose Used to configure the protected VLAN for a specific R-APS VLAN. config erps raps_vlan <vlanid 1-4094> protected_vlan [add | Syntax delete] vlanid <vidlist> Description The config erps raps_vlan protected_vlan is used to configure the VLANs that are protected by the ERPS function.
  • Page 260: Config Erps Raps_Vlan State

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide received R-APS messages will be ignored by this ring node, except in the case where there is a burst of three R-APS event messages. This indicates that the sub-ring topology has changed, meaning that the node needs to flush the FDB that has been received on the node.
  • Page 261: Config Erps Raps_Vlan Sub_Ring

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide are configured. Note that these parameters cannot be changed when the ring is activated. In order to guarantee correct operation, the following integrity will be checked when the ring instance is enabled and the global ERPS state is enabled.
  • Page 262: Config Erps Raps_Vlan Tc_Propagation

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config erps raps_vlan tc_propagation Purpose Used to configure the state of the topology change propagation for the sub-ring. Syntax config erps raps_vlan <vlanid 1-4094> sub_ring raps_vlan <vlanid 1-4094> tc_propagation state [enable | disable] Description The config erps raps_vlan tc_propagation command is used to configure the state of the topology change propagation for the sub-...
  • Page 263: Delete Erps Raps_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrator, operator and power user-level users can issue this command. Example usage: To disable the revertive of R-APS VLAN 4094: DGS-1210-28MP/ME:5# config erps raps_vlan 4094 revertive disable Command: config erps raps_vlan 4094 revertive disable Success.
  • Page 264: Config Erps Log

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide RPL owner administrative state is enabled and the device is operated as the active RPL owner. "Inactive" is used to indicate that the RPL owner administrative state is enabled, but the device is operated as the inactive RPL owner.
  • Page 265: Config Erps Trap

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5#DGS-1210-28MP/ME:5# config erps trap Purpose Used to enable or disable the ERPS trap on the switch. Syntax config erps trap [enable | disable] Description The config erps trap commanmd is used to enable or disable the trap of ERPS VLAN on the switch.
  • Page 266: Config Erps Ring Instance

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax config erps ring <string 32> ring_id <value 1-239> Description The config erps ring ring_id commanmd is used to configure the ring ID of a specific physical ring. Parameters <string 32> - Specifies the name for a specified physical ring. ring_id <value 1-239>...
  • Page 267: Config Erps Ring Ring_Port

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config erps ring ring_type commanmd is used to specify the ring type of a physical ring. <string 32> - Specify the ring to be configured. Parameters ring_type [major_ring | sub_ring] - Specifies the ERPS ring as a major-ring or sub-ring.
  • Page 268: Show Erps Ring

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show erps ring Purpose Used to display the ERPS ring on the switch. Syntax show erps ring <string 32> The show erps ring is used to display ERPS configuration and Description operation information. Parameters <string 32>...
  • Page 269: Config Erps Instance Sub_Ring_Instance

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide the ring state of the specified instance. When the specified ring instance state is enabled, the specified ring instance will be activated. STP and LBD should be disabled on the physical ring ports before the specified ring instance is activated. The instance cannot be enabled before the R-APS VLAN is designated, and physical ring ports, RPL port, RPL owner, are configured.
  • Page 270: Config Erps Instance Tc_Propagation

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide instance from the connected another ring instance. sub_ring_instance <value 1-16> – Specifies the sub ring instance ID to be configured. Restrictions Only Administrator, operator and power user-level users can issue this command. Example usage: To configure the instance ID 1 to connect to a sub-ring: DGS-1210-28MP/ME:5# config erps instance 1 add sub_ring_instance 2...
  • Page 271: Config Erps Instance Mel

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config erps instance raps_vlan commanmd is used to transfer R-APS messages. <value 1-16> – Specifies the instance ID to be configured. Parameters raps_vlan <value 1-4094> – To designate raps_vlan for a specific instance.
  • Page 272: Config Erps Instance Rpl

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config erps instance rpl Purpose Used to configure the RPL port or the RPL role for a specific erps instance. Syntax config erps instance <value 1-16> [rpl_port [west | east | none] | rpl_role [owner | neighour | none]] Description The config erps instance rpl commanmd is used to configure the...
  • Page 273: Config Erps Instance Timer

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config erps instance protected_vlan commanmd is used to configure the VLANs that are protected by the ERPS function. The instance R-APS VLAN cannot be the protected VLAN. The protected VLAN can be one that has already been created, or it can be used for a VLAN that has not yet been created.
  • Page 274: Config Erps Instance Revertive Mode

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide when recovering from a link failure. It is only used by the RPL owner. When an RPL owner in the protection state receives an R-APS PDU with an NR flag, it will start the WTR timer. The RPL owner will block the original unblocked RPL port and start to send an R-APS PDU with an RB flag after the link recovery is confirmed within this period of time.
  • Page 275: Show Erps Instance

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show erps instance Purpose Used to display the ERPS instance information on the switch. Syntax show erps instance <value 1-16> {sub_ring_instance} The show erps instance is used to display ERPS instance Description information on the switch.
  • Page 276: Erps Force Switch Instance

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions Only Administrator, operator and power user-level users can issue this command. Example usage: To clear the instance 3 of ERP on the Switch: DGS-1210-28MP/ME:5# erps clear instance 3 Command: erps clear instance 3 Success.
  • Page 277: Config Erps Version

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To specify the ring-port to be east for ERPS instance ID 1: DGS-1210-28MP/ME:5# erps manual switch instance 1 ring_port east Command: erps manual switch instance 1 ring_port east Success. DGS-1210-28MP/ME:5# config erps version Purpose Used to specify the ERPs version on the switch.
  • Page 278: Vlan Commands

    DGS-1210 Metro Ethernet Managed 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> tag <int 2-4094> {[type_1q_vlan_advertisement | create vlan private_vlan]}] | [vlanid <vidlist>...
  • Page 279: Create Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter disable vlan_trunk show vlan_trunk config vlan_trunk ports [<portlist> | all] state [enable | disable] enable asymmetric_ vlan disable asymmetric_vlan show asymmetric_vlan enable pvid auto_assign disable pvid auto_assign show pvid auto_assign create mac_based_vlan mac <macaddr>...
  • Page 280: Delete Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To create a VLAN vlanrd2, tag 200 with 1Q VLAN advertisement: DGS-1210-28MP/ME:5# create vlan vlanrd2 tag 200 type_1q_vlan_advertisement Command: create vlan vlanrd2 tag 200 type_1q_vlan_advertisement Success. DGS-1210-28MP/ME:5#DGS-1210-28MP/ME:5#DGS-1210-28MP/ME:5# Example usage: To create a VLAN ID 3 with private VLAN: DGS-1210-28MP/ME:5# create vlan vlanid 3 private_vlan Command: create vlan vlanid 3 private_vlan Success.
  • Page 281: Config Private_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The config vlan command allows the user to add or delete ports to the port list of a previously configured VLAN. You can specify the additional ports as tagging, untagging, or forbidden. The default is to assign the ports as untagged.
  • Page 282: Config Private_Vlan Trunk

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide secondary VLAN, and the trunk port of the primary VLAN will behave as the tagged member of the secondary VLAN. A secondary VLAN cannot be specified with advertisement. Only the primary VLAN can be configured as a layer 3 interface.
  • Page 283: Show Private_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show private_vlan Purpose To display private VLAN information on the Swtich. Syntax show private_vlan {vlan <vlan_name 32> | vlanid <vlanid_list>} Description The show private_vlan command is used to display private VLAN information on the Swtich.
  • Page 284: Config Gvrp Timer

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide checking for the specified port list. acceptable_frame [tagged_only | admit_all] – Defines the type of frame accepted. Acceptable frames can be limited to tagged frames only (tagged_only) or can accept tagged and untagged (admit_all). pvid <vlanid 1-4094>...
  • Page 285: Disable Gvrp

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The enable gvrp command, along with the disable gvrp command below, is used to enable and disable GVRP on the Switch, without changing the GVRP configuration on the ports and the LAGs. Parameters None.
  • Page 286: Create Dot1V_Protocol_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show vlan VLAN NAME : default VLAN Type : Static VLAN Advertisement : Disabled Member Ports : 1-28 Untagged Ports : 1-28 Forbidden Ports VLAN NAME : v1 VLAN Type : Static VLAN Advertisement : Disabled Member Ports Untagged Ports...
  • Page 287: Delete Dot1V_Protocol_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide a pre-defined protocol type or a user specified protocol type. group_id <id 1-6> − The ID of 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 chars.
  • Page 288: Config Port Dot1V Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide group_name <name 32> − The name of the protocol group. The maximum length is 32 characters. Restrictions None. Example usage: To display the protocol group: DGS-1210-28MP/ME:5# show dot1v_protocol_group Command: show dot1v_protocol_group Group ID Protocol Group Name Frame Type Protocol Value ------------- --------------------------------...
  • Page 289: Show Port Dot1V

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show port dot1v Purpose To display the VLAN to be associated with untagged packets ingressed from a port based on the protocol group. Syntax show port dot1v {ports <portlist>} Description The show port dot1v command is used to display the VLAN to be associated with untagged packets ingressed from a port based on the protocol group.
  • Page 290: Show Gvrp Timer

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Enable Enable All Frames Enable Enable All Frames Enable Enable All Frames Enable Enable All Frames Total Entries : 4 DGS-1210-28MP/ME:5# show gvrp timer Purpose To display the GVRP timer information on the Switch. Syntax show gvrp timer Description...
  • Page 291: Disable Vlan_Trunk

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# disable vlan_trunk Purpose To disable VLAN Trunking on the switch. Syntax disable vlan_trunk The disable vlan_trunk command, along with the enable Description vlan_trunk command below, is used to disable and enable VLAN Trunking on the Switch, without changing the VLAN Trunking configuration on the ports.
  • Page 292: Enable Asymmetric_Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Description The config vlan_trunk ports command configures the VLAN trunking port settings on the Switch. The user can enable VLAN Trunking and define ports to be added to the VLAN Trunking settings. [<portlist>...
  • Page 293: Show Asymmetric_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: disable asymmetric_vlan Success. DGS-1210-28MP/ME:5# show asymmetric_vlan Purpose To display the Asymmetric VLAN status on the Switch. Syntax show asymmetric_vlan The show asymmetric_vlan command displays the Asymmetric Description VLAN status on the Switch. Parameters None.
  • Page 294: Show Pvid Auto_Assign

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax disable pvid auto_assign Description The disable pvid auto_assign command disables the auto-assign of PVID. When it is disabled, PVID only be changed by PVID configuration (user changes explicitly). The VLAN configuration will not automatically change PVID.
  • Page 295: Deleete Mac_Based_Vlan Mac Address

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Parameters <macaddr> - Specifies the MAC address to be created. <vlan_name 32> - Specifies the VLAN name. <vlanid 1-4094> - Specifies the VLAN id. mask <000000000000 - ffffffffffff> - Specifies the mask. Only Administrator and Operator and Power-User-level users can Restrictions issue this command.
  • Page 296: Config Vlan_Auto_Learn

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide <macmask 000000000000-ffffffffffff> - Specifies the MAC mask to be displayed. <vlan_name 32> - Specifies the VLAN name. <vlanid 1-4094> - Specifies the VLAN id. None. Restrictions Example usage: To display the static or dynamic MAC-based VLAN entry: DGS-1210-28MP/ME:5# show mac_based_vlan mac_address 00-00-00-11-22-33 Command: show mac_based_vlan mac_address 00-00-00-11-22-33 MAC Address...
  • Page 297 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To display the VLAN ID 1of MAC address autolearning state: DGS-1210-28MP/ME:5# config vlan_auto_learn vlanid 1 enable Command: config vlan_auto_learn vlanid 1 enable Success. DGS-1210-28MP/ME:5#...
  • Page 298: 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 299: 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-28MP/ME:5# enable mac_based_access_control...
  • Page 300: 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-28MP/ME:5# config mac_based_access_control password 1234 Command: config mac_based_access_control password 1234 Success. DGS-1210-28MP/ME:5# config mac_based_access_control method Purpose To configure the MAC-based AC authenticating method.
  • Page 301: 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-28MP/ME:5# config mac_based_access_control port all aging_time 100...
  • Page 302: Config Mac_Based_Access_Control Log Max_Users

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To disable log state of MAC-based Access Control: DGS-1210-28MP/ME:5# config mac_based_access_control log state disable Command: config mac_based_access_control log state disable Success. DGS-1210-28MP/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 303: Show Mac_Based_Access_Control

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show mac_based_access_control Purpose To display mac_based_access_control setting. Syntax show mac_based_access_control {port [<portlist> | all]} The show mac_based_access_control command is used to Description 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 304: Show Mac_Based_Access_Control Auth_State Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show mac_based_access_control_local MAC Address : 00-11-22-33-44-55 Vlan ID Success. DGS-1210-28MP/ME:5# show mac_based_access_control auth_state ports Purpose To display mac_based_access_control authentication status. show mac_based_access_control_local auth_state ports Syntax [<portlist> | all] Description The show mac_based_access_control_local auth_state ports command used display...
  • Page 305 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5#...
  • Page 306: 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]} [<portlist>...
  • Page 307: Disable Qinq

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable qinq Purpose To disable the Q-in-Q mode. Syntax disable qinq Description The disable qinq command creates a used to disable the Q-in-Q mode. All dynamically learned L2 address will be cleared. All dynamically registered VLAN entries will be cleared, GVRP will be disabled.
  • Page 308: Config Qinq Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Port ID: 2 --------------------------------------------------------- Role: Miss Drop: Disabled Outer Tpid: 0x8100 Add Inner Tag: Disabled --------------------------------------------------------- DGS-1210-28MP/ME:5# config qinq ports Purpose Used to configure Q-in-Q ports. config qinq ports [<portlist> | all] [role [nni | uni] | outer_tpid Syntax <hex 0x1 - 0xffff>...
  • Page 309: Create Vlan_Translation

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config qinq inner_tpid 0x88a8 Command: config qinq inner_tpid 0x88a8 Success. DGS-1210-28MP/ME:5# create vlan_translation Purpose To create a VLAN translation rule that will be added as a new rule or replace a current rule. Syntax create vlan_translation ports <portlist>...
  • Page 310: Delete Vlan_Translation Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Port CVID SPVID Action Priority ------- -------- ---------- ---------- ------------- Total Entries: 0 DGS-1210-28MP/ME:5# delete vlan_translation ports Purpose To delete VLAN translation rules. Syntax delete vlan_translation ports [<portlist> | all] {cvid [<vidlist> | all]} Description The delete vlan_translation cvid command is used to delete VLAN...
  • Page 311: Link Aggregation Commands

    DGS-1210/ME Metro Ethernet 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 312: Delete Link_Aggregation

    DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# create link_aggregation group_id 1 Command: create link_aggregation group_id 1 Success. DGS-1210-28MP/ME:5# delete link_aggregation Purpose To delete a previously configured link aggregation group.
  • Page 313: Config Link_Aggregation Algorithm

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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-28MP/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 314: Show Link_Aggregation

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters [enable | disable] – Enables or disables the link aggregation state. Restrictions Only administrator or operator-level users can issue this command. Example usage: To enable the link aggregation feature: DGS-1210-28MP/ME:5# config link_aggregation state enable Command: config link_aggregation state enable LA Module has been enable DGS-1210-28MP/ME:5#...
  • Page 315: Basic Ip Commands

    DGS-1210/ME Metro Ethernet 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 316: Delete Ipif

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide delete ipif Purpose To delete an IP interface on the switch. Syntax delete ipif [<ipif_name 12> | all] 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 317: Config Ipif

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/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 318 DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# show ipif Command: show ipif IP Setting Mode : Static Interface Name : System Interface VLAN Name : default...
  • Page 319: Bpdu Attack Protection Commands

    DGS-1210/ME Metro Ethernet 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 320: Config Bpdu_Protection Recovery_Timer

    DGS-1210 Metro Ethernet Managed 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 321: Config Bpdu_Protection

    DGS-1210/ME Metro Ethernet 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 sent or logged.
  • Page 322: Disable Bpdu_Protection

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# enable bpdu_protection Command: enable bpdu_protection Success. DGS-1210-28MP/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 323 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5#...
  • Page 324: Mac Protection Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide MAC PROTECTION COMMANDS The MAC Protection commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter create mac_protection <macaddr> {<macmask 000000000000-ffffffffffff>} delete mac_protection [<macaddr>...
  • Page 325: Show Mac_Protection

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide {<macmask 000000000000-ffffffffffff>} – Specify the MAC mask for the MAC address to be deleted. all – Specify all MAC addresses for MAC protection to be deleted. Restrictions Only Administrator or operator-level users can issue this command. Example usage: To delete the MAC protection with MAC 11:22:33:44:aa:0b on the Switch: DGS-1210-28MP/ME:5# delete mac_protection 00:00:11:22:aa:bb mask ffffffffffff...
  • Page 326: Ethernet Oam Commands

    DGS-1210 Metro Ethernet Managed 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 327: Config Ethernet_Oam Ports

    DGS-1210/ME Metro Ethernet 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-28MP/ME:5# config ethernet_oam ports 1-3 mode active Command: config ethernet_oam ports 1-3 mode active Success.
  • Page 328: Show Ethernet_Oam Ports

    DGS-1210 Metro Ethernet Managed 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 329: Show Ethernet_Oam Ports

    DGS-1210/ME Metro Ethernet 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 330: Show Ethernet_Oam Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide displayed. Restrictions None. Example usage: To show Ethernet OAM configuration of port 1: DGS-1210-28MP/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 331: Show Ethernet_Oam Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To show Ethernet OAM statistics of port 1: DGS-1210-28MP/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 332: Clear Ethernet_Oam Ports

    DGS-1210 Metro Ethernet Managed 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 333: Mac Notification Commands

    DGS-1210/ME Metro Ethernet 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 334: Config Mac_Notification

    DGS-1210 Metro Ethernet Managed 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-28MP/ME:5# disable mac_notification Command: disable mac_notification Success.
  • Page 335: Show Mac_Notification

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To enable port 7 for MAC address table notification: DGS-1210-28MP/ME:5# config mac_notification ports 7 enable Command: config mac_notification ports 7 enable Success. DGS-1210-28MP/ME:5# show mac_notification Purpose Used to display the Switch’s MAC address table notification global settings.
  • Page 336 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Port MAC Address Table Notification State ---- ------------------------------------------------------ Disabled Disabled Disabled DGS-1210-28MP/ME:5#...
  • Page 337: Igmp Snooping Commands

    DGS-1210/ME Metro Ethernet 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 338: Config Igmp_Snooping

    DGS-1210 Metro Ethernet Managed 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...
  • Page 339: Config Igmp_Snooping Querier

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide seconds. router_timeout <sec 60-600> − Specifies the maximum amount of time a route can be a member of a multicast group without the Switch receiving a host membership report. fast_leave [enable | disable] − Enables or disables the fast leave. state [enable | disable] −...
  • Page 340: Create Igmp_Snooping Multicast_Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide command. Example usage: To configure the igmp snooping: DGS-1210-28MP/ME:5# config igmp_snooping querier vlanid 2 state enable Command: config igmp_snooping querier vlanid 2 state enable Success . DGS-1210-28MP/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 341: Delete Igmp_Snooping Multicast_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide the member port for the multicast VLAN of IGMP snooping. source_port <portlist> − Specifies a port or a range of ports to be the source port for the multicast VLAN of IGMP snooping. untag_source_port <portlist>...
  • Page 342: Create Igmp_Snooping Static_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide groups on the Switch. Syntax config igmp_snooping multicast_vlan_group <vlan_name 32> [add | delete] ipv4_range <ipaddr> <ipaddr> The config igmp_snooping multicast_vlan_group command Description specifies an IGMP snooping multicast VLAN group on the Switch. <vlan_name 32>...
  • Page 343: Config Igmp_Snooping Static_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# config igmp_snooping static_group Purpose To configure the current IGMP snooping static group on the Switch. Syntax config igmp_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipaddr> [add | delete] <portlist> Description The config igmp_snooping static_group command is used to add or delete ports to /from the given static group.
  • Page 344: Show Igmp_Snooping Static_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show igmp_snooping static_group Purpose To display the IGMP snooping static group information on the Switch. Syntax show igmp_snooping statis_group vlan <vlan_name 32> | vlanid <vlanid_list> | <ipaddr>} Description The show igmp_snooping statis_group command displays the IGMP snooping static group information on the Switch.
  • Page 345: Config Igmp_Snooping Data_Driven_Learning

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide When data driven learning is enabled, and the data driven table is not full, the multicast filtering mode for all ports is ignored. That is, the multicast packets will be forwarded to router ports. If the data driven learning table is full, the multicast packets will be forwarded according to the multicast filtering mode.
  • Page 346: Clear Igmp_Snooping Data_Driven_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide number of groups that can be learned by data drive. This value must be between 1 and 1024, and the suggested default setting is 56. Restrictions Only administrator or operator-level users can issue this command. Example usage: To set the maximum number of groups that can be learned by data driven: DGS-1210-28MP/ME:5# config igmp_snooping data_driven_learning...
  • Page 347: Config Router_Ports_Forbidden

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide packets with such a router as its destination will reach the multicast- enabled router − regardless of protocol, etc. vlan_name <string 32> − The name of the VLAN on which the router Parameters port resides.
  • Page 348: Config Igmp Access_Authentication Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config igmp access_authentication ports Purpose To configure the IGMP access authentication on the Switch. config igmp access_authentication ports [<portlist> | all] state Syntax [enable | disable] Description config igmp access_authentication ports command configures the IGMP access authentication on the Switch.
  • Page 349: Enable Igmp_Snooping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Disabled Disabled DGS-1210-28MP/ME:5# enable igmp_snooping Purpose To enable IGMP snooping on the Switch. Syntax enable igmp_snooping {multicast_vlan | forward_mcrouter_only} Description The enable igmp_snooping command enables IGMP snooping on the Switch. {multicast_vlan | forward_mcrouter_only} − Enables the multicast Parameters VLAN or forward mcrouter for IGMP Snooping on the Switch.
  • Page 350: Show Igmp_Snooping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide show igmp_snooping Purpose To show the current status of IGMP snooping on the Switch. Syntax show igmp_snooping {vlan <vlan_name 32> | vlanid <vidlist> | multicast_vlan <vlan_name 32> | multicast_vlan_group <vlan_name 32>} Description The show igmp_snooping command displays the current IGMP snooping configuration on the Switch.
  • Page 351: Show Igmp_Snooping Forwarding

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Description The show igmp_snooping group command displays the current IGMP snooping group configuration on the Switch. vlan <vlan_name 32> − The name of the VLAN for which IGMP Parameters snooping group configuration information is to be displayed. Up to 32 characters can be used.
  • Page 352: Show Igmp_Snooping Host

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show igmp_snooping host Purpose To display the IGMP snooping host table entries on the Switch. show igmp_snooping host {ports <portlist> | group <ipaddr> | Syntax vlan <vlan_name 32> | vlanid <vidlist>} Description The show igmp_snooping host command displays the current IGMP snooping forwarding table entries currently configured on the...
  • Page 353: Show Igmp_Snooping Multicast_Vlan_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28/ME:5# show igmp_snooping multicast_vlan default Command: show igmp_snooping multicast_vlan default Multicast VLAN Global State : Disabled DES-1210-52/ME:5# show igmp_snooping multicast_vlan_group Purpose To display the IGMP snooping multicast vlan group table entries on the Switch. Syntax show igmp_snooping multicast_vlan_group {<vlan_name 32>} Description...
  • Page 354: Clear Igmp_Snooping Statistic Counter

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Command: show igmp_snooping statistic counter vlanid 1 VLAN Name : default ------------------------------------------------------------------- Group Number Receive Statistics Query IGMP v1 Query IGMP v2 Query IGMP v3 Query Total Dropped By Multicast VLAN Report & Leave IGMP v1 Report IGMP v2 Report IGMP v3 Report...
  • Page 355 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide static | dynamic | forbidden} Description The show router_ports command displays the router ports currently configured on the Switch. vlan <vlan_name 32> − The name of the VLAN on which the router Parameters port resides.
  • Page 356: Ipv4/Ipv6 Routing Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide IPV4/IPV6 ROUTING COMMANDS The IPv4/IPv6 Routing commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter [<network_address> | default] <ipaddr> {metric <int 1-65535>} {[primary | create iproute backup]} delete iproute...
  • Page 357: Delete Iproute

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To add a default route with a nexthop of 10.90.58.33 as primary route: DGS-1210-28MP/ME:5# create iproute default 10.90.58.33 primary Command: create iproute default 10.90.58.33 primary Success. DGS-1210-28MP/ME:5# delete iproute Used to delete an IP route entry from the Switch’s IP routing table. Purpose Syntax delete iproute [<network_address>...
  • Page 358: Create Ipv6Route

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To display the contents of the IP routing table: DGS-1210-28MP/ME:5# show iproute Command: show iproute Routing Table IP Address/Netmask Gateway Interface Hops Protocol ---------------------------- --------------- ------------- ------- -------------- 10.0.0.0/8 0.0.0.0 System Local Total Entries :1 DGS-1210-28MP/ME:5# create ipv6route...
  • Page 359: Show Ipv6Route

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide table. Syntax delete ipv6route [<ipv6networkaddr> | default] <ipv6addr> This delete ipv6route command will delete an existing static IPv6 Description entry from the Switch’s IP routing table. <ipv6networkaddr> – To specify the IPv6 address that is the Parameters destination of the route to be deleted.
  • Page 360: Layer 2 Protocol Tunneling Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 43 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...
  • Page 361: Config L2Protocol_Tunnel Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Example usage: To disable the Layer 2 protocol tunneling function: DGS-1210-28MP/ME:5# disable l2protocol_tunnel Command: disable l2protocol_tunnel Success. DGS-1210-28MP/ME:5# config l2protocol_tunnel ports Purpose To configure Layer 2 protocol tunneling on ports. config l2protocol_tunnel ports [all | <portlist>] type [uni Syntax tunneled_protocol [stp | gvrp | protocol_mac [01-00-0C-CC-CC- CC | 01-00-0C-CC-CC-CD] | all] | nni | none]...
  • Page 362 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 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-28MP/ME:5# show l2protocol_tunnel Command: show l2protocol_tunnel Global State : Enabled...
  • Page 363: Digital Diagnostic Monitoring Commands

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 44 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 364: Config Ddm Power_Unit

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To configure the port 21’s voltage threshold: DGS-1210-28MP/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 365 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# show ddm ports 1-5 vender_info Command: show ddm ports 1-5 vender_info Invalid DDM port list. Failure! DGS-1210-28MP/ME:5#...
  • Page 366: Mld Snooping Commands

    DGS-1210 Metro Ethernet Managed 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 367: Enable Mld_Snooping

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter show mld_snooping [vlan_name <string 32> | vlanid <vidlist> | all ] [dynamic | static | forbidden] mrouter_ports show mld_snooping [vlan_name <string 32> | vlanid <vidlist> | all | ports <portlist> | group host <ipv6_addr>] show mld_snooping...
  • Page 368: Config Mld_Snooping

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# 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- 153025> | leave_timer <sec 1-25> | report_suppression [enable | disable] | router_timeout <sec 60-600>...
  • Page 369: Create Mld_Snooping Multicast_Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide create mld_snooping multicast_vlan Purpose To create an MLD multicast VLAN. create mld_snooping multicast_vlan <vlan_name 32> <vlanid 2- Syntax 4094> 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.
  • Page 370: Show Mld_Snooping Multicast_Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide untag_source_port – Adds a range of untagged source ports to the multicast VLAN.The PVID of the untag source port will be automatically changed to the multicast VLAN. It shall be only one kind of source port, tag or untag for an ISM VLAN.
  • Page 371: Config Mld_Snooping Multicast_Vlan_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete an MLD multicast VLAN. Parameters [<vlan_name 32> | all] – Specifies the name or all multicast VLAN to be deleted. Restrictions Only administrator, operator or power user–level users can issue this command. Example usage: To delete a MLD multicast VLAN: DGS-1210-28MP/ME:5# delete mld_snooping multicast_vlan mv1...
  • Page 372: Config Mld_Snooping Mrouter_Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide <vlan_name 32> − Specifies the name of multicast VLAN to be Parameters displayed. Restrictions None. Example usage: To display mld snooping multicast VLAN group: DGS-1210-28MP/ME:5# show mld_snooping multicast_vlan_group Command: show mld_snooping multicast_vlan_group VID Vlan Name IP Range ---- -------------------------------- -----------------------------------------...
  • Page 373: Config Mld_Snooping Querier

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <string 32> | vlanid <vidlist> | all] [add | delete] <portlist> Description The config mld_snooping mrouter_ports_forbidden command forbids a port from being defined as a multicast router port by static configuration or by automatic learning. Parameters vlan_name <string 32>...
  • Page 374: Config Mld_Snooping Data_Driven_Learning

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide 25 seconds with a default setting of 10 seconds. query_interval <sec 60-600> – Specifies the amount of time between general query transmissions. The user may specify a time between 1 and 65535 seconds with a default setting of 125 seconds. robustness_variable <value 2-255>...
  • Page 375: Clear Mld_Snooping Data_Driven_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide lifetime, in seconds. The value is between 130 and 1530255. state [enable | disable] –Specify to enable or disable the data driven learning of MLD snooping groups. Restrictions Only administrator–level users can issue this command. Example usage: 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...
  • Page 376: Show Mld_Snooping Forwarding

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide automatic learning. Parameters vlan_name <string 32> – Displays that the mld snooping applies only to this previously created VLAN. vlanid <vidlist> – Displays that the mld snooping applies only to this previously created VLAN id. all –...
  • Page 377: Show Mld_Snooping Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Parameters vlan_name <string 32> – Displays that the mld snooping applies only to this previously created VLAN. vlanid <vidlist> – Displays that the mld snooping applies only to this previously created VLAN id. all –...
  • Page 378: Show Mld_Snooping Host

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide vlanid <vidlist> | all ] [dynamic | static | forbidden] Description The show mld_snooping mrouter_port command displays on dynamically learnt and static multicast router interfaces. vlan_name <string 32> – Specifies on which VLAN mld snooping Parameters groups should be shown.
  • Page 379: Show Mld_Snooping Statistics Counter

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Total Entries : 0 DGS-1210-28MP/ME:5# show mld_snooping statistics counter Purpose To display display the statistics counter for MLD protocol packets that are received by the Switch since MLD snooping was enabled. Syntax show mld_snooping statistics counter [vlan_name <string 32> | vlanid <vlanid_list>...
  • Page 380: 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 381: 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-28MP/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 382: 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-28MP/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 Success.
  • Page 383: 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 resides. profile_name <string 20> − The name of the VLAN on which the multicast forwarding filtering database resides. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 384: 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 385: Config Max_Mcast_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide (v4) Permit (v4) Permit DGS-1210-28MP/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-1024> action [drop | replace] Description The config max_mcast_group command is used to configure the maximum number of multicast groups that a port can join.
  • Page 386 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Port Max Group ----- -------------------- (v6) 256 (v6) 256 DGS-1210-28MP/ME:5#...
  • Page 387: 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 388: 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 389: Show 802.1X

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# show 802.1x Purpose To display the 802.1x server information on the Switch. Syntax show 802.1x Description The show 802.1x command displays the 802.1x Port-based Network Access control server application on the Switch. Parameters None.
  • Page 390: Show 802.1X Auth_Configuration

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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 391: 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-28MP/ME:5# show 802.1x auth_configuration ports 2 Command: show 802.1x auth_configuration ports 2 Authentication Mode...
  • Page 392: 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 393: Config 802.1X Auth_Protocol

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 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-28MP/ME:5# config 802.1x init port_based ports all Command: config 802.1x init port_based ports all Success.
  • Page 394: Config Radius Add

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

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config radius delete Purpose To delete a previously entered RADIUS server configuration. Syntax config radius delete <server_index 1-3> The config radius delete command deletes a previously entered Description RADIUS server configuration. Parameters <server_index 1-3> – The index of the RADIUS server. Restrictions Only Administrator or operator-level users can issue this command.
  • Page 396: Show Radius

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config radius 1 ipaddress 10.48.47.11 Command: config radius 1 ipaddress 10.48.47.11 Success. DGS-1210-28MP/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 397: 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-28MP/ME:5# config 802.1x fwd_pdu system enable Command: config 802.1x fwd_pdu system enable Success. DGS-1210-28MP/ME:5# show 802.1x fwd_pdu system status Purpose To display the 802.1x forwarding EAPOL PDU status on the Switch. Syntax show 802.1x fwd_pdu system status Description...
  • Page 398: Create 802.1X Guest_Vlan

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

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# delete 802.1x guest_vlan default Command: delete 802.1x guest_vlan default Success. DGS-1210-28MP/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] Description...
  • Page 400: Create 802.1X User

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5# create 802.1x user Purpose Enable network access to a 802.1x user. Syntax create 802.1x user <username 15>...
  • Page 401: Delete 802.1X User

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# show 802.1x user Command: show 802.1x user Index Username ------------ --------------- dlink Total Entries: 1 Success. DGS-1210-28MP/ME:5# delete 802.1x user Purpose Deletes network access to a 802.1x user. Syntax delete 802.1x user <username 15> The delete 802.1x user command deletes network access to a Description 802.1x user.
  • Page 402 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config 802.1x capability ports all authenticator Command: config 802.1x capability ports all authenticator Success. DGS-1210-28MP/ME:5#...
  • Page 403: 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 404: Show Port_Security

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide the maximum addresses allowed on the port. Re-learned MAC addresses and address aging out are also enabled. The MAC addresses are deleted when the device is reset and on when the address is aged out. Restrictions Only administrator or operator-level users can issue this command Example usage:...
  • Page 405: 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. Syntax delete port_security_entry [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] mac_address <macaddr> Description The delete port_security_entry command is used to delete a port security entry by VLAN, VLAN ID, and MAC address.
  • Page 406: 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 407: Show Sntp

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 60 Success. DGS-1210-28MP/ME:5# show sntp Purpose To display the SNTP information. Syntax show sntp Description The show sntp command displays SNTP settings information, including the source IP address, time source and poll interval.
  • Page 408: Disable Sntp

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

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config time 09jan2012 15:50:50 Command: config time 09jan2012 15:50:50 Success. DGS-1210-28MP/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 410: 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 411 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# show time Command: show time Time information --------------------------------------------------------------------------------- Current Time Source : Local Current Time : 19 Aug 2016 16:04:13 GMT Time Zone offset : GMT +00:00 Daylight Saving Time Status : Repeating Offset in Minutes : 60 Repeating From...
  • Page 412: 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 config arp_aging time <value 0-65535 > clear arptable create arpentry <ipaddr>...
  • Page 413: Clear Arptable

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide clear arptable Purpose To remove all dynamic ARP table entries. Syntax clear arptable The clear arptable command is used to remove dynamic ARP table Description entries from the Switch’s ARP table. Static ARP table entries are not affected.
  • Page 414: Config Arpentry

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config arpentry Purpose To configure the entry for ARP table on the Switch. Syntax config arpentry <ipaddr> <macaddr> The config arpentry command is used to configure the entry for Description ARP table on the Switch. Parameters <ipaddr>...
  • Page 415: Show Arpentry

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show arpentry Purpose To displays all ARP entries on the Switch. Syntax show arpentry {information | interface_name {system} | ip_address <ipaddr> | mac_address <macaddr> | summary} Description The show arpentry command displays all ARP entries on the Switch.
  • Page 416: Remote Switched Port Analyzer Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide REMOTE SWITCHED PORT ANALYZER COMMANDS The Remote Switched Port Analyzer (RSPAN) commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable rspan disable rspan create rspan vlan [<vlan_name 32>...
  • Page 417: Disable Rspan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide disable rspan Used to disable the RSPAN function. Purpose Syntax disable rspan The disable rspan command is used to disable the RSPAN Description function. Parameters None. Restrictions Only Administrator, operator and power user-level users can issue this command.
  • Page 418: Config Rspan Vlan

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config rspan vlan Used to configure the source setting for the RSPAN VLAN on the Purpose source switch or configures the redirect port on the intermediate switch and destination switch. config rspan vlan [<vlan_name 32> | vlanid <vlanid_list>] Syntax [redirect [add | delete] ports <portlist>...
  • Page 419: Delete Rspan Vlan

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete rspan vlan Used to delete the RSPAN VLAN on the Switch. Purpose Syntax delete rspan vlan The delete rspan vlan command is used to delete the RSPAN Description VLAN on the Switch. Parameters None.
  • Page 420: Sflow Commands

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide SFLOW COMMANDS The sFlow commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table. Command Parameter enable sflow disable sflow show sflow create sflow [<portlist>...
  • Page 421: Enable Sflow

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable sflow Used to enable the sFlow function on the Switch. Purpose Syntax enable sflow The enable sflow command is used to enable the sFlow function on Description the Switch. Parameters None. Restrictions Only Administrator, operator and power user-level users can issue this command.
  • Page 422: Create Sflow Flow_Sampler Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To display the sFlow information: DGS-1210-28MP/ME:5# show sflow Command: show sflow sFlow Version : V5 sFlow Address : 10.90.90.90 sFlow AddressV6: :: sFlow State : Enabled DGS-1210-28MP/ME:5# create sflow flow_sampler ports Used to create the sFlow sampler. By configuring the sampling Purpose function for a port, a sample packet received by this port will be encapsulated and forwarded to analyzer server at the specified...
  • Page 423: Config Sflow Flow_Sampler Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide config sflow flow_sampler ports Used to configure the sFlow flow sampler parameters. In order to Purpose change the analyzer_server_id, delete the flow_sampler first and create a new one. config sflow flow_sampler ports [<portlist> | all] [rate <int 0- Syntax 65535>...
  • Page 424: Show Sflow Flow_Sampler

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To delete the sFlow sampler the rate of port 1 to be 0: DGS-1210-28MP/ME:5# delete sflow flow_sampler ports all Command: delete sflow flow_sampler ports all Success. DGS-1210-28MP/ME:5# show sflow flow_sampler Used to show the sFlow flow sampler configured for ports. The Purpose actual value rate is 256 times the displayed rate value.
  • Page 425: Create Sflow Analyzer_Server

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide create sflow analyzer_server Used to create the analyzer server. You can specify more than one Purpose analyzer_server with the same IP address but with different UDP port numbers. You can have up to four unique combinations of IP address and UDP port number.
  • Page 426: Config Sflow Analyzer_Server

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config sflow analyzer_server Used to configure the receiver information. You can specify more Purpose than one collector with the same IP address if the UDP port numbers are unique. config sflow analyzer_server <int 1-4> {timeout [<sec 1- Syntax 2000000>...
  • Page 427: Show Sflow Analyzer_Server

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To delete an analyzer server: DGS-1210-28MP/ME:5# delete sflow analyzer_server 2 Command: delete sflow analyzer_server 2 Success. DGS-1210-28MP/ME:5# show sflow analyzer_server Used to display the sFlow analyzer server information. Purpose Syntax show sflow analyzer_server The show sflow analyzer_server command is used to display the Description sFlow analyzer server information.
  • Page 428: Create Sflow Counter_Poller Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide create sflow counter_poller ports Used to create the sFlow counter poller. The poller function instructs Purpose the Switch to forward statistics counter information with respect to a port. create sflow counter_poller ports [<portlist> | all] Syntax analyzer_server_id <int 1-4>...
  • Page 429: Delete Sflow Counter_Poller Ports

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure the interval of sFlow counter poller port 1 to be 0: DGS-1210-28MP/ME:5# config sflow counter_poller ports 1 interval disable Command: config sflow counter_poller ports 1 interval disable Success. DGS-1210-28MP/ME:5# delete sflow counter_poller ports Used to delete the sFlow counter poller from the specified port.
  • Page 430 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To show the sFlow counter poller information of ports which have been created: DGS-1210-28MP/ME:5# show sflow counter_poller Command: show sflow counter_poller Port Analyzer Server ID Polling Interval (sec) ---- ------------------ ----------------------- Total Entries: 0 DGS-1210-28MP/ME:5#...
  • Page 431: D-Link Unidirectional Link Detection (Duld) Commands

    DGS-1210/ME Metro Ethernet 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> | all] {state [enable | disable] | mode [shutdown | normal] | config duld ports discovery_time <sec 5-65535>}...
  • Page 432: Show Duld Ports

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To enable unidirectional link detection on port 1: DGS-1210-28MP/ME:5# config duld ports 1 state enable Command: config duld ports 1 state enable Success. DGS-1210-28MP/ME:5# show duld ports Purpose To show unidirectional link detection information. Syntax show duld ports {<portlist>...
  • Page 433: Show Duld Recover_Timer

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure the unidirectional link detection recovery time to 100 seconds: DGS-1210-28MP/ME:5# config duld recover_timer 100 Command: config duld recover_timer 100 Success. DGS-1210-28MP/ME:5# show duld recover_timer Purpose To display unidirectional link detection recover time. Syntax show duld recover_timer The show duld recover_timer command is used to display...
  • Page 434: Ipv6 Neighbor Discovery Commands

    DGS-1210 Metro Ethernet Managed 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 435: Delete Ipv6 Neighbor_Cache

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide delete ipv6 neighbor_cache Purpose Used to remove a static neighbor on an IPv6 interface. Syntax delete ipv6 neighbor_cache [ipif <string 12> | all] [<ipv6_addr> | static | dynamic] Description This delete ipv6 neighbor_cache command is used to remove a static neighbor on an IPv6 interface.
  • Page 436: Show Ipv6 Nd

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show ipv6 neighbor_cache ipif all all Command: show ipv6 neighbor_cache ipif all all IPv6 Address Link-layer Addr State Interface ------------ ---------------------- -------- --------------- Total Entries: 0 DGS-1210-28MP/ME:5# show ipv6 nd Purpose Used to display information regarding neighbor detection on the switch.
  • Page 437: Enable Ipif_Ipv6_Link_Local_Auto

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To configure the retrans_time of IPv6 ND neighbor solicitation to be 100: DGS-1210-28MP/ME:5# config ipv6 nd ns ipif System retrans_time 100 Command: config ipv6 nd ns ipif System retrans_time 100 Success. DGS-1210-28MP/ME:5# enable ipif_ipv6_link_local_auto Purpose Used to enable the autoconfiguration of the link local address when no IPv6 address is configured.
  • Page 438 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# disable ipif_ipv6_link_local_auto System Command: disable ipif_ipv6_link_local_auto System Success. DGS-1210-28MP/ME:5#...
  • Page 439: 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 show log {index <indexlist>...
  • Page 440: 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-28MP/ME:5# show log_save_timing Command: show log_save_timing...
  • Page 441: 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 442: Show Command_History

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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 443: Dir

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# Purpose To display all commands. Syntax Description The dir command displays all commands. Parameters None. Restrictions None. Example usage: To display all of the commands: DGS-1210-28MP/ME:5# dir Available commands: cable clear config create delete disable...
  • Page 444: 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 445: Show Command Logging

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# disable command logging Command: disable command logging Success. DGS-1210-28MP/ME:5# show command logging Purpose To display the switch’s general command logging configuration status. Syntax show command logging Description The show command logging command is used to show the command logging configuration status.
  • Page 446: 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 447: Disable Ssh

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

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

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

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5# show ssh algorithm Purpose To display the SSH algorithm setting.
  • Page 451: Show Ssh User Authmode

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide <domain_name 32> hostname_IP <ip_addr> | password | publickey] Description The config ssh crypto command specifies which SSH public key is manually configured. <string 15> – Specifies the name of SSH user. Parameters hostabsed hostname <domain_name 32> – The username of the remote SSH client.
  • Page 452: 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 453: Disable Ssl

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# enable ssl Command: enable ssl Note: HTTP will be disabled if SSL is enabled. Success. DGS-1210-28MP/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 454: Download Ssl Certificate

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To view the SSL status on the Switch: DGS-1210-28MP/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 455: 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 456: 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 457: Config Authen_Login

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# create authen_login method_list_name Trinity Command: create authen_login method_list_name Trinity Success. DGS-1210-28MP/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 458: 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 459: Show Authen_Policy

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax show authen_login [all | default | method_list_name <string 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.
  • Page 460: Create Authen_Enable Method_List_Name

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show authen_policy Command: show authen_policy Authentication Policy : Disabled DGS-1210-28MP/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 461 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 462: Delete Authen_Enable Method_List_Name

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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-28MP/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 463: 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-28MP/ME:5# show authen_enable all Command: show authen_enable all Method List Name Priority Method Name Comment...
  • Page 464: Config Authen Application

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

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax show authen application Description The show authen application command displays all of the authentication method lists (login, enable administrator privileges) for Switch configuration applications (console, Telnet, SSH) currently configured on the Switch. Parameters None.
  • Page 466: 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. Syntax show authen parameter Description The show authen parameter command displays the authentication parameter on the Switch. Parameters None.
  • Page 467: 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 468: 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 469: 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-28MP/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-28MP/ME:5# show authen server_host Purpose To view a user-defined authentication server host. show authen server_host Syntax Description...
  • Page 470: Create Authen Server_Group

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/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-28MP/ME:5# create authen server_group Purpose To create an authentication server host.
  • Page 471: Delete Authen Server_Group

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide with each other. The maximum supported number of server group is Parameters <string 15> – Defines the authentication group name as a string of 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 472: Enable Admin

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Syntax show authen server_group {<string 15>} Description The show authen server_ group command displays user-defined authentication server groups previously created on the Switch. The following parameters are displayed: Group Name – The name of the server group. IP Address –...
  • Page 473: Config Admin Local_Enable

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/ME:5# config admin local_enable Purpose To configure the local_enable password for administrator level privileges. config admin local_enable Syntax Description The config admin local_enable command changes the locally enabled password for the local_enable admin command. When a user chooses the ‘local_enable’...
  • Page 474: Config Accounting Service

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide  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 475: Config Accounting Service Command

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Success. DGS-1210-28MP/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> | none] Description The config accounting service command command is used to configure the state of the specified accounting service.
  • Page 476: Delete Accounting Method_List_Name

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To create a user-defined accounting method list called "shell_acct": DGS-1210-28MP/ME:5# create accounting method_list_name shell_acct Command: create accounting method_list_name shell_acct Success. DGS-1210-28MP/ME:5# delete accounting method_list_name Purpose To delete a user-defined list of accounting methods for accounting serviceson the Switch.
  • Page 477: Enable Aaa_Server_Password_Encryption

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command: show accounting all Method List Name Priority Method Name Comment ------------------------- ---------- --------------------- ------------------ default none Keyword DGS-1210-28MP/ME:5# enable aaa_server_password_encryption Purpose To enable AAA server password encryption. enable aaa_server_password_encryption Syntax Description The enable aaa_server_password_encryption command is used to enable AAA server password encryption.
  • Page 478: Show Aaa

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# show aaa Purpose To display AAA global configuration. Syntax show aaa Description The show aaa command is used to display AAA global configuration. Parameters None. Restrictions None. Example usage: To display AAA global configuration: DGS-1210-28MP/ME:5# show aaa Command: show aaa Authentication Policy: Disabled...
  • Page 479: 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 480 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To display the EEE state: DGS-1210-28MP/ME:5# show EEE_mode ports 1-3 Command: show EEE_mode ports 1-3 Port EEE state ---- --------- enabled enabled enabled Success. DGS-1210-28MP/ME:5#...
  • Page 481: 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 482: 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 483 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config lacp_ports 1 mode active Command: config lacp_ports 1 mode active Success. DGS-1210-28MP/ME:5#...
  • Page 484: 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 485: Enable Lldp

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide enable lldp Purpose To enable LLDP on the switch. Syntax enable lldp 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-28MP/ME:5# enable lldp...
  • Page 486: Config Lldp Message_Tx_Hold_Multiplier

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config lldp message_tx_interval 10 Command: config lldp message_tx_interval 10 Success. DGS-1210-28MP/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 487: Config Lldp Tx_Delay

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config lldp reinit_delay 1 Command: config lldp reinit_delay 1 Success. DGS-1210-28MP/ME:5# 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...
  • Page 488: Show Lldp

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config lldp notification_interval 10 Command: config lldp notification_interval 10 Success. DGS-1210-28MP/ME:5# show lldp To display the Link Layer Discovery Protocol (LLDP) on the switch. Purpose Syntax show lldp The show lldp displays the LLDP configuration on the switch. Description Parameters None.
  • Page 489: Show Lldp Local_Ports

    To show the local port information for port 1 with mode brief: DGS-1210-28MP/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-28X/ME Rev.B1/7.00.B055 Port 1 DGS-1210-28MP/ME:5#...
  • Page 490: 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 491 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Syntax config lldp ports [<portlist> | all] admin_status [tx_only | rx_only | tx_and_rx | disable] The config lldp ports admin status command defines lldp admin Description status per port on the switch. [<portlist> | all] – Specify a port or ports to be configured. Parameters Admin status –...
  • Page 492 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Purpose To define LLDP management basic TLVs advertisement on a port or ports. config lldp ports [<portlist>|all] basic_tlvs [all | Syntax {port_description | system_name | system_description | 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.
  • Page 493 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide DGS-1210-28MP/ME:5# config lldp ports 2 dot3_tlvs mac_phy_configuration_status enable Command: config lldp ports 2 dot3_tlvsmac_phy_configuration_status enable Success. DGS-1210-28MP/ME:5# config lldp ports Purpose To define LLDP management basic TLVs advertisement on a port or ports. Syntax config lldp ports [<portlist>|all] dot1_tlv_pvid [disable | enable] Description...
  • Page 494: Show Lldp Mgt_Addr

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config lldp ports Purpose To define LLDP management basic TLVs advertisement on a port or ports. config lldp ports [<portlist>|all] dot1_tlv_vlan_name [vlan <vlan_name Syntax 32> | vlanid <vidlist>] [disable | enable] Description The config lldp ports dot1 TLVs command defines lldp admin status per port on the switch.
  • Page 495: Show Lldp Statistics

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide show lldp statistics To display the Link Layer Discovery Protocol (LLDP) statistics for the Purpose specified ports. Syntax show lldp statistics {ports <portlist>} Description The show lldp statistics command displays the statistics of LLDP on the Switch.
  • Page 496: 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 497: Create Access_Profile

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Command Parameter [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 enable cpu_interface_filtering disable cpu_interface_filtering <value 1-6> access_id <value 1-250> [delete | rate <value 64-1024000>] config flow_meter burst_size <value 0-1016>...
  • Page 498 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide FFFFFFFFFFFF. • destination_mac <macmask> – Specifies a MAC address mask for the destination MAC address in the following format: 000000000000-FFFFFFFFFFFF. • 802.1p – Specifies that the Switch examine the 802.1p priority value in the frame’s header. •...
  • Page 499: Config Access_Profile

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide • dst_port_mask <hex 0x0-0xffff> – Specifies a TCP port mask for the destination port. udp – Specifies that the Switch examines each frame’s protocol field and it’s value must be 17 (User Datagram Protocol-UDP) in order for the action to take place..
  • Page 500 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide [auto_assign | <value 1-128>] [ ethernet {vlan <vlanid 1-4094> | source_mac <macaddr> | destination_mac <macaddr> | 802.1p <value 0-7> | ethernet_type <hex 0x05dd-0xffff> } | ip {source_ip <ipaddr> | destination_ip <ipaddr> | dscp <value 0-63> | icmp {type <value 0-255>...
  • Page 501 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide written to the DSCP field of an incoming packet that meets the criteria specified in the first part of the command. This value will over-write the value in the DSCP field of the packet.
  • Page 502 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide bit name. • udp – Specifies that the Switch examine the protocol field in each packet and it should match User Datagram Protocol (UDP). • src_port <value 0-65535> – Specifies that the access profile applies only to packets that have this UDP source port in their header.
  • Page 503: Delete Access_Profile

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide rx_rate <value 64-1024000> – Specifies the rate limit to limit Rx bandwidth for for the profile being configured. This 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 504: Create Cpu_Access_Profile

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Restrictions None. Example usage: To display the currently configured access profiles which profile id is 1 on the Switch: DGS-1210-28MP/ME:5# show access_profile profile_id 1 Command: show access_profile profile_id 1 Access Profile Table Access Profile ID: 1 Type: Ethernet ---------------------------------------------------------------------------...
  • Page 505 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Type field. • code – Specifies that the Switch examine each frame’s ICMP code field. • type – Specifies that the Switch examine each frame’s IGMP 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.
  • Page 506: Config Cpu_Access_Profile

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide config cpu_access_profile Purpose To configures the settings of cpu access profiles. Syntax config cpu_access_profile [profile_id <value 1-3>] [add access_id [ auto_assign | <value 1-5>]] [ ethernet {vlan <vlanid 1-4094> | source_mac <macaddr> | destination_mac <macaddr> | 802.1p <value 0-7>...
  • Page 507: Delete Cpu_Access_Profile

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide source_ip <ip_addr> –Specifies that the cpu access profile applies only to packets with this source IP address. 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 •...
  • Page 508: Show Cpu_Access_Profile

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Example usage: To delete the CPU access profile with a profile ID of 1: DGS-1210-28MP/ME:5# delete cpu access_profile profile_id 1 Command: delete cpu access_profile profile_id 1 Success. DGS-1210-28MP/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 Description...
  • Page 509: Disable Cpu_Interface_Filtering

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide To enable the CPU filtering on the Switch: DGS-1210-28MP/ME:5# enable cpu_interface_filtering Command: enable cpu_interface_filtering Success. DGS-1210-28MP/ME:5# disable cpu_interface_filtering Purpose To disable CPU interface filtering on the Switch. Syntax disable cpu_interface_filtering The disable cpu_interface_filtering command is used to disable Description CPU interface filtering on the Switch.
  • Page 510: Show Flow_Meter

    DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide DGS-1210-28MP/ME:5# config flow_meter profile_id 1 access_id 1 rate 64 burst_size 10 rate_exceed remark_dscp 2 Command: config flow_meter profile_id 1 access_id 1 rate 64 burst_size 10 rate_exceed remark_dscp 2 Success. DGS-1210-28MP/ME:5# show flow_meter Purpose To display the flow meter information on the Switch.
  • Page 511: Traffic Segmentation Commands

    DGS-1210/ME Metro Ethernet 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>} segmentation...
  • Page 512 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Parameters <portlist> – A port or a port channel for which the current traffic 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-28MP/ME:5# show traffic_segmentation 1-5 Command: show traffic_segmentation 1-5 Port Forward Portlist...
  • Page 513: Safeguard Commands

    DGS-1210/ME Metro Ethernet 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 To define the safeguard engine on the switch.
  • Page 514 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide To show the safeguard engine status on the switch: DGS-1210-28MP/ME:5# show safeguard_engine Command: show safeguard_engine Safe Guard : Enabled DGS-1210-28MP/ME:5#...
  • Page 515: Device Specifications

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide 67 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 Packet Buffer memory DGS-1210-10/ME: 1.5Mbytes DGS-1210-10P/ME: 1.5Mbytes DGS-1210-12TS/ME: 1.5Mbytes DGS-1210-20/ME: 1.5Mbytes DGS-1210-28/ME: 1.5Mbytes...
  • Page 516 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Performance Default = 300. Physical and Environmental DGS-1210-10/ME: AC Inputs AC Input: 100 – 240 VAC, 50-60 Hz, Max. 0.3A DGS-1210-10P/ME: AC Input: 100 – 240 VAC, 50-60 Hz, Max. 1.3A DGS-1210-12TS/ME: AC Input: 100 –...
  • Page 517 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Physical and Environmental Standby power consumption: 11.1Watts DGS-1210-12TS/ME: Maximum power consumption: 13.85Watts Standby power consumption: 7.49Watts DGS-1210-20/ME: Maximum power consumption: 13.97Watts Standby power consumption: 6.95Watts DGS-1210-28/ME: Maximum power consumption: 19.14Watts Standby power consumption: 8.21Watts DGS-1210-28P/ME: Maximum power consumption: 251.5Watts (PoE on), 28.7Watts (PoE off)
  • Page 518 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Physical and Environmental (PoE off) Standby power consumption: 37.8Watts Fans DGS-1210-10/ME: Fanless DGS-1210-10P/ME: Fanless DGS-1210-12TS/ME: Fanless DGS-1210-20/ME: Fanless DGS-1210-28/ME: Fanless DGS-1210-28P/ME: 2pcs Smart fan DGS-1210-28MP/ME: 3pcs Smart fan DGS-1210-28X/ME: 1pcs Smart fan DGS-1210-28XS/ME: 2pcs Smart fan DGS-1210-52/ME: 1pcs Smart Fan DGS-1210-52P/ME: 2pcs Smart Fan...
  • Page 519 DGS-1210/ME Metro Ethernet Switch CLI Reference Guide General Number of Ports: DGS-1210-10/ME: 8-Ports 10/100/1000Mbps + 2-Ports 1000Mbps SFP DGS-1210-10P/ME: 8-Ports PoE 10/100/1000Mbps + 2-Ports 1000Mbps SFP DGS-1210-12TS/ME: 10-Ports 1000Mbps SFP + 2-Ports 10/100/1000Mbps DGS-1210-20/ME: 16-Ports 10/100/1000Mbps + 4-Ports 1000Mbps SFP DGS-1210-28/ME: 24-Ports 10/100/1000Mbps + 4-Ports 1000Mbps SFP DGS-1210-28P/ME:...
  • Page 520 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Standards • IEEE 802.3 10BASE-T Ethernet • IEEE 802.3u 100BASE-TX Fast Ethernet • IEEE 802.3ab 1000BASE-T Gigabit Ethernet • IEEE 802.3ae 10 Gigabit Ethernet (for 28X/ME, 28XS/ME) • IEEE 802.3u 100BASE-FX (for 28XS/ME) •...
  • Page 521: Supported Transceivers

    DGS-1210/ME Metro Ethernet Switch CLI Reference Guide Supported Transceivers Optional SFP Transceivers DEM-310GT 1000BASE-LX, Single-mode, 10 km DEM-311GT 1000BASE-SX, Multi-mode, 500 m DEM-312GT2 1000BASE-SX, Multi-mode, 2 km DEM-312GT2 1000BASE-LHX, Single-mode, 50 km DEM-315GT 1000BASE-ZX, Single-mode, 80 km DGS-712 1000BASE-T 100 m (only supports 1000 Mbps mode) (no flow control) DEM-302S-LX 1000BASE-LX, Single-mode, 2 km DEM-210...
  • Page 522 DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide Optional SFP+ Direct Attach Stacking Cables (for DGS-1210-28X/ME, 28XS/ME only) DEM-CB100S 10-Gbe SFP+ 1 m Direct Attach Cable DEM-CB300S 10-Gbe SFP+ 3 m Direct Attach Cable DEM-CB700S 10-Gbe SFP+ 7 m Direct Attach Cable...

Table of Contents